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

Build 2144 for main with status FAILURE - failed to register seccomp policy: found duplicate syscall pwrite64 #37367

Closed
elasticmachine opened this issue Dec 8, 2023 · 4 comments · Fixed by #37440
Labels
automation build-failures Build failures in the CI. ci-reported Issues that have been automatically reported from the CI Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@elasticmachine
Copy link
Collaborator

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-12-08T16:12:16.398+0000

  • Duration: 153 min 48 sec

Test stats 🧪

Test Results
Failed 2
Passed 32689
Skipped 2382
Total 35073

Test errors 2

Expand to view the tests failures

Extended / heartbeat-arm-ubuntu-2204-aarch64 / TestMain –
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     panic: failed to register seccomp policy: found duplicate syscall pwrite64
    
    goroutine 1 [running]:
    github.com/elastic/beats/v7/libbeat/common/seccomp.MustRegisterPolicy(0x4000315920)
    	/var/lib/jenkins/workspace/main-2144-4b84bddd-c599-4502-876a-ea2542e77dbb/src/github.com/elastic/beats/libbeat/common/seccomp/seccomp.go:60 +0xa8
    github.com/elastic/beats/v7/heartbeat/security.init.0()
    	/var/lib/jenkins/workspace/main-2144-4b84bddd-c599-4502-876a-ea2542e77dbb/src/github.com/elastic/beats/heartbeat/security/policy_linux_arm64.go:174 +0xdc
    FAIL	github.com/elastic/beats/v7/heartbeat	0.020s
     
    

Extended / heartbeat-arm-ubuntu-2204-aarch64 / TestMain –
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     panic: failed to register seccomp policy: found duplicate syscall pwrite64
    
    goroutine 1 [running]:
    github.com/elastic/beats/v7/libbeat/common/seccomp.MustRegisterPolicy(0x4000303920)
    	/var/lib/jenkins/workspace/main-2144-4b84bddd-c599-4502-876a-ea2542e77dbb/src/github.com/elastic/beats/libbeat/common/seccomp/seccomp.go:60 +0xa8
    github.com/elastic/beats/v7/heartbeat/security.init.0()
    	/var/lib/jenkins/workspace/main-2144-4b84bddd-c599-4502-876a-ea2542e77dbb/src/github.com/elastic/beats/heartbeat/security/policy_linux_arm64.go:174 +0xdc
    FAIL	github.com/elastic/beats/v7/heartbeat/beater	0.023s
     
    

Steps errors 4

Expand to view the steps failures

heartbeat-arm-ubuntu-2204-aarch64 - mage build unitTest
  • Took 4 min 41 sec . View more details here
  • Description: mage build unitTest
heartbeat-arm-ubuntu-2204-aarch64 - mage build unitTest
  • Took 0 min 26 sec . View more details here
  • Description: mage build unitTest
heartbeat-arm-ubuntu-2204-aarch64 - mage build unitTest
  • Took 0 min 26 sec . View more details here
  • Description: mage build unitTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error "hudson.AbortException: script returned exit code 1"

@pierrehilbert
Copy link
Collaborator

@bturquet sorry if you shouldn't be the one I pinged but the issue seems to be related to Heartbeat, could we have someone to have a look please?

@bturquet
Copy link

@vigneshshanmugam @devcorpio @emilioalvap Have we ever had similar error before ?
Could you have a look as the issue seems related to Heartbeat ?
Thank you

@pierrehilbert pierrehilbert changed the title Build 2144 for main with status FAILURE Build 2144 for main with status FAILURE - failed to register seccomp policy: found duplicate syscall pwrite64 Dec 14, 2023
@emilioalvap
Copy link
Collaborator

emilioalvap commented Dec 14, 2023

@bturquet Yes, there seems to be a duplicate syscall specified in our arm policy. I'm not sure if this started popping up due to an upgrade to the seccomp library. Fix here: #37440

@pierrehilbert
Copy link
Collaborator

Thanks @emilioalvap for the quick action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation build-failures Build failures in the CI. ci-reported Issues that have been automatically reported from the CI Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants