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

Can't run docker version #32

Open
coke opened this issue Jul 30, 2023 · 9 comments
Open

Can't run docker version #32

coke opened this issue Jul 30, 2023 · 9 comments

Comments

@coke
Copy link
Contributor

coke commented Jul 30, 2023

Trying to get a blin run working (on a mac m2 with docker installed), I see the following issue: either my old/new endpoints are not found (esp. with the defaults), or if they are, I get a bus error:

docker/dblin --old=2022.02 --new=2022.11 App::Uni
Using default tag: latest
latest: Pulling from rakudo/blin
Digest: sha256:6c65b28728b5e0e6913590a35c13ef35d27e7f9033b6e1b11b21faa01a7247d0
Status: Image is up to date for rakudo/blin:latest
docker.io/rakudo/blin:latest
Running Blin with parameters: --old=2022.02 --new=2022.11 App::Uni
🥞 Prep
🥞 Will use up to 4 threads for testing modules
Already up to date.
Already up to date.
🥞 Will compare between 2022.02 and 2022.11
🥞 Ensuring zef checkout
Already up to date.
🥞 Creating a config file for zef
/entrypoint.sh: line 5:     8 Bus error               bin/blin.p6 $@

Doesn't matter what the old/new are (as long as they are found), and it doesn't matter which module is being testing.

@jdv
Copy link
Contributor

jdv commented Jan 22, 2024

Maybe 8479093 fixed something for you? That commit allows me to run it locally now.

@AlexDaniel
Copy link
Member

AlexDaniel commented Jan 22, 2024

That commit says the following:

  • upgrade docker image to debian 12 and related because the
    mothership started building on debian 12 randomly and breakage
    ensued

The underlying issue has been resolved in whateverable itself about 3 months ago. From now on whateverable bots will run on rakudo-star:2023.08 image and this is not going to change for a long time. This does mean running on a relatively old and stable debian version. And yes, I had to rebuild thousands of builds to make that happen :)

@coke
Copy link
Contributor Author

coke commented Jan 22, 2024

did a git pull in the blin repo, same error.

docker/dblin --old=2022.02 --new=2022.11 App::Uni
Using default tag: latest
latest: Pulling from rakudo/blin
8d691f585fa8: Pull complete
375291cbd06c: Pull complete
8fe88dbb42bb: Pull complete
3b0cd948c190: Pull complete
af98e35b8366: Pull complete
ff0efd54f835: Pull complete
9a1ba24dfb8a: Pull complete
Digest: sha256:6c65b28728b5e0e6913590a35c13ef35d27e7f9033b6e1b11b21faa01a7247d0
Status: Downloaded newer image for rakudo/blin:latest
docker.io/rakudo/blin:latest
Running Blin with parameters: --old=2022.02 --new=2022.11 App::Uni
🥞 Prep
/entrypoint.sh: line 5:     8 Bus error               bin/blin.p6 $@
git rev-parse HEAD
84790935b9e401f12b0679c7e964be853c29a001

@coke
Copy link
Contributor Author

coke commented Jan 22, 2024

Tried multiple times, one run I got this:

docker/dblin --old=2022.02 --new=2022.11 App::Uni
Using default tag: latest
latest: Pulling from rakudo/blin
Digest: sha256:6c65b28728b5e0e6913590a35c13ef35d27e7f9033b6e1b11b21faa01a7247d0
Status: Image is up to date for rakudo/blin:latest
docker.io/rakudo/blin:latest
Running Blin with parameters: --old=2022.02 --new=2022.11 App::Uni
🥞 Prep
🥞 Will use up to 4 threads for testing modules
Cloning into '/mnt/Blin/data/moarvm'...
remote: Enumerating objects: 101341, done.
remote: Counting objects: 100% (486/486), done.
remote: Compressing objects: 100% (249/249), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Already up to date.
The spawned command 'git' exited unsuccessfully (exit code: 1)
  in sub pull-cloned-repos at /opt/rakudo-pkg/share/perl6/site/sources/160485787F30FD706B0AA5A34376D1A80538468D (Whateverable::Builds) line 50
  in sub MAIN at bin/blin.p6 line 115
  in block <unit> at bin/blin.p6 line 11

@coke
Copy link
Contributor Author

coke commented Jan 22, 2024

Another run failed this way:

🥞 Creating a config file for zef
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
----------------------------------------------------
Content Storage                  |Distribution Count
----------------------------------------------------
Zef::Repository::Ecosystems<cpan>|1916
Zef::Repository::LocalCache      |0
Zef::Repository::Ecosystems<p6c> |702
----------------------------------------------------
🥞 Testing start and end points
End point not found
  in sub MAIN at bin/blin.p6 line 156
  in block <unit> at bin/blin.p6 line 11

@coke
Copy link
Contributor Author

coke commented Jan 22, 2024

The failure line changes ever so often: varieties that I see:

/entrypoint.sh: line 5:     9 Bus error               bin/blin.p6 $@
/entrypoint.sh: line 5:     8 Bus error               bin/blin.p6 $@
/entrypoint.sh: line 5:     7 Bus error               bin/blin.p6 $@

@AlexDaniel
Copy link
Member

All those errors don't seem to be related to Blin 🤔 The only interesting one is perhaps “End point not found”.

@coke
Copy link
Contributor Author

coke commented Jan 22, 2024

This seems to have helped, running on the host mac:

mkdir /var/tmp/Blin-volume/
chmod 777 /var/tmp/Blin-volume/

It tried to git clone some repos, died, and then refused to rerun:

$ docker/dblin --old=2022.02 --new=2023.11 App::Uni
Using default tag: latest
latest: Pulling from rakudo/blin
Digest: sha256:6c65b28728b5e0e6913590a35c13ef35d27e7f9033b6e1b11b21faa01a7247d0
Status: Image is up to date for rakudo/blin:latest
docker.io/rakudo/blin:latest
Running Blin with parameters: --old=2022.02 --new=2023.11 App::Uni
🥞 Prep
🥞 Will use up to 4 threads for testing modules
Cloning into '/mnt/Blin/data/rakudo-moar'...
remote: Enumerating objects: 234762, done.
remote: Counting objects: 100% (1479/1479), done.
remote: Compressing objects: 100% (512/512), done.
error: RPC failed; curl 16 Error in the HTTP2 framing layerKiB/s
fatal: the remote end hung up unexpectedly
fatal: early EOFs:  20% (47617/234762), 17.48 MiB | 415.00 KiB/s
fatal: index-pack failed
Cloning into '/mnt/Blin/data/moarvm'...
remote: Enumerating objects: 101341, done.
remote: Counting objects: 100% (486/486), done.
remote: Compressing objects: 100% (249/249), done.
error: RPC failed; curl 16 Error in the HTTP2 framing layerKiB/s
fatal: the remote end hung up unexpectedly.05 MiB | 685.00 KiB/s
fatal: early EOF
fatal: index-pack failed
The spawned command 'git' exited unsuccessfully (exit code: 1)
  in sub pull-cloned-repos at /opt/rakudo-pkg/share/perl6/site/sources/160485787F30FD706B0AA5A34376D1A80538468D (Whateverable::Builds) line 49
  in sub MAIN at bin/blin.p6 line 115
  in block <unit> at bin/blin.p6 line 11

$ docker/dblin --old=2022.02 --new=2023.11 App::Uni
Using default tag: latest
latest: Pulling from rakudo/blin
Digest: sha256:6c65b28728b5e0e6913590a35c13ef35d27e7f9033b6e1b11b21faa01a7247d0
Status: Image is up to date for rakudo/blin:latest
docker.io/rakudo/blin:latest
Running Blin with parameters: --old=2022.02 --new=2023.11 App::Uni
/bin/cp: cannot create regular file '/mnt/Blin/.git/objects/pack/pack-b68eab79a4a9adf892e2f43091f80dffb552581f.idx': Operation not permitted
/bin/cp: cannot create regular file '/mnt/Blin/.git/objects/pack/pack-b68eab79a4a9adf892e2f43091f80dffb552581f.pack': Operation not permitted

@coke
Copy link
Contributor Author

coke commented Jan 22, 2024

All those errors don't seem to be related to Blin 🤔 The only interesting one is perhaps “End point not found”.

is anyone else using the docker version??

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

No branches or pull requests

3 participants