Hi

I'm making an LXC-based machine to host a couple of VMs for all supported
desktop Ubuntu versions since 12.04 as buildbot slaves for Sagemath. LXC is
linux virtualisation, and virtualises ABOVE the kernel level, so the same
kernel will run for all the guest OSes. If this is a problem for testing, I
will also investigate KVM instead. These are Ubuntu preferred solutions, so
I will rather work with either of those.

Is 1G memory enough to build Sage? I've just tried it on virtualbox on a 1G
host and only this failed, but after running ./sage -docbuild reference
html --mathjax it passed.

I have an 8G machine and would like to put 6 virtual guests on there:
12.04.1 32bit and 64bit, 12.10 32bit and 64bit, 13.04 (development) 32bit
and 64bit; and to keep 2G to do PPA building on the host.

Regards,
Jan



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


sage@sage-VirtualBox:~/sage-5.4.1$ ./sage -t  --long -force_lib 
"devel/sage/sage/misc/sagedoc.py"
sage -t --long -force_lib "devel/sage/sage/misc/sagedoc.py" 
**********************************************************************
File "/home/sage/sage-5.4.1/devel/sage/sage/misc/sagedoc.py", line 22:
    sage: for line in open(docfilename):
          if "#sage.symbolic.expression.Expression.N" in line:
              print line
Exception raised:
    Traceback (most recent call last):
      File "/home/sage/sage-5.4.1/local/bin/ncadoctest.py", line 1231, in 
run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/home/sage/sage-5.4.1/local/bin/sagedoctest.py", line 38, in 
run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, 
compileflags)
      File "/home/sage/sage-5.4.1/local/bin/ncadoctest.py", line 1172, in 
run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[3]>", line 1, in <module>
        for line in open(docfilename):###line 22:
    sage: for line in open(docfilename):
    IOError: [Errno 2] No such file or directory: 
'/home/sage/sage-5.4.1/devel/sage/doc/output/html/en/reference/sage/symbolic/expression.html'
**********************************************************************
File "/home/sage/sage-5.4.1/devel/sage/sage/misc/sagedoc.py", line 1041:
    sage: len(search_doc('tree', interact=False).splitlines()) > 2500  # long 
time
Expected:
    True
Got:
    False
**********************************************************************
File "/home/sage/sage-5.4.1/devel/sage/sage/misc/sagedoc.py", line 1210:
    sage: browse_sage_doc._open("reference", testing=True)[0]  # indirect 
doctest
Exception raised:
    Traceback (most recent call last):
      File "/home/sage/sage-5.4.1/local/bin/ncadoctest.py", line 1231, in 
run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/home/sage/sage-5.4.1/local/bin/sagedoctest.py", line 38, in 
run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, 
compileflags)
      File "/home/sage/sage-5.4.1/local/bin/ncadoctest.py", line 1172, in 
run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_19[2]>", line 1, in <module>
        browse_sage_doc._open("reference", testing=True)[Integer(0)]  # 
indirect doctest###line 1210:
    sage: browse_sage_doc._open("reference", testing=True)[0]  # indirect 
doctest
      File 
"/home/sage/sage-5.4.1/local/lib/python/site-packages/sage/misc/sagedoc.py", 
line 1381, in _open
        with 'sage -docbuild %s html --mathjax' and try again.""" %(name, name)
    OSError: The document 'reference' does not exist.  Please build it
    with 'sage -docbuild reference html --mathjax' and try again.
**********************************************************************
File "/home/sage/sage-5.4.1/devel/sage/sage/misc/sagedoc.py", line 1372:
    sage: browse_sage_doc._open("reference", testing=True)[0]
Exception raised:
    Traceback (most recent call last):
      File "/home/sage/sage-5.4.1/local/bin/ncadoctest.py", line 1231, in 
run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/home/sage/sage-5.4.1/local/bin/sagedoctest.py", line 38, in 
run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, 
compileflags)
      File "/home/sage/sage-5.4.1/local/bin/ncadoctest.py", line 1172, in 
run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_23[2]>", line 1, in <module>
        browse_sage_doc._open("reference", testing=True)[Integer(0)]###line 
1372:
    sage: browse_sage_doc._open("reference", testing=True)[0]
      File 
"/home/sage/sage-5.4.1/local/lib/python/site-packages/sage/misc/sagedoc.py", 
line 1381, in _open
        with 'sage -docbuild %s html --mathjax' and try again.""" %(name, name)
    OSError: The document 'reference' does not exist.  Please build it
    with 'sage -docbuild reference html --mathjax' and try again.
**********************************************************************
File "/home/sage/sage-5.4.1/devel/sage/sage/misc/sagedoc.py", line 657:
    sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology', 'variety', 
interact=False)  # long time (4s on sage.math, 2012)
Expected:
    True
Got:
    False
**********************************************************************
5 items had failures:
   1 of   5 in __main__.example_0
   1 of   6 in __main__.example_15
   1 of   5 in __main__.example_19
   1 of   5 in __main__.example_23
   1 of   8 in __main__.example_9
***Test Failed*** 5 failures.
For whitespace errors, see the file /home/sage/.sage//tmp/sagedoc_23217.py
         [53.5 s]
 
----------------------------------------------------------------------
The following tests failed:


        sage -t --long -force_lib "devel/sage/sage/misc/sagedoc.py"
Total time for all tests: 53.6 seconds
sage@sage-VirtualBox:~/sage-5.4.1$ ls
COPYING.txt  devel        install.log  local     README.txt  spkg       
testlong.log  tmp_f.sobj
data         dochtml.log  ipython      Makefile  sage        start.log  tmp     
      VERSION.txt
sage@sage-VirtualBox:~/sage-5.4.1$ ./sage 
----------------------------------------------------------------------
| Sage Version 5.4.1, Release Date: 2012-11-15                       |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------
sage: 
Exiting Sage (CPU time 0m0.11s, Wall time 0m1.00s).
sage@sage-VirtualBox:~/sage-5.4.1$ ./sage -docbuild reference html --mathjax
sphinx-build -b html -d 
/home/sage/sage-5.4.1/devel/sage/doc/output/doctrees/en/reference    
/home/sage/sage-5.4.1/devel/sage/doc/en/reference 
/home/sage/sage-5.4.1/devel/sage/doc/output/html/en/reference
Running Sphinx v1.1.2
loading pickled environment... done
loading intersphinx inventory from 
/home/sage/sage-5.4.1/devel/sage/doc/common/python.inv...
building [html]: targets for 1066 source files that are out of date
updating environment: [extensions changed] 1066 added, 0 changed, 0 removed
reading sources... [100%] todolist                                              
                          
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] todolist                                               
                          
writing additional files... genindex py-modindex search
copying images... [100%] 
sage/combinat/../../media/combinat/complete-binary-trees-4.png                  
 
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded.
Build finished.  The built documents can be found in 
/home/sage/sage-5.4.1/devel/sage/doc/output/html/en/reference
sage@sage-VirtualBox:~/sage-5.4.1$ ./sage -t  --long -force_lib 
"devel/sage/sage/misc/sagedoc.py"
sage -t --long -force_lib "devel/sage/sage/misc/sagedoc.py" 

         [70.7 s]
 
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 70.9 seconds
sage@sage-VirtualBox:~/sage-5.4.1$ 
sage@sage-VirtualBox:~/sage-5.4.1$ 

Reply via email to