Running with gitlab-runner 13.7.0 (943fc252)  on da57cb368bce 3b695439 section_start:1610642440:prepare_executor Preparing the "shell" executor Using Shell executor... section_end:1610642440:prepare_executor section_start:1610642440:prepare_script Preparing environment Running on da57cb368bce... section_end:1610642440:prepare_script section_start:1610642440:get_sources Getting source from Git repository Fetching changes... Reinitialized existing Git repository in /home/gitlab-runner/builds/3b695439/0/hamara-developers/hamara-packages/.git/ Checking out d004c748 as hamara-sugam... Removing packages/hamara-welcome/debian/.debhelper/ Removing packages/hamara-welcome/debian/debhelper-build-stamp Removing packages/hamara-welcome/debian/files Removing packages/hamara-welcome/debian/hamara-welcome.substvars Removing packages/hamara-welcome/debian/hamara-welcome/ Removing packages/hamara-welcome_1.0.1.dsc Removing packages/hamara-welcome_1.0.1.tar.xz Removing packages/hamara-welcome_1.0.1_all.deb Removing packages/hamara-welcome_1.0.1_amd64.buildinfo Removing packages/hamara-welcome_1.0.1_amd64.changes Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1610642443:get_sources section_start:1610642443:step_script Executing "step_script" stage of the job 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. Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB] Get:3 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [551 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [741 B] Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [140 kB] Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [650 kB] Get:10 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] Get:11 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [961 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [173 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [22.0 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [905 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [4301 B] Fetched 16.8 MB in 8s (2131 kB/s) 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... dpkg-dev is already the newest version (1.19.7ubuntu3). fakeroot is already the newest version (1.24-1). lintian is already the newest version (2.62.0). figlet is already the newest version (2.2.5-3). git-buildpackage is already the newest version (0.9.19). pristine-tar is already the newest version (1.47). apt-utils is already the newest version (2.0.2ubuntu0.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 (12.10ubuntu1). 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 calamares-settings-hamara dpkg-buildpackage: info: source version 201807 dpkg-buildpackage: info: source distribution namaste dpkg-buildpackage: info: source changed by Raju Devidas dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean dpkg-source -b . dpkg-source: info: using source format '3.0 (native)' dpkg-source: info: building calamares-settings-hamara in calamares-settings-hamara_201807.tar.xz dpkg-source: info: building calamares-settings-hamara in calamares-settings-hamara_201807.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 dpkg-gencontrol: warning: Depends field of package calamares-settings-hamara: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb dpkg-deb: building package 'calamares-settings-hamara' in '../calamares-settings-hamara_201807_all.deb'. dpkg-genbuildinfo dpkg-genchanges >../calamares-settings-hamara_201807_amd64.changes dpkg-genchanges: info: including full source code in upload dpkg-source --after-build . dpkg-buildpackage: info: full upload; Debian-native package (full source is included) $ echo "Deploying packages to repositories" Deploying packages to repositories $ mkdir $CI_JOB_STAGE $ cp -r ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo $CI_JOB_STAGE $ scp -r ./$CI_JOB_STAGE root@aptly:/opt/custom_packages/ ssh: connect to host aptly port 22: Connection refused lost connection section_end:1610642462:step_script section_start:1610642462:cleanup_file_variables Cleaning up file based variables section_end:1610642462:cleanup_file_variables ERROR: Job failed: exit status 1