Issues with Deploying to Server and DMG

63 views
Skip to first unread message

AB

unread,
Oct 16, 2013, 4:12:36 PM10/16/13
to cauliflower...@googlegroups.com
Hi CV discuss,
 I am in process of trying to build a new dmg for clients OS X 10.8.5 (12F45) and deploy the HEAD Version up to my appengine app. First off, is the code broken or is this specific to my machine. 

Steps to reproduce: 
1. Clone the repo 
2. make test
 Where the following tests fail. (Not sure how to make sense of the errors) : 
tcc-ablum3:cauliflowervest ablum$ make dmg
rm -rf dist build tmp
/usr/bin/python2.7 -c 'import virtualenv' || \
sudo easy_install-2.7 -U virtualenv
[ -d VE ] || \
/usr/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
client_config
VE/bin/python setup.py sdist --formats=tar
running sdist
running egg_info
writing requirements to src/cauliflowervest.egg-info/requires.txt
writing src/cauliflowervest.egg-info/PKG-INFO
writing top-level names to src/cauliflowervest.egg-info/top_level.txt
writing dependency_links to src/cauliflowervest.egg-info/dependency_links.txt
writing entry points to src/cauliflowervest.egg-info/entry_points.txt
reading manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
creating cauliflowervest-0.9.3
creating cauliflowervest-0.9.3/src
creating cauliflowervest-0.9.3/src/cauliflowervest
creating cauliflowervest-0.9.3/src/cauliflowervest.egg-info
creating cauliflowervest-0.9.3/src/cauliflowervest/client
creating cauliflowervest-0.9.3/src/cauliflowervest/client/duplicity
creating cauliflowervest-0.9.3/src/cauliflowervest/client/linux
creating cauliflowervest-0.9.3/src/cauliflowervest/client/mac
creating cauliflowervest-0.9.3/src/cauliflowervest/client/win
making hard links in cauliflowervest-0.9.3...
hard linking MANIFEST.in -> cauliflowervest-0.9.3
hard linking README -> cauliflowervest-0.9.3
hard linking setup.cfg -> cauliflowervest-0.9.3
hard linking setup.py -> cauliflowervest-0.9.3
hard linking src/cauliflowervest/__init__.py -> cauliflowervest-0.9.3/src/cauliflowervest
hard linking src/cauliflowervest/settings.py -> cauliflowervest-0.9.3/src/cauliflowervest
hard linking src/cauliflowervest/stubs.py -> cauliflowervest-0.9.3/src/cauliflowervest
hard linking src/cauliflowervest.egg-info/PKG-INFO -> cauliflowervest-0.9.3/src/cauliflowervest.egg-info
hard linking src/cauliflowervest.egg-info/SOURCES.txt -> cauliflowervest-0.9.3/src/cauliflowervest.egg-info
hard linking src/cauliflowervest.egg-info/dependency_links.txt -> cauliflowervest-0.9.3/src/cauliflowervest.egg-info
hard linking src/cauliflowervest.egg-info/entry_points.txt -> cauliflowervest-0.9.3/src/cauliflowervest.egg-info
hard linking src/cauliflowervest.egg-info/requires.txt -> cauliflowervest-0.9.3/src/cauliflowervest.egg-info
hard linking src/cauliflowervest.egg-info/top_level.txt -> cauliflowervest-0.9.3/src/cauliflowervest.egg-info
hard linking src/cauliflowervest/client/__init__.py -> cauliflowervest-0.9.3/src/cauliflowervest/client
hard linking src/cauliflowervest/client/base_client.py -> cauliflowervest-0.9.3/src/cauliflowervest/client
hard linking src/cauliflowervest/client/gae_client.zip -> cauliflowervest-0.9.3/src/cauliflowervest/client
hard linking src/cauliflowervest/client/settings.py -> cauliflowervest-0.9.3/src/cauliflowervest/client
hard linking src/cauliflowervest/client/util.py -> cauliflowervest-0.9.3/src/cauliflowervest/client
hard linking src/cauliflowervest/client/duplicity/__init__.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/duplicity
hard linking src/cauliflowervest/client/duplicity/client.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/duplicity
hard linking src/cauliflowervest/client/linux/__init__.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/linux
hard linking src/cauliflowervest/client/linux/client.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/linux
hard linking src/cauliflowervest/client/linux/main.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/linux
hard linking src/cauliflowervest/client/mac/__init__.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/client.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/corestorage.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/glue.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/hw.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/machine_data.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/main.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/plist.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/mac/tkinter.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/mac
hard linking src/cauliflowervest/client/win/__init__.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/win
hard linking src/cauliflowervest/client/win/bitlocker_ad_sync.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/win
hard linking src/cauliflowervest/client/win/client.py -> cauliflowervest-0.9.3/src/cauliflowervest/client/win
copying setup.cfg -> cauliflowervest-0.9.3
Writing cauliflowervest-0.9.3/setup.cfg
creating dist
Creating tar archive
removing 'cauliflowervest-0.9.3' (and everything under it)
gzip dist/cauliflowervest-0.9.3.tar
cd src/csfde ; \
xcodebuild -project csfde.xcodeproj
=== BUILD TARGET csfde OF PROJECT csfde WITH THE DEFAULT CONFIGURATION (Default) ===

Check dependencies
error: There is no SDK with the name or path '/Users/ablum/Documents/cauliflowervest/src/csfde/macosx10.7'

** BUILD FAILED **


The following build commands failed:
Check dependencies
(1 failure)
make: *** [src/csfde/build/Default/csfde] Error 65
tcc-ablum3:cauliflowervest ablum$ make test
/usr/bin/python2.7 -c 'import virtualenv' || \
sudo easy_install-2.7 -U virtualenv
[ -d VE ] || \
/usr/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
mkdir -p tmp
curl -o tmp/python-keyczar-0.7b.081911.tar.gz http://keyczar.googlecode.com/files/python-keyczar-0.7b.081911.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  207k  100  207k    0     0  1139k      0 --:--:-- --:--:-- --:--:-- 1608k
mkdir -p build
mkdir -p tmp/keycz
rm -rf ../../../build/keyczar
tar -zxf tmp/python-keyczar-0.7b.081911.tar.gz -C tmp/keycz
cd tmp/keycz/python-keyczar-* ; \
../../../VE/bin/python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/keyczar
copying src/keyczar/__init__.py -> build/lib/keyczar
copying src/keyczar/errors.py -> build/lib/keyczar
copying src/keyczar/keyczar.py -> build/lib/keyczar
copying src/keyczar/keyczart.py -> build/lib/keyczar
copying src/keyczar/keydata.py -> build/lib/keyczar
copying src/keyczar/keyinfo.py -> build/lib/keyczar
copying src/keyczar/keys.py -> build/lib/keyczar
copying src/keyczar/readers.py -> build/lib/keyczar
copying src/keyczar/util.py -> build/lib/keyczar
running install_lib
running install_egg_info
Removing /Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
Writing /Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
# This strange import fixes some kind of race condition in the
# way that encodings.utf_8 retains its import of the codecs module.
#
# If we import encodings.utf_8 before google_test starts,
# it will import properly and be replaced between each module
# run when google_apputils does sys.modules cleanup.
#
# and the other bugs referenced there, I believe.
#
VE/bin/python -c \
'import encodings.utf_8; import sys; sys.argv=["setup.py","google_test"]; import setup' && echo ALL TESTS COMPLETED SUCCESSFULLY
running google_test
running egg_info
writing requirements to src/cauliflowervest.egg-info/requires.txt
writing src/cauliflowervest.egg-info/PKG-INFO
writing top-level names to src/cauliflowervest.egg-info/top_level.txt
writing dependency_links to src/cauliflowervest.egg-info/dependency_links.txt
writing entry points to src/cauliflowervest.egg-info/entry_points.txt
reading manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
running build_ext
Testing base_client_test
EEEEEEEEEEE
======================================================================
ERROR: testFetchXsrfToken (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testGetAndValidateMetadata (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testGetAndValidateMetadataWithError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetrieveSecret (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetrieveSecretRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetryRequest (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetryRequest404 (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetryRequestRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testUploadPassphrase (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testUploadPassphraseWithRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testUploadPassphraseWithTransientRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

----------------------------------------------------------------------
Ran 11 tests in 0.002s

FAILED (errors=11)
Testing util_test
...........................
----------------------------------------------------------------------
Ran 27 tests in 0.006s

OK
Testing corestorage_test
.....ERROR:root:GetRecoveryPartition() failed to get partition list.
Traceback (most recent call last):
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/mac/corestorage.py", line 85, in GetRecoveryPartition
    disklist_plist = util.GetPlistFromExec((DISKUTIL, 'list', '-plist'))
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 763, in __call__
    return mock_method(*params, **named_params)
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 991, in __call__
    raise expected_method._exception
ExecError: Message=None
...........
----------------------------------------------------------------------
Ran 16 tests in 0.009s

OK
Testing glue_test
.............
----------------------------------------------------------------------
Ran 13 tests in 0.015s

OK
Testing machine_data_test
.....
----------------------------------------------------------------------
Ran 5 tests in 0.001s

OK
Testing main_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s

OK
Testing bitlocker_ad_sync_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.006s

OK
Testing client_test

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
Testing crypto_test
.............
----------------------------------------------------------------------
Ran 13 tests in 0.002s

OK
WARNING:root:/Users/ablum/Documents/cauliflowervest/src/tests/gae_server.zip/lib/cacerts/urlfetch_cacerts.txt missing; without this urlfetch will not be able to validate SSL certificates.
WARNING:root:No ssl package found. urlfetch will not be able to validate SSL certificates.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 73, in <module>
    google_test_dir='src/tests',
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/test.py", line 121, in run
    self.with_project_on_sys_path(self.run_tests)
  File "/Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/test.py", line 101, in with_project_on_sys_path
    func()
  File "/Users/ablum/Documents/cauliflowervest/google_apputils-0.4.0-py2.7.egg/google/apputils/setup_command.py", line 157, in run_tests
    ok &= self._RunTestModule(file_path)
  File "/Users/ablum/Documents/cauliflowervest/google_apputils-0.4.0-py2.7.egg/google/apputils/setup_command.py", line 123, in _RunTestModule
    module = imp.load_module(module_name, *import_tuple)
  File "src/tests/cauliflowervest/server/models_test.py", line 34, in <module>
    from cauliflowervest.server import models
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/server/models.py", line 239, in <module>
    class DuplicityKeyPair(BaseVolume):
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/server/models.py", line 244, in DuplicityKeyPair
    REQUIRED_PROPERTIES = base_settings.DUPLICITY_REQUIRED_PROPERTIES + [
AttributeError: 'module' object has no attribute 'DUPLICITY_REQUIRED_PROPERTIES'
make: *** [test] Error 1
tcc-ablum3:cauliflowervest ablum$ clear 

tcc-ablum3:cauliflowervest ablum$ make test
/usr/bin/python2.7 -c 'import virtualenv' || \
sudo easy_install-2.7 -U virtualenv
[ -d VE ] || \
/usr/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
mkdir -p build
mkdir -p tmp/keycz
rm -rf ../../../build/keyczar
tar -zxf tmp/python-keyczar-0.7b.081911.tar.gz -C tmp/keycz
cd tmp/keycz/python-keyczar-* ; \
../../../VE/bin/python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
Writing /Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
# This strange import fixes some kind of race condition in the
# way that encodings.utf_8 retains its import of the codecs module.
#
# If we import encodings.utf_8 before google_test starts,
# it will import properly and be replaced between each module
# run when google_apputils does sys.modules cleanup.
#
# and the other bugs referenced there, I believe.
#
VE/bin/python -c \
'import encodings.utf_8; import sys; sys.argv=["setup.py","google_test"]; import setup' && echo ALL TESTS COMPLETED SUCCESSFULLY
running google_test
running egg_info
writing requirements to src/cauliflowervest.egg-info/requires.txt
writing src/cauliflowervest.egg-info/PKG-INFO
writing top-level names to src/cauliflowervest.egg-info/top_level.txt
writing dependency_links to src/cauliflowervest.egg-info/dependency_links.txt
writing entry points to src/cauliflowervest.egg-info/entry_points.txt
reading manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
running build_ext
Testing base_client_test
EEEEEEEEEEE
======================================================================
ERROR: testFetchXsrfToken (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testGetAndValidateMetadata (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testGetAndValidateMetadataWithError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetrieveSecret (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetrieveSecretRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetryRequest (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetryRequest404 (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testRetryRequestRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testUploadPassphrase (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testUploadPassphraseWithRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

======================================================================
ERROR: testUploadPassphraseWithTransientRequestError (base_client_test.CauliflowerVestClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/client/base_client_test.py", line 41, in setUp
    'http://example.com', self.mock_opener, headers=self.headers)
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/base_client.py", line 169, in __init__
    self._ca_certs_file = settings.ROOT_CA_CERT_CHAIN_PEM_FILE_PATH
AttributeError: 'module' object has no attribute 'ROOT_CA_CERT_CHAIN_PEM_FILE_PATH'

----------------------------------------------------------------------
Ran 11 tests in 0.002s

FAILED (errors=11)
Testing util_test
...........................
----------------------------------------------------------------------
Ran 27 tests in 0.007s

OK
Testing corestorage_test
.....ERROR:root:GetRecoveryPartition() failed to get partition list.
Traceback (most recent call last):
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/client/mac/corestorage.py", line 85, in GetRecoveryPartition
    disklist_plist = util.GetPlistFromExec((DISKUTIL, 'list', '-plist'))
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 763, in __call__
    return mock_method(*params, **named_params)
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 991, in __call__
    raise expected_method._exception
ExecError: Message=None
...........
----------------------------------------------------------------------
Ran 16 tests in 0.008s

OK
Testing glue_test
.............
----------------------------------------------------------------------
Ran 13 tests in 0.016s

OK
Testing machine_data_test
.....
----------------------------------------------------------------------
Ran 5 tests in 0.001s

OK
Testing main_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s

OK
Testing bitlocker_ad_sync_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.005s

OK
Testing client_test

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
Testing crypto_test
.............
----------------------------------------------------------------------
Ran 13 tests in 0.002s

OK
WARNING:root:/Users/ablum/Documents/cauliflowervest/src/tests/gae_server.zip/lib/cacerts/urlfetch_cacerts.txt missing; without this urlfetch will not be able to validate SSL certificates.
WARNING:root:No ssl package found. urlfetch will not be able to validate SSL certificates.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 73, in <module>
    google_test_dir='src/tests',
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/test.py", line 121, in run
    self.with_project_on_sys_path(self.run_tests)
  File "/Users/ablum/Documents/cauliflowervest/VE/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/test.py", line 101, in with_project_on_sys_path
    func()
  File "/Users/ablum/Documents/cauliflowervest/google_apputils-0.4.0-py2.7.egg/google/apputils/setup_command.py", line 157, in run_tests
    ok &= self._RunTestModule(file_path)
  File "/Users/ablum/Documents/cauliflowervest/google_apputils-0.4.0-py2.7.egg/google/apputils/setup_command.py", line 123, in _RunTestModule
    module = imp.load_module(module_name, *import_tuple)
  File "src/tests/cauliflowervest/server/models_test.py", line 34, in <module>
    from cauliflowervest.server import models
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/server/models.py", line 239, in <module>
    class DuplicityKeyPair(BaseVolume):
  File "/Users/ablum/Documents/cauliflowervest/src/cauliflowervest/server/models.py", line 244, in DuplicityKeyPair
    REQUIRED_PROPERTIES = base_settings.DUPLICITY_REQUIRED_PROPERTIES + [
AttributeError: 'module' object has no attribute 'DUPLICITY_REQUIRED_PROPERTIES'
make: *** [test] Error 1
tcc-ablum3:cauliflowervest ablum$ 





Justin McWilliams

unread,
Oct 16, 2013, 4:23:39 PM10/16/13
to cauliflower...@googlegroups.com
Are you using an outdated settings module?

Does ROOT_CA_CERT_CHAIN_PEM_FILE_PATH not exist in your client
settings.py module?
https://code.google.com/p/cauliflowervest/source/browse/src/cauliflowervest/client/settings.py#41

Similar question for DUPLICITY_REQUIRED_PROPERTIES in the base
settings.py module:
https://code.google.com/p/cauliflowervest/source/browse/src/cauliflowervest/settings.py#36

- Justin
> --
> You received this message because you are subscribed to the Google Groups
> "cauliflowervest-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cauliflowervest-d...@googlegroups.com.
> To post to this group, send email to
> cauliflower...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.

Andrew Blum

unread,
Oct 16, 2013, 4:59:50 PM10/16/13
to cauliflower...@googlegroups.com
Justin,
It looks like I was using an outdated Setting.py in these cases. However, when I get to make DMG. I get the following : Not sure why its trying to build csfde on 10.8. Any Ideas ? 
tcc-ablum3:cv ablum$ make dmg
error: There is no SDK with the name or path '/Users/ablum/Documents/cv/src/csfde/macosx10.7'

** BUILD FAILED **


The following build commands failed:
Check dependencies
(1 failure)
make: *** [src/csfde/build/Default/csfde] Error 65
You received this message because you are subscribed to a topic in the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cauliflowervest-discuss/SGoTnDyAdmg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/groups/opt_out.



--

Andrew Blum
System Administrator 
*The Climate Corporation*
201 Third Street
Suite 1100
San Francisco, CA 94103
415.363.0700 (work)
917-656-5956(cell)
and...@climate.com
www.climate.com

Justin McWilliams

unread,
Oct 16, 2013, 5:08:13 PM10/16/13
to cauliflower...@googlegroups.com
Andrew,

This is due to Xcode needing to build CSFDE, which we plan to phase
out with time. Already today, it's only used on OS X 10.7 Lion. For
10.8 and above, Apple's own fdesetup is used instead.

I'm guessing you're building on a Mac running 10.8 or 10.9. If you
don't need 10.7 support you can try this:-
- change 10.7 to 10.8 on line 240 and 277 here:
https://code.google.com/p/cauliflowervest/source/browse/src/csfde/csfde.xcodeproj/project.pbxproj#240

or, I can help you remove all references of csfde from the Makefile
and it should build without Xcode at all. Perhaps we'll add a
Makefile target for building with 10.7 support versus only 10.8+.

- Justin

Andrew Blum

unread,
Oct 17, 2013, 1:17:02 AM10/17/13
to cauliflower...@googlegroups.com
Looks like changing those to 10.8 did the charm. Thanks for the quick response. 

There is one last thing, that is still an issue, and I have figured out a way to manually fix this. But I am not sure how rectify the issue in mass so that I do not need to change the perms after the fact. 
As it stands now I have to change the perms on google_apputils-0.4.0-py2.7.egg/ after the installer is run. What would be the best way to get the chmodding to be done as part of the dmg installer. 
Thanks again for your help
  

Justin McWilliams

unread,
Oct 17, 2013, 2:57:30 PM10/17/13
to cauliflower...@googlegroups.com
On Thu, Oct 17, 2013 at 1:17 AM, Andrew Blum <ab...@climate.com> wrote:
> Looks like changing those to 10.8 did the charm. Thanks for the quick
> response.
>
> There is one last thing, that is still an issue, and I have figured out a
> way to manually fix this. But I am not sure how rectify the issue in mass so
> that I do not need to change the perms after the fact.
> As it stands now I have to change the perms on
> google_apputils-0.4.0-py2.7.egg/ after the installer is run. What would be
> the best way to get the chmodding to be done as part of the dmg installer.
> Thanks again for your help

Can you add a line to chmod in postflight, which runs immediately
after the package itself is installed?

https://code.google.com/p/cauliflowervest/source/browse/postflight

If that works, we can integrate it into our source.

Justin McWilliams

unread,
Nov 8, 2013, 2:53:05 PM11/8/13
to cauliflower...@googlegroups.com

Andrew Blum

unread,
Nov 8, 2013, 2:54:56 PM11/8/13
to cauliflower...@googlegroups.com
Justin, 
this does the trick. 
Thanks for updating
Reply all
Reply to author
Forward
0 new messages