Closed ericdill closed 8 years ago
Aren't you just missing nsls2_dev_configuration
?
Thanks for the second set of eyes on this. As far as i can tell, that is being installed since the test section lists nslsii_dev_configuration in its The following NEW packages will be INSTALLED
section.
I was looking at this section of the log
The following NEW packages will be INSTALLED:
ncurses: 5.9-7 https://pergamon.cs.nsls2.local:8443/conda/nsls2-tag/linux-64/
openssl: 1.0.2d-0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
pip: 7.1.2-py34_0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
python: 3.4.4-0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
readline: 6.2.5-1 file:///tmp/edill/ramdisk/mc/conda-bld/linux-64/
setuptools: 19.1.1-py34_0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
sqlite: 3.8.4.1-1 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
tk: 8.5.18-0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
wheel: 0.26.0-py34_1 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
xz: 5.0.5-0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
zlib: 1.2.8-0 https://pergamon.cs.nsls2.local:8443/conda/anaconda/linux-64/
Removing old work directory
checkout: 'v0.3.0'
==> git log -n1 <==
==> git describe --tags --dirty <==
==> git status <==
Package: databroker-0.3.0-py34_0
source tree in: /tmp/edill/ramdisk/mc/conda-bld/work
found egg: /tmp/edill/ramdisk/mc/envs/_build/lib/python3.4/site-packages/databroker-0.3.0-py3.4.egg
number of files: 2
Fixing permissions
Fixing permissions
BUILD END: databroker-0.3.0-py34_0
TEST START: databroker-0.3.0-py34_0
Fetching package metadata: ........
Solving package specifications: ........................................===== testing package: databroker-0.3.0-py34_0 =====
import: 'databroker'
Traceback (most recent call last):
File "/tmp/edill/ramdisk/mc/conda-bld/test-tmp_dir/run_test.py", line 25, in <module>
import databroker
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/tmp/edill/ramdisk/mc/envs/_test/lib/python3.4/site-packages/databroker-0.3.0-py3.4.egg/databroker/__init__.py", line 9, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/tmp/edill/ramdisk/mc/envs/_test/lib/python3.4/site-packages/databroker-0.3.0-py3.4.egg/databroker/databroker.py", line 7, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/tmp/edill/ramdisk/mc/envs/_test/lib/python3.4/site-packages/metadatastore-0.3.0+6.g7f89195-py3.4.egg/metadatastore/__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/tmp/edill/ramdisk/mc/envs/_test/lib/python3.4/site-packages/metadatastore-0.3.0+6.g7f89195-py3.4.egg/metadatastore/conf.py", line 74, in <module>
File "/tmp/edill/ramdisk/mc/envs/_test/lib/python3.4/site-packages/metadatastore-0.3.0+6.g7f89195-py3.4.egg/metadatastore/conf.py", line 70, in load_configuration
KeyError: "The configuration field(s) ['host', 'timezone', 'database', 'port'] were not found in any file or environmental variable."
but I am not clear what is triggering that section to have run.
Are you pointing out that the dev configuration is not in the list of packages that immediately follows The following NEW packages will be INSTALLED:
?
The log is split up in to build and test sections. The build is bracketed by BUILD_START and BUILD_END and the test is bracketed by TEST_START and TEST_END. Also worth noting is that the test section is out of order. The traceback (likely on stderr) was captures before the rest of the output that temporally preceded it but was processed later (on stdout, I would imagine).
*captured
Ah, I was confused by the out-of-order printing.
The version of mds I built from conda_prescriptions/recipes/metadatastore/dev
is also missing the patch.