question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Volume mount issue

See original GitHub issue

Hi Team,

Just started using site speed and facing an issue while using it. When I run site speed on my local its mounting the volume and I am able to see the reports.

However, when I run the same command through Jenkins slave, I am not able to archive the folder because of volume, not mount issue.

Below is the command which I am running on Jenkins slave

docker run --shm-size=1g --rm -v "$(pwd)"/reports/sitespeed:/sitespeed.io sitespeedio/sitespeed.io:7.4.0 --video false --visualMetrics false --outputFolder output https://xyz.com

archiveArtifacts 'reports/sitespeed/output/**'

“$(pwd)”/reports/sitespeed do exist in docker image but no output folder inside it. Can you please help me to which I am missing?

Thanks,

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
clsahu25commented, Oct 5, 2018

Hi Peter,

It’s working now. My jenkins slave is a docker container and inside that, site speed again a docker container. But now it’s working through below steps

                    docker run --name sitespeed sitespeedio/sitespeed.io:7.4.0 https://xyz.com
                    docker start sitespeed
                    docker cp sitespeed:/sitespeed.io reports/sitespeed/
                    docker stop sitespeed

It’s working for me now, and I am getting reports from Jenkins.

Thanks, Chhannu

0reactions
soulgalorecommented, Oct 5, 2018

Hi @clsahu25 are your agent also a Docker container? Have you tried something like this: docker run --shm-size=1g --rm -v $WORKSPACE:/sitespeed.io sitespeedio/sitespeed.io:7.4.0 https://xyz.com

Just want to simplify as much as possible.

Best Peter

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot volume errors - Docker Documentation
This topic discusses errors which may occur when you use Docker volumes or bind mounts. Error: Unable to remove filesystem. Some container-based utilities, ......
Read more >
Troubleshooting Kubernetes FailedAttachVolume and ...
When working with Persistent Volumes, two common issues often seen with Kubernetes are FailedAttachVolume and FailedMount. These errors generally mean there ...
Read more >
Docker Volumes mounting issue - Stack Overflow
The issue lies in that if the mount point on the host does not exist the docker command creates it but assigns it...
Read more >
Troubleshoot Amazon EFS volume mount issues in ... - AWS
Verify that the mount targets are configured correctly · Verify that the security group associated with your EFS file system allows NFS traffic....
Read more >
CentOS 8 volume mount not working · Issue #2291 - GitHub
Describe the bug As per docs, I am using below command to locally mount volumes that are mounted to Pods. telepresence intercept nginx80 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found