Running with gitlab-runner 12.3.0 (a8a019e0)  on hamara gitlab runner to build and copy hamara packages to aptly 1854f622 section_start:1569002188:prepare_executor Using Shell executor... section_end:1569002188:prepare_executor section_start:1569002188:prepare_script Running on 1cde14b17e19... section_end:1569002188:prepare_script section_start:1569002188:get_sources Fetching changes... Reinitialized existing Git repository in /home/gitlab-runner/builds/1854f622/0/unixia/hamara-packages/.git/ Checking out 3d06330b as compact-gitlab-ci... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1569002192:get_sources section_start:1569002192:restore_cache section_end:1569002192:restore_cache section_start:1569002192:download_artifacts section_end:1569002192:download_artifacts section_start:1569002192: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://archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security 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.2). 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 lightdm-webkit-greeter-hamara dpkg-buildpackage: info: source version 2.0 dpkg-buildpackage: info: source distribution namaste dpkg-buildpackage: info: source changed by I Sagar dpkg-source --before-build lightdm-webkit-greeter-hamara dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean dpkg-source -b lightdm-webkit-greeter-hamara dpkg-source: info: using source format '3.0 (native)' dpkg-source: info: building lightdm-webkit-greeter-hamara in lightdm-webkit-greeter-hamara_2.0.tar.xz dpkg-source: info: building lightdm-webkit-greeter-hamara in lightdm-webkit-greeter-hamara_2.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_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'lightdm-webkit-greeter-hamara' in '../lightdm-webkit-greeter-hamara_2.0_all.deb'. dpkg-genbuildinfo dpkg-genchanges >../lightdm-webkit-greeter-hamara_2.0_amd64.changes dpkg-genchanges: info: including full source code in upload dpkg-source --after-build lightdm-webkit-greeter-hamara dpkg-buildpackage: info: full upload; Debian-native package (full source is included) $ ls -al / total 108 drwxr-xr-x. 1 root root 4096 Sep 20 08:54 . drwxr-xr-x. 1 root root 4096 Sep 20 08:54 .. -rwxr-xr-x. 1 root root 0 Sep 20 08:54 .dockerenv drwxr-xr-x. 1 root root 4096 Sep 20 17:49 bin drwxr-xr-x. 2 root root 4096 Apr 24 2018 boot drwxr-xr-x. 5 root root 340 Sep 20 08:54 dev -rwxrwxrwx. 1 root root 687 Sep 20 08:16 entrypoint drwxr-xr-x. 1 root root 4096 Sep 20 17:49 etc drwxr-xr-x. 3 root root 4096 Sep 20 08:17 home drwxr-xr-x. 1 root root 4096 Sep 20 17:49 lib drwxr-xr-x. 2 root root 4096 Sep 12 20:53 lib64 drwxr-xr-x. 2 root root 4096 Sep 12 20:53 media drwxr-xr-x. 2 root root 4096 Sep 12 20:53 mnt drwxr-xr-x. 2 root root 4096 Sep 12 20:53 opt dr-xr-xr-x. 615 root root 0 Sep 20 08:54 proc drwx------. 1 root root 4096 Sep 20 17:43 root drwxr-xr-x. 1 root root 4096 Sep 20 17:42 run drwxr-xr-x. 1 root root 4096 Sep 20 17:49 sbin drwxr-xr-x. 2 root root 4096 Sep 12 20:53 srv dr-xr-xr-x. 13 root root 0 May 13 15:18 sys drwxrwxrwt. 1 root root 4096 Sep 20 17:56 tmp drwxr-xr-x. 1 root root 4096 Sep 12 20:53 usr drwxr-xr-x. 1 root root 4096 Sep 12 20:54 var $ echo "Deploying packages to repositories" Deploying packages to repositories $ scp -P 3222 -r ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo root@aptly:/packages/ ssh: connect to host aptly port 3222: Connection refused lost connection section_end:1569002209:build_script section_start:1569002209:after_script section_end:1569002209:after_script section_start:1569002209:upload_artifacts_on_failure section_end:1569002209:upload_artifacts_on_failure ERROR: Job failed: exit status 1