Running with gitlab-runner 12.5.0 (577f813d)  on 518be4d369ef 6b4a6721 section_start:1577714385:prepare_executor Using Shell executor... section_end:1577714385:prepare_executor section_start:1577714385:prepare_script Running on 518be4d369ef... section_end:1577714385:prepare_script section_start:1577714385:get_sources Fetching changes... Reinitialized existing Git repository in /home/gitlab-runner/builds/6b4a6721/0/unixia/hamara-packages/.git/ Checking out 0c0d2cb3 as compact-gitlab-ci... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1577714389:get_sources section_start:1577714389:restore_cache section_end:1577714389:restore_cache section_start:1577714389:download_artifacts section_end:1577714389:download_artifacts section_start:1577714389:build_script $ export DEBIAN_FRONTEND=noninteractive $ echo "Preparing the container for builds" Preparing the container for builds $ sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Building dependency tree... Reading state information... All packages are up to date. $ sudo apt-get -y upgrade Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ sudo apt-get -y dist-upgrade Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ sudo apt-get -y install apt-utils figlet dpkg-dev fakeroot git-buildpackage lintian pristine-tar Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.22-2ubuntu1). lintian is already the newest version (2.5.81ubuntu1). figlet is already the newest version (2.2.5-3). git-buildpackage is already the newest version (0.9.8). pristine-tar is already the newest version (1.42). apt-utils is already the newest version (1.6.12). dpkg-dev is already the newest version (1.19.0.5ubuntu2.3). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ figlet BUILD ____ _ _ ___ _ ____ | __ )| | | |_ _| | | _ \ | _ \| | | || || | | | | | | |_) | |_| || || |___| |_| | |____/ \___/|___|_____|____/ $ cd packages/$CI_JOB_STAGE $ export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` $ sudo apt-get install -y --no-install-recommends $BUILD_DEPENDS Reading package lists... Building dependency tree... Reading state information... debhelper is already the newest version (11.1.6ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ sudo apt-get -y autoremove --purge Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ sudo apt-get clean $ sudo rm -rf /var/lib/apt/lists/* $ dpkg-buildpackage -us -uc dpkg-buildpackage: info: source package hamara-welcome dpkg-buildpackage: info: source version 1.0 dpkg-buildpackage: info: source distribution namaste dpkg-buildpackage: info: source changed by Raju Devidas dpkg-source --before-build hamara-welcome dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean dpkg-source -b hamara-welcome dpkg-source: info: using source format '3.0 (native)' dpkg-source: info: building hamara-welcome in hamara-welcome_1.0.tar.xz dpkg-source: info: building hamara-welcome in hamara-welcome_1.0.dsc debian/rules build dh build dh_update_autotools_config dh_autoreconf create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_installdirs dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package hamara-welcome: unknown substitution variable ${shlibs:Depends} dh_md5sums dh_builddeb dpkg-deb: building package 'hamara-welcome' in '../hamara-welcome_1.0_all.deb'. dpkg-genbuildinfo dpkg-genchanges >../hamara-welcome_1.0_amd64.changes dpkg-genchanges: info: including full source code in upload dpkg-source --after-build hamara-welcome dpkg-buildpackage: info: full upload; Debian-native package (full source is included) $ ls -al / total 108 drwxr-xr-x. 1 root root 4096 Dec 30 12:58 . drwxr-xr-x. 1 root root 4096 Dec 30 12:58 .. -rwxr-xr-x. 1 root root 0 Dec 30 12:58 .dockerenv drwxr-xr-x. 1 root root 4096 Dec 30 13:41 bin drwxr-xr-x. 2 root root 4096 Apr 24 2018 boot drwxr-xr-x. 5 root root 340 Dec 30 12:58 dev -rwxrwxrwx. 1 root root 687 Nov 20 09:21 entrypoint drwxr-xr-x. 1 root root 4096 Dec 30 13:49 etc drwxr-xr-x. 3 root root 4096 Nov 20 09:23 home drwxr-xr-x. 1 root root 4096 Dec 30 13:41 lib drwxr-xr-x. 2 root root 4096 Oct 29 21:25 lib64 drwxr-xr-x. 2 root root 4096 Oct 29 21:25 media drwxr-xr-x. 2 root root 4096 Oct 29 21:25 mnt drwxr-xr-x. 2 root root 4096 Oct 29 21:25 opt dr-xr-xr-x. 650 root root 0 Dec 30 12:58 proc drwx------. 1 root root 4096 Dec 30 13:36 root drwxr-xr-x. 1 root root 4096 Dec 30 13:34 run drwxr-xr-x. 1 root root 4096 Dec 30 13:41 sbin drwxr-xr-x. 2 root root 4096 Oct 29 21:25 srv dr-xr-xr-x. 13 root root 0 May 13 2019 sys drwxrwxrwt. 1 root root 4096 Dec 30 14:00 tmp drwxr-xr-x. 1 root root 4096 Oct 29 21:25 usr drwxr-xr-x. 1 root root 4096 Oct 29 21:25 var $ echo "Deploying packages to repositories" Deploying packages to repositories $ mkdir $CI_JOB_STAGE mkdir: cannot create directory 'hamara-welcome': File exists section_end:1577714405:build_script section_start:1577714405:after_script section_end:1577714405:after_script section_start:1577714405:upload_artifacts_on_failure section_end:1577714405:upload_artifacts_on_failure ERROR: Job failed: exit status 1