Actions
Task #3744
closedDocker PR tester does not install pulp-docker-common source
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
I added a new module to pulp-docker-common, "transport", and the unittests cannot import it.
======================================================================
ERROR: test_AddTags (test.unit.plugins.importers.test_upload.UploadTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 1193, in patched
arg = patching.__enter__()
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 1252, in __enter__
self.target = self.getter()
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 1414, in <lambda>
getter = lambda: _importer(target)
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 1102, in _importer
thing = _dot_lookup(thing, comp, import_path)
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 1091, in _dot_lookup
__import__(import_path)
ImportError: No module named transport
Jenkins output:
https://pulpadmin.fedorapeople.org/jenkins/jobs/unittest-pulp_docker-pr/builds/492/node-type=f27-np-FAILED.txt
Cause:
It pulp-docker-common is installed by rpm, so the developer install doesn't work.
"pulp-docker-common 3.2a1 is already the active version in easy-install.pth"
+ sudo python setup.py develop
running develop
running egg_info
creating pulp_docker_common.egg-info
writing pulp_docker_common.egg-info/PKG-INFO
writing top-level names to pulp_docker_common.egg-info/top_level.txt
writing dependency_links to pulp_docker_common.egg-info/dependency_links.txt
writing manifest file 'pulp_docker_common.egg-info/SOURCES.txt'
reading manifest file 'pulp_docker_common.egg-info/SOURCES.txt'
writing manifest file 'pulp_docker_common.egg-info/SOURCES.txt'
running build_ext
Creating /usr/lib/python2.7/site-packages/pulp-docker-common.egg-link (link to .)
Adding pulp-docker-common 3.2a1 to easy-install.pth file
Installed /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/common
Processing dependencies for pulp-docker-common==3.2a1
Finished processing dependencies for pulp-docker-common==3.2a1
+ popd
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
+ sudo python ./pulp-dev.py -I
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/extensions_admin /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
running develop
running egg_info
writing pulp_docker_extensions_admin.egg-info/PKG-INFO
writing top-level names to pulp_docker_extensions_admin.egg-info/top_level.txt
writing dependency_links to pulp_docker_extensions_admin.egg-info/dependency_links.txt
writing entry points to pulp_docker_extensions_admin.egg-info/entry_points.txt
reading manifest file 'pulp_docker_extensions_admin.egg-info/SOURCES.txt'
writing manifest file 'pulp_docker_extensions_admin.egg-info/SOURCES.txt'
running build_ext
Creating /usr/lib/python2.7/site-packages/pulp-docker-extensions-admin.egg-link (link to .)
pulp-docker-extensions-admin 3.2a1 is already the active version in easy-install.pth
Installed /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/extensions_admin
Processing dependencies for pulp-docker-extensions-admin==3.2a1
Finished processing dependencies for pulp-docker-extensions-admin==3.2a1
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/plugins /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
running develop
running egg_info
writing pulp_docker_plugins.egg-info/PKG-INFO
writing top-level names to pulp_docker_plugins.egg-info/top_level.txt
writing dependency_links to pulp_docker_plugins.egg-info/dependency_links.txt
writing entry points to pulp_docker_plugins.egg-info/entry_points.txt
reading manifest file 'pulp_docker_plugins.egg-info/SOURCES.txt'
writing manifest file 'pulp_docker_plugins.egg-info/SOURCES.txt'
running build_ext
Creating /usr/lib/python2.7/site-packages/pulp-docker-plugins.egg-link (link to .)
pulp-docker-plugins 3.2a1 is already the active version in easy-install.pth
Installed /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/plugins
Processing dependencies for pulp-docker-plugins==3.2a1
Finished processing dependencies for pulp-docker-plugins==3.2a1
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/common /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
running develop
running egg_info
writing pulp_docker_common.egg-info/PKG-INFO
writing top-level names to pulp_docker_common.egg-info/top_level.txt
writing dependency_links to pulp_docker_common.egg-info/dependency_links.txt
reading manifest file 'pulp_docker_common.egg-info/SOURCES.txt'
writing manifest file 'pulp_docker_common.egg-info/SOURCES.txt'
running build_ext
Creating /usr/lib/python2.7/site-packages/pulp-docker-common.egg-link (link to .)
pulp-docker-common 3.2a1 is already the active version in easy-install.pth
Installed /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/common
Processing dependencies for pulp-docker-common==3.2a1
Finished processing dependencies for pulp-docker-common==3.2a1
/home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin
skipping /var/lib/pulp/published/docker/web exists
creating link: /etc/pulp/server/plugins.conf.d/docker_distributor.json pointing to /home/jenkins/workspace/unittest-pulp_docker-pr/node-type/f27-np/plugin/plugins/etc/pulp/server/plugins.conf.d/docker_distributor.json
Updated by dkliban@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Added by amacdona@redhat.com over 5 years ago
Updated by amacdona@redhat.com over 5 years ago
Could someone please change this to POST? I don't have the permissions.
Updated by dkliban@redhat.com over 5 years ago
- Status changed from ASSIGNED to POST
Updated by amacdona@redhat.com over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset packaging:d42c512ef4b63babeb04411c959fb5ea99420467.
Updated by dkliban@redhat.com about 5 years ago
- Tracker changed from Issue to Task
- Status changed from MODIFIED to CLOSED - COMPLETE
- % Done set to 0
Actions
Uninstall pulp_docker rpms
The job builder should install these packages from source rather than from an rpm.
https://pulp.plan.io/issues/3744 fixes: #3744