(SUP-4955) Wildcard Operator Added for file license ingestion #206
Annotations
10 errors and 1 warning
spec/acceptance/agent_status_check_spec.rb#L6
check agent_status_check fact is not on infra components agent_status_check should be empty
On host `34.19.2.46'
Failure/Error: expect(host_inventory['facter']['agent_status_check']).to be_nil
NoMethodError:
undefined method `[]' for nil:NilClass
sudo -p 'Password: ' /bin/sh -c facter\ --puppet\ --yaml
[2024-07-05 11:02:01.351391 ] ERROR Facter - Error while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000002e51008>
Did you mean? validity
aio_agent_build: 7.30.0
aio_agent_version: 7.30.0
augeas:
version: 1.14.1
cloud:
provider: gce
disks:
sda:
model: "PersistentDisk"
serial: "persistent-disk-0"
size: 20.00 GiB
size_bytes: 21474836480
type: hdd
vendor: Google
dmi:
bios:
release_date: "06/07/2024"
vendor: Google
version: Google
board:
asset_tag: 17E5AD44-80AB-1759-0128-BB5FF5C08D4E
manufacturer: Google
product: "Google Compute Engine"
serial_number: Board-GoogleCloud-17E5AD4480AB17590128BB5FF5C08D4E
chassis:
type: Other
manufacturer: Google
product:
name: "Google Compute Engine"
serial_number: GoogleCloud-17E5AD4480AB17590128BB5FF5C08D4E
uuid: 17e5ad44-80ab-1759-0128-bb5ff5c08d4e
facterversion: 4.7.0
filesystems: vfat,xfs
fips_enabled: false
gce:
instance:
attributes:
startup-script: "#!/bin/bash\n\nset -ev\n\n# Create the test user and add it
to sudoers\nsudo useradd -m \"litmusgnzly8tt\"\nsudo echo \"litmusgnzly8tt:L1tmus81bzqwxm\"
| chpasswd\n\n# Add litmusgnzly8tt user to sudoers for agent install and fix
path in default secure path\nsudo echo 'litmusgnzly8tt ALL=(ALL:ALL) NOPASSWD:
ALL' >> /etc/sudoers\n\n# Add puppetlabs' bin directory to the allowed PATH
contents for sudo\n# See provision::fix_secure_path task for original implementation\npupt_path=/opt/puppetlabs/bin\nsudo
sed -i -r -e \"/^\\s*Defaults\\s*secure_path\\s*/ s#=+\\\"([^\\\"]+)\\\".*#=\\\"\\1:${pupt_path}\\\"#\"
/etc/sudoers\nsudo sed -i -r -e \"/^\\s*Defaults\\s+secure_path/ s#=([^\\\"].*)#=\\1:${pupt_path}#\"
/etc/sudoers\n\n# allow password authentication on SSH\nsudo sed -i 's/PasswordAuthentication
no/PasswordAuthentication yes/g' /etc/ssh/sshd_config\nsudo service sshd restart\n\nif
[[ -x \"$(command -v yum)\" || -x \"$(command -v dnf)\" ]]; then\n # Disable
gpg check google-cloud.repo\n sed -i 's/gpgcheck=1/gpgcheck=0/g' /etc/yum.repos.d/google-cloud.repo\n
\ echo 'skip_if_unavailable=1' >> /etc/yum.repos.d/google-cloud.repo\nfi\n"
stop-state: "UNSPECIFIED"
cpuPlatform: "Intel Broadwell"
description: ""
disks:
- deviceName: "persistent-disk-0"
index: 0
interface: SCSI
mode: READ_WRITE
type: "PERSISTENT"
guestAttributes: {}
hostname: "litmus-2aa7c87e5f132a20.c.ia-content.internal"
id: 2175660689545916776
image: "rocky-linux-8-v20240611"
licenses:
- id: '4496053841174591517'
machineType: "n1-standard-2"
maintenanceEvent: "NONE"
name: litmus-2aa7c87e5f132a20
networkInterfaces:
- accessConfigs:
- externalIp: 34.19.2.46
type: "ONE_TO_ONE_NAT"
dnsServers:
- 169.254.169.254
forwardedIps: []
gateway: 10.138.0.1
ip: 10.138.0.44
ipAliases: []
mac: "42:01:0a:8a:00:2c"
mtu: 1460
network: default
subnetmask: 255.255.240.0
targetInstanceIps: []
partnerAttributes: {}
preempted: "FALSE"
remainingCpuTime: "-1"
scheduling:
automaticRestart: "TRUE"
onHostMaintenance: MIGRATE
preemptible: "FALSE"
serviceAccounts: {}
tags:
- "gh-y98nm1o6-firewall-external"
virtualClock:
driftToken: '0'
zone: us-west1-c
oslogin:
authenticate:
sessions: {}
project:
attributes:
ssh-keys:
- "sheena:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJLm88ivKcErgoqMSQP4FfcM5LeHG508Dod8r0fzctCgFGSTwAf4pCAe/H+evTUB+wwF1hmvvtaCpTyVj5
|
spec/acceptance/pe_status_check_spec.rb#L20
pe_status_check class activates module default parameters check no pe_status_check fact is false if idempotent all facts should be true
On host `34.19.2.46'
Failure/Error: expect(host_inventory['facter']['pe_status_check'].size).to eq(41)
NoMethodError:
undefined method `[]' for nil:NilClass
sudo -p 'Password: ' /bin/sh -c facter\ --puppet\ --yaml
[2024-07-05 11:02:31.115719 ] ERROR Facter - Error while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000002d94f20>
Did you mean? validity
aio_agent_build: 7.30.0
aio_agent_version: 7.30.0
augeas:
version: 1.14.1
cloud:
provider: gce
disks:
sda:
model: "PersistentDisk"
serial: "persistent-disk-0"
size: 20.00 GiB
size_bytes: 21474836480
type: hdd
vendor: Google
dmi:
bios:
release_date: "06/07/2024"
vendor: Google
version: Google
board:
asset_tag: 17E5AD44-80AB-1759-0128-BB5FF5C08D4E
manufacturer: Google
product: "Google Compute Engine"
serial_number: Board-GoogleCloud-17E5AD4480AB17590128BB5FF5C08D4E
chassis:
type: Other
manufacturer: Google
product:
name: "Google Compute Engine"
serial_number: GoogleCloud-17E5AD4480AB17590128BB5FF5C08D4E
uuid: 17e5ad44-80ab-1759-0128-bb5ff5c08d4e
facterversion: 4.7.0
filesystems: vfat,xfs
fips_enabled: false
gce:
instance:
attributes:
startup-script: "#!/bin/bash\n\nset -ev\n\n# Create the test user and add it
to sudoers\nsudo useradd -m \"litmusgnzly8tt\"\nsudo echo \"litmusgnzly8tt:L1tmus81bzqwxm\"
| chpasswd\n\n# Add litmusgnzly8tt user to sudoers for agent install and fix
path in default secure path\nsudo echo 'litmusgnzly8tt ALL=(ALL:ALL) NOPASSWD:
ALL' >> /etc/sudoers\n\n# Add puppetlabs' bin directory to the allowed PATH
contents for sudo\n# See provision::fix_secure_path task for original implementation\npupt_path=/opt/puppetlabs/bin\nsudo
sed -i -r -e \"/^\\s*Defaults\\s*secure_path\\s*/ s#=+\\\"([^\\\"]+)\\\".*#=\\\"\\1:${pupt_path}\\\"#\"
/etc/sudoers\nsudo sed -i -r -e \"/^\\s*Defaults\\s+secure_path/ s#=([^\\\"].*)#=\\1:${pupt_path}#\"
/etc/sudoers\n\n# allow password authentication on SSH\nsudo sed -i 's/PasswordAuthentication
no/PasswordAuthentication yes/g' /etc/ssh/sshd_config\nsudo service sshd restart\n\nif
[[ -x \"$(command -v yum)\" || -x \"$(command -v dnf)\" ]]; then\n # Disable
gpg check google-cloud.repo\n sed -i 's/gpgcheck=1/gpgcheck=0/g' /etc/yum.repos.d/google-cloud.repo\n
\ echo 'skip_if_unavailable=1' >> /etc/yum.repos.d/google-cloud.repo\nfi\n"
stop-state: "UNSPECIFIED"
cpuPlatform: "Intel Broadwell"
description: ""
disks:
- deviceName: "persistent-disk-0"
index: 0
interface: SCSI
mode: READ_WRITE
type: "PERSISTENT"
guestAttributes: {}
hostname: "litmus-2aa7c87e5f132a20.c.ia-content.internal"
id: 2175660689545916776
image: "rocky-linux-8-v20240611"
licenses:
- id: '4496053841174591517'
machineType: "n1-standard-2"
maintenanceEvent: "NONE"
name: litmus-2aa7c87e5f132a20
networkInterfaces:
- accessConfigs:
- externalIp: 34.19.2.46
type: "ONE_TO_ONE_NAT"
dnsServers:
- 169.254.169.254
forwardedIps: []
gateway: 10.138.0.1
ip: 10.138.0.44
ipAliases: []
mac: "42:01:0a:8a:00:2c"
mtu: 1460
network: default
subnetmask: 255.255.240.0
targetInstanceIps: []
partnerAttributes: {}
preempted: "FALSE"
remainingCpuTime: "-1"
scheduling:
automaticRestart: "TRUE"
onHostMaintenance: MIGRATE
preemptible: "FALSE"
serviceAccounts: {}
tags:
- "gh-y98nm1o6-firewall-external"
virtualClock:
driftToken: '0'
zone: us-west1-c
oslogin:
authenticate:
sessions: {}
project:
attributes:
ssh-keys:
- "sheena:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJLm88ivKcErgoqMSQP4FfcM5LeHG508Dod8
|
spec/acceptance/pe_status_check_spec.rb#L30
pe_status_check class activates module default parameters check notifications work as expected if S0001 reports false notify with message
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0001')
RuntimeError:
shell failed
`facter -p pe_status_check.S0001`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0001", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:02:39.971290 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003c6b2d8>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:02:39.971290 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003c6b2d8>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L53
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0002 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0002')
RuntimeError:
shell failed
`facter -p pe_status_check.S0002`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0002", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:03:11.474248 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003bbe4e8>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:03:11.474248 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003bbe4e8>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L59
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0003 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0003')
RuntimeError:
shell failed
`facter -p pe_status_check.S0003`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0003", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:03:19.851723 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003b613b0>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:03:19.851723 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003b613b0>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L65
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0004 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0004')
RuntimeError:
shell failed
`facter -p pe_status_check.S0004`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0004", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:03:28.432794 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x00000000039f1318>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:03:28.432794 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x00000000039f1318>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L72
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0006 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0006')
RuntimeError:
shell failed
`facter -p pe_status_check.S0006`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0006", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:03:35.759510 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003cb77c8>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:03:35.759510 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003cb77c8>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L99
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0009 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0009')
RuntimeError:
shell failed
`facter -p pe_status_check.S0009`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0009", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:03:44.498065 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003c0bf90>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:03:44.498065 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003c0bf90>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L106
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0010 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0010')
RuntimeError:
shell failed
`facter -p pe_status_check.S0010`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0010", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:03:53.172939 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003228500>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:03:53.172939 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x0000000003228500>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
spec/acceptance/pe_status_check_spec.rb#L113
pe_status_check class activates module default parameters check all facts report false in the proper conditions if S0011 conditions for false are met
On host `34.19.2.46'
Failure/Error: result = run_shell('facter -p pe_status_check.S0011')
RuntimeError:
shell failed
`facter -p pe_status_check.S0011`
======
[{"target"=>"34.19.2.46", "action"=>"command", "object"=>"facter -p pe_status_check.S0011", "status"=>"failure", "value"=>{"stdout"=>"\n", "stderr"=>"[2024-07-05 11:04:01.874797 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x000000000355d3b0>\nDid you mean? validity\e[0m \n", "merged_output"=>"[2024-07-05 11:04:01.874797 ] ERROR Facter - \e[31mError while resolving custom fact fact='pe_status_check', resolution='<anonymous>': undefined local variable or method `validty' for #<Facter::Core::Aggregate:0x000000000355d3b0>\nDid you mean? validity\e[0m \n\n", "exit_code"=>1, "_error"=>{"kind"=>"puppetlabs.tasks/command-error", "issue_code"=>"COMMAND_ERROR", "msg"=>"The command failed with exit code 1", "details"=>{"exit_code"=>1}}}}]
|
The following actions uses Node.js version which is deprecated 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/
|
The logs for this run have expired and are no longer available.
Loading