From e1a8595477f7ced7f2645e394fde428bcb80c8a0 Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Sun, 2 Aug 2026 15:18:50 +0000 Subject: [PATCH 1/6] Whitespace only change to test CI Signed-off-by: Andy Fingerhut --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 51f8463e..f8f49603 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ SPDX-FileCopyrightText: 2016 Barefoot Networks, Inc. SPDX-License-Identifier: Apache-2.0 + --> # PI LIBRARY REPOSITORY From 8b39ed0130b11a205229b1701c7473b2f18de28d Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Mon, 3 Aug 2026 01:35:24 +0000 Subject: [PATCH 2/6] More inconsequential changes, this time to a source file in hopes that it will cause all CI tests to be run. Signed-off-by: Andy Fingerhut --- src/utils/logging.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/utils/logging.c b/src/utils/logging.c index 08e4a835..a011690f 100644 --- a/src/utils/logging.c +++ b/src/utils/logging.c @@ -1,21 +1,10 @@ /* Copyright 2013-present Barefoot Networks, Inc. * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ int _logs_on = 1; + void pi_logs_on() { _logs_on = 1; } void pi_logs_off() { _logs_on = 0; } From 10413ab91a7dad8ec575834c77f3befc107cfeec Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Mon, 3 Aug 2026 02:23:42 +0000 Subject: [PATCH 3/6] Add debug commands 1 Signed-off-by: Andy Fingerhut --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98ac9188..62086b5c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: - name: Run unit tests run: | docker run -w /PI pi bash -c \ - 'apt-get update && apt-get install -y python3-pip && \ + 'find / -name dist-packages -o -name site-packages && apt-get update && apt-get install -y python3-pip && \ python3 -m pip install ptf scapy grpcio googleapis-common-protos protobuf==3.20 && \ python3 ./proto/ptf/base_test.py' - name: Run tests From 2236fec48fd595ea6686839fbc98463e25d8141b Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Mon, 3 Aug 2026 02:36:34 +0000 Subject: [PATCH 4/6] more debug cmds 2 Signed-off-by: Andy Fingerhut --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62086b5c..56dd8f1d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,13 @@ jobs: - name: Run unit tests run: | docker run -w /PI pi bash -c \ - 'find / -name dist-packages -o -name site-packages && apt-get update && apt-get install -y python3-pip && \ + 'echo /usr/local/lib/python3.12/dist-packages && \ + ls -la /usr/local/lib/python3.12/dist-packages && \ + echo /usr/local/lib/python3.12/site-packages && \ + ls -la /usr/local/lib/python3.12/site-packages && \ + echo /usr/lib/python3/dist-packages && \ + ls -la /usr/lib/python3/dist-packages && \ + find / -name dist-packages -o -name site-packages && apt-get update && apt-get install -y python3-pip && \ python3 -m pip install ptf scapy grpcio googleapis-common-protos protobuf==3.20 && \ python3 ./proto/ptf/base_test.py' - name: Run tests From b6f640bf9f2c19c3adc2537521e1f782e5e2097c Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Thu, 10 Sep 2026 04:44:30 -0400 Subject: [PATCH 5/6] fixes Signed-off-by: Andy Fingerhut --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c564c45..0049b2ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,8 +57,7 @@ jobs: ls -la /usr/local/lib/python3.12/site-packages && \ echo /usr/lib/python3/dist-packages && \ ls -la /usr/lib/python3/dist-packages && \ - find / -name dist-packages -o -name site-packages && apt-get update && apt-get install -y python3-pip && \ - uv pip install ptf scapy grpcio googleapis-common-protos protobuf==3.20 && \ + find / -name dist-packages -o -name site-packages && \ uv run ./proto/ptf/base_test.py' - name: Run tests run: | From 7c77b02dc0c936e827f1646d2340821ada1123ba Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Thu, 10 Sep 2026 14:12:44 -0400 Subject: [PATCH 6/6] Make extra debug cmds more resilient to error cases Signed-off-by: Andy Fingerhut --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0049b2ad..4d57be98 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,11 +52,11 @@ jobs: run: | docker run -w /PI pi bash -c \ 'echo /usr/local/lib/python3.12/dist-packages && \ - ls -la /usr/local/lib/python3.12/dist-packages && \ + (ls -la /usr/local/lib/python3.12/dist-packages || echo "directory not found") && \ echo /usr/local/lib/python3.12/site-packages && \ - ls -la /usr/local/lib/python3.12/site-packages && \ + (ls -la /usr/local/lib/python3.12/site-packages || echo "directory not found") && \ echo /usr/lib/python3/dist-packages && \ - ls -la /usr/lib/python3/dist-packages && \ + (ls -la /usr/lib/python3/dist-packages || echo "directory not found") && \ find / -name dist-packages -o -name site-packages && \ uv run ./proto/ptf/base_test.py' - name: Run tests