Mac OS testing problem

View: New views
2 Messages — Rating Filter:   Alert me  

Mac OS testing problem

by Faker Moatamri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Craig, Gustavo and all,

Finally the buildbot on Mac OS X is working, and of course it brought
some more work for developers.
Actually the building is gone fine and it is only in testing that it
didn't work:

bash -c ./test.py --verbose --html=results.html
 in dir /Users/buildslave/slave/full-darwin-ppc-g++-4.2/build (timeout 1200 secs)
 watching logfiles {}
 argv: ['bash', '-c', './test.py --verbose --html=results.html']
 environment:
  HOME=/Users/buildslave
  LOGNAME=buildslave
  PATH=/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/usr/X11R6/bin
  PWD=/Users/buildslave/slave/full-darwin-ppc-g++-4.2/build
  PYTHONPATH=/usr/local/lib/python2.5/site-packages
  SHELL=/bin/tcsh
  TMPDIR=/var/folders/Ck/CkfBWkRNEeCjYWdNfAfSZk+++TM/-Tmp-/
  USER=buildslave
 closing stdin
 using PTY: False
/bin/sh: waf: command not found
Traceback (most recent call last):
  File "./test.py", line 1351, in <module>
    sys.exit(main(sys.argv))
  File "./test.py", line 1348, in main
    return run_tests()
  File "./test.py", line 822, in run_tests
    make_library_path()
  File "./test.py", line 563, in make_library_path
    print "os.environ[\"DYLD_LIBRARY_PATH\"] == %s" % os.environ["DY_LIBRARY_PATH"]
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/UserDict.py", line 22, in __getitem__
NS3_ACTIVE_VARIANT == debug
NS3_BUILDDIR == /Users/buildslave/slave/full-darwin-ppc-g++-4.2/build/build
NS3_MODULE_PATH == ['/Users/buildslave/slave/full-darwin-ppc-g++-4.2/build/build/debug']
ENABLE_NSC == False
ENABLE_REAL_TIME == False
ENABLE_EXAMPLES == True
    raise KeyError(key)
KeyError: 'DY_LIBRARY_PATH'
program finished with exit code 1
elapsedTime=0.664181

It looks like it is not able to find the waf command, which is used
already for building (very weird error)
Also it doesn't find the key 'DY_LIBRARY_PATH' and I'm wondering why the
key is not DYLD_LIBRARY_PATH?

Thanks

Best regards,

Faker Moatamri

Re: Mac OS testing problem

by Faker Moatamri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Faker Moatamri wrote:
> Hi Craig, Gustavo and all,
>
> [....]
> using PTY: False
> /bin/sh: waf: command not found
Still there
> [....]
> It looks like it is not able to find the waf command, which is used
> already for building (very weird error)
> Also it doesn't find the key 'DY_LIBRARY_PATH' and I'm wondering why
> the key is not DYLD_LIBRARY_PATH?
>
Replacing 'DY_LIBRARY_PATH' by DYLD_LIBRARY_PATH fixed this error.
> Thanks
>
> Best regards,
>
> Faker Moatamri
Best regards
Faker