Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flake: test loopback gc #2634

Open
erights opened this issue Nov 17, 2024 · 1 comment
Open

flake: test loopback gc #2634

erights opened this issue Nov 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@erights
Copy link
Contributor

erights commented Nov 17, 2024

As seen at https://github.com/endojs/endo/actions/runs/11874583594/job/33090758261?pr=1538#step:7:72

Suspected as a flake because it succeeds on Node 18.x and 22.4.1 but fails on Node 20.x

image

 ✘ [fail]: gc › test loopback gc
    ℹ REJECTED from ava test("test loopback gc"): (TestFailure#1)
    ℹ TestFailure#1: The test has failed
    ℹ     at Test.saveFirstError (file:///home/runner/work/endo/endo/node_modules/ava/lib/test.js:410:22)
          at Test.addFailedAssertion (file:///home/runner/work/endo/endo/node_modules/ava/lib/test.js:358:8)
          at fail (file:///home/runner/work/endo/endo/node_modules/ava/lib/test.js:50:17)
          at ExecutionContext.like (file:///home/runner/work/endo/endo/node_modules/ava/lib/assert.js:391:10)
          at Object.value [as like] (file:///home/runner/work/endo/endo/packages/ses-ava/src/ses-ava-test.js:165:35)
          at file:///home/runner/work/endo/endo/packages/captp/test/gc.test.js:32:5

  ✔ trap › try restricted loopback trap
  ✔ trap › try Node.js worker trap, main guest (171ms)
  ✔ trap › try Node.js worker trap, main host (190ms)
  ✔ loopback › try loopback captp (217ms)
  ─

  gc › test loopback gc
  test/gc.test.js:32

   31:   const farStats = getFarStats();
   32:   t.like(                        
   33:     { nearStats, farStats },     

  Difference (- actual, + expected):

    {
      farStats: {
        gc: {
  -       DROPPED: 3,
  +       DROPPED: 4,
        },
        recv: {
  -       CTP_DROP: 3,
  +       CTP_DROP: 4,
        },
        send: {
          CTP_DROP: 2,
        },
      },
      nearStats: {
        gc: {
          DROPPED: 2,
        },
        recv: {
          CTP_DROP: 2,
        },
        send: {
  -       CTP_DROP: 3,
  +       CTP_DROP: 4,
        },
      },
    }

  › Object.value [as like] (file:///home/runner/work/endo/endo/packages/ses-ava/src/ses-ava-test.js:165:35)
  › file://test/gc.test.js:32:5
@erights erights added the bug Something isn't working label Nov 17, 2024
@erights
Copy link
Contributor Author

erights commented Nov 17, 2024

Update: confirmed as a flake. Didn't fail on reexecution

@erights erights changed the title possible flake: test loopback gc flake: test loopback gc Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant