Giter Site home page Giter Site logo

Comments (6)

estesp avatar estesp commented on June 28, 2024

@cwsolee any ideas?

from continuity.

cwsolee avatar cwsolee commented on June 28, 2024

Looks like u're(@tonistiigi) using Ubuntu 17, we tried on Ubuntu 16.04 with 1.10.1 go from https://storage.googleapis.com/golang/go1.10.1.linux-s390x.tar.gz and seems ok. All we're tried is git clone https://github.com/containerd/continuity.git then make.

from continuity.

tonistiigi avatar tonistiigi commented on June 28, 2024

@cwsolee You can test it with:

> docker run --rm tonistiigi/s390x-fs-test fs.test --test.run TestCopyDirectory
Unable to find image 'tonistiigi/s390x-fs-test:latest' locally
latest: Pulling from tonistiigi/s390x-fs-test
e5d7a290acc2: Already exists
ad01149bcd3b: Already exists
693f28fb14ad: Pull complete
Digest: sha256:a5d070c9e0549c1c2e5b3a7be618c526d59ff70f644e2efeba673c8d7edd4d42
Status: Downloaded newer image for tonistiigi/s390x-fs-test:latest
--- FAIL: TestCopyDirectory (0.00s)
    copy_test.go:47: Copy test failed: operation not permitted
        copy file range failed

I built the image with:

> go test -c ./fs
> docker build -t tonistiigi/s390x-fs-test -f - . <<EOF
from alpine
copy fs.test /bin/
EOF

Sending build context to Docker daemon  13.64MB
Step 1/2 : from alpine
 ---> 0be87466cf96
Step 2/2 : copy fs.test /bin/
 ---> 61e630d98e7d
Successfully built 61e630d98e7d
Successfully tagged tonistiigi/s390x-fs-test:latest

from continuity.

tonistiigi avatar tonistiigi commented on June 28, 2024

go version if that can matter:

> go version
go version go1.11 linux/s390x

from continuity.

cwsolee avatar cwsolee commented on June 28, 2024

Ok, your combination is a bit different from what we've tried, will re-try with yours.

from continuity.

cwsolee avatar cwsolee commented on June 28, 2024

Which distro are u using as host? I thought u're using Ubuntu 17 but your kernel level is what Ubuntu 16.04 has. It might not be relevant in this case, just curious. What about docker version? Another findings, your image is using alpine as base, we see the same problem but changing it to ubuntu 16.04 will be ok. My team don't work with alpine much, not sure why alpine failed but I think alpine could be the root cause here. U can raise issue with alpine community, I did the same when I found problem on alpine too.

from continuity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.