Skip to content

GESIS server fails when pushing the image #3253

@rgaiacs

Description

@rgaiacs

I tested the GESIS server with the "empty" Git repository https://github.com/rgaiacs/mwe4mybinder.org and the user log shows

Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2docker7j5zbjeh'...
HEAD is now at f1c2b5a Initial commit
Python version unspecified, using current default Python version 3.10. This will change in the future.Building conda environment for python=3.10
Using PythonBuildPack builder
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 4.85kB done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/buildpack-deps:jammy
#2 DONE 0.6s

#3 [ 1/32] FROM docker.io/library/buildpack-deps:jammy@sha256:1a63cc50ec6f4f45440121af59c47f78ca390607714ac0886c1588d118526b40
#3 DONE 0.0s

#4 [13/18] RUN chown jovyan:jovyan /home/jovyan
#4 CACHED

#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 55.42kB 0.0s done
#6 DONE 0.0s

#7 [11/16] RUN if [ ! -d "/home/jovyan" ]; then         /usr/bin/install -o jovyan -g jovyan -d "/home/jovyan";     fi
#7 CACHED

#8 [ 7/16] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e10-2dlinux-2d64-2elock-2bb6e8 /tmp/env/environment.lock
#8 CACHED

#9 [ 3/32] RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen &&     locale-gen
#9 CACHED

#10 [ 9/16] RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env
#10 CACHED

#11 [13/16] RUN chown jovyan:jovyan /home/jovyan
#11 CACHED

#12 [ 4/32] RUN groupadd         --gid 1000         jovyan &&     useradd         --comment "Default user"         --create-home         --gid 1000         --no-log-init         --shell /bin/bash         --uid 1000         jovyan
#12 CACHED

#13 [ 5/32] RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends        gettext-base        less        unzip        > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
#13 CACHED

#14 [12/16] WORKDIR /home/jovyan
#14 CACHED

#15 [ 8/16] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-637204 /tmp/install-base-env.bash
#15 CACHED

#16 [ 2/32] RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends locales > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
#16 CACHED

#17 [10/16] RUN mkdir -p /srv/npm && chown -R jovyan:jovyan /srv/npm
#17 CACHED

#18 [ 6/16] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-e67d51 /etc/profile.d/activate-conda.sh
#18 CACHED

#19 [14/16] COPY --chown=1000:1000 src/ /home/jovyan/
#19 DONE 0.0s

#20 [15/16] COPY /python3-login /usr/local/bin/python3-login
#20 DONE 0.0s

#21 [16/16] COPY /repo2docker-entrypoint /usr/local/bin/repo2docker-entrypoint
#21 DONE 0.1s

#22 exporting to image
#22 exporting layers 0.0s done
#22 writing image sha256:cf74014e1a659ce70af34eeb807f439089263ff61a87ab84dd71fadf9f7aee71 done
#22 naming to docker.io/gesiscss/binder-r2d-g5b5b759-rgaiacs-2dmwe4mybinder-2eorg-5c5529:f1c2b5a658c819212139ef8b82ad335055f6c41d done
#22 DONE 0.0s

#23 pushing gesiscss/binder-r2d-g5b5b759-rgaiacs-2dmwe4mybinder-2eorg-5c5529:f1c2b5a658c819212139ef8b82ad335055f6c41d with docker
#23 pushing layer 3fe195e5c769
#23 pushing layer 7416ce608053
#23 pushing layer 2d85a96be1ce
#23 pushing layer ae098c20d483
#23 pushing layer 5f70bf18a086
#23 pushing layer 45cf5b5745c2
#23 pushing layer 7e5d8dc46f59
#23 pushing layer cdc321148327
#23 pushing layer f57802063fea
#23 pushing layer 468f61133dd2
#23 pushing layer d3e42451921b
#23 pushing layer cff0c8b3a131
#23 pushing layer 0a72ce9f0ac6
#23 pushing layer 330a3443e078
#23 pushing layer a3e1a9f8dd1f
#23 pushing layer 3088d1636682
#23 pushing layer b7d4ab99ea66
#23 pushing layer 270a1170e7e3
#23 pushing layer 3fe195e5c769 0.9s done
#23 pushing layer 7416ce608053 0.9s done
#23 pushing layer 2d85a96be1ce 0.9s done
#23 pushing layer ae098c20d483 0.9s done
#23 pushing layer 5f70bf18a086 0.9s done
#23 pushing layer 45cf5b5745c2 0.9s done
#23 pushing layer 7e5d8dc46f59 0.9s done
#23 pushing layer cdc321148327 0.9s done
#23 pushing layer f57802063fea 0.9s done
#23 pushing layer 468f61133dd2 0.9s done
#23 pushing layer d3e42451921b 0.9s done
#23 pushing layer cff0c8b3a131 0.9s done
#23 pushing layer 0a72ce9f0ac6 0.9s done
#23 pushing layer 330a3443e078 0.9s done
#23 pushing layer a3e1a9f8dd1f 0.9s done
#23 pushing layer 3088d1636682 0.9s done
#23 pushing layer b7d4ab99ea66 0.9s done
#23 pushing layer 270a1170e7e3 0.9s done
#23 ERROR: denied: requested access to the resource is denied
------
 > pushing gesiscss/binder-r2d-g5b5b759-rgaiacs-2dmwe4mybinder-2eorg-5c5529:f1c2b5a658c819212139ef8b82ad335055f6c41d with docker:
------
ERROR: denied: requested access to the resource is denied
Error during build: Command '['docker', 'buildx', 'build', '--progress', 'plain', '--push', '--build-arg', 'NB_USER=jovyan', '--build-arg', 'NB_UID=1000', '--tag', 'gesiscss/binder-r2d-g5b5b759-rgaiacs-2dmwe4mybinder-2eorg-5c5529:f1c2b5a658c819212139ef8b82ad335055f6c41d', '--platform', 'linux/amd64', '/tmp/tmpzmpw3wvj']' returned non-zero exit status 1.

This is happening after #3225 when mybinder.org started using docker buildx. My understanding of the error is that the credentials to the container registry used by GESIS are incorrect. But they were not changed.

@yuvipanda could you point to me where to configure the credentials used by docker buildx? Thanks!

cc @arnim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions