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

[BUG]: Build breaks with ENOBUFS error after successful Java unit tests #4767

Closed
1 of 4 tasks
schuettecarsten opened this issue Apr 19, 2024 · 3 comments
Closed
1 of 4 tasks

Comments

@schuettecarsten
Copy link

What happened?

Build breaks with ENOBUFS error after successful Java unit tests. The Java build step works fine on a local machine. Tests are also executed sucessfully on the agent VM. The VM has 8 Cores and 16 GB RAM which should be more than enough, memory/CPU limites are not reached at all.

Versions

3.238.0

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22.04

Version controll system

git

Relevant log output

[...]

nsctestsupport_jacocoreport:
[jacoco:report] Loading execution data file /home/azureuser/myagent/_work/1/s/core-customize/hybris/log/junit/jacoco.exec
[jacoco:report] Writing bundle 'JaCoCo' with 1134 classes

BUILD SUCCESSFUL
Total time: 3 seconds

BUILD SUCCESSFUL in 1m 31s
2 actionable tasks: 2 executed

##[error]Unhandled: write ENOBUFS
##[error]Error: write ENOBUFS
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writevGeneric (node:internal/stream_base_commons:143:3)
    at Socket._writeGeneric (node:net:950:11)
    at Socket._writev (node:net:959:8)
    at doWrite (node:internal/streams/writable:588:12)
    at clearBuffer (node:internal/streams/writable:765:5)
    at onwrite (node:internal/streams/writable:644:7)
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:106:10)
Finishing:  Unittest
@schuettecarsten
Copy link
Author

schuettecarsten commented Apr 19, 2024

The build step:

  - task: Gradle@3
    displayName: ' Unittest'
    inputs:
      gradleWrapperFile: 'gradlew'
      tasks: 'unittest'
      options: '-PbuildConfigHybris=$(hybris.config.environment)'
      publishJUnitResults: true
      testResultsFiles: '**/TEST-*.xml'
      javaHomeOption: 'JDKVersion'
      sonarQubeRunAnalysis: false
      spotBugsAnalysis: false      

@schuettecarsten
Copy link
Author

Hi, @DenisRumyantsev and team, any ideas what we can to to mitigate this issue? Our pipeline does not work on Microsoft hosted agents because we need some special software, and it also does not work on self-hosted agents (Azure VM) because of this issue.

Copy link

This issue has had no activity in 180 days. Please comment if it is not actually stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants