Add section in README that simulates python3 -m pip install pandas --user
#374
Annotations
10 errors
spec/acceptance/pip_spec.rb#L132
python::pip defined resource Command "/opt/test-venv/bin/pip list" exit_status is expected to eq 0
Failure/Error: its(:exit_status) { is_expected.to eq 0 }
expected: 0
got: 127
(compared using ==)
|
spec/acceptance/pip_spec.rb#L105
python::pip defined resource install package via extra_index works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190932970.v3kwRC.pp
Last 10 lines of output were:
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
Error: /Stage[main]/Python::Install/Package[python-dev]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install python3-devel' returned 1: Error:
Problem: cannot install the best candidate for the job
- nothing provides python3 = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
�[mNotice: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]: Dependency Package[python-dev] has failures: true
Warning: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/Exec[python_virtualenv_/opt/test-venv]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.69 seconds
|
spec/acceptance/pip_spec.rb#L101
python::pip defined resource Command "/opt/test-venv/bin/pip show agent" exit_status is expected to eq 1
Failure/Error: its(:exit_status) { is_expected.to eq 1 }
expected: 1
got: 127
(compared using ==)
|
spec/acceptance/pip_spec.rb#L76
python::pip defined resource fails to install package with wrong version throws an error
Failure/Error: expect(result.stderr).to contain(%r{returned 1 instead of one of})
expected "\e[1;33mWarning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'\e...:Pip[agent package]/Exec[pip_install_agent package]: Skipping because of failed dependencies\e[0m\n" to contain /returned 1 instead of one of/
|
spec/acceptance/pip_spec.rb#L71
python::pip defined resource Command "/opt/test-venv/bin/pip list" exit_status is expected to eq 0
Failure/Error: its(:exit_status) { is_expected.to eq 0 }
expected: 0
got: 127
(compared using ==)
|
spec/acceptance/pip_spec.rb#L39
python::pip defined resource uninstall package with custom name works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190926948.HNx7ss.pp
Last 10 lines of output were:
Error: /Stage[main]/Python::Install/Package[python-dev]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install python3-devel' returned 1: Error:
Problem: cannot install the best candidate for the job
- nothing provides python3 = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
�[mNotice: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]: Dependency Package[python-dev] has failures: true
Warning: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/Exec[python_virtualenv_/opt/test-venv]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pip[agent package uninstall custom pkgname]/Exec[pip_uninstall_agent package uninstall custom pkgname]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.69 seconds
|
spec/acceptance/pip_spec.rb#L35
python::pip defined resource Command "/opt/test-venv/bin/pip list" stdout is expected to match /agent.* 0\.1\.2/
Failure/Error: its(:stdout) { is_expected.to match %r{agent.* 0\.1\.2} }
expected "" to match /agent.* 0\.1\.2/
Diff:
@@ -1 +1 @@
-/agent.* 0\.1\.2/
+""
|
spec/acceptance/pip_spec.rb#L34
python::pip defined resource Command "/opt/test-venv/bin/pip list" exit_status is expected to eq 0
Failure/Error: its(:exit_status) { is_expected.to eq 0 }
expected: 0
got: 127
(compared using ==)
|
spec/acceptance/pip_spec.rb#L7
python::pip defined resource install package with custom name works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190923916.s12pmm.pp
Last 10 lines of output were:
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
Error: /Stage[main]/Python::Install/Package[python-dev]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install python3-devel' returned 1: Error:
Problem: cannot install the best candidate for the job
- nothing provides python3 = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
�[mNotice: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]: Dependency Package[python-dev] has failures: true
Warning: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/Exec[python_virtualenv_/opt/test-venv]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Python::Pip[agent package]/Exec[pip_install_agent package]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.69 seconds
|
spec/acceptance/class_spec.rb#L19
python class installing python 3 works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190903817.feRM8o.pp
Last 10 lines of output were:
Info: Applying configuration version '1751915345'
Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install python3-devel' returned 1: Error:
Problem: cannot install the best candidate for the job
- nothing provides python3 = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
Error: /Stage[main]/Python::Install/Package[python-dev]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install python3-devel' returned 1: Error:
Problem: cannot install the best candidate for the job
- nothing provides python3 = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
- nothing provides python3-libs(x86-64) = 3.9.23-1.el9 needed by python3-devel-3.9.23-1.el9.x86_64 from appstream
�[mNotice: Applied catalog in 0.68 seconds
|
The logs for this run have expired and are no longer available.
Loading