Adjust keycloak_required_action resource to not use metaparameter alias #516
Triggered via pull request
September 26, 2024 09:07
Status
Failure
Total duration
49m 14s
Artifacts
–
Annotations
21 errors and 16 warnings
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L51
Puppet::Type::Keycloak_required_action::ProviderKcadm destroy deregisters a required action
Failure/Error: resource.provider.instance_variable_set(:@property_hash)
ArgumentError:
wrong number of arguments (given 1, expected 2)
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L85
Puppet::Type::Keycloak_required_action::ProviderKcadm flush uses display_name from current state if none specified explicitly
Failure/Error: kcadm('update', "authentication/required-actions/#{@property_hash[:provider_id]}", resource[:realm], t.path)
Keycloak_required_action[foo](provider=kcadm) received :kcadm with unexpected arguments
expected: ("update", "authentication/required-actions/webauthn-register", "test", "/tmp/keycloak_required_action_configure20240926-2068-95oczr")
got: ("update", "authentication/required-actions/", "test", "/tmp/keycloak_required_action_configure20240926-2068-95oczr")
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L27
Puppet::Type::Keycloak_required_action has alias default to provider_id
Failure/Error: raise Puppet::Error, "Keycloak_required_action[#{self[:name]}] must have a #{property} defined"
Puppet::ResourceError:
Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L168
Puppet::Type::Keycloak_required_action validations does not require provider_id for absent
Failure/Error: expect { resource }.not_to raise_error
expected no Exception, got #<Puppet::ResourceError: Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined> with backtrace:
# ./lib/puppet/type/keycloak_required_action.rb:122:in `block (3 levels) in <top (required)>'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `each'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.9.0/lib/puppet/type.rb:2257:in `block in validate'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.9.0/lib/puppet/type.rb:2358:in `validate_resource'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.9.0/lib/puppet/type.rb:2345:in `initialize'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `new'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (4 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (3 levels) in <top (required)>'
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml)
Process completed with exit code 1.
|
Puppet 8 (Ruby 3.2.3 fixtures=.fixtures.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L51
Puppet::Type::Keycloak_required_action::ProviderKcadm destroy deregisters a required action
Failure/Error: resource.provider.instance_variable_set(:@property_hash)
ArgumentError:
wrong number of arguments (given 1, expected 2)
|
Puppet 8 (Ruby 3.2.3 fixtures=.fixtures.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L85
Puppet::Type::Keycloak_required_action::ProviderKcadm flush uses display_name from current state if none specified explicitly
Failure/Error: kcadm('update', "authentication/required-actions/#{@property_hash[:provider_id]}", resource[:realm], t.path)
Keycloak_required_action[foo](provider=kcadm) received :kcadm with unexpected arguments
expected: ("update", "authentication/required-actions/webauthn-register", "test", "/tmp/keycloak_required_action_configure20240926-1960-dzon8z")
got: ("update", "authentication/required-actions/", "test", "/tmp/keycloak_required_action_configure20240926-1960-dzon8z")
|
Puppet 8 (Ruby 3.2.3 fixtures=.fixtures.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L27
Puppet::Type::Keycloak_required_action has alias default to provider_id
Failure/Error: raise Puppet::Error, "Keycloak_required_action[#{self[:name]}] must have a #{property} defined"
Puppet::ResourceError:
Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined
|
Puppet 8 (Ruby 3.2.3 fixtures=.fixtures.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L168
Puppet::Type::Keycloak_required_action validations does not require provider_id for absent
Failure/Error: expect { resource }.not_to raise_error
expected no Exception, got #<Puppet::ResourceError: Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined> with backtrace:
# ./lib/puppet/type/keycloak_required_action.rb:122:in `block (3 levels) in <top (required)>'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `each'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.9.0/lib/puppet/type.rb:2257:in `block in validate'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.9.0/lib/puppet/type.rb:2358:in `validate_resource'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.9.0/lib/puppet/type.rb:2345:in `initialize'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `new'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (4 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (3 levels) in <top (required)>'
|
Puppet 8 (Ruby 3.2.3 fixtures=.fixtures.yml)
Process completed with exit code 1.
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L51
Puppet::Type::Keycloak_required_action::ProviderKcadm destroy deregisters a required action
Failure/Error: resource.provider.instance_variable_set(:@property_hash)
ArgumentError:
wrong number of arguments (given 1, expected 2)
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L85
Puppet::Type::Keycloak_required_action::ProviderKcadm flush uses display_name from current state if none specified explicitly
Failure/Error: kcadm('update', "authentication/required-actions/#{@property_hash[:provider_id]}", resource[:realm], t.path)
Keycloak_required_action[foo](provider=kcadm) received :kcadm with unexpected arguments
expected: ("update", "authentication/required-actions/webauthn-register", "test", "/tmp/keycloak_required_action_configure20240926-1974-1yma08p")
got: ("update", "authentication/required-actions/", "test", "/tmp/keycloak_required_action_configure20240926-1974-1yma08p")
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L27
Puppet::Type::Keycloak_required_action has alias default to provider_id
Failure/Error: raise Puppet::Error, "Keycloak_required_action[#{self[:name]}] must have a #{property} defined"
Puppet::ResourceError:
Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L168
Puppet::Type::Keycloak_required_action validations does not require provider_id for absent
Failure/Error: expect { resource }.not_to raise_error
expected no Exception, got #<Puppet::ResourceError: Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined> with backtrace:
# ./lib/puppet/type/keycloak_required_action.rb:122:in `block (3 levels) in <top (required)>'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `each'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2300:in `block in validate'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2405:in `validate_resource'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2391:in `initialize'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `new'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (4 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (3 levels) in <top (required)>'
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml)
Process completed with exit code 1.
|
Puppet 7 (Ruby 2.7.7 fixtures=.fixtures-latest.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L51
Puppet::Type::Keycloak_required_action::ProviderKcadm destroy deregisters a required action
Failure/Error: resource.provider.instance_variable_set(:@property_hash)
ArgumentError:
wrong number of arguments (given 1, expected 2)
|
Puppet 7 (Ruby 2.7.7 fixtures=.fixtures-latest.yml):
spec/unit/puppet/provider/keycloak_required_action/kcadm_spec.rb#L85
Puppet::Type::Keycloak_required_action::ProviderKcadm flush uses display_name from current state if none specified explicitly
Failure/Error: kcadm('update', "authentication/required-actions/#{@property_hash[:provider_id]}", resource[:realm], t.path)
Keycloak_required_action[foo](provider=kcadm) received :kcadm with unexpected arguments
expected: ("update", "authentication/required-actions/webauthn-register", "test", "/tmp/keycloak_required_action_configure20240926-2146-w6iy7a")
got: ("update", "authentication/required-actions/", "test", "/tmp/keycloak_required_action_configure20240926-2146-w6iy7a")
|
Puppet 7 (Ruby 2.7.7 fixtures=.fixtures-latest.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L27
Puppet::Type::Keycloak_required_action has alias default to provider_id
Failure/Error: raise Puppet::Error, "Keycloak_required_action[#{self[:name]}] must have a #{property} defined"
Puppet::ResourceError:
Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined
|
Puppet 7 (Ruby 2.7.7 fixtures=.fixtures-latest.yml):
spec/unit/puppet/type/keycloak_required_action_spec.rb#L168
Puppet::Type::Keycloak_required_action validations does not require provider_id for absent
Failure/Error: expect { resource }.not_to raise_error
expected no Exception, got #<Puppet::ResourceError: Validation of Keycloak_required_action[foo] failed: Keycloak_required_action[foo] must have a provider_id defined> with backtrace:
# ./lib/puppet/type/keycloak_required_action.rb:122:in `block (3 levels) in <top (required)>'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `each'
# ./lib/puppet/type/keycloak_required_action.rb:120:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2300:in `block in validate'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2405:in `validate_resource'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2391:in `initialize'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `new'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (4 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:171:in `block (3 levels) in <top (required)>'
|
Puppet 7 (Ruby 2.7.7 fixtures=.fixtures-latest.yml)
Process completed with exit code 1.
|
puppet8 debian-11 (keycloak=25.0.1 full=no)
Process completed with exit code 1.
|
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures-latest.yml)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Puppet 8 (Ruby 3.2.3 fixtures=.fixtures.yml)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Puppet 7 (Ruby 2.7.7 fixtures=.fixtures-latest.yml)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet7 el8 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet8 el8 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet8 el9 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet7 el9 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet8 debian-11 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet8 ubuntu-2204 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet7 ubuntu-2004 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet7 debian-11 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet7 ubuntu-2204 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet8 ubuntu-2004 (keycloak=25.0.1 full=no)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet7 el8 (keycloak=25.0.1 full=yes)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
puppet8 el8 (keycloak=25.0.1 full=yes)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|