Hi,
I attempted to submit the Q1 example as a test without making any changes. Unfortunately, it failed with the following error in the logs:
STDERR: 2021-02-04T15:53:33.385642963Z Traceback (most recent call last):
STDERR: 2021-02-04T15:53:33.385646013Z File "validate_docker.py", line 65, in
STDERR: 2021-02-04T15:53:33.385649633Z labels = blob_resp.json()['container_config']['Labels']
STDERR: 2021-02-04T15:53:33.385652793Z KeyError: 'container_config'
STDERR: 2021-02-04T15:53:33.385655843Z [job validate_docker.cwl] Max memory used: 0MiB
STDERR: 2021-02-04T15:53:33.385658883Z INFO:cwltool:[job validate_docker.cwl] Max memory used: 0MiB
STDERR: 2021-02-04T15:53:33.385662003Z [job validate_docker.cwl] Job error:
STDERR: 2021-02-04T15:53:33.385665043Z ("Error collecting output for parameter 'results':\ncovid19-challenge-master/infrastructure/validate_docker.cwl:163:7: Did not find output file with glob pattern: '['results.json']'", {})
STDERR: 2021-02-04T15:53:33.385672193Z ERROR:cwltool:[job validate_docker.cwl] Job error:
STDERR: 2021-02-04T15:53:33.385675433Z ("Error collecting output for parameter 'results':\ncovid19-challenge-master/infrastructure/validate_docker.cwl:163:7: Did not find output file with glob pattern: '['results.json']'", {})
STDERR: 2021-02-04T15:53:33.385679043Z [job validate_docker.cwl] completed permanentFail
STDERR: 2021-02-04T15:53:33.385682053Z WARNING:cwltool:[job validate_docker.cwl] completed permanentFail
Since then I have also tried the following, but all resulted in the same error:
- Submitting the Q2 example
- Uploading from a different computer (Mac instead of PC)
- Uploading/submitting from a different Synapse account (jgreen) on the same team
I searched for "container_config" and "Labels" in the example files, but did not see any reference. Additionally, I did not see validate_docker.py, so I cannot tell what it is attempting to do.
Please let me know what I should try next.
Thank you,
Jeff
Created by Jeff Green jeff_green Hello @jeff_green,
Thanks for catching this. You should see the latest table now.
Best,
Tom Awesome, thank you so much, Tom!
By the way, when checking the Question 1 Results page, I noticed the Latest table is filtered by dataset version 12-23-2020 but it looks like there is now a newer version (1-26-2021), so recent submissions including ours may not appear in the Latest table.
Thanks again for your help! Hi @jeff_green,
Thanks for catching this error! I have made the changes to my code - and I restarted your submission, It succeeded.
If you want some details: when you do `docker inspect ....` on your docker image, you get information about your image. I'm not sure why, but almost all this time, the labels are stored in both "ContainerConfig" and "Config", so I have been using "ContainerConfig", but in your case, the labels were not stored under "ContainerConfig" and only "Config"
Best,
Tom I am using Docker version 20.10.2, build 2291f61. I tried on both Windows 10 and Mac Big Sur v11.0.1 with that same version. Hi @jeff_green,
Apologies for the inconvenience, I will take a closer look at your submission when I get the chance. Meanwhile, can you provide me with the version of docker you are using:
docker -v or docker --version. (I forget which one and currently not by a computer to check)
Best,
Tom Hi,
Thank you for your quick reply!
I just used the same Dockerfile that was included with the example. The first time, I edited the description, but after that failed, I reverted and stopped making any changes to the file at all on subsequent attempts. It looks like the file does have those same LABELS.
Hello @jeff_green,
Apologies for the error, this code is attempting to validate the LABELs that you set on a Dockerfile: https://github.com/Sage-Bionetworks-Challenges/ehr-dream-challenges/blob/master/examples/covid19-question-1/Dockerfile#L4.
Do you have these in your Dockerfile?
Best,
Tom
Drop files to upload
KeyError: 'container_config' after submitting Q1 and Q2 examples page is loading…