Ask Your Question
2

Three questions about the Sage build farm

asked 2010-09-10 13:29:07 +0100

Mike Witt gravatar image

I have some questions about the Sage "build farm"

http://wiki.sagemath.org/devel/BuildFarm

  1. Would it be possible to include the build logs for the "good" builds. Even when my builds are successful, there are generally a lot of scary looking messages in them. It would be nice to be able to compare them to a build that one of the developers was satisfied with.
  2. How about putting the date/time at the very beginning and very end of each log -- so it's easy to get an idea of the build time on various machines.
  3. There are a number of Fedora 12 machines (skynet?) -- I'm curious if these are going to be upgraded when Fedora 12 reaches "end of life" (in November?)

Thanks,

Mike

edit retag flag offensive close merge delete

Comments

For question 2, there is already timing information at the end of the log for each spkg, as well as for the main install.log file. Is that good enough?

John Palmieri gravatar imageJohn Palmieri ( 2010-09-10 15:15:31 +0100 )edit

Well, in 4.5.2, in the build on my fastest machine, it takes 108 minutes. At the end of the log, there is a thing that says "real 89m" - my slowest machine (without ALTAS) takes over 660 minutes and the timer says "real 481m" -- am I missing something? I just do a 'date' at the start and end.

Mike Witt gravatar imageMike Witt ( 2010-09-10 16:35:20 +0100 )edit

If your last 'date' comes after building the docs, this makes sense to me: the 89 minutes is to build Sage proper, and then it's plausible that it would take 19 more for the docs. Are the modification times for install.log and dochtml.log about 19 minutes apart?

John Palmieri gravatar imageJohn Palmieri ( 2010-09-10 17:51:33 +0100 )edit

For the build on the "fast" machine, yes the timestamps are exactly 19 minutes apart. I don't have access to the "slow" machine right now, but the time difference there is close to 200 mintues. But I guess the difference is roughly the same percentage of the build time.

Mike Witt gravatar imageMike Witt ( 2010-09-10 18:41:55 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
5

answered 2010-09-10 23:42:22 +0100

mvngu gravatar image

updated 2010-09-11 12:20:03 +0100

Would it be possible to include the build logs for the "good" builds. Even when my builds are successful, there are generally a lot of scary looking messages in them. It would be nice to be able to compare them to a build that one of the developers was satisfied with.

Yes, it's possible. People who report build and test results need to be reminded of this. I have added a reminder in the build/test wiki page for Sage 4.5.3.

How about putting the date/time at the very beginning and very end of each log -- so it's easy to get an idea of the build time on various machines.

That's a good idea. I have implemented that in my custom build script. The relevant code block is:

before="$(date +%s)"
make
after="$(date +%s)"
elapsed_seconds="$(expr $after - $before)"
echo Elapsed time: $(date -d "1970-01-01 $elapsed_seconds sec" +%H:%M:%S) >> install.log

There are a number of Fedora 12 machines (skynet?) -- I'm curious if these are going to be upgraded when Fedora 12 reaches "end of life" (in November?)

We, even William Stein, don't have control over the SkyNet build farm, nor do we have control over the GCC Compile Farm. Both are not owned by the Sage project.

edit flag offensive delete link more

Comments

Thank you!

Mike Witt gravatar imageMike Witt ( 2010-09-11 12:17:04 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-09-10 13:29:07 +0100

Seen: 531 times

Last updated: Sep 11 '10