Project

General

Profile

Bug #1073

Filtering test cases failing

Added by Francis Deslauriers almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/01/2016
Due date:
% Done:

0%

Estimated time:

Description

test_valid_filter as a few failing test cases:

test_valid_filter (Wstat: 2048 Tests: 662 Failed: 8)
  Failed tests:  553, 559, 565, 571, 577, 583, 589, 595
  Non-zero exit status: 8

All failures are triggered by the 'Validate trace filter output' step of their respective test case.

I witnessed this problem on master of both lttng-modules and lttng-tools.

Here is the output of the failing tests:

# Test valid kernel filter: $ctx.procname != "test_valid_filt" 
ok 548 - Create session valid_filter in /tmp/tmp.BSQoaSPwvw
ok 549 - Enable lttng event with filtering
ok 550 - Start tracing for session valid_filter
ok 551 - Stop lttng tracing for session valid_filter
ok 552 - Destroy session valid_filter
not ok 553 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: $ctx.procname == "test_valid_filt" 
ok 554 - Create session valid_filter in /tmp/tmp.A4avK0DYek
ok 555 - Enable lttng event with filtering
ok 556 - Start tracing for session valid_filter
ok 557 - Stop lttng tracing for session valid_filter
ok 558 - Destroy session valid_filter
not ok 559 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: "test_valid_filt" != $ctx.procname
ok 560 - Create session valid_filter in /tmp/tmp.m63T1ZwgzM
ok 561 - Enable lttng event with filtering
ok 562 - Start tracing for session valid_filter
ok 563 - Stop lttng tracing for session valid_filter
ok 564 - Destroy session valid_filter
not ok 565 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: "test_valid_filt" == $ctx.procname
ok 566 - Create session valid_filter in /tmp/tmp.MI071a4Zo3
ok 567 - Enable lttng event with filtering
ok 568 - Start tracing for session valid_filter
ok 569 - Stop lttng tracing for session valid_filter
ok 570 - Destroy session valid_filter
not ok 571 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: $ctx.procname != "test_valid_filt*" 
ok 572 - Create session valid_filter in /tmp/tmp.D44mmlQk63
ok 573 - Enable lttng event with filtering
ok 574 - Start tracing for session valid_filter
ok 575 - Stop lttng tracing for session valid_filter
ok 576 - Destroy session valid_filter
not ok 577 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: $ctx.procname == "test_valid_filt*" 
ok 578 - Create session valid_filter in /tmp/tmp.fEJFH8GYvv
ok 579 - Enable lttng event with filtering
ok 580 - Start tracing for session valid_filter
ok 581 - Stop lttng tracing for session valid_filter
ok 582 - Destroy session valid_filter
not ok 583 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: "test_valid_filt*" != $ctx.procname
ok 584 - Create session valid_filter in /tmp/tmp.9B4hoRCy2y
ok 585 - Enable lttng event with filtering
ok 586 - Start tracing for session valid_filter
ok 587 - Stop lttng tracing for session valid_filter
ok 588 - Destroy session valid_filter
not ok 589 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.
# Test valid kernel filter: "test_valid_filt*" == $ctx.procname
ok 590 - Create session valid_filter in /tmp/tmp.UMhONxA0xG
ok 591 - Enable lttng event with filtering
ok 592 - Start tracing for session valid_filter
ok 593 - Stop lttng tracing for session valid_filter
ok 594 - Destroy session valid_filter
not ok 595 - Validate trace filter output
#   Failed test 'Validate trace filter output'
#   in test_valid_filter:test_valid_filter() at line 91.

#1

Updated by Francis Deslauriers almost 4 years ago

Modules commit: a824008cc30bf9a4b99aeb00657bbe2f0be9b653
Tools commit: b11d6a7f7969f8e44b8a3e3f93333d9bc80a156b

#2

Updated by Francis Deslauriers almost 4 years ago

I am only able to trigger the test case failure when using:

prove ./test_valid_filter

and not when running the test directly:

./test_valid_filter

Also available in: Atom PDF