test: output log #307
Annotations
10 errors
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"
|
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"
|
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"
|
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"
|
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"
|
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"
|
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"
|
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
|
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
|
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"
|
This job failed
Loading