[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981879: RFS: austin/2.1.1-1 -- Frame stack sampler for CPython



On Sat, Feb 06, 2021 at 12:53:53PM +0000, Gabriele wrote:
> Thanks for reporting this and apologies for the late reply but I just
> noticed this email in the spam folder!
> 
> The new tests are a bit of a pain as they test for behaviour with/without
> sudo so it very much depends on the host setup. I have uploaded a new
> revision which I hope fixes the issue.

Alas:

autopkgtest
-----------

autopkgtest [14:16:17]: starting date: 2021-02-06
autopkgtest [14:16:17]: version 5.16
autopkgtest [14:16:17]: host valinor; command line: /usr/bin/autopkgtest /home/kilobyte/tmp/pkg/austin_2.1.1-1.dsc /home/kilobyte/tmp/pkg/austin_2.1.1-1_amd64.changes -- schroot unstable-amd64-pkgtest
autopkgtest [14:16:17]: testbed dpkg architecture: amd64
autopkgtest [14:16:17]: testbed running kernel: Linux 5.11.0-rc6-00069-gc78e0fad19ee #1 SMP Wed Feb 3 20:21:40 CET 2021
autopkgtest [14:16:17]: @@@@@@@@@@@@@@@@@@@@ source /home/kilobyte/tmp/pkg/austin_2.1.1-1.dsc
dpkg-source: warning: extracting unsigned source package (/tmp/autopkgtest.Ir6aZU/austin_2.1.1-1.dsc)
dpkg-source: info: extracting austin in src
dpkg-source: info: unpacking austin_2.1.1.orig.tar.gz
dpkg-source: info: unpacking austin_2.1.1-1.debian.tar.xz
autopkgtest [14:16:18]: testing package austin version 2.1.1-1
autopkgtest [14:16:18]: build not needed
autopkgtest [14:16:18]: test command1: preparing testbed
Get:1 file:/tmp/autopkgtest.Ir6aZU/binaries  InRelease
Ign:1 file:/tmp/autopkgtest.Ir6aZU/binaries  InRelease
Get:2 file:/tmp/autopkgtest.Ir6aZU/binaries  Release [816 B]
Get:2 file:/tmp/autopkgtest.Ir6aZU/binaries  Release [816 B]
Get:3 file:/tmp/autopkgtest.Ir6aZU/binaries  Release.gpg
Ign:3 file:/tmp/autopkgtest.Ir6aZU/binaries  Release.gpg
Get:4 file:/tmp/autopkgtest.Ir6aZU/binaries  Packages [1134 B]
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies...Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  bats libc6-dbg valgrind
Suggested packages:
  valgrind-mpi kcachegrind alleyoop valkyrie
Recommended packages:
  parallel valgrind-dbg gdb
The following NEW packages will be installed:
  bats libc6-dbg valgrind
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 22.7 MB of archives.
After this operation, 94.3 MB of additional disk space will be used.
Get:1 http://apt-rosy.angband.pl:3142/debian unstable/main amd64 bats all 1.2.1-1 [30.2 kB]
Get:2 http://apt-rosy.angband.pl:3142/debian unstable/main amd64 libc6-dbg amd64 2.31-9 [7507 kB]
Get:3 http://apt-rosy.angband.pl:3142/debian unstable/main amd64 valgrind amd64 1:3.16.1-1 [15.1 MB]
Fetched 22.7 MB in 0s (174 MB/s)
Selecting previously unselected package bats.
(Reading database ... 9666 files and directories currently installed.)
Preparing to unpack .../archives/bats_1.2.1-1_all.deb ...
Unpacking bats (1.2.1-1) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../libc6-dbg_2.31-9_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-9) ...
Selecting previously unselected package valgrind.
Preparing to unpack .../valgrind_1%3a3.16.1-1_amd64.deb ...
Unpacking valgrind (1:3.16.1-1) ...
Setting up libc6-dbg:amd64 (2.31-9) ...
Setting up bats (1.2.1-1) ...
Setting up valgrind (1:3.16.1-1) ...
Setting up autopkgtest-satdep (0) ...
(Reading database ... 10502 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [14:16:22]: test command1: bats test/test.bats
autopkgtest [14:16:22]: test command1: [-----------------------
1..5
ok 1 Test Austin: fork
ok 2 Test Austin: fork multi-process
ok 3 Test Austin: attach
ok 4 Test Austin: valgrind
not ok 5 Test Austin: errors
# (from function `test_case' in file test/test.bats, line 27,
#  in test file test/test.bats, line 51)
#   `test_case error' failed
# 1..6
# not ok 1 Test no arguments
# # (from function `check_ignored' in file test/common.bash, line 93,
# #  from function `assert' in file test/common.bash, line 105,
# #  from function `assert_success' in file test/common.bash, line 127,
# #  in test file test/test_error.bats, line 35)
# #   `assert_success' failed with status 127
# # Test Austin with no arguments
# #       Assertion failed:  "Command was successful"
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# not ok 2 Test no command & PID
# # (from function `check_ignored' in file test/common.bash, line 93,
# #  from function `assert' in file test/common.bash, line 105,
# #  from function `assert_status' in file test/common.bash, line 118,
# #  in test file test/test_error.bats, line 44)
# #   `assert_status 255' failed with status 127
# # Test Austin with no command nor PID
# #       Assertion failed:  "Got expected status (E: 255, G: 127)"
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# not ok 3 Test not Python
# # (from function `check_ignored' in file test/common.bash, line 93,
# #  from function `assert' in file test/common.bash, line 105,
# #  from function `assert_status' in file test/common.bash, line 118,
# #  in test file test/test_error.bats, line 59)
# #   `assert_status 32' failed with status 127
# # Test Austin with a non-Python command
# #       Assertion failed:  "Got expected status (E: 32, G: 127)"
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# #       Assertion failed:  Output contains pattern 'not a Python'
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# #       Assertion failed:  "Got expected status (E: 32, G: 127)"
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# not ok 4 Test invalid command
# # (from function `check_ignored' in file test/common.bash, line 93,
# #  from function `assert' in file test/common.bash, line 105,
# #  from function `assert_status' in file test/common.bash, line 118,
# #  in test file test/test_error.bats, line 68)
# #   `assert_status 33' failed with status 127
# # Test Austin with an invalid command
# #       Assertion failed:  "Got expected status (E: 33, G: 127)"
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# not ok 5 Test invalid PID
# # (from function `check_ignored' in file test/common.bash, line 93,
# #  from function `assert' in file test/common.bash, line 105,
# #  from function `assert_status' in file test/common.bash, line 118,
# #  in test file test/test_error.bats, line 77)
# #   `assert_status 36' failed with status 127
# # Test Austin with an invalid PID
# #       Assertion failed:  "Got expected status (E: 36, G: 127)"
# # 
# #        Status: 127
# # 
# #        Collected Output
# #        ================
# # 
# # /usr/lib/bats-core/test_functions.bash: line 38: src/austin: No such file or directory
# # 
# ok 6 Test no permission # skip must not be root
autopkgtest [14:16:25]: test command1: -----------------------]
autopkgtest [14:16:25]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 1


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋⠀ An imaginary friend squared is a real enemy.
⠈⠳⣄⠀⠀⠀⠀


Reply to: