Instructions for CloudKms and Apple Firmware Escrow

36 views
Skip to first unread message

John Meyers

unread,
Jun 28, 2017, 4:58:04 PM6/28/17
to cauliflowervest-discuss
We are trying out CauliflowerVest.  The documentation on Github appears a bit dated.  Specifically, we'd like to try out the CloudKms and Apple Firmware escrow.

With regard to the former, there is only a brief mention on how to configure the CloudKms service on the Google-side but no instructions at all on how to actually enable it in CauliflowerVest.  Presumably one has to change 'DEFAULT_CRYPTO_BACKEND' and specify API keys and credentials somewhere.

With regard to the latter, the UI has a nice shiny search for Apple Firmware passwords, the settings.py contains permission sets for the same, and I've heard that Google is using it internally now but there is zero mention of how to handle it on the client-side.

Any help would be appreciated.  This looks like a great project.

Thanks!

John

Maxim Ermilov

unread,
Jun 30, 2017, 11:05:25 AM6/30/17
to cauliflower...@googlegroups.com
> zero mention of how to handle it on the client-side

Client is not yet open sourced.
(But it's just a wrapper on top of firmwarepasswd.)

> DEFAULT_CRYPTO_BACKEND

yeah, corresponding value is 'envelope_cloud_kms'

>  specify API keys and credentials somewhere

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

John Meyers

unread,
Jun 30, 2017, 5:01:40 PM6/30/17
to cauliflowervest-discuss
Thank you...  I tried the script as listed and it seems to already use deprecated SDK calls as the kms functionality appears to no longer be 'alpha'.  The referenced 'components-2.json' file appears to not be available as well (no idea what the impact of missing it is).   I also had to add '--location global' to all of the kms calls per the current API spec.  Despite that, I get tons of errors when doing a 'make release':

UnknownApiNameOrVersion: name: cloudkms  version: v1beta1

FERROR:root:name: cloudkms  version: v1beta1


I'm at my limit of knowledge here and would appreciate suggestions.

John


_____
Maxim

To post to this group, send email to cauliflower...@googlegroups.com.

Maxim Ermilov

unread,
Jun 30, 2017, 5:34:24 PM6/30/17
to cauliflower...@googlegroups.com
> UnknownApiNameOrVersion: name: cloudkms  version: v1beta1

Thank you for reporting this bug.

Thanks,
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.

John Meyers

unread,
Jun 30, 2017, 5:38:04 PM6/30/17
to cauliflowervest-discuss
Thank you!  Pulled it down and now getting a bit farther, but getting another google-side error causing the build to fail:

HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/provisioning:encrypt?alt=json returned "Project 'testbed-test' not found.">


Thanks,
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.

John Meyers

unread,
Jul 10, 2017, 1:36:14 PM7/10/17
to cauliflowervest-discuss
Hi all...

It's been quite some time and we have not been able to make progress on using cloudkms and thus CauliflowerVest itself.  I have to wonder if it would just make more sense to abandon it and use the built-in encryption to get up and running.  I'm happy to continue troubleshooting if we can get some help, but I don't want to be a burden the Googlers, who I'm sure have far more important things to do.

John

Maxim Ermilov

unread,
Jul 10, 2017, 2:10:20 PM7/10/17
to cauliflower...@googlegroups.com
> returned "Project 'testbed-test' not found."

seems some test is not hermetic.
You can ignore this error.

_____
Maxim


Thanks,
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsubscr...@googlegroups.com.

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

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.

John Meyers

unread,
Jul 10, 2017, 2:23:12 PM7/10/17
to cauliflowervest-discuss
Maxim,

Unfortunately with cloudkms enabled, 'make release' fails.  The full output follows:

VE/bin/python setup.py build
running build
running build_py
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'
VE/bin/pip install python-keyczar==0.716 pyasn1==0.1.9
Requirement already satisfied (use --upgrade to upgrade): python-keyczar==0.716 in ./VE/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pyasn1==0.1.9 in ./VE/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pycrypto>2.0 in ./VE/lib/python2.7/site-packages (from python-keyczar==0.716)
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
not OS X, no symlink can be created or SDK directory found.
# Hack for Pillow installation
VE/bin/python setup.py test
running test
Searching for webtest
Best match: WebTest 2.0.27
Processing WebTest-2.0.27-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg
Searching for webapp2
Best match: webapp2 3.0.0b1
Processing webapp2-3.0.0b1-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg
Searching for webob
Best match: WebOb 1.7.2
Processing WebOb-1.7.2-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/WebOb-1.7.2-py2.7.egg
Searching for simplejson
Best match: simplejson 3.11.1
Processing simplejson-3.11.1-py2.7-macosx-10.12-intel.egg

Using /src/macops2/cauliflowervest/.eggs/simplejson-3.11.1-py2.7-macosx-10.12-intel.egg
Searching for pillow
Best match: Pillow 4.1.1
Processing Pillow-4.1.1-py2.7-macosx-10.12-intel.egg

Using /src/macops2/cauliflowervest/.eggs/Pillow-4.1.1-py2.7-macosx-10.12-intel.egg
Searching for mock
Best match: mock 2.0.0
Processing mock-2.0.0-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg
Searching for jinja2
Best match: Jinja2 2.9.6
Processing Jinja2-2.9.6-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/Jinja2-2.9.6-py2.7.egg
Searching for beautifulsoup4
Best match: beautifulsoup4 4.6.0
Processing beautifulsoup4-4.6.0-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/beautifulsoup4-4.6.0-py2.7.egg
Searching for waitress>=0.8.5
Best match: waitress 1.0.2
Processing waitress-1.0.2-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/waitress-1.0.2-py2.7.egg
Searching for olefile
Best match: olefile 0.44
Processing olefile-0.44-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/olefile-0.44-py2.7.egg
Searching for pbr>=0.11
Best match: pbr 3.1.1
Processing pbr-3.1.1-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/pbr-3.1.1-py2.7.egg
Searching for funcsigs>=1
Best match: funcsigs 1.0.2
Processing funcsigs-1.0.2-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/funcsigs-1.0.2-py2.7.egg
Searching for MarkupSafe>=0.23
Best match: MarkupSafe 1.0
Processing MarkupSafe-1.0-py2.7-macosx-10.12-intel.egg

Using /src/macops2/cauliflowervest/.eggs/MarkupSafe-1.0-py2.7-macosx-10.12-intel.egg
# 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
Searching for webtest
Best match: WebTest 2.0.27
Processing WebTest-2.0.27-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg
Searching for webapp2
Best match: webapp2 3.0.0b1
Processing webapp2-3.0.0b1-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg
Searching for webob
Best match: WebOb 1.7.2
Processing WebOb-1.7.2-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/WebOb-1.7.2-py2.7.egg
Searching for simplejson
Best match: simplejson 3.11.1
Processing simplejson-3.11.1-py2.7-macosx-10.12-intel.egg

Using /src/macops2/cauliflowervest/.eggs/simplejson-3.11.1-py2.7-macosx-10.12-intel.egg
Searching for pillow
Best match: Pillow 4.1.1
Processing Pillow-4.1.1-py2.7-macosx-10.12-intel.egg

Using /src/macops2/cauliflowervest/.eggs/Pillow-4.1.1-py2.7-macosx-10.12-intel.egg
Searching for mock
Best match: mock 2.0.0
Processing mock-2.0.0-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg
Searching for jinja2
Best match: Jinja2 2.9.6
Processing Jinja2-2.9.6-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/Jinja2-2.9.6-py2.7.egg
Searching for beautifulsoup4
Best match: beautifulsoup4 4.6.0
Processing beautifulsoup4-4.6.0-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/beautifulsoup4-4.6.0-py2.7.egg
Searching for waitress>=0.8.5
Best match: waitress 1.0.2
Processing waitress-1.0.2-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/waitress-1.0.2-py2.7.egg
Searching for olefile
Best match: olefile 0.44
Processing olefile-0.44-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/olefile-0.44-py2.7.egg
Searching for pbr>=0.11
Best match: pbr 3.1.1
Processing pbr-3.1.1-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/pbr-3.1.1-py2.7.egg
Searching for funcsigs>=1
Best match: funcsigs 1.0.2
Processing funcsigs-1.0.2-py2.7.egg

Using /src/macops2/cauliflowervest/.eggs/funcsigs-1.0.2-py2.7.egg
Searching for MarkupSafe>=0.23
Best match: MarkupSafe 1.0
Processing MarkupSafe-1.0-py2.7-macosx-10.12-intel.egg

Using /src/macops2/cauliflowervest/.eggs/MarkupSafe-1.0-py2.7-macosx-10.12-intel.egg
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
.........WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
ERROR:root:foo failed permanently.
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/src/cauliflowervest/client/base_client.py", line 179, in _RetryRequest
    return self.opener.open(request)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1062, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1118, in _mock_call
    raise effect
HTTPError: HTTP Error 500: HTTP Err 500
...WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
ERROR:root:Uploading passphrase failed permanently.
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/src/cauliflowervest/client/base_client.py", line 179, in _RetryRequest
    return self.opener.open(request)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1062, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1123, in _mock_call
    raise result
HTTPError: HTTP Error 500: HTTP Error 500
.WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
.
----------------------------------------------------------------------
Ran 14 tests in 0.013s

OK
Testing util_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
...........................
----------------------------------------------------------------------
Ran 27 tests in 0.008s

OK
Testing corestorage_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.....ERROR:root:GetRecoveryPartition() failed to get partition list.
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/src/cauliflowervest/client/mac/corestorage.py", line 86, in GetRecoveryPartition
    disklist_plist = util.GetPlistFromExec((DISKUTIL, 'list', '-plist'))
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1062, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1118, in _mock_call
    raise effect
ExecError: Message=None
............
----------------------------------------------------------------------
Ran 17 tests in 0.009s

OK
Testing glue_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
......
----------------------------------------------------------------------
Ran 6 tests in 0.005s

OK
Testing machine_data_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.....
----------------------------------------------------------------------
Ran 5 tests in 0.002s

OK
Testing main_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
..
----------------------------------------------------------------------
Ran 2 tests in 0.029s

OK
Testing tkinter_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
..
----------------------------------------------------------------------
Ran 2 tests in 0.004s

OK
Testing bitlocker_ad_sync_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
/src/macops2/cauliflowervest/src/cauliflowervest/client/win/bitlocker_ad_sync.py:209: RuntimeWarning: Trying to access flag redact_recovery_passwords before flags were parsed. This will raise an exception in the future.
  if FLAGS.redact_recovery_passwords:
ERROR:root:Trying to access flag redact_recovery_passwords before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag redact_recovery_passwords before flags were parsed.
..
----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK
Testing crypto_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
..........ERROR:root:Could not load encryption keys.
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/crypto.py", line 164, in AreEncryptionKeysAvailable
    reader.LoadKeys(key_type)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1062, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1118, in _mock_call
    raise effect
Error
...
----------------------------------------------------------------------
Ran 13 tests in 0.006s

OK
Testing encrypted_property_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
WARNING:root:/src/macops2/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.
Testing util_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
..WARNING:root:Email settings are incorrectly configured; skipping
...
----------------------------------------------------------------------
Ran 5 tests in 0.064s

OK
Testing group_sync_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.....
----------------------------------------------------------------------
Ran 5 tests in 0.004s

OK
WARNING:root:/src/macops2/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.
Testing apple_firmware_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
E
======================================================================
ERROR: testRetrieval (apple_firmware_test.AppleFirmwareHandlerTest)
testRetrieval (apple_firmware_test.AppleFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/apple_firmware_test.py", line 69, in testRetrieval
    platform_uuid='ID1',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)

======================================================================
ERROR: testUpload (apple_firmware_test.AppleFirmwareHandlerTest)
testUpload (apple_firmware_test.AppleFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/apple_firmware_test.py", line 53, in testUpload
    params=password, status=httplib.OK)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 395, in put
    content_type=content_type,
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 747, in _gen_request
    expect_errors=expect_errors)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 643, in do_request
    self._check_status(status, res)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 678, in _check_status
    "Bad response: %s (not %s)\n%s", res_status, status, res)
AppError: Bad response: 500 Internal Server Error (not 200)
500 Internal Server Error

The server has either erred or is incapable of performing the requested operation.

   

----------------------------------------------------------------------
Ran 2 tests in 0.929s

FAILED (errors=2)
WARNING:root:/src/macops2/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.
Testing created_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
WARNING:root:handle_exception: Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/created.py", line 61, in get
    permissions.TYPE_PROVISIONING)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 48, in VerifyPermissions
    'User lacks %s permission' % required_permission)
AccessDeniedError: User lacks retrieve_created_by permission

.E
======================================================================
ERROR: testWalkthrough (created_test.CreatedModuleTest)
testWalkthrough (created_test.CreatedModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/created_test.py", line 62, in testWalkthrough
    platform_uuid='stub', serial='stub', volume_uuid=vol_uuid1,
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/provisioning:encrypt?alt=json returned "Project 'testbed-test' not found.">

----------------------------------------------------------------------
Ran 2 tests in 0.423s

FAILED (errors=1)
WARNING:root:/src/macops2/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.
Testing dell_firmware_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
EERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/dell_firmware:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
E
======================================================================
ERROR: testRetrieval (dell_firmware_test.DellFirmwareHandlerTest)
testRetrieval (dell_firmware_test.DellFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/dell_firmware_test.py", line 67, in testRetrieval
    serial=serial, hostname=hostname, password=password, owner='stub7',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)

======================================================================
ERROR: testUpload (dell_firmware_test.DellFirmwareHandlerTest)
testUpload (dell_firmware_test.DellFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/dell_firmware_test.py", line 52, in testUpload
    params=password, status=httplib.OK)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 395, in put
    content_type=content_type,
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 747, in _gen_request
    expect_errors=expect_errors)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 643, in do_request
    self._check_status(status, res)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 678, in _check_status
    "Bad response: %s (not %s)\n%s", res_status, status, res)
AppError: Bad response: 500 Internal Server Error (not 200)
500 Internal Server Error

The server has either erred or is incapable of performing the requested operation.

   

----------------------------------------------------------------------
Ran 2 tests in 0.795s

FAILED (errors=2)
WARNING:root:/src/macops2/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.
Testing duplicity_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.
----------------------------------------------------------------------
Ran 1 test in 0.017s

OK
WARNING:root:/src/macops2/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.
Testing filevault_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
..EEEE
======================================================================
ERROR: testChangeOwner (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
testChangeOwner (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/filevault_test.py", line 88, in setUp
    volume_id = fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testChangeOwnerForNonexistantUuid (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
testChangeOwnerForNonexistantUuid (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/filevault_test.py", line 88, in setUp
    volume_id = fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testChangeOwnerWithoutPermission (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
testChangeOwnerWithoutPermission (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/filevault_test.py", line 88, in setUp
    volume_id = fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testChangeOwnerWithoutValidXsrf (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
testChangeOwnerWithoutValidXsrf (filevault_test.FileVaultChangeOwnerAccessHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/filevault_test.py", line 88, in setUp
    volume_id = fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

----------------------------------------------------------------------
Ran 6 tests in 1.059s

FAILED (errors=4)
WARNING:root:/src/macops2/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.
Testing hp_firmware_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
EERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/hp_firmware:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/hp_firmware:encrypt?alt=json returned "Project 'testbed-test' not found.">
E
======================================================================
ERROR: testRetrieval (hp_firmware_test.HpFirmwareHandlerTest)
testRetrieval (hp_firmware_test.HpFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/hp_firmware_test.py", line 67, in testRetrieval
    serial=serial, hostname=hostname, password=password, owner='stub7',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/hp_firmware:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testUpload (hp_firmware_test.HpFirmwareHandlerTest)
testUpload (hp_firmware_test.HpFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/hp_firmware_test.py", line 52, in testUpload
    params=password, status=httplib.OK)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 395, in put
    content_type=content_type,
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 747, in _gen_request
    expect_errors=expect_errors)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 643, in do_request
    self._check_status(status, res)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 678, in _check_status
    "Bad response: %s (not %s)\n%s", res_status, status, res)
AppError: Bad response: 500 Internal Server Error (not 200)
500 Internal Server Error

The server has either erred or is incapable of performing the requested operation.

   

----------------------------------------------------------------------
Ran 2 tests in 0.529s

FAILED (errors=2)
WARNING:root:/src/macops2/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.
Testing lenovo_firmware_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
E
======================================================================
ERROR: testRetrieval (lenovo_firmware_test.LenovoFirmwareHandlerTest)
testRetrieval (lenovo_firmware_test.LenovoFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/lenovo_firmware_test.py", line 67, in testRetrieval
    serial=serial, hostname=hostname, password=password, owner='stub7',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)

======================================================================
ERROR: testUpload (lenovo_firmware_test.LenovoFirmwareHandlerTest)
testUpload (lenovo_firmware_test.LenovoFirmwareHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/lenovo_firmware_test.py", line 52, in testUpload
    params=password, status=httplib.OK)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 395, in put
    content_type=content_type,
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 747, in _gen_request
    expect_errors=expect_errors)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 643, in do_request
    self._check_status(status, res)
  File "/src/macops2/cauliflowervest/.eggs/WebTest-2.0.27-py2.7.egg/webtest/app.py", line 678, in _check_status
    "Bad response: %s (not %s)\n%s", res_status, status, res)
AppError: Bad response: 500 Internal Server Error (not 200)
500 Internal Server Error

The server has either erred or is incapable of performing the requested operation.

   

----------------------------------------------------------------------
Ran 2 tests in 0.631s

FAILED (errors=2)
WARNING:root:/src/macops2/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.
Testing luks_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
...ERROR:root:ValueError obtaining timestamp from token: badtoken
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/util.py", line 129, in XsrfTokenValidate
    _, timestr = base64.urlsafe_b64decode(token).split(XSRF_DELIMITER, 1)
ValueError: need more than 1 value to unpack
WARNING:root:handle_exception: Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 114, in put
    self.VerifyXsrfToken(base_settings.SET_PASSPHRASE_ACTION)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 99, in VerifyXsrfToken
    raise base.AccessDeniedError('Valid XSRF token not provided')
AccessDeniedError: Valid XSRF token not provided

.ERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">
FERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">
F
======================================================================
FAIL: testPutWithMissingXsrfTokenAndProtectionDisabled (luks_test.NewLuksRequestHandlerTest)
testPutWithMissingXsrfTokenAndProtectionDisabled (luks_test.NewLuksRequestHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/luks_test.py", line 100, in testPutWithMissingXsrfTokenAndProtectionDisabled
    self.assertEqual(httplib.OK, resp.status_int)
AssertionError: 200 != 500

======================================================================
FAIL: testPutWithValidXsrfToken (luks_test.NewLuksRequestHandlerTest)
testPutWithValidXsrfToken (luks_test.NewLuksRequestHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/luks_test.py", line 66, in testPutWithValidXsrfToken
    self.assertEqual(httplib.OK, resp.status_int)
AssertionError: 200 != 500

----------------------------------------------------------------------
Ran 6 tests in 0.700s

FAILED (failures=2)
WARNING:root:/src/macops2/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.
Testing maintenance_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.E
======================================================================
ERROR: testWalkthrough (maintenance_test.MaintenanceModuleTest)
testWalkthrough (maintenance_test.MaintenanceModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "src/tests/cauliflowervest/server/handlers/maintenance_test.py", line 59, in testWalkthrough
    serial='stub', volume_uuid=str(uuid.uuid4()).upper(), tag='v1'
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/provisioning:encrypt?alt=json returned "Project 'testbed-test' not found.">

----------------------------------------------------------------------
Ran 2 tests in 0.519s

FAILED (errors=1)
WARNING:root:/src/macops2/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.
Testing passphrase_handler_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
WARNING:root:handle_exception: Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 103, in get
    raise base.AccessError('target_id is malformed')
AccessError: target_id is malformed

.EERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">
FERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">
FERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1573, in __call__
    rv = self.handle_exception(request, response, e)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1567, in __call__
    rv = self.router.dispatch(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1314, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 1138, in __call__
    return handler.dispatch()
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 606, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/base_handler.py", line 126, in handle_exception
    super(BaseHandler, self).handle_exception(exception, debug_mode)
  File "/src/macops2/cauliflowervest/.eggs/webapp2-3.0.0b1-py2.7.egg/webapp2.py", line 604, in dispatch
    return method(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 130, in put
    self.PutNewSecret(owner, target_id, secret, self.request)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/handlers/passphrase_handler.py", line 184, in PutNewSecret
    entity.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">
FEEEEEEEEE
======================================================================
ERROR: testVolumeUuidValid (passphrase_handler_test.GetTest)
testVolumeUuidValid (passphrase_handler_test.GetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 88, in testVolumeUuidValid
    passphrase='stub_pass1', hdd_serial='stub', platform_uuid='stub',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testBarcode (passphrase_handler_test.RetrieveSecretTest)
testBarcode (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 189, in testBarcode
    platform_uuid='stub', volume_uuid=vol_uuid
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testBarcodeTooLong (passphrase_handler_test.RetrieveSecretTest)
testBarcodeTooLong (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 208, in testBarcodeTooLong
    platform_uuid='stub', volume_uuid=vol_uuid
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testCheckAuthzCreatorOk (passphrase_handler_test.RetrieveSecretTest)
testCheckAuthzCreatorOk (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 229, in testCheckAuthzCreatorOk
    hdd_serial='stub', platform_uuid='stub', serial='stub',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testCheckAuthzGlobalOk (passphrase_handler_test.RetrieveSecretTest)
testCheckAuthzGlobalOk (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 247, in testCheckAuthzGlobalOk
    hdd_serial='stub', platform_uuid='stub', serial='stub',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testCheckAuthzOwnerFail (passphrase_handler_test.RetrieveSecretTest)
testCheckAuthzOwnerFail (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 266, in testCheckAuthzOwnerFail
    hdd_serial='stub', platform_uuid='stub', serial='stub',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testCheckAuthzOwnerOk (passphrase_handler_test.RetrieveSecretTest)
testCheckAuthzOwnerOk (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 284, in testCheckAuthzOwnerOk
    hdd_serial='stub', platform_uuid='stub', serial='stub',
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testLuksAsNonOwner (passphrase_handler_test.RetrieveSecretTest)
testLuksAsNonOwner (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 302, in testLuksAsNonOwner
    platform_uuid='stub', volume_uuid=vol_uuid
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testLuksAsOwner (passphrase_handler_test.RetrieveSecretTest)
testLuksAsOwner (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 320, in testLuksAsOwner
    platform_uuid='stub', volume_uuid=vol_uuid
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testProvisioningAsOwner (passphrase_handler_test.RetrieveSecretTest)
testProvisioningAsOwner (passphrase_handler_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 339, in testProvisioningAsOwner
    volume_uuid=vol_uuid,
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/provisioning:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
FAIL: testOwnerInMetadata (passphrase_handler_test.PutTest)
testOwnerInMetadata (passphrase_handler_test.PutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 123, in testOwnerInMetadata
    self.assertIn('successfully escrowed', resp.body)
AssertionError: 'successfully escrowed' not found in '500 Internal Server Error\n\nThe server has either erred or is incapable of performing the requested operation.\n\n   '

======================================================================
FAIL: testOwnerNotInMetadata (passphrase_handler_test.PutTest)
testOwnerNotInMetadata (passphrase_handler_test.PutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 149, in testOwnerNotInMetadata
    self.assertIn('successfully escrowed', resp.body)
AssertionError: 'successfully escrowed' not found in '500 Internal Server Error\n\nThe server has either erred or is incapable of performing the requested operation.\n\n   '

======================================================================
FAIL: testPutNonDefaultTag (passphrase_handler_test.PutTest)
testPutNonDefaultTag (passphrase_handler_test.PutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/src/macops2/cauliflowervest/.eggs/mock-2.0.0-py2.7.egg/mock/mock.py", line 1724, in _inner
    return f(*args, **kw)
  File "src/tests/cauliflowervest/server/handlers/passphrase_handler_test.py", line 172, in testPutNonDefaultTag
    self.assertEqual(httplib.OK, resp.status_int)
AssertionError: 200 != 500

----------------------------------------------------------------------
Ran 14 tests in 1.968s

FAILED (failures=3, errors=10)
WARNING:root:/src/macops2/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.
Testing rekey_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
EE
======================================================================
ERROR: testAccessDenied (rekey_test.RekeyModuleTest)
testAccessDenied (rekey_test.RekeyModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/rekey_test.py", line 61, in testAccessDenied
    self.v.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testForceRekeying (rekey_test.RekeyModuleTest)
testForceRekeying (rekey_test.RekeyModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/rekey_test.py", line 52, in testForceRekeying
    self.v.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/luks:encrypt?alt=json returned "Project 'testbed-test' not found.">

----------------------------------------------------------------------
Ran 2 tests in 0.577s

FAILED (errors=2)
WARNING:root:/src/macops2/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.
Testing search_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
EEEEEEEEEEEEE
======================================================================
ERROR: testApiNoRedirect (search_test.SearchModuleTest)
testApiNoRedirect (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testAppleFirmwareSearch (search_test.SearchModuleTest)
testAppleFirmwareSearch (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testDellFirmwareSearch (search_test.SearchModuleTest)
testDellFirmwareSearch (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testFilterResult (search_test.SearchModuleTest)
testFilterResult (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testHpFirmwareSearch (search_test.SearchModuleTest)
testHpFirmwareSearch (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testLenovoFirmwareSearch (search_test.SearchModuleTest)
testLenovoFirmwareSearch (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testMainPageRedirect (search_test.SearchModuleTest)
testMainPageRedirect (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPassphrasesFoQueryCreatedBy (search_test.SearchModuleTest)
testPassphrasesFoQueryCreatedBy (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPassphrasesForQueryHostname (search_test.SearchModuleTest)
testPassphrasesForQueryHostname (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPassphrasesForQueryOwner (search_test.SearchModuleTest)
testPassphrasesForQueryOwner (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPassphrasesForQueryPrefix (search_test.SearchModuleTest)
testPassphrasesForQueryPrefix (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testProvisioningQueryCreatedBySortingOrder (search_test.SearchModuleTest)
testProvisioningQueryCreatedBySortingOrder (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testSearchRedirect (search_test.SearchModuleTest)
testSearchRedirect (search_test.SearchModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/handlers/search_test.py", line 56, in setUp
    volume_uuid=str(uuid.uuid4()).upper()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/bitlocker:encrypt?alt=json returned "Project 'testbed-test' not found.">

----------------------------------------------------------------------
Ran 13 tests in 1.754s

FAILED (errors=13)
WARNING:root:/src/macops2/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.
Testing volume_types_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
...
----------------------------------------------------------------------
Ran 3 tests in 0.027s

OK
WARNING:root:/src/macops2/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.
Testing base_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
.......
----------------------------------------------------------------------
Ran 7 tests in 0.029s

OK
WARNING:root:/src/macops2/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.
Testing volumes_test
/src/macops2/cauliflowervest/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/basetest.py:1617: RuntimeWarning: Trying to access flag test_tmpdir before flags were parsed. This will raise an exception in the future.
  if not os.path.isdir(FLAGS.test_tmpdir):
ERROR:root:Trying to access flag test_tmpdir before flags were parsed.
Traceback (most recent call last):
  File "build/bdist.macosx-10.12-intel/egg/gflags/flagvalues.py", line 535, in __getattr__
    raise exceptions.UnparsedFlagAccessError(error_message)
UnparsedFlagAccessError: Trying to access flag test_tmpdir before flags were parsed.
EE.EEE.......
======================================================================
ERROR: testPutClone (volumes_test.FileVaultVolumeTest)
testPutClone (volumes_test.FileVaultVolumeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/models/volumes_test.py", line 117, in testPutClone
    self.fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPutSuccess (volumes_test.FileVaultVolumeTest)
testPutSuccess (volumes_test.FileVaultVolumeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/models/volumes_test.py", line 147, in testPutSuccess
    fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPutWithExistingDataModified (volumes_test.FileVaultVolumeTest)
testPutWithExistingDataModified (volumes_test.FileVaultVolumeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/models/volumes_test.py", line 83, in testPutWithExistingDataModified
    self.fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPutWithExistingOwnerModified (volumes_test.FileVaultVolumeTest)
testPutWithExistingOwnerModified (volumes_test.FileVaultVolumeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/models/volumes_test.py", line 108, in testPutWithExistingOwnerModified
    self.fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

======================================================================
ERROR: testPutWithOnlyCreatedModified (volumes_test.FileVaultVolumeTest)
testPutWithOnlyCreatedModified (volumes_test.FileVaultVolumeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/cauliflowervest/server/models/volumes_test.py", line 78, in testPutWithOnlyCreatedModified
    self.fvv.put()
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/models/base.py", line 265, in put
    return super(BasePassphrase, self).put(*args, **kwargs)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1076, in put
    self._populate_internal_entity()
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1045, in _populate_internal_entity
    self._entity = self._populate_entity(_entity_class=_entity_class)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1116, in _populate_entity
    self._to_entity(entity)
  File "/src/macops2/cauliflowervest/src/tests/gae_server.zip/google/appengine/ext/db/__init__.py", line 1030, in _to_entity
    self.__set_property(entity, prop.name, prop.get_value_for_datastore(self))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 131, in get_value_for_datastore
    return db.Blob(str(self._Encrypt(raw_blob)))
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 114, in _Encrypt
    value, key_name=self._key_name)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/encrypted_property.py", line 60, in Encrypt
    data_encryption_key, key_name, cls._KEYRING_NAME)
  File "/src/macops2/cauliflowervest/src/cauliflowervest/server/cloud_kms.py", line 87, in Encrypt
    resp = req.execute()
  File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
HttpError: <HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/filevault:encrypt?alt=json returned "Project 'testbed-test' not found.">

----------------------------------------------------------------------
Ran 13 tests in 0.886s

FAILED (errors=5)
make: *** [test] Error 1

_____
Maxim


Thanks,
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.

John Meyers

unread,
Jul 10, 2017, 2:24:58 PM7/10/17
to cauliflowervest-discuss
Think my output got truncated when in-line.  Please find it attached.
EERROR:root:<HttpError 404 when requesting https://cloudkms.googleapis.com/v1/projects/testbed-test/locations/global/keyRings/keyring2/cryptoKeys/dell_firmware:encrypt?alt=json returned "Project 'testbed-test' not found.&q
cloudkms-output.txt

Maxim Ermilov

unread,
Jul 10, 2017, 2:30:08 PM7/10/17
to cauliflower...@googlegroups.com
> Unfortunately with cloudkms enabled, 'make release' fails.  The full output follows:

Remove "test" from following line:

we are in process of switching from Make to bazel, it will eliminate such problems.

_____
Maxim

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.

John Meyers

unread,
Jul 10, 2017, 3:12:11 PM7/10/17
to cauliflowervest-discuss
OK.  Getting closer.  At least 'make release' ran.  Now trying to build the client, it wants PackageMaker which is long since deprecated and not even downloadable anymore from Apple.  I assume you have some syntax to switch to 'pkgbuild'?

_____
Maxim

To post to this group, send email to cauliflower...@googlegroups.com.

Maxim Ermilov

unread,
Jul 10, 2017, 3:16:43 PM7/10/17
to cauliflower...@googlegroups.com
t wants PackageMaker which is long since deprecated and not even downloadable anymore from Apple. 

it's part of "Auxiliary Tools for Xcode - February 2012."

_____
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.

Clay Caviness

unread,
Jul 10, 2017, 3:20:30 PM7/10/17
to cauliflower...@googlegroups.com
Available or not, PackageMaker is marked as deprecated for many years now, and the cauliflower vest build process should switch to pkgbuild.


_____
Maxim

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 https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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 https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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.

John Meyers

unread,
Jul 10, 2017, 3:26:52 PM7/10/17
to cauliflowervest-discuss
Hi Clay -- didn't expect to see you over here!

Not only was it deprecated years ago but I can't get even get it to run on Sierra as downloaded from the package referenced below.  I'm searching around to see if I can find anything.  Getting:

dyld: Library not loaded: /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers

  Referenced from: /Applications/PackageMaker.app/Contents/MacOS/PackageMaker

  Reason: image not found


You guys have any ideas?


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.

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

John Meyers

unread,
Jul 10, 2017, 5:49:00 PM7/10/17
to cauliflowervest-discuss
Getting closer.  It turns the version of PackageMaker needed on Sierra is actually the one from July 2012, not February.  That said, I was able to make a package but when deploying on a test client, it fails with "The installation failed. The installer encountered an error that caused the installation to fail."

Is there any debugging information that might shed some light on what is going on?

Maxim Ermilov

unread,
Jul 10, 2017, 5:53:50 PM7/10/17
to cauliflower...@googlegroups.com
> "The installation failed. The installer encountered an error that caused the installation to fail."

Can you provide installation log?

_____
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsubscr...@googlegroups.com.

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

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.

John Meyers

unread,
Jul 10, 2017, 6:01:04 PM7/10/17
to cauliflowervest-discuss
Found it.  Looks like the entire httplib2 is missing...

+ VE_PYTHON=/usr/local/cauliflowervest//cv/bin/python

+ VE_EZ=/usr/local/cauliflowervest//cv/bin/easy_install

+ for egg in '${RESOURCES}/*.egg'

+ '[' -r /Volumes/Cauliflower ']'

+ for egg in '${RESOURCES}/*.egg'

+ '[' -r 'Vest/cauliflowervest.pkg/Contents/Resources/*.egg' ']'

+ for package in '${PACKAGE_DEPS}'

+ /usr/local/cauliflowervest//cv/bin/python /usr/local/cauliflowervest//cv/bin/easy_install -U setuptools==17.1

Searching for setuptools==17.1

Reading https://pypi.python.org/simple/setuptools/

Best match: setuptools 17.1

Processing setuptools-17.1-py2.7.egg

setuptools 17.1 is already the active version in easy-install.pth

Installing easy_install script to /usr/local/cauliflowervest/cv/bin

Installing easy_install-2.7 script to /usr/local/cauliflowervest/cv/bin


Using /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/setuptools-17.1-py2.7.egg

Processing dependencies for setuptools==17.1

Finished processing dependencies for setuptools==17.1

+ for package in '${PACKAGE_DEPS}'

+ /usr/local/cauliflowervest//cv/bin/python /usr/local/cauliflowervest//cv/bin/easy_install -U 'python-dateutil>=1.4,<2'

Searching for python-dateutil<2,>=1.4

Reading https://pypi.python.org/simple/python-dateutil/

Best match: python-dateutil 1.5

Processing python_dateutil-1.5-py2.7.egg

python-dateutil 1.5 is already the active version in easy-install.pth


Using /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg

Processing dependencies for python-dateutil<2,>=1.4

Finished processing dependencies for python-dateutil<2,>=1.4

+ for package in '${PACKAGE_DEPS}'

+ /usr/local/cauliflowervest//cv/bin/python /usr/local/cauliflowervest//cv/bin/easy_install -U pyyaml

Searching for pyyaml

Reading https://pypi.python.org/simple/pyyaml/

Best match: PyYAML 3.12

Processing PyYAML-3.12-py2.7-macosx-10.10-intel.egg

PyYAML 3.12 is already the active version in easy-install.pth


Using /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/PyYAML-3.12-py2.7-macosx-10.10-intel.egg

Processing dependencies for pyyaml

Finished processing dependencies for pyyaml

+ for package in '${PACKAGE_DEPS}'

+ /usr/local/cauliflowervest//cv/bin/python /usr/local/cauliflowervest//cv/bin/easy_install -U google_apputils

Searching for google-apputils

Reading https://pypi.python.org/simple/google_apputils/

Best match: google-apputils 0.4.2

Downloading https://pypi.python.org/packages/e4/a9/05540567740506890677937aff845bc02e17c3d4cf9bf59eb92ea3dc054b/google_apputils-0.4.2-py2.7.egg#md5=38b003cf8b73264340ffa8beeafaaf84

Processing google_apputils-0.4.2-py2.7.egg

removing '/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg' (and everything under it)

creating /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg

Extracting google_apputils-0.4.2-py2.7.egg to /usr/local/cauliflowervest/cv/lib/python2.7/site-packages

google-apputils 0.4.2 is already the active version in easy-install.pth


Installed /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg

Processing dependencies for google-apputils

Finished processing dependencies for google-apputils

+ cp '/Volumes/Cauliflower Vest/cauliflowervest.pkg/Contents/Resources/roots.pem' /usr/local/cauliflowervest//

+ tar -zxf '/Volumes/Cauliflower Vest/cauliflowervest.pkg/Contents/Resources/cauliflowervest-1.0.0.tar.gz' -C //tmp//postflightvym4NT

+ cd //tmp//postflightvym4NT/cauliflowervest-1.0.0

+ mkdir -p src/tests

+ /usr/local/cauliflowervest//cv/bin/python setup.py install

warning: no files found matching '*.json' under directory 'apiclient'

warning: no files found matching 'README'

warning: no files found matching 'FAQ'

warning: no files found matching 'setpath.sh'

zip_safe flag not set; analyzing archive contents...


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/google_api_python_client-1.6.2-py2.7.egg

Searching for uritemplate<4dev,>=3.0.0

Reading https://pypi.python.org/simple/uritemplate/

Best match: uritemplate 3.0.0

Downloading https://pypi.python.org/packages/cd/db/f7b98cdc3f81513fb25d3cbe2501d621882ee81150b745cdd1363278c10a/uritemplate-3.0.0.tar.gz#md5=1ec31e0d8a2eec72357b2cef4bce5945

Processing uritemplate-3.0.0.tar.gz

Writing //tmp/postflightvym4NT/easy_install-y4URBi/uritemplate-3.0.0/setup.cfg

Running uritemplate-3.0.0/setup.py -q bdist_egg --dist-dir //tmp/postflightvym4NT/easy_install-y4URBi/uritemplate-3.0.0/egg-dist-tmp-5JpPMU

no previously-included directories found matching 'docs/_build'

warning: no previously-included files matching '*.py[cdo]' found anywhere in distribution

warning: no previously-included files matching '__pycache__' found anywhere in distribution

warning: no previously-included files matching '*.so' found anywhere in distribution

warning: no previously-included files matching '*.pyd' found anywhere in distribution

zip_safe flag not set; analyzing archive contents...

Copying uritemplate-3.0.0-py2.7.egg to /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/uritemplate-3.0.0-py2.7.egg

Searching for six<2dev,>=1.6.1

Reading https://pypi.python.org/simple/six/

Best match: six 1.10.0

Downloading https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55

Processing six-1.10.0.tar.gz

Writing //tmp/postflightvym4NT/easy_install-wFrljI/six-1.10.0/setup.cfg

Running six-1.10.0/setup.py -q bdist_egg --dist-dir //tmp/postflightvym4NT/easy_install-wFrljI/six-1.10.0/egg-dist-tmp-_CV7mx

no previously-included directories found matching 'documentation/_build'

zip_safe flag not set; analyzing archive contents...

six: module references __path__

creating /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/six-1.10.0-py2.7.egg

Extracting six-1.10.0-py2.7.egg to /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/six-1.10.0-py2.7.egg

Searching for oauth2client<5.0.0dev,>=1.5.0

Reading https://pypi.python.org/simple/oauth2client/

Best match: oauth2client 4.1.2

Downloading https://pypi.python.org/packages/50/30/f89a4fc014a03e180840d432e73ffb96da422f2a8094ff3539f0f0c46661/oauth2client-4.1.2.tar.gz#md5=bc30976cd1e859cd6199264a50c5ba72

Processing oauth2client-4.1.2.tar.gz

Writing //tmp/postflightvym4NT/easy_install-8MZxdS/oauth2client-4.1.2/setup.cfg

Running oauth2client-4.1.2/setup.py -q bdist_egg --dist-dir //tmp/postflightvym4NT/easy_install-8MZxdS/oauth2client-4.1.2/egg-dist-tmp-XFJjXE

zip_safe flag not set; analyzing archive contents...

Copying oauth2client-4.1.2-py2.7.egg to /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/oauth2client-4.1.2-py2.7.egg

Searching for httplib2<1dev,>=0.9.2

Reading https://pypi.python.org/simple/httplib2/

Best match: httplib2 0.10.3

Downloading https://pypi.python.org/packages/e4/2e/a7e27d2c36076efeb8c0e519758968b20389adf57a9ce3af139891af2696/httplib2-0.10.3.tar.gz#md5=709c305e1b00e9c0af49ee816429569c

Processing httplib2-0.10.3.tar.gz

Writing //tmp/postflightvym4NT/easy_install-f1Lc4s/httplib2-0.10.3/setup.cfg

Running httplib2-0.10.3/setup.py -q bdist_egg --dist-dir //tmp/postflightvym4NT/easy_install-f1Lc4s/httplib2-0.10.3/egg-dist-tmp-5Q5AnM

zip_safe flag not set; analyzing archive contents...

httplib2.__init__: module references __file__

creating /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/httplib2-0.10.3-py2.7.egg

Extracting httplib2-0.10.3-py2.7.egg to /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/httplib2-0.10.3-py2.7.egg

Searching for rsa>=3.1.4

Reading https://pypi.python.org/simple/rsa/

Best match: rsa 3.4.2

Downloading https://pypi.python.org/packages/14/89/adf8b72371e37f3ca69c6cb8ab6319d009c4a24b04a31399e5bd77d9bb57/rsa-3.4.2.tar.gz#md5=b315f47882c24030ee6b5aad628cccdb

Processing rsa-3.4.2.tar.gz

Writing //tmp/postflightvym4NT/easy_install-s3PwfL/rsa-3.4.2/setup.cfg

Running rsa-3.4.2/setup.py -q bdist_egg --dist-dir //tmp/postflightvym4NT/easy_install-s3PwfL/rsa-3.4.2/egg-dist-tmp-7y54cO

zip_safe flag not set; analyzing archive contents...

Copying rsa-3.4.2-py2.7.egg to /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/rsa-3.4.2-py2.7.egg

Searching for pyasn1-modules>=0.0.5

Reading https://pypi.python.org/simple/pyasn1-modules/

Best match: pyasn1-modules 0.0.9

Downloading https://pypi.python.org/packages/dc/80/a6f3888b1a033936c74983fa0af871b82167b6be60a205757d2c0ce40c54/pyasn1_modules-0.0.9-py2.7.egg#md5=582497304e4013bb1edcd6345c08af9c

Processing pyasn1_modules-0.0.9-py2.7.egg

Moving pyasn1_modules-0.0.9-py2.7.egg to /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs


Installed /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/pyasn1_modules-0.0.9-py2.7.egg

running install

running bdist_egg

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'

warning: no previously-included files matching '*' found under directory 'src/cauliflowervest/server'

writing manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'

installing library code to build/bdist.macosx-10.10-intel/egg

running install_lib

running build_py

creating build

creating build/lib

creating build/lib/cauliflowervest

copying src/cauliflowervest/__init__.py -> build/lib/cauliflowervest

copying src/cauliflowervest/settings.py -> build/lib/cauliflowervest

copying src/cauliflowervest/stubs.py -> build/lib/cauliflowervest

creating build/lib/cauliflowervest/client

copying src/cauliflowervest/client/__init__.py -> build/lib/cauliflowervest/client

copying src/cauliflowervest/client/base_client.py -> build/lib/cauliflowervest/client

copying src/cauliflowervest/client/settings.py -> build/lib/cauliflowervest/client

copying src/cauliflowervest/client/util.py -> build/lib/cauliflowervest/client

creating build/lib/cauliflowervest/client/duplicity

copying src/cauliflowervest/client/duplicity/__init__.py -> build/lib/cauliflowervest/client/duplicity

copying src/cauliflowervest/client/duplicity/client.py -> build/lib/cauliflowervest/client/duplicity

creating build/lib/cauliflowervest/client/linux

copying src/cauliflowervest/client/linux/__init__.py -> build/lib/cauliflowervest/client/linux

copying src/cauliflowervest/client/linux/client.py -> build/lib/cauliflowervest/client/linux

copying src/cauliflowervest/client/linux/main.py -> build/lib/cauliflowervest/client/linux

creating build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/__init__.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/client.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/corestorage.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/glue.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/hw.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/machine_data.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/main.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/plist.py -> build/lib/cauliflowervest/client/mac

copying src/cauliflowervest/client/mac/tkinter.py -> build/lib/cauliflowervest/client/mac

creating build/lib/cauliflowervest/client/win

copying src/cauliflowervest/client/win/__init__.py -> build/lib/cauliflowervest/client/win

copying src/cauliflowervest/client/win/bitlocker_ad_sync.py -> build/lib/cauliflowervest/client/win

copying src/cauliflowervest/client/win/client.py -> build/lib/cauliflowervest/client/win

copying src/cauliflowervest/client/gae_client.zip -> build/lib/cauliflowervest/client

creating build/bdist.macosx-10.10-intel

creating build/bdist.macosx-10.10-intel/egg

creating build/bdist.macosx-10.10-intel/egg/cauliflowervest

copying build/lib/cauliflowervest/__init__.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest

creating build/bdist.macosx-10.10-intel/egg/cauliflowervest/client

copying build/lib/cauliflowervest/client/__init__.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client

copying build/lib/cauliflowervest/client/base_client.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client

creating build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/duplicity

copying build/lib/cauliflowervest/client/duplicity/__init__.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/duplicity

copying build/lib/cauliflowervest/client/duplicity/client.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/duplicity

copying build/lib/cauliflowervest/client/gae_client.zip -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client

creating build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux

copying build/lib/cauliflowervest/client/linux/__init__.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux

copying build/lib/cauliflowervest/client/linux/client.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux

copying build/lib/cauliflowervest/client/linux/main.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux

creating build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/__init__.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/client.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/corestorage.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/glue.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/hw.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/machine_data.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/main.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/plist.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/mac/tkinter.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac

copying build/lib/cauliflowervest/client/settings.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client

copying build/lib/cauliflowervest/client/util.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client

creating build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win

copying build/lib/cauliflowervest/client/win/__init__.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win

copying build/lib/cauliflowervest/client/win/bitlocker_ad_sync.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win

copying build/lib/cauliflowervest/client/win/client.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win

copying build/lib/cauliflowervest/settings.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest

copying build/lib/cauliflowervest/stubs.py -> build/bdist.macosx-10.10-intel/egg/cauliflowervest

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/__init__.py to __init__.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/__init__.py to __init__.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/base_client.py to base_client.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/duplicity/__init__.py to __init__.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/duplicity/client.py to client.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux/__init__.py to __init__.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux/client.py to client.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/linux/main.py to main.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/__init__.py to __init__.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/client.py to client.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/corestorage.py to corestorage.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/glue.py to glue.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/hw.py to hw.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/machine_data.py to machine_data.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/main.py to main.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/plist.py to plist.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/mac/tkinter.py to tkinter.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/settings.py to settings.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/util.py to util.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win/__init__.py to __init__.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win/bitlocker_ad_sync.py to bitlocker_ad_sync.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/client/win/client.py to client.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/settings.py to settings.pyc

byte-compiling build/bdist.macosx-10.10-intel/egg/cauliflowervest/stubs.py to stubs.pyc

creating build/bdist.macosx-10.10-intel/egg/EGG-INFO

copying src/cauliflowervest.egg-info/PKG-INFO -> build/bdist.macosx-10.10-intel/egg/EGG-INFO

copying src/cauliflowervest.egg-info/SOURCES.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO

copying src/cauliflowervest.egg-info/dependency_links.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO

copying src/cauliflowervest.egg-info/entry_points.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO

copying src/cauliflowervest.egg-info/requires.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO

copying src/cauliflowervest.egg-info/top_level.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO

zip_safe flag not set; analyzing archive contents...

cauliflowervest.client.base_client: module references __file__

creating dist

creating 'dist/cauliflowervest-1.0.0-py2.7.egg' and adding 'build/bdist.macosx-10.10-intel/egg' to it

removing 'build/bdist.macosx-10.10-intel/egg' (and everything under it)

Processing cauliflowervest-1.0.0-py2.7.egg

removing '/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-1.0.0-py2.7.egg' (and everything under it)

creating /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-1.0.0-py2.7.egg

Extracting cauliflowervest-1.0.0-py2.7.egg to /usr/local/cauliflowervest/cv/lib/python2.7/site-packages

cauliflowervest 1.0.0 is already the active version in easy-install.pth

Installing cauliflowervest script to /usr/local/cauliflowervest/cv/bin


Installed /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-1.0.0-py2.7.egg

Processing dependencies for cauliflowervest==1.0.0

Searching for oauth2client==4.1.2

Best match: oauth2client 4.1.2

Processing oauth2client-4.1.2-py2.7.egg

Adding oauth2client 4.1.2 to easy-install.pth file


Using /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/oauth2client-4.1.2-py2.7.egg

Searching for pyasn1==0.1.9

Best match: pyasn1 0.1.9

Processing pyasn1-0.1.9-py2.7.egg

pyasn1 0.1.9 is already the active version in easy-install.pth


Using /usr/local/cauliflowervest/cv/lib/python2.7/site-packages/pyasn1-0.1.9-py2.7.egg

Searching for six==1.10.0

Best match: six 1.10.0

Processing six-1.10.0-py2.7.egg

Adding six 1.10.0 to easy-install.pth file


Using /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/six-1.10.0-py2.7.egg

Searching for rsa==3.4.2

Best match: rsa 3.4.2

Processing rsa-3.4.2-py2.7.egg

Adding rsa 3.4.2 to easy-install.pth file

Installing pyrsa-encrypt-bigfile script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-encrypt script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-verify script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-sign script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-priv2pub script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-decrypt script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-decrypt-bigfile script to /usr/local/cauliflowervest/cv/bin

Installing pyrsa-keygen script to /usr/local/cauliflowervest/cv/bin


Using /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/rsa-3.4.2-py2.7.egg

Searching for pyasn1-modules==0.0.9

Best match: pyasn1-modules 0.0.9

Processing pyasn1_modules-0.0.9-py2.7.egg

Adding pyasn1-modules 0.0.9 to easy-install.pth file


Using /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/pyasn1_modules-0.0.9-py2.7.egg

Searching for httplib2==0.10.3

Best match: httplib2 0.10.3

Processing httplib2-0.10.3-py2.7.egg

Adding httplib2 0.10.3 to easy-install.pth file


Using /private/tmp/postflightvym4NT/cauliflowervest-1.0.0/.eggs/httplib2-0.10.3-py2.7.egg

Finished processing dependencies for cauliflowervest==1.0.0

+ cd /private/tmp/PKInstallSandbox.GQlxz7/tmp

+ xargs -0 chmod 644

+ find /usr/local/cauliflowervest//cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg -type f -print0

+ xargs -0 chmod 755

+ find /usr/local/cauliflowervest//cv/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg -type d -print0

+ chmod 0644 '/usr/local/cauliflowervest//cv/lib/python*/site-packages/httplib2*/httplib2/cacerts.txt'

chmod: /usr/local/cauliflowervest//cv/lib/python*/site-packages/httplib2*/httplib2/cacerts.txt: No such file or directory

+ rm -rf //tmp//postflightvym4NT

_____
Maxim


_____
Maxim

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at https://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
...

--
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
...

John Meyers

unread,
Jul 10, 2017, 6:01:59 PM7/10/17
to cauliflowervest-discuss
This time as an attachment.
install.log

Maxim Ermilov

unread,
Jul 10, 2017, 6:16:22 PM7/10/17
to cauliflower...@googlegroups.com
Seems, workaround https://github.com/google/cauliflowervest/blob/master/postflight#L157 no longer needed.

_____
Maxim

--
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-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflowervest-discuss@googlegroups.com.

John Meyers

unread,
Jul 11, 2017, 1:57:27 PM7/11/17
to cauliflowervest-discuss
I removed that line and sure enough it installed.  However, even though it appears that the installer handled oauth2client, cauliflowervest will not run.  There is no oauth2client in /usr/local/cauliflowervest/cv/lib/python2.7.  Full installer log attached.

# cauliflowervest 

Traceback (most recent call last):

  File "/usr/local/bin/cauliflowervest", line 5, in <module>

    from pkg_resources import load_entry_point

  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 3078, in <module>

  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 3064, in _call_aside

  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 3091, in _initialize_master_working_set

  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 645, in _build_master

  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 946, in require

  File "build/bdist.macosx-10.10-intel/egg/pkg_resources/__init__.py", line 833, in resolve

pkg_resources.DistributionNotFound: The 'oauth2client' distribution was not found and is required by cauliflowervest

engwifi-230-139:~ root# exit


_____
Maxim

To post to this group, send email to cauliflower...@googlegroups.com.
postflight.201707111353.2569.log

John Meyers

unread,
Jul 11, 2017, 2:29:57 PM7/11/17
to cauliflowervest-discuss
I think this is actually related to the previous issue and is caused by some sort of packaging failure.  I would expect /usr/local/cauliflowervest/cv/lib/python2.7 to contain more than this:

UserDict.py

UserDict.pyc

_abcoll.py

_abcoll.pyc

_weakrefset.py

_weakrefset.pyc

abc.py

abc.pyc

codecs.py

codecs.pyc

config

copy_reg.py

copy_reg.pyc

distutils

encodings

fnmatch.py

fnmatch.pyc

genericpath.py

genericpath.pyc

lib-dynload

linecache.py

linecache.pyc

locale.py

locale.pyc

no-global-site-packages.txt

ntpath.py

orig-prefix.txt

os.py

os.pyc

posixpath.py

posixpath.pyc

re.py

re.pyc

site-packages

site.py

site.pyc

sre.py

sre_compile.py

sre_compile.pyc

sre_constants.py

sre_constants.pyc

sre_parse.py

sre_parse.pyc

stat.py

stat.pyc

types.py

types.pyc

warnings.py

warnings.pyc

Reply all
Reply to author
Forward
0 new messages