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

fix: do not stash .nvm folder #414

Merged
merged 12 commits into from
Nov 11, 2021

Conversation

kuisathaverat
Copy link
Contributor

@kuisathaverat kuisathaverat commented Nov 11, 2021

Stash the .nvm folder is causing the following error, so let's do not doit because is not needed:

[2021-11-10T23:49:49.429Z] java.nio.file.NoSuchFileException: /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-405/.nvm/versions/node/v14.17.5/lib/node_modules/npm/bin/npm-cli.js
[2021-11-10T23:49:49.429Z] 	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
[2021-11-10T23:49:49.429Z] 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
[2021-11-10T23:49:49.429Z] 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
[2021-11-10T23:49:49.429Z] 	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
[2021-11-10T23:49:49.429Z] 	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
[2021-11-10T23:49:49.429Z] 	at java.nio.file.Files.newOutputStream(Files.java:216)
[2021-11-10T23:49:49.429Z] 	at hudson.util.IOUtils.copy(IOUtils.java:52)
[2021-11-10T23:49:49.429Z] 	at hudson.FilePath.readFromTar(FilePath.java:2862)
[2021-11-10T23:49:49.429Z] Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to apm-ci-immutable-ubuntu-1804-1636587888864696895
[2021-11-10T23:49:49.429Z] 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1797)
[2021-11-10T23:49:49.429Z] 		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
[2021-11-10T23:49:49.429Z] 		at hudson.remoting.Channel.call(Channel.java:1001)
[2021-11-10T23:49:49.429Z] 		at hudson.FilePath.act(FilePath.java:1166)
[2021-11-10T23:49:49.429Z] 		at hudson.FilePath.act(FilePath.java:1155)
[2021-11-10T23:49:49.429Z] 		at hudson.FilePath.untar(FilePath.java:617)
[2021-11-10T23:49:49.429Z] 		at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:161)
[2021-11-10T23:49:49.429Z] 		at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:77)
[2021-11-10T23:49:49.429Z] 		at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:64)
[2021-11-10T23:49:49.429Z] 		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2021-11-10T23:49:49.429Z] 		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2021-11-10T23:49:49.429Z] 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-11-10T23:49:49.429Z] 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-11-10T23:49:49.429Z] 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-11-10T23:49:49.429Z] Caused: java.io.IOException: Failed to extract source.tar.gz
[2021-11-10T23:49:49.429Z] 	at hudson.FilePath.readFromTar(FilePath.java:2872)
[2021-11-10T23:49:49.429Z] 	at hudson.FilePath.access$500(FilePath.java:213)
[2021-11-10T23:49:49.429Z] 	at hudson.FilePath$UntarRemote.invoke(FilePath.java:633)
[2021-11-10T23:49:49.429Z] 	at hudson.FilePath$UntarRemote.invoke(FilePath.java:622)
[2021-11-10T23:49:49.429Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3338)
[2021-11-10T23:49:49.429Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
[2021-11-10T23:49:49.429Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[2021-11-10T23:49:49.430Z] 	at hudson.remoting.Request$2.run(Request.java:376)
[2021-11-10T23:49:49.430Z] 	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
[2021-11-10T23:49:49.430Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-11-10T23:49:49.430Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-11-10T23:49:49.430Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-11-10T23:49:49.430Z] 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:122)
[2021-11-10T23:49:49.430Z] 	at java.lang.Thread.run(Thread.java:748)

@kuisathaverat kuisathaverat self-assigned this Nov 11, 2021
@apmmachine
Copy link

apmmachine commented Nov 11, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-11-11T14:08:02.924+0000

  • Duration: 14 min 34 sec

  • Commit: fda2993

Test stats 🧪

Test Results
Failed 0
Passed 142
Skipped 0
Total 142

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@kuisathaverat kuisathaverat changed the title test: show the disk space fix: do not stash .nvm folder Nov 11, 2021
@kuisathaverat kuisathaverat added bug Something isn't working ci Team:Automation Label for the Observability productivity team labels Nov 11, 2021
Copy link
Member

@vigneshshanmugam vigneshshanmugam left a comment

Choose a reason for hiding this comment

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

Thanks @kuisathaverat for the quick fix.

@vigneshshanmugam vigneshshanmugam merged commit 926e7d8 into elastic:master Nov 11, 2021
v1v added a commit to dominiqueclarke/synthetics that referenced this pull request Nov 22, 2021
…a-fleet-heartbeat-synthetics-e2e-tests

* upstream/master:
  [jjbb] for scheduling e2e jobs (elastic#418)
  docs: release notes for beta.17 (elastic#415)
  1.0.0-beta.17
  feat: add --playwright-options (elastic#405)
  fix: ensure timestamps of events are inorder (elastic#413)
  fix: do not stash `.nvm` folder (elastic#414)
  deprecate suite-params option over params (elastic#406)
  fix: end timestamp should reflect duration (elastic#410)
  docs: release notes for 1.16.0 (elastic#403)
  1.0.0-beta.16
  fix: revert Playwright to 1.14.0 (elastic#402)
  docs: release notes for beta 15 (elastic#400)
  1.0.0-beta.15
  chore: update deps and fix lint issues (elastic#399)
  fix: handle page close during response event (elastic#398)
  chore: require node > 14 for usage (elastic#397)
  fix: fix megabytes to mbps (elastic#394)
  feat: enable trace as part of rich-events (elastic#387)
  feat: use events from PW for network data (elastic#372)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants