2024-08-06 06:48:57 +00:00

1 line
17 KiB
JSON

{"uid":"a6c7df99fcadbd0c","name":"numPeers=3 -- returns total 3 peers, with max 6 bootstrap peers","fullName":"/tests/getPeers.spec.ts: getPeers > getPeers with varying maxBootstrapPeers > maxBootstrapPeers=6 > numPeers=3 -- returns total 3 peers, with max 6 bootstrap peers","historyId":"6c964751053cbe5c30dacd35bed95023:d41d8cd98f00b204e9800998ecf8427e","time":{"start":1722926352224,"stop":1722926352224,"duration":0},"status":"broken","statusMessage":"Cannot read properties of undefined (reading 'map')","statusTrace":"TypeError: Cannot read properties of undefined (reading 'map')\n at file:///home/runner/work/js-waku/js-waku/packages/utils/src/libp2p/index.ts:67:20\n at Array.filter (<anonymous>)\n at sortPeersByLeastActiveConnections (file:///home/runner/work/js-waku/js-waku/packages/utils/src/libp2p/index.ts:66:6)\n at LightPushCore.getPeers (file:///home/runner/work/js-waku/js-waku/packages/core/src/lib/base_protocol.ts:132:32)\n at async Context.<anonymous> (file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:456:37)","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"afterStages":[{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"getPeers"},{"name":"suite","value":"getPeers with varying maxBootstrapPeers"},{"name":"subSuite","value":"maxBootstrapPeers=6"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":10,"skipped":0,"passed":52,"unknown":0,"total":62},"items":[{"uid":"69e3779db2ba3d4b","reportUrl":"https://waku-org.github.io/js-waku/7275//#testresult/69e3779db2ba3d4b","status":"broken","statusDetails":"Cannot read properties of undefined (reading 'map')","time":{"start":1722926282845,"stop":1722926282846,"duration":1}},{"uid":"c270619a6e0dcbb7","reportUrl":"https://waku-org.github.io/js-waku/7272//#testresult/c270619a6e0dcbb7","status":"passed","time":{"start":1722925226886,"stop":1722925226887,"duration":1}},{"uid":"6c8262d90219d43f","reportUrl":"https://waku-org.github.io/js-waku/7274//#testresult/6c8262d90219d43f","status":"passed","time":{"start":1722925094976,"stop":1722925094984,"duration":8}},{"uid":"e38a822108b98996","reportUrl":"https://waku-org.github.io/js-waku/7271//#testresult/e38a822108b98996","status":"passed","time":{"start":1722853721343,"stop":1722853721344,"duration":1}},{"uid":"1014232001f5c8f8","reportUrl":"https://waku-org.github.io/js-waku/7268//#testresult/1014232001f5c8f8","status":"passed","time":{"start":1722851832955,"stop":1722851832955,"duration":0}},{"uid":"c1bb82b38fcc7736","reportUrl":"https://waku-org.github.io/js-waku/7270//#testresult/c1bb82b38fcc7736","status":"passed","time":{"start":1722507022426,"stop":1722507022427,"duration":1}},{"uid":"e1b83324dc73247e","reportUrl":"https://waku-org.github.io/js-waku/7269//#testresult/e1b83324dc73247e","status":"passed","time":{"start":1722506417341,"stop":1722506417341,"duration":0}},{"uid":"bf4c2ec9db178b48","reportUrl":"https://waku-org.github.io/js-waku/7267//#testresult/bf4c2ec9db178b48","status":"passed","time":{"start":1722506103569,"stop":1722506103570,"duration":1}},{"uid":"4b8724ee7215fe28","reportUrl":"https://waku-org.github.io/js-waku/7266//#testresult/4b8724ee7215fe28","status":"passed","time":{"start":1722503372950,"stop":1722503372951,"duration":1}},{"uid":"5287c6c4691cd5f2","reportUrl":"https://waku-org.github.io/js-waku/7264//#testresult/5287c6c4691cd5f2","status":"passed","time":{"start":1722470100859,"stop":1722470100859,"duration":0}},{"uid":"2018cce9b7bb1160","reportUrl":"https://waku-org.github.io/js-waku/7263//#testresult/2018cce9b7bb1160","status":"passed","time":{"start":1722440036755,"stop":1722440036756,"duration":1}},{"uid":"3453506e2680730f","reportUrl":"https://waku-org.github.io/js-waku/7261//#testresult/3453506e2680730f","status":"passed","time":{"start":1722438198407,"stop":1722438198407,"duration":0}},{"uid":"b7ccba28d4bae2de","reportUrl":"https://waku-org.github.io/js-waku/7260//#testresult/b7ccba28d4bae2de","status":"passed","time":{"start":1722437832173,"stop":1722437832174,"duration":1}},{"uid":"ef28747127c2c54b","reportUrl":"https://waku-org.github.io/js-waku/7259//#testresult/ef28747127c2c54b","status":"passed","time":{"start":1722437419380,"stop":1722437419381,"duration":1}},{"uid":"5998f872e7ed4d01","reportUrl":"https://waku-org.github.io/js-waku/7258//#testresult/5998f872e7ed4d01","status":"passed","time":{"start":1722436890987,"stop":1722436890987,"duration":0}},{"uid":"d9e858eec0cd1475","reportUrl":"https://waku-org.github.io/js-waku/7257//#testresult/d9e858eec0cd1475","status":"passed","time":{"start":1722436756813,"stop":1722436756813,"duration":0}},{"uid":"b40aadecec8e2d84","reportUrl":"https://waku-org.github.io/js-waku/7255//#testresult/b40aadecec8e2d84","status":"passed","time":{"start":1722418753885,"stop":1722418753885,"duration":0}},{"uid":"8ae02dd17b2e5155","reportUrl":"https://waku-org.github.io/js-waku/7254//#testresult/8ae02dd17b2e5155","status":"passed","time":{"start":1722418686552,"stop":1722418686553,"duration":1}},{"uid":"4ac18fa5c43e824d","reportUrl":"https://waku-org.github.io/js-waku/7252//#testresult/4ac18fa5c43e824d","status":"passed","time":{"start":1722340360961,"stop":1722340360961,"duration":0}},{"uid":"f6962df7503d33bc","reportUrl":"https://waku-org.github.io/js-waku/7251//#testresult/f6962df7503d33bc","status":"passed","time":{"start":1722339905412,"stop":1722339905412,"duration":0}}]},"tags":[]},"source":"a6c7df99fcadbd0c.json","parameterValues":[]}