Running Test Submission

When I attempt to use “make pull” in the directory containing the make file I am getting the error:

“Error response from daemon: manifest for spacecraftpose.azurecr.io/spacecraft-pose-pose-estimation-runtime:latest not found: manifest unknown: manifest tagged by “latest” is not found
make: *** [Makefile:63: pull] Error 1”

I am fairly certain I am logged into azure correctly. Does the image not exist yet? It could be me not authenticated correctly or something. If so, how do I go about that?

Alternatively when I build the docker file in the runtime directory I am able to create the image with no errors. When I run it I get

“+ echo ‘Unexpected network connection found’
Unexpected network connection found”

Might not be running the image correctly. Are there run instructions for launching the docker image?

Hi @Coll1nsvv0rth,

We had a small mistake in the Makefile where the name of the image was wrong. This is now fixed on the main branch (this commit). Please pull the latest changes from GitHub and try make pull again.

As a note, the container registry for this competition’s images are set up for anonymous access. You shouldn’t need to be logged into Azure to pull the images.

2 Likes

Regarding the error:

Unexpected network connection found

If you are trying to directly use docker run, you may see that error. Instead, you should use the Makefile commands we provide for running the container, e.g., make test-submission. There are several runtime configuration settings that are necessary for the entrypoint script to run correctly that make test-submission sets.

That error in particular is triggered if the entrypoint.sh script detects that it’s able to access the public internet. In the real code execution runtime, public internet is blocked. We do so in make test-submission so that you can test your submission under the same conditions.

1 Like

Ok awesome I’m not crazy then lol. Thank you so much! I’ll give it a try and let you know how it goes.

Ok so part 2 of this problem is now on the make pack-example portion.

There error I’m getting when typing:

make pack-example

is

mkdir -p submission/
The syntax of the command is incorrect.
make: *** [Makefile:71: pack-example] Error 1

At this point I have the image in my local docker repository from the pull. Do I have to have to run it with another command afterwords? The files are all on an external drive so I don’t know if that is causing the issue or what pertaining to the permissions.

@Coll1nsvv0rth I can’t reproduce that - here’s what I see starting from a new repo:

❯ git clone git@github.com:drivendataorg/spacecraft-pose-pose-estimation-runtime
Cloning into 'spacecraft-pose-pose-estimation-runtime'...
Enter passphrase for key '/home/isaac/.ssh/id_rsa':
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 24 (delta 2), reused 24 (delta 2), pack-reused 0
Receiving objects: 100% (24/24), 17.66 KiB | 8.83 MiB/s, done.
Resolving deltas: 100% (2/2), done.
❯ cd spacecraft-pose-pose-estimation-runtime/
❯ make pull
docker pull spacecraftpose.azurecr.io/spacecraft-pose-pose-estimation:latest
latest: Pulling from spacecraft-pose-pose-estimation
c57ee5000d61: Pull complete
afa31afb11ea: Pull complete
0cf6180f490f: Pull complete
4f4fb700ef54: Pull complete
95e1b5b94703: Pull complete
18cb1390637a: Pull complete
82ece9ad4914: Pull complete
a2ac5b208182: Pull complete
b4e73c8cdfe3: Pull complete
e2bf3ee96fec: Pull complete
0c01e359d3c8: Pull complete
c62c46075da4: Pull complete
276d152a33be: Pull complete
c649a96ebf9a: Pull complete
943b1200b64f: Pull complete
89bb8ddae27b: Pull complete
308048bed45a: Pull complete
74f909d438a0: Pull complete
48fa4807b7b8: Pull complete
Digest: sha256:1eece0d3c84c86309e9465a2b62348335f97a3530a3c6af1c56c2f2d3296739c
Status: Downloaded newer image for spacecraftpose.azurecr.io/spacecraft-pose-pose-estimation:latest
spacecraftpose.azurecr.io/spacecraft-pose-pose-estimation:latest
❯ make pack-example
mkdir -p submission/
cd example_src; zip -r ../submission/submission.zip ./*
  adding: main.py (deflated 61%)
  adding: main.sh (deflated 32%)

Can you give us some more background info on what OS you’re running? And also show the output of mkdir --version?