-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[CI] fix 'no matches found within 10000' #21466
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
27fad54
[CI] debug what stage causes 'no matches found within 10000'
v1v 301f037
Delete ve and vendor folders to avoid 10000
v1v ef26081
Merge remote-tracking branch 'upstream/master' into feature/ci-fix-no…
v1v 1ea9752
Remove folders with find
v1v d92bbba
Fix groovy syntax
v1v 20c4e87
Avoid debug traces
v1v 0684a38
Tar and archive rather than archive only
v1v File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,7 @@ pipeline { | |
} | ||
steps { | ||
withGithubNotify(context: 'Lint') { | ||
withBeatsEnv(archive: true) { | ||
withBeatsEnv(archive: true, id: 'lint') { | ||
dumpVariables() | ||
cmd(label: 'make check', script: 'make check') | ||
} | ||
|
@@ -345,8 +345,13 @@ def archiveTestOutput(Map args = [:]) { | |
} | ||
cmd(label: 'Prepare test output', script: 'python .ci/scripts/pre_archive_test.py') | ||
dir('build') { | ||
if (isUnix()) { | ||
cmd(label: 'Delete folders that are causing exceptions (See JENKINS-58421)', | ||
returnStatus: true, | ||
script: 'rm -rf ve || true; find . -type d -name vendor -exec rm -r {} \\;') | ||
} else { log(level: 'INFO', text: 'Delete folders that are causing exceptions (See JENKINS-58421) is disabled for Windows.') } | ||
Comment on lines
+348
to
+352
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clean the build artifacts when the folder is too big! |
||
junitAndStore(allowEmptyResults: true, keepLongStdio: true, testResults: args.testResults, stashedTestReports: stashedTestReports, id: args.id) | ||
archiveArtifacts(allowEmptyArchive: true, artifacts: args.artifacts) | ||
tar(file: "test-build-artifacts-${args.id}.tgz", dir: '.', archive: true, allowMissing: true) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This might help us to avoid the interruption error even when the cleanup defined above happened:
|
||
} | ||
catchError(buildResult: 'SUCCESS', message: 'Failed to archive the build test results', stageResult: 'SUCCESS') { | ||
def folder = cmd(label: 'Find system-tests', returnStdout: true, script: 'python .ci/scripts/search_system_tests.py').trim() | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've no clue where the
ve
folder is defined, but it's there for thelibbeat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC it's created for the integration tests and is created by a Makefile target. It's a Python virtual environment. Should be safe to delete.