Skip to content

Allow file:// URI scheme #201

Allow file:// URI scheme

Allow file:// URI scheme #201

Triggered via pull request October 31, 2024 20:58
Status Failure
Total duration 2m 17s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
19s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
1s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
Puppet / 8 (Ruby 3.2): spec/unit/tasks/utils/deployment_spec.rb#L36
Deployment#activate is expected not to raise Exception Failure/Error: it { expect { deployment.activate }.not_to raise_exception } expected no Exception, got #<NameError: undefined local variable or method `path' for #<Deployment:0x00007f44d2280f78 @applicati...etention_min=5, @retention_max=nil>, @name="12345678", @path="/tmp/d20241031-1865-j3kb0z/12345678">> with backtrace: # ./tasks/utils/deployment.rb:58:in `activate' # ./spec/unit/tasks/utils/deployment_spec.rb:36:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:36:in `block (3 levels) in <top (required)>'
Puppet / 8 (Ruby 3.2): spec/unit/tasks/utils/deployment_spec.rb#L126
Deployment with deploy hooks returns true when all hooks succeed Failure/Error: expect { deployment.deploy(url, {}) }.not_to raise_exception expected no Exception, got #<NameError: undefined local variable or method `path' for #<Deployment:0x00007f44d222fb00 @applicati...etention_min=5, @retention_max=nil>, @name="12345678", @path="/tmp/d20241031-1865-kxr1bz/12345678">> with backtrace: # ./tasks/utils/deployment.rb:148:in `creating_deployment_directory' # ./tasks/utils/deployment.rb:38:in `deploy' # ./spec/unit/tasks/utils/deployment_spec.rb:130:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:130:in `block (3 levels) in <top (required)>'
Puppet / 8 (Ruby 3.2): spec/unit/tasks/utils/deployment_spec.rb#L135
Deployment with deploy hooks raise when the before deployment hook fail Failure/Error: expect { deployment.deploy(url, {}) }.to raise_exception('Aborted deployment: before_deploy hook failed') expected Exception with "Aborted deployment: before_deploy hook failed", got #<NameError: undefined local variable or method `path' for #<Deployment:0x00007f44d21634b0 @applicati...etention_min=5, @retention_max=nil>, @name="12345678", @path="/tmp/d20241031-1865-ebbk94/12345678">> with backtrace: # ./tasks/utils/deployment.rb:148:in `creating_deployment_directory' # ./tasks/utils/deployment.rb:38:in `deploy' # ./spec/unit/tasks/utils/deployment_spec.rb:139:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:139:in `block (3 levels) in <top (required)>'
Puppet / 8 (Ruby 3.2): spec/unit/tasks/utils/deployment_spec.rb#L144
Deployment with deploy hooks return false when the after deployment hook fail Failure/Error: expect { deployment.deploy(url, {}) }.to raise_exception('after_deploy hook failed') expected Exception with "after_deploy hook failed", got #<NameError: undefined local variable or method `path' for #<Deployment:0x00007f44d1ea03b8 @applicati...etention_min=5, @retention_max=nil>, @name="12345678", @path="/tmp/d20241031-1865-jxouyu/12345678">> with backtrace: # ./tasks/utils/deployment.rb:148:in `creating_deployment_directory' # ./tasks/utils/deployment.rb:38:in `deploy' # ./spec/unit/tasks/utils/deployment_spec.rb:148:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:148:in `block (3 levels) in <top (required)>'
Puppet / 8 (Ruby 3.2): spec/unit/tasks/utils/application_spec.rb#L22
Application#deployments Failure/Error: application.deploy(nil, '1', {}) NameError: undefined local variable or method `path' for #<Deployment:0x00007f0512871388 @Application=#<Application:0x00007f0512766920 @title="app", @name="app", @path="/tmp/d20241031-1867-n8qgwz", @Environment="production", @deploy_user=1001, @deploy_group=127, @kind=nil, @user_mapping={}, @group_mapping={}, @retention_min=5, @retention_max=nil>, @name="1", @path="/tmp/d20241031-1867-n8qgwz/1">
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/unit/tasks/utils/deployment_spec.rb#L36
Deployment#activate is expected not to raise Exception Failure/Error: it { expect { deployment.activate }.not_to raise_exception } expected no Exception, got #<NameError: undefined local variable or method `path' for #<Deployment:0x000055f394d25810> Did you mean? @path> with backtrace: # ./tasks/utils/deployment.rb:58:in `activate' # ./spec/unit/tasks/utils/deployment_spec.rb:36:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:36:in `block (3 levels) in <top (required)>'
Puppet / 7 (Ruby 2.7): spec/unit/tasks/utils/deployment_spec.rb#L126
Deployment with deploy hooks returns true when all hooks succeed Failure/Error: expect { deployment.deploy(url, {}) }.not_to raise_exception expected no Exception, got #<NameError: undefined local variable or method `path' for #<Deployment:0x000055f3943e5390> Did you mean? @path> with backtrace: # ./tasks/utils/deployment.rb:148:in `creating_deployment_directory' # ./tasks/utils/deployment.rb:38:in `deploy' # ./spec/unit/tasks/utils/deployment_spec.rb:130:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:130:in `block (3 levels) in <top (required)>'
Puppet / 7 (Ruby 2.7): spec/unit/tasks/utils/deployment_spec.rb#L135
Deployment with deploy hooks raise when the before deployment hook fail Failure/Error: expect { deployment.deploy(url, {}) }.to raise_exception('Aborted deployment: before_deploy hook failed') expected Exception with "Aborted deployment: before_deploy hook failed", got #<NameError: undefined local variable or method `path' for #<Deployment:0x000055f3930420e0> Did you mean? @path> with backtrace: # ./tasks/utils/deployment.rb:148:in `creating_deployment_directory' # ./tasks/utils/deployment.rb:38:in `deploy' # ./spec/unit/tasks/utils/deployment_spec.rb:139:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:139:in `block (3 levels) in <top (required)>'
Puppet / 7 (Ruby 2.7): spec/unit/tasks/utils/deployment_spec.rb#L144
Deployment with deploy hooks return false when the after deployment hook fail Failure/Error: expect { deployment.deploy(url, {}) }.to raise_exception('after_deploy hook failed') expected Exception with "after_deploy hook failed", got #<NameError: undefined local variable or method `path' for #<Deployment:0x000055f3938a7708> Did you mean? @path> with backtrace: # ./tasks/utils/deployment.rb:148:in `creating_deployment_directory' # ./tasks/utils/deployment.rb:38:in `deploy' # ./spec/unit/tasks/utils/deployment_spec.rb:148:in `block (4 levels) in <top (required)>' # ./spec/unit/tasks/utils/deployment_spec.rb:148:in `block (3 levels) in <top (required)>'
Puppet / 7 (Ruby 2.7): spec/unit/tasks/utils/application_spec.rb#L22
Application#deployments Failure/Error: application.deploy(nil, '1', {}) NameError: undefined local variable or method `path' for #<Deployment:0x000055c6bafdf468> Did you mean? @path
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Debian 10
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 12