Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

fix: add libxss dependency to the opbean-rum#880

Merged
kuisathaverat merged 1 commit intoelastic:masterfrom
kuisathaverat:fix-opbeans-rum
Jul 13, 2020
Merged

fix: add libxss dependency to the opbean-rum#880
kuisathaverat merged 1 commit intoelastic:masterfrom
kuisathaverat:fix-opbeans-rum

Conversation

@kuisathaverat
Copy link
Copy Markdown
Contributor

What does this PR do?

it adds the library libxss to the opbeans-rum docker container.

Why is it important?

Chrome fails without it

Error: Failed to launch chrome!
/home/pptruser/node_modules/puppeteer/.local-chromium/linux-706915/chrome-linux/chrome: error while loading
 shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Related issues

Closes #879
related #872

Note

needs backport to 7.x, 6.x, 6.x-v1

@kuisathaverat kuisathaverat added bug automation Team:Automation Label for the Observability productivity team labels Jul 9, 2020
@kuisathaverat kuisathaverat requested review from a team and DanRoscigno July 9, 2020 17:37
@kuisathaverat kuisathaverat self-assigned this Jul 9, 2020
Copy link
Copy Markdown

@DanRoscigno DanRoscigno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see now, there is a different Dockerfile for opbeans-rum! Thanks, tested and all is good!

Setting up libxss1:amd64 (1:1.2.2-1)

@ghost
Copy link
Copy Markdown

ghost commented Jul 9, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Started by timer]

  • Start Time: 2020-07-10T03:57:00.465+0000

  • Duration: 48 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 402
Skipped 14
Total 416

@ghost
Copy link
Copy Markdown

ghost commented Jul 13, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Started by timer]

  • Start Time: 2020-07-13T03:57:00.480+0000

  • Duration: 4 min 35 sec

Steps errors

Expand to view the steps failures

Log output

Expand to view the last 100 lines of log output

[2020-07-13T03:59:57.019Z]  > git fetch --no-tags --progress -- git@github.com:elastic/apm-integration-testing.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-07-13T03:59:58.075Z] Cleaning workspace
[2020-07-13T03:59:58.159Z] Using shallow fetch with depth 3
[2020-07-13T03:59:58.159Z] Pruning obsolete local branches
[2020-07-13T03:59:58.833Z] Merging remotes/origin/master commit 809b8892a01850edf9ac4995c1596d7da000133e into PR head commit f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a
[2020-07-13T03:59:58.941Z] Merge succeeded, producing f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a
[2020-07-13T03:59:58.941Z] Checking out Revision f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a (PR-880)
[2020-07-13T03:59:58.046Z]  > git config remote.origin.url git@github.com:elastic/apm-integration-testing.git # timeout=10
[2020-07-13T03:59:58.053Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-07-13T03:59:58.062Z]  > git config remote.origin.url git@github.com:elastic/apm-integration-testing.git # timeout=10
[2020-07-13T03:59:58.087Z]  > git rev-parse --verify HEAD # timeout=10
[2020-07-13T03:59:58.133Z] No valid HEAD. Skipping the resetting
[2020-07-13T03:59:58.134Z]  > git clean -fdx # timeout=10
[2020-07-13T03:59:58.173Z] Fetching upstream changes from git@github.com:elastic/apm-integration-testing.git
[2020-07-13T03:59:58.174Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-07-13T03:59:58.178Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/apm-integration-testing.git +refs/pull/880/head:refs/remotes/origin/PR-880 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-07-13T03:59:58.848Z]  > git config core.sparsecheckout # timeout=10
[2020-07-13T03:59:58.855Z]  > git checkout -f f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a # timeout=15
[2020-07-13T03:59:58.907Z]  > git remote # timeout=10
[2020-07-13T03:59:58.915Z]  > git config --get remote.origin.url # timeout=10
[2020-07-13T03:59:58.923Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-07-13T03:59:58.926Z]  > git merge 809b8892a01850edf9ac4995c1596d7da000133e # timeout=10
[2020-07-13T03:59:58.935Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-07-13T03:59:58.952Z]  > git config core.sparsecheckout # timeout=10
[2020-07-13T03:59:58.957Z]  > git checkout -f f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a # timeout=15
[2020-07-13T04:00:02.543Z] Commit message: "fix: add libxss dependency to the opbean-rum"
[2020-07-13T04:00:02.554Z]  > git rev-list --no-walk f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a # timeout=10
[2020-07-13T04:00:02.583Z] Cleaning workspace
[2020-07-13T04:00:02.594Z]  > git rev-parse --verify HEAD # timeout=10
[2020-07-13T04:00:02.599Z] Resetting working tree
[2020-07-13T04:00:02.599Z]  > git reset --hard # timeout=10
[2020-07-13T04:00:02.620Z]  > git clean -fdx # timeout=10
[2020-07-13T04:00:02.632Z]  > git submodule foreach --recursive git reset --hard # timeout=10
[2020-07-13T04:00:02.665Z]  > git submodule foreach --recursive git clean -fdx # timeout=10
[2020-07-13T04:00:02.708Z]  > git remote # timeout=10
[2020-07-13T04:00:02.719Z]  > git submodule init # timeout=10
[2020-07-13T04:00:02.754Z]  > git submodule sync # timeout=10
[2020-07-13T04:00:02.782Z]  > git config --get remote.origin.url # timeout=10
[2020-07-13T04:00:02.792Z]  > git submodule init # timeout=10
[2020-07-13T04:00:02.826Z]  > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
[2020-07-13T04:00:02.830Z]  > git config --get submodule.docker/tests/test_helper/bats-assert.url # timeout=10
[2020-07-13T04:00:02.835Z]  > git remote # timeout=10
[2020-07-13T04:00:02.838Z]  > git config --get remote.origin.url # timeout=10
[2020-07-13T04:00:02.847Z]  > git config -f .gitmodules --get submodule.docker/tests/test_helper/bats-assert.path # timeout=10
[2020-07-13T04:00:02.852Z]  > git config --get submodule.docker/tests/test_helper/bats-support.url # timeout=10
[2020-07-13T04:00:02.856Z]  > git remote # timeout=10
[2020-07-13T04:00:02.861Z]  > git config --get remote.origin.url # timeout=10
[2020-07-13T04:00:02.864Z]  > git config -f .gitmodules --get submodule.docker/tests/test_helper/bats-support.path # timeout=10
[2020-07-13T04:00:02.888Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-07-13T04:00:02.892Z]  > git submodule update --init --recursive --reference /var/lib/jenkins/.git-references/apm-integration-testing.git docker/tests/test_helper/bats-assert # timeout=100
[2020-07-13T04:00:04.561Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-07-13T04:00:04.565Z]  > git submodule update --init --recursive --reference /var/lib/jenkins/.git-references/apm-integration-testing.git docker/tests/test_helper/bats-support # timeout=100
[2020-07-13T04:00:19.583Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2020-07-13T04:00:19.603Z] Timeout set to expire in 1 hr 0 min
[2020-07-13T04:00:19.609Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-07-13T04:00:19.806Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-07-13T04:00:19.813Z] Running in /var/lib/jenkins/workspace/apm-integration-tests_PR-880/src/github.com/elastic/apm-integration-testing
[2020-07-13T04:00:19.822Z] [INFO] gitCheckout: Checkout SCM PR-880 with some customisation.
[2020-07-13T04:00:19.835Z] [INFO] Override default checkout
[2020-07-13T04:00:19.853Z] Sleeping for 10 sec
[2020-07-13T04:00:29.998Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-07-13T04:00:30.043Z] Cloning the remote Git repository
[2020-07-13T04:00:30.067Z] Cloning repository git@github.com:elastic/apm-integration-testing.git
[2020-07-13T04:00:30.089Z]  > git init /var/lib/jenkins/workspace/apm-integration-tests_PR-880/src/github.com/elastic/apm-integration-testing # timeout=10
[2020-07-13T04:00:30.096Z] Using reference repository: /var/lib/jenkins/.git-references/apm-integration-testing.git
[2020-07-13T04:00:30.096Z] Fetching upstream changes from git@github.com:elastic/apm-integration-testing.git
[2020-07-13T04:00:30.096Z]  > git --version # timeout=10
[2020-07-13T04:00:30.100Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-07-13T04:00:30.104Z]  > git fetch --tags --progress -- git@github.com:elastic/apm-integration-testing.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-07-13T04:00:30.708Z]  > git config remote.origin.url git@github.com:elastic/apm-integration-testing.git # timeout=10
[2020-07-13T04:00:30.711Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-07-13T04:00:30.719Z]  > git config remote.origin.url git@github.com:elastic/apm-integration-testing.git # timeout=10
[2020-07-13T04:00:30.726Z] Fetching upstream changes from git@github.com:elastic/apm-integration-testing.git
[2020-07-13T04:00:30.726Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-07-13T04:00:30.730Z]  > git fetch --tags --progress -- git@github.com:elastic/apm-integration-testing.git +refs/pull/880/head:refs/remotes/origin/PR-880 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2020-07-13T04:00:31.266Z] Checking out Revision f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a (origin/PR-880)
[2020-07-13T04:00:31.319Z] Commit message: "fix: add libxss dependency to the opbean-rum"
[2020-07-13T04:00:31.893Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-07-13T04:00:31.271Z]  > git rev-parse origin/PR-880^{commit} # timeout=10
[2020-07-13T04:00:31.279Z]  > git config core.sparsecheckout # timeout=10
[2020-07-13T04:00:31.283Z]  > git checkout -f f3b1a9d8d1053f59079b0f4e5d21d7b7c25c898a # timeout=10
[2020-07-13T04:00:32.533Z] + git fetch https://****:****@github.com/elastic/apm-integration-testing.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-07-13T04:00:32.843Z] Archiving artifacts
[2020-07-13T04:00:33.501Z] + git rev-parse HEAD
[2020-07-13T04:00:33.844Z] + git rev-parse HEAD
[2020-07-13T04:00:34.145Z] + git rev-parse origin/pr/880
[2020-07-13T04:00:34.173Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-07-13T04:00:34.375Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-07-13T04:00:34.691Z] Stage "Tests" skipped due to earlier failure(s)
[2020-07-13T04:00:34.712Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2020-07-13T04:00:34.714Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2020-07-13T04:00:34.726Z] Failed in branch Unit Tests
[2020-07-13T04:00:34.727Z] Failed in branch Sanity checks
[2020-07-13T04:00:34.753Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-07-13T04:00:35.044Z] Running on Jenkins in /var/lib/jenkins/workspace/apm-integration-tests_PR-880
[2020-07-13T04:00:35.240Z] [INFO] getVaultSecret: Getting secrets
[2020-07-13T04:00:35.297Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-13T04:00:35.831Z] + chmod 755 generate-build-data.sh
[2020-07-13T04:00:35.831Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-integration-tests/PR-880/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-integration-tests/PR-880/runs/3 FAILURE 215091
[2020-07-13T04:00:36.082Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-integration-tests/PR-880/runs/3/steps/?limit=10000 -o steps-info.json

@kuisathaverat kuisathaverat merged commit dea02b6 into elastic:master Jul 13, 2020
kuisathaverat added a commit to kuisathaverat/apm-integration-testing that referenced this pull request Jul 13, 2020
# Conflicts:
#	docker/opbeans/rum/Dockerfile
kuisathaverat added a commit to kuisathaverat/apm-integration-testing that referenced this pull request Jul 13, 2020
# Conflicts:
#	docker/opbeans/rum/Dockerfile
kuisathaverat added a commit to kuisathaverat/apm-integration-testing that referenced this pull request Jul 13, 2020
# Conflicts:
#	docker/opbeans/rum/Dockerfile
kuisathaverat added a commit that referenced this pull request Jul 13, 2020
# Conflicts:
#	docker/opbeans/rum/Dockerfile
kuisathaverat added a commit that referenced this pull request Jul 13, 2020
# Conflicts:
#	docker/opbeans/rum/Dockerfile
kuisathaverat added a commit that referenced this pull request Jul 13, 2020
# Conflicts:
#	docker/opbeans/rum/Dockerfile
v1v added a commit to v1v/apm-integration-testing that referenced this pull request Dec 16, 2020
* upstream/6.x: (22 commits)
  fix: skip chrome and firefox downloads on the RUM agent Docker image (elastic#965) (elastic#977)
  fix: change to use adoptOpenJDK to fix the build (elastic#944) (elastic#945)
  [6.x] fix: increase the resilience against network issues (elastic#927) (elastic#929)
  fix: use Node.js LTS version for ITs (elastic#921) (elastic#924)
  fix: RUM Docker image build (elastic#915)
  fix: update JDK and apply some maven options (elastic#904) (elastic#911)
  fix: use fixed version of setuptools (elastic#907) (elastic#909)
  fix: missing dependencies for rum test (elastic#899) (elastic#903)
  fix: update Go version to the latest LTS version (elastic#891)
  fix: add libxss dependency to the opbean-rum (elastic#880) (elastic#882)
  fix: remove chrome drive is not used (elastic#876)
  fix: update dependencies to run integration tests (elastic#872) (elastic#874)
  feat: bump pytest version (elastic#866) (elastic#868)
  test: add 6.x version to the test (elastic#651)
  (rum): run build on all RUM packages (elastic#622)
  feat: disable shallow cloning when using downstream pipelines (elastic#583) (elastic#585)
  [6.x] feat: pre-commit config (elastic#547) (elastic#549)
  fix: update build status badge
  ci: remove jenkinsfile
  feat: delete legacy integration testing jobs (elastic#542)
  ...
v1v added a commit to v1v/apm-integration-testing that referenced this pull request Jan 8, 2021
* upstream/6.x: (23 commits)
  Bump 6.8 release (elastic#1007)
  fix: skip chrome and firefox downloads on the RUM agent Docker image (elastic#965) (elastic#977)
  fix: change to use adoptOpenJDK to fix the build (elastic#944) (elastic#945)
  [6.x] fix: increase the resilience against network issues (elastic#927) (elastic#929)
  fix: use Node.js LTS version for ITs (elastic#921) (elastic#924)
  fix: RUM Docker image build (elastic#915)
  fix: update JDK and apply some maven options (elastic#904) (elastic#911)
  fix: use fixed version of setuptools (elastic#907) (elastic#909)
  fix: missing dependencies for rum test (elastic#899) (elastic#903)
  fix: update Go version to the latest LTS version (elastic#891)
  fix: add libxss dependency to the opbean-rum (elastic#880) (elastic#882)
  fix: remove chrome drive is not used (elastic#876)
  fix: update dependencies to run integration tests (elastic#872) (elastic#874)
  feat: bump pytest version (elastic#866) (elastic#868)
  test: add 6.x version to the test (elastic#651)
  (rum): run build on all RUM packages (elastic#622)
  feat: disable shallow cloning when using downstream pipelines (elastic#583) (elastic#585)
  [6.x] feat: pre-commit config (elastic#547) (elastic#549)
  fix: update build status badge
  ci: remove jenkinsfile
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automation bug Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opbeans RUM container fails to run

5 participants