From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 3A59D3858C50 for ; Thu, 7 Apr 2022 20:23:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3A59D3858C50 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-41-s444m_SdMG6XXAwQSmqxiQ-1; Thu, 07 Apr 2022 16:23:22 -0400 X-MC-Unique: s444m_SdMG6XXAwQSmqxiQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 65BA5802819 for ; Thu, 7 Apr 2022 20:23:22 +0000 (UTC) Received: from [10.13.121.77] (dhcp-121-77.rdu.redhat.com [10.13.121.77]) by smtp.corp.redhat.com (Postfix) with ESMTP id 526731415133; Thu, 7 Apr 2022 20:23:22 +0000 (UTC) Message-ID: <953bd7b8-362b-0c01-a694-f6646e2b1ce1@redhat.com> Date: Thu, 7 Apr 2022 16:23:22 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: systemtap@sourceware.org From: William Cohen Subject: Triage of systemtap examples test results X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2022 20:23:25 -0000 Hi, I have been reviewing the systemtap examples testsuite results on various distro to see what issues pop up and what can be done to fix them. Typically the examples fail because changes in data and code structure and the compiler more agressively. On x86_64 Rawhide: Examples tweaked this week to work with newer kernel/app software: FAIL: systemtap.examples/io/ttyspy build FAIL: systemtap.examples/process/threadstacks build === systemtap Summary === # of expected passes 375 # of unexpected failures 16 # of untested testcases 29 runtest completed at Wed Apr 6 16:34:36 2022 Examples failed due to issue with struct bitfield member access (PR29037): FAIL: systemtap.examples/network/tcp_trace build FAIL: systemtap.examples/network/tcpdumplike build FAIL: systemtap.examples/process/schedtimes build Example fails because systemtap can't find nsproxy in task_struct, but pahole shows that the task_struct has nsproxy FAIL: systemtap.examples/process/futexes2 build Examples failed due to function return probe on inlined function: FAIL: systemtap.examples/io/eatmydata build FAIL: systemtap.examples/memory/cachestat build FAIL: systemtap.examples/memory/cachestat build_bpf FAIL: systemtap.examples/process/sleeptime build (looks to fallback and use tracepoints for some syscall monitoring) Examples failed due to variable not available at probe point: FAIL: systemtap.examples/general/badname build FAIL: systemtap.examples/network/tcpipstat build Examples failed due to probe point not available: FAIL: systemtap.examples/lwtools/fslatency-nd build FAIL: systemtap.examples/lwtools/fsslower-nd build Examples failed due to changes in data structures: FAIL: systemtap.examples/io/iostat-scsi build Example failed due to glibc moving around pthread related functions: FAIL: systemtap.examples/process/mutex-contention build Example failed due to kernel_getsockopt() being removed from kernel and fcheck_files() function changed name: FAIL: systemtap.examples/process/pfiles build Examples failed due to not finding kvm_exit trace argument $reason: FAIL: systemtap.examples/virtualization/kvm_service_time build On x86_64 RHEL8: Examples tweaked this week to work with newer kernel/app software: FAIL: systemtap.examples/process/threadstacks build === systemtap Summary === # of expected passes 414 # of unexpected failures 8 # of untested testcases 10 Seems to be some unhandled signal 5 (Trace/breakpoint trap): FAIL: systemtap.examples/apps/php-trace run FAIL: systemtap.examples/apps/php-trace run_dyninst child exits abnormally FAIL: systemtap.examples/general/badname run ERROR: user string copy fault -14 at 0x59 [man error::fault] near identifier 'user_string_n' at /usr/share/systemtap/tapset/uconversions.stp:128:10 FAIL: systemtap.examples/general/py2example build Unable to access target variable at address: FAIL: systemtap.examples/network/tcpipstat build unresolved struct nsproxy in task_struct, looks like nsproxy is actually defined in struct (need to investigate more as failed on rawhide also) FAIL: systemtap.examples/process/futexes2 build Running on virtual machine so likely to fail because PMU not available: FAIL: systemtap.examples/profiling/perf run Unable to get SDT args: FAIL: systemtap.examples/virtualization/qemu_count build