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

invalid cross-device link #27

Open
jclab-joseph opened this issue Oct 27, 2023 · 1 comment · May be fixed by #30
Open

invalid cross-device link #27

jclab-joseph opened this issue Oct 27, 2023 · 1 comment · May be fixed by #30

Comments

@jclab-joseph
Copy link

{"created_at":"2023-10-27T02:08:57.997783366Z","namespace":"....test","event":"error copying mongod binary","severity":1,"data":{"filename-from":"/tmp/375639925","filename-to":"/home/myname/.cache/dp-mongodb-in-memory/mongodb-linux-x86_64-ubuntu2004-5.0.2.tgz/mongod"},"errors":[{"message":"rename /tmp/375639925 /home/myname/.cache/dp-mongodb-in-memory/mongodb-linux-x86_64-ubuntu2004-5.0.2.tgz/mongod: invalid cross-device link","stack_trace":[{"file":"/home/myname/go/pkg/mod/github.com/!o!n!sdigital/log.go/[email protected]/log/log.go","line":93,"function":"github.com/ONSdigital/log.go/v2/log.Error"},{"file":"/home/myname/go/pkg/mod/github.com/!o!n!sdigital/[email protected]/download/download.go","line":77,"function":"github.com/ONSdigital/dp-mongodb-in-memory/download.downloadMongoDB"},{"file":"/home/myname/go/pkg/mod/github.com/!o!n!sdigital/[email protected]/download/download.go","line":36,"function":"github.com/ONSdigital/dp-mongodb-in-memory/download.GetMongoDB"},{"file":"/home/myname/go/pkg/mod/github.com/!o!n!sdigital/[email protected]/main.go","line":230,"function":"github.com/ONSdigital/dp-mongodb-in-memory.getOrDownloadBinPath"},{"file":"/home/myname/go/pkg/mod/github.com/!o!n!sdigital/[email protected]/main.go","line":94,"function":"github.com/ONSdigital/dp-mongodb-in-memory.StartWithOptions"},{"file":"/home/myname/go/pkg/mod/github.com/!o!n!sdigital/[email protected]/main.go","line":40,"function":"github.com/ONSdigital/dp-mongodb-in-memory.Start"},{"file":"...test.go","line":15,"function":"..."},{"file":"/home/myname/.programs/go/src/testing/testing.go","line":1595,"function":"testing.tRunner"},{"file":"/home/myname/.programs/go/src/runtime/asm_amd64.s","line":1650,"function":"runtime.goexit"}]}]}

rename /tmp/375639925 /home/myname/.cache/dp-mongodb-in-memory/mongodb-linux-x86_64-ubuntu2004-5.0.2.tgz/mongod: invalid cross-device link
@djosix
Copy link

djosix commented Apr 17, 2024

Same here. My case: caching download directory in GitLab CI pipeline.

@djosix djosix linked a pull request Apr 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants