test: output log #307
ci.yml
on: pull_request
Puppet
/
Static validations
18s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
4s
Annotations
31 errors and 6 warnings
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on almalinux-8-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L58
python::pyvenv prompt on almalinux-8-x86_64 with python 3.6 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L82
python::pyvenv prompt on almalinux-8-x86_64 with python 3.5 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on almalinux-9-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L58
python::pyvenv prompt on almalinux-9-x86_64 with python 3.6 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L82
python::pyvenv prompt on almalinux-9-x86_64 with python 3.5 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on centos-9-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 8 (Ruby 3.2):
spec/classes/python_spec.rb#L159
python on debian-11-x86_64 on Debian OS with python::python_pyvenvs and pip version defined with two pyenvs is expected to contain Exec[python_virtualenv_/opt/env1] that requires File[/opt/env1]
Failure/Error:
expect(subject).to contain_exec('python_virtualenv_/opt/env1').
with(
command: 'python3.8 -m venv --clear /opt/env1 && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade pip && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade setuptools',
user: 'root',
creates: '/opt/env1/bin/activate',
path: [
'/bin',
'/usr/bin',
'/usr/sbin',
'/usr/local/bin'
expected that the catalogue would contain Exec[python_virtualenv_/opt/env1] with command set to "python3.8 -m venv --clear /opt/env1 && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade pip && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade setuptools" but it is set to "python3.8 -m venv --clear /opt/env1 && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade pip && cat /opt/env1/pip.log && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade setuptools && cat /opt/env1/pip.log", and parameter unless set to /^grep '\^\[\\t \]\*VIRTUAL_ENV=\[\\\\'\\"\]\*\/opt\/env1\[\\"\\\\'\]\[\\t \]\*\$' \/opt\/env1\/bin\/activate$/ but it is set to "grep '^[\\t ]*VIRTUAL_ENV=[\\\\'\\\"]*/opt/env1[\\\"\\\\'][\\t ]*$' /opt/env1/bin/activate && cat /opt/env1/pip.log"
Diff:
@@ -1,4 +1,4 @@
-python3.8 -m venv --clear /opt/env1 && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade pip && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade setuptools
+python3.8 -m venv --clear /opt/env1 && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade pip && cat /opt/env1/pip.log && /opt/env1/bin/pip --log /opt/env1/pip.log install --upgrade setuptools && cat /opt/env1/pip.log
-(?-mix:^grep '\^\[\\t \]\*VIRTUAL_ENV=\[\\\\'\\"\]\*\/opt\/env1\[\\"\\\\'\]\[\\t \]\*\$' \/opt\/env1\/bin\/activate$)
+grep '^[\t ]*VIRTUAL_ENV=[\\'\"]*/opt/env1[\"\\'][\t ]*$' /opt/env1/bin/activate && cat /opt/env1/pip.log
|
Puppet / 8 (Ruby 3.2):
spec/classes/python_spec.rb#L179
python on debian-11-x86_64 on Debian OS with python::python_pyvenvs and pip version defined with two pyenvs is expected to contain Exec[python_virtualenv_/opt/env2] that requires File[/opt/env2]
Failure/Error:
expect(subject).to contain_exec('python_virtualenv_/opt/env2').
with(
command: 'python3.8 -m venv --clear /opt/env2 && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade \'pip <= 20.3.4\' && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade setuptools',
user: 'root',
creates: '/opt/env2/bin/activate',
path: [
'/bin',
'/usr/bin',
'/usr/sbin',
'/usr/local/bin'
expected that the catalogue would contain Exec[python_virtualenv_/opt/env2] with command set to "python3.8 -m venv --clear /opt/env2 && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade 'pip <= 20.3.4' && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade setuptools" but it is set to "python3.8 -m venv --clear /opt/env2 && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade 'pip <= 20.3.4' && cat /opt/env2/pip.log && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade setuptools && cat /opt/env2/pip.log", and parameter unless set to /^grep '\^\[\\t \]\*VIRTUAL_ENV=\[\\\\'\\"\]\*\/opt\/env2\[\\"\\\\'\]\[\\t \]\*\$' \/opt\/env2\/bin\/activate$/ but it is set to "grep '^[\\t ]*VIRTUAL_ENV=[\\\\'\\\"]*/opt/env2[\\\"\\\\'][\\t ]*$' /opt/env2/bin/activate && cat /opt/env2/pip.log"
Diff:
@@ -1,4 +1,4 @@
-python3.8 -m venv --clear /opt/env2 && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade 'pip <= 20.3.4' && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade setuptools
+python3.8 -m venv --clear /opt/env2 && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade 'pip <= 20.3.4' && cat /opt/env2/pip.log && /opt/env2/bin/pip --log /opt/env2/pip.log install --upgrade setuptools && cat /opt/env2/pip.log
-(?-mix:^grep '\^\[\\t \]\*VIRTUAL_ENV=\[\\\\'\\"\]\*\/opt\/env2\[\\"\\\\'\]\[\\t \]\*\$' \/opt\/env2\/bin\/activate$)
+grep '^[\t ]*VIRTUAL_ENV=[\\'\"]*/opt/env2[\"\\'][\t ]*$' /opt/env2/bin/activate && cat /opt/env2/pip.log
|
Puppet / 8 (Ruby 3.2):
spec/defines/pyvenv_spec.rb#L58
python::pyvenv prompt on centos-9-x86_64 with python 3.6 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on almalinux-8-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L58
python::pyvenv prompt on almalinux-8-x86_64 with python 3.6 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L82
python::pyvenv prompt on almalinux-8-x86_64 with python 3.5 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on almalinux-9-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L58
python::pyvenv prompt on almalinux-9-x86_64 with python 3.6 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L82
python::pyvenv prompt on almalinux-9-x86_64 with python 3.5 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on centos-9-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L58
python::pyvenv prompt on centos-9-x86_64 with python 3.6 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "python3.6 -m venv --clear --prompt custom\\ prompt /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L82
python::pyvenv prompt on centos-9-x86_64 with python 3.5 with prompt is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools')
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / 7 (Ruby 2.7):
spec/defines/pyvenv_spec.rb#L22
python::pyvenv on debian-11-x86_64 with default parameters is expected to contain Exec[python_virtualenv_/opt/env] with command => "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools"
Failure/Error: it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools') }
expected that the catalogue would contain Exec[python_virtualenv_/opt/env] with command set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools" but it is set to "pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade pip && cat /opt/env/pip.log && /opt/env/bin/pip --log /opt/env/pip.log install --upgrade setuptools && cat /opt/env/pip.log"
|
Puppet / Distro Puppet - Archlinux rolling:
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 'archlinuxrolling-64.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094541076.BZKdgl.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for archlinuxrolling-64.example.com in environment production in 0.08 seconds
Info: Using environment 'production'
Info: Applying configuration version '1724233542'
�[mNotice: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/File[/opt/test-venv]/ensure: created
Error: invalid byte sequence in US-ASCII
Error: /Stage[main]/Main/Python::Pyvenv[/opt/test-venv]/Exec[python_virtualenv_/opt/test-venv]/returns: change from 'notrun' to ['0'] failed: invalid byte sequence in US-ASCII
Info: Python::Pyvenv[/opt/test-venv]: Unscheduling all events on Python::Pyvenv[/opt/test-venv]
�[mNotice: /Stage[main]/Main/Python::Pip[agent package]/Exec[pip_install_agent package]: Dependency Exec[python_virtualenv_/opt/test-venv] has failures: true
Warning: /Stage[main]/Main/Python::Pip[agent package]/Exec[pip_install_agent package]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 4.39 seconds
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L35
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: 1
(compared using ==)
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L36
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/
+""
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L40
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 'archlinuxrolling-64.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094547037.dQRBdh.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]/returns: File "/opt/test-venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]/returns: from pip._internal.cli import cmdoptions
�[mNotice: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]/returns: File "/opt/test-venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py", line 18, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]/returns: from distutils.util import strtobool
�[mNotice: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]/returns: ModuleNotFoundError: No module named 'distutils'
Error: '/opt/test-venv/bin/pip --log /opt/test-venv/pip.log install agent==0.1.2' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Python::Pip[agent package install]/Exec[pip_install_agent package install]/returns: change from 'notrun' to ['0'] failed: '/opt/test-venv/bin/pip --log /opt/test-venv/pip.log install agent==0.1.2' returned 1 instead of one of [0]
�[mNotice: /Stage[main]/Main/Python::Pip[agent package uninstall custom pkgname]/Exec[pip_uninstall_agent package uninstall custom pkgname]: Dependency Exec[pip_install_agent package install] has failures: true
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.49 seconds
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L73
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: 1
(compared using ==)
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L78
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 'archlinuxrolling-64.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094549051.hwLWpf.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: File "/opt/test-venv/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: from pip._internal.cli.main_parser import create_main_parser
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: File "/opt/test-venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: from pip._internal.cli import cmdoptions
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: File "/opt/test-venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py", line 18, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: from distutils.util import strtobool
�[mNotice: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: ModuleNotFoundError: No module named 'distutils'
Error: '/opt/test-venv/bin/pip --log /opt/test-venv/pip.log install --index-url=invalid --extra-index-url=https://pypi.org/simple agent==0.1.2' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Python::Pip[agent package via extra_index]/Exec[pip_install_agent package via extra_index]/returns: change from 'notrun' to ['0'] failed: '/opt/test-venv/bin/pip --log /opt/test-venv/pip.log install --index-url=invalid --extra-index-url=https://pypi.org/simple agent==0.1.2' returned 1 instead of one of [0]
�[mNotice: Applied catalog in 0.48 seconds
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L106
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: 1
(compared using ==)
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pip_spec.rb#L107
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/
+""
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pyvenv_spec.rb#L8
python::pyvenv defined resource with python 3 minimal parameters works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094551035.FGTJlc.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for archlinuxrolling-64.example.com in environment production in 0.09 seconds
Info: Using environment 'production'
Info: Applying configuration version '1724233552'
�[mNotice: /Stage[main]/Main/User[agent]/ensure: created
�[mNotice: /Stage[main]/Main/Python::Pyvenv[/opt/agent/venv]/File[/opt/agent/venv]/ensure: created
Error: invalid byte sequence in US-ASCII
Error: /Stage[main]/Main/Python::Pyvenv[/opt/agent/venv]/Exec[python_virtualenv_/opt/agent/venv]/returns: change from 'notrun' to ['0'] failed: invalid byte sequence in US-ASCII
Info: Python::Pyvenv[/opt/agent/venv]: Unscheduling all events on Python::Pyvenv[/opt/agent/venv]
Info: Class[Main]: Unscheduling all events on Class[Main]
�[mNotice: Applied catalog in 4.67 seconds
|
Puppet / Distro Puppet - Archlinux rolling:
spec/acceptance/pyvenv_spec.rb#L80
python::pyvenv defined resource with python 3 with minimal python::pip works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'archlinuxrolling-64.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094601584.n4ZWHR.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: File "/opt/agent/venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py", line 18, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: from pip._internal.utils.misc import ensure_dir
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: File "/opt/agent/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py", line 21, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: from pip._vendor import pkg_resources
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: File "/opt/agent/venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py", line 58, in <module>
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: from pip._vendor.six.moves import urllib, map, filter
�[mNotice: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: ModuleNotFoundError: No module named 'pip._vendor.six.moves'
Error: '/opt/agent/venv/bin/pip --log /opt/agent/venv/pip.log install agent' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Python::Pip[agent]/Exec[pip_install_agent]/returns: change from 'notrun' to ['0'] failed: '/opt/agent/venv/bin/pip --log /opt/agent/venv/pip.log install agent' returned 1 instead of one of [0]
�[mNotice: Applied catalog in 0.73 seconds
|
Puppet / Test suite
Process completed with exit code 1.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 8
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Debian 10
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system FreeBSD 11
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system FreeBSD 12
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Ubuntu 18.04
|