Skip to content

[CI] Packaging tests fail with connection failure on opensuse and sles #30295

@DaveCTurner

Description

@DaveCTurner

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+packaging-tests/2645/console

REPRODUCE WITH line says:

./gradlew :x-pack:qa:vagrant:vagrantOpensuse42#batsPackagingTest -Dtests.seed=7E7AE0563BF3B4A3

The main problem seems to be

07:47:13 # Connection failure to: http://127.0.0.1:9200/_xpack/security/user/kibana/_password?pretty failed: Read timed out

Unfortunately I can't find the server logs so can't see any more detail than this. Here's the relevant bit of the CI log:

07:46:01 ok 15 [RPM BOOTSTRAP PASSWORD] stop Elasticsearch
07:47:12 not ok 16 [TAR SETUP PASSWORD] test auto generated passwords
07:47:12 not ok 16 [TAR SETUP PASSWORD] test auto generated passwords
07:47:12 # (in test file /project/build/packaging/bats/tests/30_tar_setup_passwords.bats, line 60)
07:47:12 # (in test file /project/build/packaging/bats/tests/30_tar_setup_passwords.bats, line 60)
07:47:12 #   `false' failed
07:47:12 #   `false' failed
07:47:12 # Unpacking tarball to /tmp/elasticsearch
07:47:12 # checking for bin file elasticsearch-certgen
07:47:12 # checking for bin file elasticsearch-certgen.bat
07:47:12 # checking for bin file elasticsearch-certutil
07:47:12 # checking for bin file elasticsearch-certutil.bat
07:47:12 # checking for bin file elasticsearch-croneval
07:47:12 # checking for bin file elasticsearch-croneval.bat
07:47:12 # checking for bin file elasticsearch-migrate
07:47:12 # checking for bin file elasticsearch-migrate.bat
07:47:12 # checking for bin file elasticsearch-saml-metadata
07:47:12 # checking for bin file elasticsearch-saml-metadata.bat
07:47:12 # checking for bin file elasticsearch-setup-passwords
07:47:12 # checking for bin file elasticsearch-setup-passwords.bat
07:47:12 # checking for bin file elasticsearch-sql-cli
07:47:12 # checking for bin file elasticsearch-sql-cli.bat
07:47:13 # checking for bin file elasticsearch-sql-cli-7.0.0-alpha1-SNAPSHOT.jar
07:47:13 # checking for bin file elasticsearch-syskeygen
07:47:13 # checking for bin file elasticsearch-syskeygen.bat
07:47:13 # checking for bin file elasticsearch-users
07:47:13 # checking for bin file elasticsearch-users.bat
07:47:13 # checking for bin file x-pack-env
07:47:13 # checking for bin file x-pack-env.bat
07:47:13 # checking for bin file x-pack-security-env
07:47:13 # checking for bin file x-pack-security-env.bat
07:47:13 # checking for bin file x-pack-watcher-env
07:47:13 # checking for bin file x-pack-watcher-env.bat
07:47:13 # elasticsearch
07:47:13 # elasticsearch.bat
07:47:13 # elasticsearch-certgen
07:47:13 # elasticsearch-certgen.bat
07:47:13 # elasticsearch-certutil
07:47:13 # elasticsearch-certutil.bat
07:47:13 # elasticsearch-croneval
07:47:13 # elasticsearch-croneval.bat
07:47:13 # elasticsearch-env
07:47:13 # elasticsearch-env.bat
07:47:13 # elasticsearch-keystore
07:47:13 # elasticsearch-keystore.bat
07:47:13 # elasticsearch-migrate
07:47:13 # elasticsearch-migrate.bat
07:47:13 # elasticsearch-plugin
07:47:13 # elasticsearch-plugin.bat
07:47:13 # elasticsearch-saml-metadata
07:47:13 # elasticsearch-saml-metadata.bat
07:47:13 # elasticsearch-service.bat
07:47:13 # elasticsearch-service-mgr.exe
07:47:13 # elasticsearch-service-x64.exe
07:47:13 # elasticsearch-setup-passwords
07:47:13 # elasticsearch-setup-passwords.bat
07:47:13 # elasticsearch-sql-cli
07:47:13 # elasticsearch-sql-cli-7.0.0-alpha1-SNAPSHOT.jar
07:47:13 # elasticsearch-sql-cli.bat
07:47:13 # elasticsearch-syskeygen
07:47:13 # elasticsearch-syskeygen.bat
07:47:13 # Unpacking tarball to /tmp/elasticsearch
07:47:13 # checking for bin file elasticsearch-certgen
07:47:13 # checking for bin file elasticsearch-certgen.bat
07:47:13 # checking for bin file elasticsearch-certutil
07:47:13 # checking for bin file elasticsearch-certutil.bat
07:47:13 # checking for bin file elasticsearch-croneval
07:47:13 # checking for bin file elasticsearch-croneval.bat
07:47:13 # checking for bin file elasticsearch-migrate
07:47:13 # checking for bin file elasticsearch-migrate.bat
07:47:13 # checking for bin file elasticsearch-saml-metadata
07:47:13 # checking for bin file elasticsearch-saml-metadata.bat
07:47:13 # checking for bin file elasticsearch-setup-passwords
07:47:13 # checking for bin file elasticsearch-setup-passwords.bat
07:47:13 # checking for bin file elasticsearch-sql-cli
07:47:13 # checking for bin file elasticsearch-sql-cli.bat
07:47:13 # checking for bin file elasticsearch-sql-cli-7.0.0-alpha1-SNAPSHOT.jar
07:47:13 # checking for bin file elasticsearch-syskeygen
07:47:13 # checking for bin file elasticsearch-syskeygen.bat
07:47:13 # checking for bin file elasticsearch-users
07:47:13 # checking for bin file elasticsearch-users.bat
07:47:13 # checking for bin file x-pack-env
07:47:13 # checking for bin file x-pack-env.bat
07:47:13 # checking for bin file x-pack-security-env
07:47:13 # checking for bin file x-pack-security-env.bat
07:47:13 # checking for bin file x-pack-watcher-env
07:47:13 # checking for bin file x-pack-watcher-env.bat
07:47:13 # elasticsearch
07:47:13 # elasticsearch.bat
07:47:13 # elasticsearch-certgen
07:47:13 # elasticsearch-certgen.bat
07:47:13 # elasticsearch-certutil
07:47:13 # elasticsearch-certutil.bat
07:47:13 # elasticsearch-croneval
07:47:13 # elasticsearch-croneval.bat
07:47:13 # elasticsearch-env
07:47:13 # elasticsearch-env.bat
07:47:13 # elasticsearch-keystore
07:47:13 # elasticsearch-keystore.bat
07:47:13 # elasticsearch-migrate
07:47:13 # elasticsearch-migrate.bat
07:47:13 # elasticsearch-plugin
07:47:13 # elasticsearch-plugin.bat
07:47:13 # elasticsearch-saml-metadata
07:47:13 # elasticsearch-saml-metadata.bat
07:47:13 # elasticsearch-service.bat
07:47:13 # elasticsearch-service-mgr.exe
07:47:13 # elasticsearch-service-x64.exe
07:47:13 # elasticsearch-setup-passwords
07:47:13 # elasticsearch-setup-passwords.bat
07:47:13 # elasticsearch-sql-cli
07:47:13 # elasticsearch-sql-cli-7.0.0-alpha1-SNAPSHOT.jar
07:47:13 # elasticsearch-sql-cli.bat
07:47:13 # elasticsearch-syskeygen
07:47:13 # elasticsearch-syskeygen.bat
07:47:13 # el# el
07:47:13 asticsearch-translog
07:47:13 # elasticsearch-translog.bat
07:47:13 # elasticsearch-users
07:47:13 # elasticsearch-users.bat
07:47:13 # x-pack-env
07:47:13 # x-pack-env.bat
07:47:13 # x-pack-security-env
07:47:13 # x-pack-security-env.bat
07:47:13 # x-pack-watcher-env
07:47:13 # x-pack-watcher-env.bat
07:47:13 # Expected x-pack elasticsearch-setup-passwords tool exit code to be zero
07:47:13 # Initiating the setup of passwords for reserved users elastic,kibana,logstash_system,beats_system.
07:47:13 # The passwords will be randomly generated and printed to the console.
07:47:13 # Please confirm that you would like to continue [y/N]
07:47:13 # 
07:47:13 # 
07:47:13 # Connection failure to: http://127.0.0.1:9200/_xpack/security/user/kibana/_password?pretty failed: Read timed out
07:47:13 # 
07:47:13 # ERROR: Failed to set password for user [kibana].
07:47:13 asticsearch-translog
07:47:13 # elasticsearch-translog.bat
07:47:13 # elasticsearch-users
07:47:13 # elasticsearch-users.bat
07:47:13 # x-pack-env
07:47:13 # x-pack-env.bat
07:47:13 # x-pack-security-env
07:47:13 # x-pack-security-env.bat
07:47:13 # x-pack-watcher-env
07:47:13 # x-pack-watcher-env.bat
07:47:13 # Expected x-pack elasticsearch-setup-passwords tool exit code to be zero
07:47:13 # Initiating the setup of passwords for reserved users elastic,kibana,logstash_system,beats_system.
07:47:13 # The passwords will be randomly generated and printed to the console.
07:47:13 # Please confirm that you would like to continue [y/N]
07:47:13 # 
07:47:13 # 
07:47:13 # Connection failure to: http://127.0.0.1:9200/_xpack/security/user/kibana/_password?pretty failed: Read timed out
07:47:13 # 
07:47:13 # ERROR: Failed to set password for user [kibana].

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scripts>test-failureTriaged test failures from CITeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions