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 2577 for main with status FAILURE - open ./testdata/garble_macho_executable: Operation did not complete successfully because the file contains a virus or potentially unwanted software. #39090

Open
elasticmachine opened this issue Apr 19, 2024 · 2 comments
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

💔 Build 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: 2024-04-19T15:02:21.381+0000

  • Duration: 176 min 26 sec

Test stats 🧪

Test Results
Failed 0
Passed 55692
Skipped 4988
Total 60680

Steps errors 8

Expand to view the steps failures

auditbeat-windows-11-windows-11 - mage build unitTest
  • Took 4 min 8 sec . View more details here
  • Description: mage build unitTest
x-pack/packetbeat-windows-10-windows-10 - mage build unitTest
  • Took 0 min 14 sec . View more details here
  • Description: mage build unitTest
x-pack/packetbeat-windows-10-windows-10 - mage build unitTest
  • Took 1 min 53 sec . View more details here
  • Description: mage build unitTest
x-pack/packetbeat-windows-10-windows-10 - mage build unitTest
  • Took 0 min 11 sec . View more details here
  • Description: mage build unitTest
x-pack/packetbeat-windows-10-system-windows-10 - mage systemTest
  • Took 0 min 15 sec . View more details here
  • Description: mage systemTest
x-pack/packetbeat-windows-10-system-windows-10 - mage systemTest
  • Took 1 min 58 sec . View more details here
  • Description: mage systemTest
x-pack/packetbeat-windows-10-system-windows-10 - mage systemTest
  • Took 0 min 12 sec . View more details here
  • Description: mage systemTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error "hudson.AbortException: script returned exit code 1"

@elasticmachine elasticmachine added 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 labels Apr 19, 2024
@elasticmachine
Copy link
Collaborator Author

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@pierrehilbert pierrehilbert changed the title Build 2577 for main with status FAILURE Build 2577 for main with status FAILURE - open ./testdata/garble_macho_executable: Operation did not complete successfully because the file contains a virus or potentially unwanted software. Apr 22, 2024
@scottgeary
Copy link

When cloning the repo, my local virus scanner is also detecting that the pre-compiled binary garble_macho_executable is matching a known virus.

Offending shasum detected: https://www.virustotal.com/gui/file/776afb2460e1bc4d7caf471b8db038da78cb47d416aa7e45d175c054114b714a

The file hasn't changed since it was introduced in 1fb2484 #28802

The readme for these test binaries suggests they were built using either Go or Garble in-advance. Garble specifically designed to obfuscate code, and likely why it's being flagged.

As a user of this repo, I have to trust these binaries were indeed compiled from the example hello world source. If I compile myself, it's unlikely my output would be exactly the same to prove this.

Perhaps compiling these on-demand, during testing, would increase the trust that they don't include anything malicious. Otherwise it's quite difficult to fully say it's a false-positive.

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

No branches or pull requests

2 participants