Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Jun 17, 2021

Needed for mysql tests elastic/integrations#1145

@jsoriano jsoriano added the Team:Integrations Label for the Integrations team label Jun 17, 2021
@jsoriano jsoriano self-assigned this Jun 17, 2021
@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

Expand to view the summary

Build stats

  • Build Cause: Pull request #380 opened

  • Start Time: 2021-06-17T19:06:41.267+0000

  • Duration: 3 min 14 sec

  • Commit: ff88001

Trends 🧪

Image of Build Times

Steps errors 1

Expand to view the steps failures

Check
  • Took 1 min 54 sec . View more details on here
  • Description: make check

Log output

Expand to view the last 100 lines of log output

[2021-06-17T19:09:45.688Z] go get github.com/elastic/go-licenser
[2021-06-17T19:09:45.688Z] go: downloading github.com/elastic/go-licenser v0.3.1
[2021-06-17T19:09:45.688Z] go-licenser -license Elastic
[2021-06-17T19:09:45.688Z] go mod tidy
[2021-06-17T19:09:45.688Z] go: downloading github.com/stretchr/testify v1.7.0
[2021-06-17T19:09:45.688Z] go: downloading gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f
[2021-06-17T19:09:45.688Z] go: downloading github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174
[2021-06-17T19:09:45.688Z] go: downloading github.com/go-git/go-git-fixtures/v4 v4.0.1
[2021-06-17T19:09:45.688Z] go: downloading github.com/onsi/ginkgo v1.11.0
[2021-06-17T19:09:45.688Z] go: downloading github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
[2021-06-17T19:09:45.688Z] go: downloading github.com/onsi/gomega v1.7.0
[2021-06-17T19:09:45.688Z] go: downloading github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8
[2021-06-17T19:09:45.688Z] go: downloading github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153
[2021-06-17T19:09:45.688Z] go: downloading github.com/gliderlabs/ssh v0.2.2
[2021-06-17T19:09:45.688Z] go: downloading github.com/google/uuid v1.1.2
[2021-06-17T19:09:45.688Z] go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
[2021-06-17T19:09:45.688Z] go: downloading github.com/kr/pty v1.1.5
[2021-06-17T19:09:45.688Z] go: downloading github.com/pmezard/go-difflib v1.0.0
[2021-06-17T19:09:45.688Z] go: downloading github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
[2021-06-17T19:09:45.688Z] go: downloading gotest.tools v2.2.0+incompatible
[2021-06-17T19:09:45.688Z] go: downloading github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e
[2021-06-17T19:09:45.688Z] go: downloading github.com/tidwall/pretty v1.0.0
[2021-06-17T19:09:45.688Z] go: downloading github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
[2021-06-17T19:09:45.688Z] go: downloading github.com/kr/text v0.2.0
[2021-06-17T19:09:45.688Z] go: downloading github.com/hpcloud/tail v1.0.0
[2021-06-17T19:09:45.688Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
[2021-06-17T19:09:45.688Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7
[2021-06-17T19:09:45.688Z] go: downloading github.com/fsnotify/fsnotify v1.4.9
[2021-06-17T19:09:49.880Z] go: downloading github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7
[2021-06-17T19:09:49.880Z] cd tools/readme; go run main.go
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for build...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for check...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for clean...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for create...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for export...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for format...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for install...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for lint...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for profiles...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for promote...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for publish...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for service...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for stack...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for status [package]...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for test...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for uninstall...
[2021-06-17T19:09:53.171Z] 2021/06/17 19:09:52 generating command doc for version...
[2021-06-17T19:09:53.171Z] README.md successfully written
[2021-06-17T19:09:53.171Z] git update-index --really-refresh
[2021-06-17T19:09:53.171Z] go.mod: needs update
[2021-06-17T19:09:53.171Z] go.sum: needs update
[2021-06-17T19:09:53.171Z] Makefile:48: recipe for target 'check-git-clean' failed
[2021-06-17T19:09:53.171Z] make: *** [check-git-clean] Error 1
[2021-06-17T19:09:53.343Z] Post stage
[2021-06-17T19:09:53.367Z] Running in /var/lib/jenkins/workspace/t-manager_elastic-package_PR-380/src/github.com/elastic/elastic-package
[2021-06-17T19:09:53.409Z] Archiving artifacts
[2021-06-17T19:09:53.442Z] Archiving artifacts
[2021-06-17T19:09:53.474Z] Archiving artifacts
[2021-06-17T19:09:53.507Z] Archiving artifacts
[2021-06-17T19:09:53.537Z] Recording test results
[2021-06-17T19:09:53.622Z] No test report files were found. Configuration error?
[2021-06-17T19:09:53.665Z] Error when executing always post condition:
[2021-06-17T19:09:53.665Z] Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from beats-ci-immutable-ubuntu-1804-1623956815442278300.c.elastic-ci-prod.internal/10.224.1.42:54714
[2021-06-17T19:09:53.665Z] 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
[2021-06-17T19:09:53.665Z] 		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
[2021-06-17T19:09:53.665Z] 		at hudson.remoting.Channel.call(Channel.java:1001)
[2021-06-17T19:09:53.665Z] 		at hudson.FilePath.act(FilePath.java:1159)
[2021-06-17T19:09:53.665Z] 		at hudson.FilePath.act(FilePath.java:1148)
[2021-06-17T19:09:53.665Z] 		at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:107)
[2021-06-17T19:09:53.665Z] 		at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:149)
[2021-06-17T19:09:53.665Z] 		at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:243)
[2021-06-17T19:09:53.665Z] 		at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:63)
[2021-06-17T19:09:53.665Z] 		at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:29)
[2021-06-17T19:09:53.665Z] 		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2021-06-17T19:09:53.665Z] 		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2021-06-17T19:09:53.665Z] 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-06-17T19:09:53.665Z] 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-06-17T19:09:53.665Z] 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-06-17T19:09:53.665Z] hudson.AbortException: No test report files were found. Configuration error?
[2021-06-17T19:09:53.665Z] 	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:152)
[2021-06-17T19:09:53.665Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3317)
[2021-06-17T19:09:53.665Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
[2021-06-17T19:09:53.665Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[2021-06-17T19:09:53.665Z] 	at hudson.remoting.Request$2.run(Request.java:375)
[2021-06-17T19:09:53.665Z] 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
[2021-06-17T19:09:53.665Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-06-17T19:09:53.665Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-06-17T19:09:53.665Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-06-17T19:09:53.665Z] 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:118)
[2021-06-17T19:09:53.665Z] 	at java.lang.Thread.run(Thread.java:748)
[2021-06-17T19:09:53.665Z] 
[2021-06-17T19:09:54.508Z] Running on Jenkins in /var/lib/jenkins/workspace/t-manager_elastic-package_PR-380
[2021-06-17T19:09:54.583Z] [INFO] getVaultSecret: Getting secrets
[2021-06-17T19:09:54.626Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-17T19:09:55.488Z] + chmod 755 generate-build-data.sh
[2021-06-17T19:09:55.488Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/elastic-package/PR-380/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/elastic-package/PR-380/runs/1 FAILURE 193947
[2021-06-17T19:09:55.488Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/elastic-package/PR-380/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-17T19:09:56.039Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/elastic-package/PR-380/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-06-17T19:09:56.039Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-06-17T19:09:57.382Z] Retry 2/3 exited 22, retrying in 2 seconds...

```yml
multiline:
first_line_pattern: "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}"
exclude_lines:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should prepare a PR for the package-spec first.

The `multiline` section ([raw files](#raw-files) only) configures the log file reader to correctly detect multiline log entries using the `first_line_pattern`. Use this property if your logs may be split into multiple lines, e.g. Java stack traces.

The `exclude_lines` sections allows to filter out lines from the sample log files. If `multiline` is used, pattern is checked after merging lines.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the elastic/integrations#1145:

I'm wondering if it's possible to remove lines starting with # with ingest pipeline (during processing, just skip them).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I will try that!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that something like #384 will be needed, otherwise errors like this happen:

ERROR: verifying test result failed: comparing test results failed: can't adjust test results: can't unmarshal event: unexpected end of JSON input

@jsoriano
Copy link
Member Author

Not needed by now, lines can be excluded in the pipeline.

@jsoriano
Copy link
Member Author

Oh, I closed this thinking that it was #380 facepalm reopening, this is needed for elastic/integrations#1145.

@jsoriano jsoriano reopened this Jun 29, 2021
@jsoriano jsoriano marked this pull request as ready for review June 29, 2021 17:02
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@jsoriano
Copy link
Member Author

No, this is not the PR I wanted to reopen 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants