potiuk commented on issue #4938: [AIRFLOW-4117] Multi-staging Image - Travis CI 
tests [Step 3/3]
URL: https://github.com/apache/airflow/pull/4938#issuecomment-511178496
 
 
   @ashb - the problem with debian buster (at least the first that Docker 
builds failed with) was missing openjdk8 when building the full CI image. I 
think it's just the matter of bumping it to higher java version but I did not 
want to experiment to switch to buster just yet :). I'd rather do it later as 
separate task or when we do production image. The slim image built just fine, 
no problems at least at the build stage, it was only the full CI image used to 
run tests that failed.
   
   BTW. The nice thing that happened - was that the script is written in such 
way that it won't push neither of the images if one of them fail :). Pretty 
cool: nearly atomic upload of several related images.
   
   You can see the failed builds here (the two recently failed builds) 
https://cloud.docker.com/u/apache/repository/docker/apache/airflow/timeline
   
   Here is the relevant Docker step:
   
   ```
   Step 24/101 : RUN if [[ "${APT_DEPS_IMAGE}" == "airflow-apt-deps-ci" ]]; 
then mkdir -pv /usr/share/man/man1 && mkdir -pv /usr/share/man/man7 && apt-get 
update && apt-get install --no-install-recommends -y gnupg krb5-user ldap-utils 
less lsb-release net-tools openjdk-8-jdk openssh-client openssh-server 
postgresql-client python-selinux sqlite3 tmux unzip vim && apt-get autoremove 
-yqq --purge && apt-get clean && rm -rf /var/lib/apt/lists/* ; fi
   ---> Running in 244b5af842f2
   + [[ airflow-apt-deps-ci == \a\i\r\f\l\o\w\-\a\p\t\-\d\e\p\s\-\c\i ]]
   + mkdir -pv /usr/share/man/man1
   + mkdir -pv /usr/share/man/man7
   mkdir: created directory '/usr/share/man/man1'
   mkdir: created directory '/usr/share/man/man7'
   + apt-get update
   Get:1 http://repo.mysql.com/apt/ubuntu trusty InRelease [33.5 kB]
   Get:2 http://security.debian.org/debian-security buster/updates InRelease 
[39.1 kB]
   Get:3 https://deb.nodesource.com/node_10.x buster InRelease [4584 B]
   Get:4 http://deb.debian.org/debian buster InRelease [118 kB]
   Get:5 http://deb.debian.org/debian buster-updates InRelease [46.8 kB]
   Get:6 http://repo.mysql.com/apt/ubuntu trusty/mysql-5.6 amd64 Packages [2914 
B]
   Get:7 http://security.debian.org/debian-security buster/updates/main amd64 
Packages [11.9 kB]
   Get:8 https://deb.nodesource.com/node_10.x buster/main amd64 Packages [767 B]
   Get:9 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB]
   Fetched 8155 kB in 4s (2113 kB/s)
   Reading package lists...
   + apt-get install --no-install-recommends -y gnupg krb5-user ldap-utils less 
lsb-release net-tools openjdk-8-jdk openssh-client openssh-server 
postgresql-client python-selinux sqlite3 tmux unzip vim
   Reading package lists...
   Building dependency tree...
   Reading state information...
   E: Unable to locate package openjdk-8-jdk
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to