Below error happened when replaying a PR pipeline:
Error when executing success post condition:
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: fafbd746-b68a-4ada-a292-e413816f9eea
hudson.AbortException: Can't get cause from run/build
On script console:
OAI-CN5G-FED #169
org.jenkinsci.plugins.github.pullrequest.GitHubPRCause
GitHub PR #10: Commit changed
GitHubPRCause present : true
OAI-CN5G-FED #170
hudson.model.Cause$UserIdCause
Started by user Sagar Arora
org.jenkinsci.plugins.workflow.cps.replay.ReplayCause
Replayed #169
GitHubPRCause present : false
Result: [OAI-CN5G-FED #169, OAI-CN5G-FED #170]
githubPRComment → GitHubPRCause is for identifying a PR-triggered build. The thing to watch is that a Replay/manual build may not retain that cause, even though the build is still logically associated with a PR.
Maybe add it in try-catch block or check other workarounds.
Address warnings related to the use of the
defkeyword: Example-Did you forget the def keyword? WorkflowScript seems to be setting a field named AMF (to a value of type Integer) which could lead to memory leaks or other issues.Replace
pullFromSelfixand other variables/functions containingSelfixwith more generic names.Update the
common-cisubmodule to include Various CI adjustments oai-cn5g-common-ci#3, including the CLA checks.Fix existing bugs and improve logging and undeployment handling.
Reduce repetitive commands by reusing existing helper functions wherever possible.
Check filters for Ethernet PDU session; Logs are too big: example
If possible, split Robot tests into separate Jenkins stages. For example, instead of running all tests in a single stage as shown here, use separate stages such as:
Stage 1: Test.All NFsStage 2: Test.eBPF TestsStage 3: Test.QoS Tests...Below error happened when replaying a PR pipeline:
On script console:
githubPRComment → GitHubPRCause is for identifying a PR-triggered build. The thing to watch is that a Replay/manual build may not retain that cause, even though the build is still logically associated with a PR.
Maybe add it in try-catch block or check other workarounds.