From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id nbkKHAP/rmkbciAAWB0awg (envelope-from ) for ; Mon, 09 Mar 2026 13:10:27 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=UdCSofK1; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 533C11E0DD; Mon, 09 Mar 2026 13:10:27 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=4.0.1 Received: from lists.lttng.org (lists.lttng.org [158.69.130.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 4C2D01E089 for ; Mon, 09 Mar 2026 13:10:26 -0400 (EDT) ARC-Filter: OpenARC Filter v1.2.1 lists.lttng.org 4fV3Rb3Jgnz1YgP ARC-Seal: i=1; d=lists.lttng.org; s=arc1; a=rsa-sha256; cv=none; t=1773076220; b=X74vFUP9MusBwuMN6pczZK/3qy0l/S3g0MLpdLAL1vmRfObXNuJpYTaQIug91CcRIl+x DXiaHmUAV3aJRUqCQvzvnBYsbT+6MUJU1bSicpf8ZKIVzoaa7kKIopDFiw85eqID/hV7E DKkH3A02grvMH9PiQUG6gYe9W64I6tp74JFgXP/Mo7fWgPBLdDdzSdJWErM2sNZ1/I1Lb fnCo3QGSOYz0rdTU7HhDba+AP5COos5maqRYn8a2N+ToatLl4/7UYown2ftBB6LCMKLT9 f9rBELnf8I6TjKIuA65u1gOvs2GOhmE5LBrQFHKMB9a92ryko2lXCmBS4yxKrD/vpwg== ARC-Message-Signature: i=1; d=lists.lttng.org; s=arc1; a=rsa-sha256; c=relaxed/simple; t=1773076220; h=DKIM-Signature:Date:To:Subject:Message-ID:MIME-Version:From:From; bh=EUsve3+iBahDPvQCNSwPfR3R5f03tCHXogkdeCcNqO4=; b=b1rt+g9Kx2Z+c48TtVOKcGlMUYZmn7KQ3ybApKMES62UxghEAsP4/qEe8xtLLq4rRNmv 0GlOcksPZWO2CplcdV4RFbU9sCjE3QG2/2T057JDI/wfhguNp+kVwvKjge+pfoZ10+Uai uvuC5i1yol7mE9eHqeAC4MPNHjyJr+LvJNQ5oNrYn0GH3wOk4v7YaqmW8fiYIy0TEOtL+ Gj+j5IvMU9WrJi2vlldd7fXjKxJN4c9III3qc8ONrEkTEchG6f+YseikuPfHm9bcO1FZZ CtQz2g4u2CTrWOiy7hZoUj9xqAf5GxrWonog0ezqD6OYVSRuchr6bDw1ygrzJg/8F9w== ARC-Authentication-Results: i=1; lists.lttng.org; arc=none smtp.remote-ip="::1" DKIM-Filter: OpenDKIM Filter v2.11.0 lists.lttng.org 4fV3Rb3Jgnz1YgP DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.lttng.org; s=default; t=1773076220; bh=EUsve3+iBahDPvQCNSwPfR3R5f03tCHXogkdeCcNqO4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=UdCSofK1KjIysei8/zUbzYd+62p6fmmxgLH1O033xbWcFCB/JNRaXYDaGu0AaInF+ MvK04apf6bSWnM5g2+x21bTElrB4lRsehcORRRogSpNcQPLzKV725Ad201T/WW1hua xoCB+wX9wLCvLnXpPV8p5hOCnxaVjeZ5sTPa+ITZ8ZN32ZlHOzz0XNvQWh+Db9n2wI zrNCbo9y10qBTTRDH7uYfi/Yphe7HXozLvpXE/WAIWuYOwbxrGdZ/AHzR1fOE+DcD+ 6tYx1+aU1PaSMgBVTS1c6KeF0gKze7iCYbbMUx+KMxIBRolt1l4l4jfs4ZgTqBpw7l dpLBASsY0sYRg== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4fV3Rb3Jgnz1YgP; Mon, 9 Mar 2026 13:10:19 -0400 (EDT) ARC-Filter: OpenARC Filter v1.2.1 lists.lttng.org 4fV3RZ110zz1ZRL DKIM-Filter: OpenDKIM Filter v2.11.0 lists.lttng.org 4fV3RZ110zz1ZRL Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lists.lttng.org (Postfix) with ESMTPS id 4fV3RZ110zz1ZRL for ; Mon, 9 Mar 2026 13:10:17 -0400 (EDT) Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1vze7N-002N2F-VW for lttng-dev@lists.lttng.org; Mon, 09 Mar 2026 17:10:10 +0000 Date: Mon, 9 Mar 2026 18:10:08 +0100 To: lttng-dev@lists.lttng.org Subject: Build-time tests fail if machine has a single CPU Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Debian-User: sanvila X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Santiago Vila via lttng-dev Reply-To: Santiago Vila Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Hello. When I try to build (the Debian package of) lttng-tools (which in Debian is called ltt-control for the source package name) on AWS instances of type m7a.medium or r7a.medium (which incidentally have a single vCPU) I get the following error while running the tests: make[7]: Entering directory '/<>/tests/regression' FAIL: tools/lttng-ctl/test_robust_protocol.py 1 - test_simple - Exception: ('enable-channel --session session_lrmmg1mr --userspace channel_qmx5kx61 --buffer-allocation=per-cpu --buffer-ownership=user', '\nenable-channelfalse\n', "Error: Exception when getting CPU count: Failed to parse possible CPU mask: mask_contents=`0\n`\nError: Not enough system memory available for channel 'channel_qmx5kx61'. At least 0MiB required, 0MiB available\n") ERROR: tools/lttng-ctl/test_robust_protocol.py - exited with status 1 ERROR: ust/test_no_event_timestamps.py - Bail out! Missing 1 test cases PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 1 - Create a session FAIL: ust/ust-constructor/test_ust_constructor_cpp_static.py 2 - Add a channel to session `session_dx6uww4i` ERROR: ust/ust-constructor/test_ust_constructor_cpp_static.py - Bail out! Missing 42 test cases PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 1 - Create a session FAIL: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 2 - Add a channel to session `session_nwjtsjz6` ERROR: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py - Bail out! Missing 42 test cases PASS: ust/ust-constructor/test_ust_constructor_c_static.py 1 - Create a session FAIL: ust/ust-constructor/test_ust_constructor_c_static.py 2 - Add a channel to session `session_xwec7bzr` ERROR: ust/ust-constructor/test_ust_constructor_c_static.py - Bail out! Missing 22 test cases ERROR: ust/high-throughput/test_high_throughput_snapshot.py - Bail out! Missing 3 test cases SKIP: ust/high-throughput/test_high_throughput.py 1 # SKIP : Long regression tests not enabled ERROR: tools/client/test_reclaim_memory.py - Bail out! Missing 2 test cases PASS: tests.serial 1 - Test script 'tools/base-path/test_ust' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42] FAIL: tests.serial 2 - Test script 'tools/channel/test_channel' returned code 1. 15 passed, 1 failed, 0 skipped, 16 planned [total: 16] FAIL: tests.serial 3 - Test script 'tools/channel/test_cli_legacy_channel_buffering_policies.py' returned code 1. 0 passed, 0 failed, 0 skipped, 6 planned [total: 0] Note 1: the message saying "Not enough system memory available" is probably false, as the machine has 4GB or 8GB of RAM, and I don't get those messages when using the same amount of memory with 2 CPUs. Note 2: One way to reproduce this easily on any machine is to configure GRUB with GRUB_CMDLINE_LINUX="nr_cpus=1". Thanks.