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

Intermittent build errors #7294

Closed
npepinpe opened this issue Jun 15, 2021 · 1 comment · Fixed by #7403
Closed

Intermittent build errors #7294

npepinpe opened this issue Jun 15, 2021 · 1 comment · Fixed by #7403
Assignees
Labels
kind/bug Categorizes an issue or PR as a bug severity/low Marks a bug as having little to no noticeable impact for the user

Comments

@npepinpe
Copy link
Member

Describe the bug

It can happen sometimes that a IndexOutOfBoundException is thrown due to a buffer operation failing when copying filtered resources in zeebe-atomix. It seems related to buildnumber-maven-plugin - if you disable this plugin, then the build works perfectly.

You will notice this error as something related to newPosition < 0 (-1 < 0) when building zeebe-atomix. It seems to happen to me mostly when a previous build failed, so I have a partial build. Doing a clean build usually fixes the issue, but it's still annoying.

To Reproduce

You will notice this error as something related to newPosition < 0 (-1 < 0) when building zeebe-atomix. It seems to happen to me mostly when a previous build failed, so I have a partial build. Doing a clean build usually fixes the issue, but it's still annoying.

Expected behavior

No build issues. I would like to have something like what the plugin does however, but this plugin is probably a better option.

@npepinpe npepinpe added kind/bug Categorizes an issue or PR as a bug severity/low Marks a bug as having little to no noticeable impact for the user Impact: Tech Debt labels Jun 15, 2021
@npepinpe npepinpe added this to Planned in Zeebe Jun 16, 2021
@npepinpe
Copy link
Member Author

For now let's simply remove the buildnumber plugin which we don't rely on, and in a second step we can evaluate using something like the git commit ID plugin.

@npepinpe npepinpe moved this from Planned to Ready in Zeebe Jun 24, 2021
@npepinpe npepinpe self-assigned this Jun 30, 2021
@npepinpe npepinpe moved this from Ready to In progress in Zeebe Jun 30, 2021
@npepinpe npepinpe moved this from In progress to Review in progress in Zeebe Jun 30, 2021
@ghost ghost closed this as completed in d7e2879 Jun 30, 2021
Zeebe automation moved this from Review in progress to Done Jun 30, 2021
ghost pushed a commit that referenced this issue Jun 30, 2021
7405: [Backports stable/1.0] Fix intermittent build errors by removing buildnumber plugin r=pihme a=npepinpe

## Description

This PR backports #7403 to stable/1.0. The only conflict was some import statements in `Atomix.java` since we simplified the partition groups in 1.1 but not in 1.0.

## Related issues

relates to #7294



Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
@KerstinHebel KerstinHebel removed this from Done in Zeebe Mar 23, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes an issue or PR as a bug severity/low Marks a bug as having little to no noticeable impact for the user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants