[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



Hi there

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.

Once again thanks for looking after this package!

Best regards,
Gabriele

On Fri, 5 Feb 2021 at 16:29, Adam Borowski <kilobyte@angband.pl> wrote:
On Thu, Feb 04, 2021 at 06:49:57PM +0000, Gabriele wrote:
>  * Package name    : austin
>    Version         : 2.1.1-1

>  austin (2.1.1-1) unstable; urgency=medium
>    Improved general Python support on all the supported platforms.
>    Allowed specifying argument for time-like parameters using units (e.g. 10ms).
>    Error reporting has been made more accurate and informative.
>    Bugfix: Fixed line number reporting.
>    Bugfix: Fix symbol name clash on BSD systems with strtonum.

Alas, it fails tests:

FAIL: test/test
===============

1..5
ok 1 Test Austin: fork
ok 2 Test Austin: fork multi-process
ok 3 Test Austin: attach # skip requires root
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
# ok 1 Test no arguments
# ok 2 Test no command & PID
# ok 3 Test not Python # skip requires root
# ok 4 Test invalid command
# ok 5 Test invalid PID
# not ok 6 Test no permission
# # (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 92)
# #   `assert_status 37' failed
# # Test Austin with no permissions
# #       Assertion failed:  "Got expected status (E: 37, G: 0)"
# #
# #        Status: 0
# #
# #        Collected Output
# #        ================
# #
# #               _   _     
# #  __ _ _  _ __| |_(_)_ _ 
# # / _` | || (_-<  _| | ' \
# # \__,_|\_,_/__/\__|_|_||_|
# # 🤓 austin version: 2.1.1
# # 🐍 Python version: 3.9.1
# # 🕑 Sampling time (min/avg/max) : 14/20/24 μs
# # 🐢 Long sampling rate : 0/6 (0.00 %) samples took longer than the sampling interval
# # 💀 Error rate : 0/6 (0.00 %) invalid samples
# # P61268;T17ec550;<module> (/<<PKGBUILDDIR>>/test/sleepy.py);L35 44
# # P61268;T17ec550;<module> (/<<PKGBUILDDIR>>/test/sleepy.py);L35 100077
# # P61268;T17ec550;<module> (/<<PKGBUILDDIR>>/test/sleepy.py);L35 100066
# # P61268;T17ec550;<module> (/<<PKGBUILDDIR>>/test/sleepy.py);L35 100066
# # P61268;T17ec550;<module> (/<<PKGBUILDDIR>>/test/sleepy.py);L35 100074
# # P61268;T17ec550;<module> (/<<PKGBUILDDIR>>/test/sleepy.py);L35 100074
# #
FAIL test/test.bats (exit status: 1)


Meow!
--
⢀⣴⠾⠻⢶⣦⠀ .--[ Makefile ]
⣾⠁⢠⠒⠀⣿⡁ # beware of races
⢿⡄⠘⠷⠚⠋⠀ all: pillage burn
⠈⠳⣄⠀⠀⠀⠀ `----


--
"Egli è scritto in lingua matematica, e i caratteri son triangoli, cerchi, ed altre figure
geometriche, senza i quali mezzi è impossibile a intenderne umanamente parola;
senza questi è un aggirarsi vanamente per un oscuro laberinto."


-- G. Galilei, Il saggiatore.

Reply to: