Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update plugins needed for integration tests #1079

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 2 additions & 9 deletions spec/acceptance/xtypes/jenkins_credentials_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
end

context 'GitLabApiTokenImpl' do
it 'works with no errors and idempotently' do

Check failure on line 229 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

jenkins_credentials ensure => present GitLabApiTokenImpl works with no errors and idempotently Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092829487.pp.qIIlP0 Last 10 lines of output were: at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) Info: Class[Main]: Unscheduling all events on Class[Main] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 102.23 seconds

Check failure on line 229 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

jenkins_credentials ensure => present GitLabApiTokenImpl works with no errors and idempotently Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094333298.pp.v7c3lb Last 10 lines of output were: at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) Info: Class[Main]: Unscheduling all events on Class[Main] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 112.73 seconds

Check failure on line 229 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 18.04

jenkins_credentials ensure => present GitLabApiTokenImpl works with no errors and idempotently Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_093539963.pp.BJu79m Last 10 lines of output were: at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) Info: Class[Main]: Unscheduling all events on Class[Main] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 116.88 seconds
pp = <<-EOS
include jenkins
include jenkins::cli::config
Expand All @@ -252,20 +252,17 @@
'jaxb',
'jersey2-api',
'jquery3-api',
'jsch',
'junit',
'mailer',
'matrix-project',
'mina-sshd-api-common',
'mina-sshd-api-core',
'plain-credentials',
'plugin-util-api',
'popper2-api',
'scm-api',
'script-security',
'snakeyaml-api',
'ssh-credentials',
'sshd',
'trilead-api',
'workflow-api',
'workflow-job',
Expand All @@ -290,7 +287,7 @@
# XXX need to properly compare the XML doc
# trying to match anything other than the id this way might match other
# credentails
it { is_expected.to contain '<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>' }

Check failure on line 290 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

jenkins_credentials ensure => present GitLabApiTokenImpl File "/var/lib/jenkins/credentials.xml" is expected to contain "<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>" Failure/Error: it { is_expected.to contain '<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>' } expected File "/var/lib/jenkins/credentials.xml" to contain "<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>"

Check failure on line 290 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

jenkins_credentials ensure => present GitLabApiTokenImpl File "/var/lib/jenkins/credentials.xml" is expected to contain "<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>" Failure/Error: it { is_expected.to contain '<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>' } expected File "/var/lib/jenkins/credentials.xml" to contain "<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>"

Check failure on line 290 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 18.04

jenkins_credentials ensure => present GitLabApiTokenImpl File "/var/lib/jenkins/credentials.xml" is expected to contain "<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>" Failure/Error: it { is_expected.to contain '<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>' } expected File "/var/lib/jenkins/credentials.xml" to contain "<id>7e86e9fb-a8af-480f-b596-7191dc02bf38</id>"
end
end

Expand All @@ -299,33 +296,29 @@
include jenkins
include jenkins::cli::config
jenkins::plugin { [
'ace-editor',
'apache-httpcomponents-client-4-api',
'bootstrap5-api',
'browserstack-integration',
'caffeine-api',
'checks-api',
'commons-lang3-api',
'commons-text-api',
'credentials-binding',
'display-url-api',
'durable-task',
'echarts-api',
'font-awesome-api',
'ionicons-api',
'jackson2-api',
'jakarta-activation-api',
'jakarta-mail-api',
'jaxb',
'jquery3-api',
'junit',
'mailer',
'plain-credentials',
'plugin-util-api',
'popper2-api',
'scm-api',
'script-security',
'snakeyaml-api',
'ssh-credentials',
'trilead-api',
'workflow-api',
'workflow-basic-steps',
'workflow-cps',
Expand All @@ -345,11 +338,11 @@
}
EOS

it 'works with no errors' do

Check failure on line 341 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

jenkins_credentials ensure => present BrowserStackCredentials works with no errors Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_093014982.pp.boYJmR Last 10 lines of output were: at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) Info: Class[Main]: Unscheduling all events on Class[Main] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 94.10 seconds

Check failure on line 341 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

jenkins_credentials ensure => present BrowserStackCredentials works with no errors Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094529171.pp.ko9Cwf Last 10 lines of output were: at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) Info: Class[Main]: Unscheduling all events on Class[Main] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 86.85 seconds

Check failure on line 341 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 18.04

jenkins_credentials ensure => present BrowserStackCredentials works with no errors Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_093745076.pp.uWkOyw Last 10 lines of output were: at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) Info: Class[Main]: Unscheduling all events on Class[Main] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 96.75 seconds
apply(pp, catch_failures: true)
end

it 'works idempotently' do

Check warning on line 345 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

jenkins_credentials ensure => present BrowserStackCredentials works idempotently Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_093152005.pp.A6czeY Last 10 lines of output were: at RemoteClass.run(RemoteClass:1086) at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263) at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) �[mNotice: Applied catalog in 75.11 seconds

Check warning on line 345 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

jenkins_credentials ensure => present BrowserStackCredentials works idempotently Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094658839.pp.6vLg5R Last 10 lines of output were: at RemoteClass.run(RemoteClass:1086) at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263) at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) �[mNotice: Applied catalog in 75.01 seconds

Check warning on line 345 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 18.04

jenkins_credentials ensure => present BrowserStackCredentials works idempotently Failure/Error: apply_manifest(pp, options) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_093929419.pp.zvysEK Last 10 lines of output were: at RemoteClass.run(RemoteClass:1086) at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263) at groovy.lang.GroovyShell.run(GroovyShell.java:507) at groovy.lang.GroovyShell.run(GroovyShell.java:486) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:251) at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299) at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154) at java.base/java.lang.Thread.run(Thread.java:829) �[mNotice: Applied catalog in 83.61 seconds
pending('secret key is not idempotent')
apply(pp, catch_changes: true)
end
Expand All @@ -358,7 +351,7 @@
# XXX need to properly compare the XML doc
# trying to match anything other than the id this way might match other
# credentails
it { is_expected.to contain '<id>562fa23d-a441-4cab-997f-58df6e245813</id>' }

Check failure on line 354 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

jenkins_credentials ensure => present BrowserStackCredentials File "/var/lib/jenkins/credentials.xml" is expected to contain "<id>562fa23d-a441-4cab-997f-58df6e245813</id>" Failure/Error: it { is_expected.to contain '<id>562fa23d-a441-4cab-997f-58df6e245813</id>' } expected File "/var/lib/jenkins/credentials.xml" to contain "<id>562fa23d-a441-4cab-997f-58df6e245813</id>"

Check failure on line 354 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

jenkins_credentials ensure => present BrowserStackCredentials File "/var/lib/jenkins/credentials.xml" is expected to contain "<id>562fa23d-a441-4cab-997f-58df6e245813</id>" Failure/Error: it { is_expected.to contain '<id>562fa23d-a441-4cab-997f-58df6e245813</id>' } expected File "/var/lib/jenkins/credentials.xml" to contain "<id>562fa23d-a441-4cab-997f-58df6e245813</id>"

Check failure on line 354 in spec/acceptance/xtypes/jenkins_credentials_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 18.04

jenkins_credentials ensure => present BrowserStackCredentials File "/var/lib/jenkins/credentials.xml" is expected to contain "<id>562fa23d-a441-4cab-997f-58df6e245813</id>" Failure/Error: it { is_expected.to contain '<id>562fa23d-a441-4cab-997f-58df6e245813</id>' } expected File "/var/lib/jenkins/credentials.xml" to contain "<id>562fa23d-a441-4cab-997f-58df6e245813</id>"
end
end
end
Expand Down