Starting lpci, version 0.2.0 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20230525-104438.830204.log' Launching environment for jammy/amd64 Checking for instance 'lpci-tree-519490-jammy-amd64' in project 'lpci' in remote 'local' Instance exists and is not running. Starting instance. Running ['apt', 'update'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 54 packages can be upgraded. Run 'apt list --upgradable' to see them. Installing system packages Running ['apt', 'install', '-y', 'sudo'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: sudo is already the newest version (1.9.9-1ubuntu2.4). :: 0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner git\n'] :: Copying: test-git.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: Copying: git :: :: Test files: /tmp/qrt-test-git.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-git.tar.gz :: $ cd ./qrt-test-git :: $ sudo ./install-packages test-git.py :: $ ./test-git.py -v :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Package python-apt is not available, but is referred to by another package. :: This may mean that the package is missing, has been obsoleted, or :: is only available from another source :: However the following packages replace it: :: python-apt-doc python3-apt-dbg python3-apt python-apt-common :: :: E: Package 'python-apt' has no installation candidate :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: git-man libcurl3-gnutls liberror-perl :: Suggested packages: :: gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui :: gitk gitweb git-cvs git-mediawiki git-svn :: Recommended packages: :: less :: The following NEW packages will be installed: :: git git-man libcurl3-gnutls liberror-perl :: 0 upgraded, 4 newly installed, 0 to remove and 54 not upgraded. :: Need to get 4431 kB of archives. :: After this operation, 21.8 MB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl3-gnutls amd64 7.81.0-1ubuntu1.10 [285 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 liberror-perl all 0.17029-1 [26.5 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git-man all 1:2.34.1-1ubuntu1.9 [954 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.9 [3166 kB] :: Fetched 4431 kB in 0s (16.9 MB/s) :: Selecting previously unselected package libcurl3-gnutls:amd64. :: (Reading database ... 19325 files and directories currently installed.) :: Preparing to unpack .../libcurl3-gnutls_7.81.0-1ubuntu1.10_amd64.deb ... :: Unpacking libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.10) ... :: Selecting previously unselected package liberror-perl. :: Preparing to unpack .../liberror-perl_0.17029-1_all.deb ... :: Unpacking liberror-perl (0.17029-1) ... :: Selecting previously unselected package git-man. :: Preparing to unpack .../git-man_1%3a2.34.1-1ubuntu1.9_all.deb ... :: Unpacking git-man (1:2.34.1-1ubuntu1.9) ... :: Selecting previously unselected package git. :: Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.9_amd64.deb ... :: Unpacking git (1:2.34.1-1ubuntu1.9) ... :: Setting up libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.10) ... :: Setting up liberror-perl (0.17029-1) ... :: Setting up git-man (1:2.34.1-1ubuntu1.9) ... :: Setting up git (1:2.34.1-1ubuntu1.9) ... :: Processing triggers for libc-bin (2.35-0ubuntu3) ... :: Requiring 'lsb-release' ... :: Requiring 'git' ... :: Running test: './test-git.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-149.166 (Ubuntu 5.4.0-149.166-generic 5.4.233)' arch: 'amd64' uid: 2002/2002 SUDO_USER: '') :: test_00_starting (__main__.GitTest) :: Startup ... ok :: test_aa_branch (__main__.GitTest) :: Test creating a branch ... ok :: test_ab_commit (__main__.GitTest) :: Test a commit ... ok :: test_ac_log (__main__.GitTest) :: Test the log command ... ok :: test_ad_shortlog (__main__.GitTest) :: Test the shortlog command ... ok :: test_ae_diff (__main__.GitTest) :: Test a diff on two branches ... ok :: test_af_grep (__main__.GitTest) :: Test a grep ... ok :: test_ag_merge (__main__.GitTest) :: Test merging the branches ... ok :: test_zz_finished (__main__.GitTest) :: Shutdown ... ok :: :: ---------------------------------------------------------------------- :: Ran 9 tests in 0.097s :: :: OK :: Skipping private tests