Closed elasticmachine closed 1 month ago
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
Closing as outdated.
:broken_heart: Tests Failed
Expand to view the summary
#### Build stats * Start Time: 2023-10-01T02:41:00.123+0000 * Duration: 30 min 20 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 7 | | Passed | 4476 | | Skipped | 368 | | Total | 4851 |
Test errors
Expand to view the tests failures
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestBrowserSummaries/failing-browser~ – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestBrowserSummaries/simple-browser~ – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestBrowserSummaries/failing-browser~ – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestBrowserSummaries/simple-browser~ – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestBrowserSummaries – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestStateContinuity/simple-browser~<<~MULTI-TWIST~[>~~ – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
##### `Extended / x-pack/heartbeat-macosM1-orka && darwin && aarch64 / TestStateContinuity – github.com/elastic/beats/v7/x-pack/heartbeat/scenarios`
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestBrowserSummaries/failing-browser~
=== PAUSE TestBrowserSummaries/failing-browser~
=== CONT TestBrowserSummaries/failing-browser~
testing.go:36:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:36
Error: lookslike could not validate map
Test: TestBrowserSummaries/failing-browser~
Messages: 6 errors validating source:
(mapstr.M) (len=7) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=5) "event": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary",
(string) (len=7) "dataset": (string) (len=7) "browser"
},
(string) (len=10) "synthetics": (mapstr.M) (len=1) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary"
},
(string) (len=7) "monitor": (mapstr.M) (len=6) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=8) "timespan": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=3) "gte": (time.Time) 2023-09-30 23:09:11.186564 -0400 EDT m=+0.514003418,
(string) (len=2) "lt": (time.Time) 2023-09-30 23:10:11.186564 -0400 EDT m=+60.514003418
},
(string) (len=4) "type": (string) (len=7) "browser",
(string) (len=2) "id": (string) (len=15) "browser-test-id",
(string) (len=4) "name": (string) (len=17) "browser-test-name",
(string) (len=11) "check_group": (string) (len=38) "e4a112ce-6007-11ee-8347-a62aec9ea85e-1",
(string) (len=6) "status": (string) (len=4) "down"
},
(string) (len=5) "error": (*ecserr.ECSErr)(0x140004baa80)(journey did not finish executing, 0 steps ran (attempt: 1): error executing step: could not start command not found: exec: "elastic-synthetics": executable file not found in $PATH),
(string) (len=7) "summary": (*jobsummary.JobSummary)(0x14000438ae0)(),
(string) (len=5) "state": (*monitorstate.State)(0x1400017b200)(),
(string) (len=11) "data_stream": (add_data_stream.DataStream) {
Namespace: (string) (len=7) "default",
Dataset: (string) (len=7) "browser",
Type: (string) (len=10) "synthetics"
}
}
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.full": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.scheme": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "monitor.duration.us": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.domain": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.port": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.path": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
--- FAIL: TestBrowserSummaries/failing-browser~ (0.00s)
```
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestBrowserSummaries/simple-browser~
=== PAUSE TestBrowserSummaries/simple-browser~
=== CONT TestBrowserSummaries/simple-browser~
testing.go:36:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:36
Error: lookslike could not validate map
Test: TestBrowserSummaries/simple-browser~
Messages: 7 errors validating source:
(mapstr.M) (len=7) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=5) "event": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary",
(string) (len=7) "dataset": (string) (len=7) "browser"
},
(string) (len=10) "synthetics": (mapstr.M) (len=1) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary"
},
(string) (len=7) "monitor": (mapstr.M) (len=6) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=8) "timespan": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=3) "gte": (time.Time) 2023-09-30 23:09:11.186569 -0400 EDT m=+0.514008751,
(string) (len=2) "lt": (time.Time) 2023-09-30 23:10:11.186569 -0400 EDT m=+60.514008751
},
(string) (len=4) "type": (string) (len=7) "browser",
(string) (len=2) "id": (string) (len=15) "browser-test-id",
(string) (len=4) "name": (string) (len=17) "browser-test-name",
(string) (len=11) "check_group": (string) (len=38) "e4a111c0-6007-11ee-8347-a62aec9ea85e-1",
(string) (len=6) "status": (string) (len=4) "down"
},
(string) (len=5) "error": (*ecserr.ECSErr)(0x1400007ff40)(journey did not finish executing, 0 steps ran (attempt: 1): error executing step: could not start command not found: exec: "elastic-synthetics": executable file not found in $PATH),
(string) (len=7) "summary": (*jobsummary.JobSummary)(0x140004ff1a0)(),
(string) (len=5) "state": (*monitorstate.State)(0x140004837a0)(),
(string) (len=11) "data_stream": (add_data_stream.DataStream) {
Namespace: (string) (len=7) "default",
Dataset: (string) (len=7) "browser",
Type: (string) (len=10) "synthetics"
}
}
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.full": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.scheme": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.domain": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "summary": expected up/down to be 1/0, got 0/1
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "monitor.duration.us": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.port": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.path": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
--- FAIL: TestBrowserSummaries/simple-browser~ (0.00s)
```
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestBrowserSummaries/failing-browser~
=== PAUSE TestBrowserSummaries/failing-browser~
=== CONT TestBrowserSummaries/failing-browser~
testing.go:36:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:36
Error: lookslike could not validate map
Test: TestBrowserSummaries/failing-browser~
Messages: 6 errors validating source:
(mapstr.M) (len=7) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=5) "event": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary",
(string) (len=7) "dataset": (string) (len=7) "browser"
},
(string) (len=10) "synthetics": (mapstr.M) (len=1) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary"
},
(string) (len=7) "monitor": (mapstr.M) (len=6) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=2) "id": (string) (len=15) "browser-test-id",
(string) (len=4) "name": (string) (len=17) "browser-test-name",
(string) (len=11) "check_group": (string) (len=38) "e4a10f86-6007-11ee-8347-a62aec9ea85e-2",
(string) (len=6) "status": (string) (len=4) "down",
(string) (len=8) "timespan": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=2) "lt": (time.Time) 2023-09-30 23:10:12.190016 -0400 EDT m=+61.517455918,
(string) (len=3) "gte": (time.Time) 2023-09-30 23:09:12.190016 -0400 EDT m=+1.517455918
},
(string) (len=4) "type": (string) (len=7) "browser"
},
(string) (len=5) "error": (*ecserr.ECSErr)(0x1400007ea80)(journey did not finish executing, 0 steps ran (attempt: 2): error executing step: could not start command not found: exec: "elastic-synthetics": executable file not found in $PATH),
(string) (len=7) "summary": (*jobsummary.JobSummary)(0x140004033b0)(),
(string) (len=5) "state": (*monitorstate.State)(0x1400051eab0)(),
(string) (len=11) "data_stream": (add_data_stream.DataStream) {
Namespace: (string) (len=7) "default",
Dataset: (string) (len=7) "browser",
Type: (string) (len=10) "synthetics"
}
}
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.full": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.scheme": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.domain": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.port": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.path": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "monitor.duration.us": expected this key to be present
Test: TestBrowserSummaries/failing-browser~
--- FAIL: TestBrowserSummaries/failing-browser~ (1.01s)
```
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestBrowserSummaries/simple-browser~
=== PAUSE TestBrowserSummaries/simple-browser~
=== CONT TestBrowserSummaries/simple-browser~
testing.go:36:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:36
Error: lookslike could not validate map
Test: TestBrowserSummaries/simple-browser~
Messages: 7 errors validating source:
(mapstr.M) (len=7) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=7) "summary": (*jobsummary.JobSummary)(0x140003420f0)(),
(string) (len=11) "data_stream": (add_data_stream.DataStream) {
Namespace: (string) (len=7) "default",
Dataset: (string) (len=7) "browser",
Type: (string) (len=10) "synthetics"
},
(string) (len=5) "event": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary",
(string) (len=7) "dataset": (string) (len=7) "browser"
},
(string) (len=10) "synthetics": (mapstr.M) (len=1) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=4) "type": (string) (len=17) "heartbeat/summary"
},
(string) (len=7) "monitor": (mapstr.M) (len=6) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=2) "id": (string) (len=15) "browser-test-id",
(string) (len=4) "name": (string) (len=17) "browser-test-name",
(string) (len=11) "check_group": (string) (len=38) "e4a10db0-6007-11ee-8347-a62aec9ea85e-2",
(string) (len=6) "status": (string) (len=4) "down",
(string) (len=8) "timespan": (mapstr.M) (len=2) (PANIC=runtime error: invalid memory address or nil pointer dereference){
(string) (len=3) "gte": (time.Time) 2023-09-30 23:09:12.190063 -0400 EDT m=+1.517503168,
(string) (len=2) "lt": (time.Time) 2023-09-30 23:10:12.190063 -0400 EDT m=+61.517503168
},
(string) (len=4) "type": (string) (len=7) "browser"
},
(string) (len=5) "error": (*ecserr.ECSErr)(0x140004bba00)(journey did not finish executing, 0 steps ran (attempt: 2): error executing step: could not start command not found: exec: "elastic-synthetics": executable file not found in $PATH),
(string) (len=5) "state": (*monitorstate.State)(0x140000f4bd0)()
}
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.path": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "summary": expected up/down to be 1/0, got 0/1
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "monitor.duration.us": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.full": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.scheme": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.domain": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
testing.go:44:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/pkg/mod/github.com/elastic/go-lookslike@v0.3.0/testslike/testing.go:44
Error: Received unexpected error:
@Path "url.port": expected this key to be present
Test: TestBrowserSummaries/simple-browser~
--- FAIL: TestBrowserSummaries/simple-browser~ (1.01s)
```
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestBrowserSummaries === PAUSE TestBrowserSummaries === CONT TestBrowserSummaries --- FAIL: TestBrowserSummaries (0.26s) ```
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestStateContinuity/simple-browser~<<~MULTI-TWIST~[>~~
=== PAUSE TestStateContinuity/simple-browser~<<~MULTI-TWIST~[>~~
=== CONT TestStateContinuity/simple-browser~<<~MULTI-TWIST~[>~~
stateloader_test.go:37:
Error Trace: /Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/src/github.com/elastic/beats/x-pack/heartbeat/scenarios/stateloader_test.go:37
/Users/admin/workspace/main-1938-d1521e57-7155-43e5-b75d-518ca8d9d227/src/github.com/elastic/beats/x-pack/heartbeat/scenarios/framework/framework.go:142
Error: Not equal:
expected: "up"
actual : "down"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(monitorstate.StateStatus) (len=2) "up"
+(monitorstate.StateStatus) (len=4) "down"
Test: TestStateContinuity/simple-browser~<<~MULTI-TWIST~[>~~
Messages: monitor had unexpected state down, synthetics console output: , errors%!(EXTRA []*beat.Event=[0x1400030ba00 0x1400041ca40])
--- FAIL: TestStateContinuity/simple-browser~<<~MULTI-TWIST~[>~~ (0.00s)
```
Expand to view the error details
``` Failed ```
Expand to view the stacktrace
``` === RUN TestStateContinuity === PAUSE TestStateContinuity === CONT TestStateContinuity --- FAIL: TestStateContinuity (0.51s) ```
Steps errors
Expand to view the steps failures
##### `x-pack/heartbeat-macosM1-orka && darwin && aarch64 - mage build unitTest`
mage build unitTest
mage build unitTest
mage build unitTest
Error "hudson.AbortException: script returned exit code 1"