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

[7.17](backport #33894) Add support for excluded paths in packaging #33900

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 30, 2022

This is an automatic backport of pull request #33894 done by Mergify.
Cherry-pick of 3198a68 has failed:

On branch mergify/bp/7.17/pr-33894
Your branch is up to date with 'origin/7.17'.

You are currently cherry-picking commit 3198a686db.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   dev-tools/packaging/package_test.go

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* Add support for excluded paths in packaging

After an update in heartbeat we have have a path like
`usr/share/heartbeat/.node/node/lib/node_modules/@elastic/synthetics/templates/lightweight/heartbeat.yml`
which matches the `configFilePattern` which causes a permission check
which the file does not satisfy. It has nothing to do with the actual
heartbeat configuration file.

* Fix linting issues

* Fix one more linting issue

(cherry picked from commit 3198a68)

# Conflicts:
#	dev-tools/packaging/package_test.go
@mergify mergify bot requested a review from a team as a code owner November 30, 2022 22:25
@mergify mergify bot requested review from rdner and faec and removed request for a team November 30, 2022 22:25
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Nov 30, 2022
@mergify mergify bot assigned rdner Nov 30, 2022
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 30, 2022
@botelastic
Copy link

botelastic bot commented Nov 30, 2022

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Collaborator

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

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

  • Start Time: 2022-11-30T22:25:44.386+0000

  • Duration: 9 min 8 sec

Steps errors 1

Expand to view the steps failures

Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'org.jenkinsci.plugins.workflow.steps.FlowInterruptedException'

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@cmacknz
Copy link
Member

cmacknz commented Nov 30, 2022

Merging to unblock the 7.17.8 build, changes compile and are identical to the original change.

@cmacknz cmacknz merged commit 58f4643 into 7.17 Nov 30, 2022
@cmacknz cmacknz deleted the mergify/bp/7.17/pr-33894 branch November 30, 2022 22:47
@elasticmachine
Copy link
Collaborator

💔 Tests 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: 2022-11-30T22:29:51.689+0000

  • Duration: 118 min 41 sec

Test stats 🧪

Test Results
Failed 2
Passed 22182
Skipped 1561
Total 23745

Test errors 2

Expand to view the tests failures

Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/nginx/stubstatus
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    Found orphan containers (metricbeat_7_17_8_e1d192a037-snapshot_nats-routes_1, metricbeat_7_17_8_e1d192a037-snapshot_nats_1, metricbeat_7_17_8_e1d192a037-snapshot_mysql_1, metricbeat_7_17_8_e1d192a037-snapshot_munin_1, metricbeat_7_17_8_e1d192a037-snapshot_mongodb_1, metricbeat_7_17_8_e1d192a037-snapshot_memcached_1, metricbeat_7_17_8_e1d192a037-snapshot_logstash_1, metricbeat_7_17_8_e1d192a037-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building nginx
    Step 1/6 : ARG NGINX_VERSION
    Step 2/6 : FROM nginx:${NGINX_VERSION}
     ---> c8c29d842c09
    Step 3/6 : RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
     ---> Using cache
     ---> 67b16cc2f56a
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in d7450ec95ad0
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Get:2 http://nginx.org jessie InRelease [2865 B]
    Get:3 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:4 http://httpredir.debian.org jessie Release [77.3 kB]
    Ign http://security.debian.org jessie/updates InRelease
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
    Ign http://nginx.org jessie InRelease
    Ign http://httpredir.debian.org jessie Release
    Get:6 http://nginx.org jessie/nginx amd64 Packages [62.1 kB]
    Get:7 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
    Fetched 10.3 MB in 14s (714 kB/s)
    Reading package lists...
    �[91mW: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50
    W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554
    W: GPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    �[0mReading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28 libgssapi-krb5-2
      libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
      libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2 libsasl2-modules
      libsasl2-modules-db libssh2-1 libtasn1-6
    Suggested packages:
      gnutls-bin krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
      libsasl2-modules-sql libsasl2-modules-gssapi-mit
      libsasl2-modules-gssapi-heimdal
    The following NEW packages will be installed:
      curl krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28
      libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3
      libkrb5support0 libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2
      libsasl2-modules libsasl2-modules-db libssh2-1 libtasn1-6
    0 upgraded, 22 newly installed, 0 to remove and 77 not upgraded.
    Need to get 6027 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgmp10 libnettle4 libhogweed2 libffi6 libp11-kit0 libtasn1-6
      libgnutls-deb0-28 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
      libgssapi-krb5-2 libidn11 libsasl2-modules-db libsasl2-2 libldap-2.4-2
      librtmp1 libssh2-1 libcurl3 krb5-locales curl libsasl2-modules
    �[91mE: There are problems and -y was used without --force-yes
    �[0mService 'nginx' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl' returned a non-zero code: 100
        stubstatus_integration_test.go:33: failed to start service 'nginx: exit status 1
    Found orphan containers (metricbeat_7_17_8_e1d192a037-snapshot_nats-routes_1, metricbeat_7_17_8_e1d192a037-snapshot_nats_1, metricbeat_7_17_8_e1d192a037-snapshot_mysql_1, metricbeat_7_17_8_e1d192a037-snapshot_munin_1, metricbeat_7_17_8_e1d192a037-snapshot_mongodb_1, metricbeat_7_17_8_e1d192a037-snapshot_memcached_1, metricbeat_7_17_8_e1d192a037-snapshot_logstash_1, metricbeat_7_17_8_e1d192a037-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building nginx
    Step 1/6 : ARG NGINX_VERSION
    Step 2/6 : FROM nginx:${NGINX_VERSION}
     ---> c8c29d842c09
    Step 3/6 : RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
     ---> Using cache
     ---> 67b16cc2f56a
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in dc72bbffdf1a
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Get:2 http://nginx.org jessie InRelease [2865 B]
    Get:3 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:4 http://httpredir.debian.org jessie Release [77.3 kB]
    Ign http://security.debian.org jessie/updates InRelease
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
    Ign http://nginx.org jessie InRelease
    Ign http://httpredir.debian.org jessie Release
    Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
    Get:7 http://nginx.org jessie/nginx amd64 Packages [62.1 kB]
    Fetched 10.3 MB in 14s (714 kB/s)
    Reading package lists...
    �[91mW: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50
    W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554
    W: GPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    �[0mReading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28 libgssapi-krb5-2
      libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
      libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2 libsasl2-modules
      libsasl2-modules-db libssh2-1 libtasn1-6
    Suggested packages:
      gnutls-bin krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
      libsasl2-modules-sql libsasl2-modules-gssapi-mit
      libsasl2-modules-gssapi-heimdal
    The following NEW packages will be installed:
      curl krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28
      libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3
      libkrb5support0 libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2
      libsasl2-modules libsasl2-modules-db libssh2-1 libtasn1-6
    0 upgraded, 22 newly installed, 0 to remove and 77 not upgraded.
    Need to get 6027 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgmp10 libnettle4 libhogweed2 libffi6 libp11-kit0 libtasn1-6
      libgnutls-deb0-28 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
      libgssapi-krb5-2 libidn11 libsasl2-modules-db libsasl2-2 libldap-2.4-2
      librtmp1 libssh2-1 libcurl3 krb5-locales curl libsasl2-modules
    �[91mE: �[0m�[91mThere are problems and -y was used without --force-yes
    �[0mService 'nginx' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl' returned a non-zero code: 100
        stubstatus_integration_test.go:33: failed to start service 'nginx: exit status 1
    Found orphan containers (metricbeat_7_17_8_e1d192a037-snapshot_nats-routes_1, metricbeat_7_17_8_e1d192a037-snapshot_nats_1, metricbeat_7_17_8_e1d192a037-snapshot_mysql_1, metricbeat_7_17_8_e1d192a037-snapshot_munin_1, metricbeat_7_17_8_e1d192a037-snapshot_mongodb_1, metricbeat_7_17_8_e1d192a037-snapshot_memcached_1, metricbeat_7_17_8_e1d192a037-snapshot_logstash_1, metricbeat_7_17_8_e1d192a037-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building nginx
    Step 1/6 : ARG NGINX_VERSION
    Step 2/6 : FROM nginx:${NGINX_VERSION}
     ---> c8c29d842c09
    Step 3/6 : RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
     ---> Using cache
     ---> 67b16cc2f56a
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 587ad023e8a8
    Ign http://httpredir.debian.org jessie InRelease
    Get:1 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Get:3 http://httpredir.debian.org jessie Release [77.3 kB]
    Get:4 http://nginx.org jessie InRelease [2865 B]
    Ign http://security.debian.org jessie/updates InRelease
    Ign http://httpredir.debian.org jessie Release
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
    Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
    Ign http://nginx.org jessie InRelease
    Get:7 http://nginx.org jessie/nginx amd64 Packages [62.1 kB]
    Fetched 10.3 MB in 14s (730 kB/s)
    Reading package lists...
    �[91mW: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50
    W: GPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    W: �[0m�[91mGPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554
    �[0mReading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28 libgssapi-krb5-2
      libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
      libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2 libsasl2-modules
      libsasl2-modules-db libssh2-1 libtasn1-6
    Suggested packages:
      gnutls-bin krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
      libsasl2-modules-sql libsasl2-modules-gssapi-mit
      libsasl2-modules-gssapi-heimdal
    The following NEW packages will be installed:
      curl krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28
      libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3
      libkrb5support0 libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2
      libsasl2-modules libsasl2-modules-db libssh2-1 libtasn1-6
    0 upgraded, 22 newly installed, 0 to remove and 77 not upgraded.
    Need to get 6027 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgmp10 libnettle4 libhogweed2 libffi6 libp11-kit0 libtasn1-6
      libgnutls-deb0-28 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
      libgssapi-krb5-2 libidn11 libsasl2-modules-db libsasl2-2 libldap-2.4-2
      librtmp1 libssh2-1 libcurl3 krb5-locales curl libsasl2-modules
    �[91mE: There are problems and -y was used without --force-yes
    �[0mService 'nginx' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl' returned a non-zero code: 100
        stubstatus_integration_test.go:33: failed to start service 'nginx: exit status 1
        stubstatus_integration_test.go:33: getting host for nginx: no container running for service
    --- FAIL: TestFetch (154.79s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/nginx/stubstatus
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
    Found orphan containers (metricbeat_7_17_8_e1d192a037-snapshot_nats-routes_1, metricbeat_7_17_8_e1d192a037-snapshot_nats_1, metricbeat_7_17_8_e1d192a037-snapshot_mysql_1, metricbeat_7_17_8_e1d192a037-snapshot_munin_1, metricbeat_7_17_8_e1d192a037-snapshot_logstash_1, metricbeat_7_17_8_e1d192a037-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building nginx
    Step 1/6 : ARG NGINX_VERSION
    Step 2/6 : FROM nginx:${NGINX_VERSION}
     ---> c8c29d842c09
    Step 3/6 : RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
     ---> Using cache
     ---> 67b16cc2f56a
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 3f92bb971966
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Get:2 http://nginx.org jessie InRelease [2865 B]
    Get:3 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:4 http://httpredir.debian.org jessie Release [77.3 kB]
    Ign http://security.debian.org jessie/updates InRelease
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
    Ign http://nginx.org jessie InRelease
    Ign http://httpredir.debian.org jessie Release
    Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
    Get:7 http://nginx.org jessie/nginx amd64 Packages [62.1 kB]
    Fetched 10.3 MB in 13s (735 kB/s)
    Reading package lists...
    �[91mW: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50
    W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554
    W: GPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    �[0mReading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28 libgssapi-krb5-2
      libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
      libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2 libsasl2-modules
      libsasl2-modules-db libssh2-1 libtasn1-6
    Suggested packages:
      gnutls-bin krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
      libsasl2-modules-sql libsasl2-modules-gssapi-mit
      libsasl2-modules-gssapi-heimdal
    The following NEW packages will be installed:
      curl krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28
      libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3
      libkrb5support0 libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2
      libsasl2-modules libsasl2-modules-db libssh2-1 libtasn1-6
    0 upgraded, 22 newly installed, 0 to remove and 77 not upgraded.
    Need to get 6027 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgmp10 libnettle4 libhogweed2 libffi6 libp11-kit0 libtasn1-6
      libgnutls-deb0-28 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
      libgssapi-krb5-2 libidn11 libsasl2-modules-db libsasl2-2 libldap-2.4-2
      librtmp1 libssh2-1 libcurl3 krb5-locales curl libsasl2-modules
    �[91mE: There are problems and -y was used without --force-yes
    �[0mService 'nginx' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl' returned a non-zero code: 100
        stubstatus_integration_test.go:50: failed to start service 'nginx: exit status 1
    Found orphan containers (metricbeat_7_17_8_e1d192a037-snapshot_nats-routes_1, metricbeat_7_17_8_e1d192a037-snapshot_nats_1, metricbeat_7_17_8_e1d192a037-snapshot_mysql_1, metricbeat_7_17_8_e1d192a037-snapshot_munin_1, metricbeat_7_17_8_e1d192a037-snapshot_logstash_1, metricbeat_7_17_8_e1d192a037-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building nginx
    Step 1/6 : ARG NGINX_VERSION
    Step 2/6 : FROM nginx:${NGINX_VERSION}
     ---> c8c29d842c09
    Step 3/6 : RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
     ---> Using cache
     ---> 67b16cc2f56a
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 429bf49a3371
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Get:2 http://nginx.org jessie InRelease [2865 B]
    Get:3 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:4 http://httpredir.debian.org jessie Release [77.3 kB]
    Ign http://security.debian.org jessie/updates InRelease
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
    Ign http://nginx.org jessie InRelease
    Ign http://httpredir.debian.org jessie Release
    Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
    Get:7 http://nginx.org jessie/nginx amd64 Packages [62.1 kB]
    Fetched 10.3 MB in 13s (734 kB/s)
    Reading package lists...
    �[91mW: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50
    W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554
    �[0m�[91mW: GPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    �[0mReading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28 libgssapi-krb5-2
      libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
      libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2 libsasl2-modules
      libsasl2-modules-db libssh2-1 libtasn1-6
    Suggested packages:
      gnutls-bin krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
      libsasl2-modules-sql libsasl2-modules-gssapi-mit
      libsasl2-modules-gssapi-heimdal
    The following NEW packages will be installed:
      curl krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28
      libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3
      libkrb5support0 libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2
      libsasl2-modules libsasl2-modules-db libssh2-1 libtasn1-6
    0 upgraded, 22 newly installed, 0 to remove and 77 not upgraded.
    Need to get 6027 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgmp10 libnettle4 libhogweed2 libffi6 libp11-kit0 libtasn1-6
      libgnutls-deb0-28 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
      libgssapi-krb5-2 libidn11 libsasl2-modules-db libsasl2-2 libldap-2.4-2
      librtmp1 libssh2-1 libcurl3 krb5-locales curl libsasl2-modules
    �[91mE: There are problems and -y was used without --force-yes
    �[0mService 'nginx' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl' returned a non-zero code: 100
        stubstatus_integration_test.go:50: failed to start service 'nginx: exit status 1
    Found orphan containers (metricbeat_7_17_8_e1d192a037-snapshot_nats-routes_1, metricbeat_7_17_8_e1d192a037-snapshot_nats_1, metricbeat_7_17_8_e1d192a037-snapshot_mysql_1, metricbeat_7_17_8_e1d192a037-snapshot_munin_1, metricbeat_7_17_8_e1d192a037-snapshot_logstash_1, metricbeat_7_17_8_e1d192a037-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building nginx
    Step 1/6 : ARG NGINX_VERSION
    Step 2/6 : FROM nginx:${NGINX_VERSION}
     ---> c8c29d842c09
    Step 3/6 : RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
     ---> Using cache
     ---> 67b16cc2f56a
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 57a72c47159d
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Get:2 http://nginx.org jessie InRelease [2865 B]
    Get:3 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:4 http://httpredir.debian.org jessie Release [77.3 kB]
    Ign http://security.debian.org jessie/updates InRelease
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
    Ign http://nginx.org jessie InRelease
    Ign http://httpredir.debian.org jessie Release
    Get:6 http://nginx.org jessie/nginx amd64 Packages [62.1 kB]
    Get:7 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
    Fetched 10.3 MB in 14s (728 kB/s)
    Reading package lists...
    �[91mW: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50
    W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554
    W: GPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    �[0mReading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28 libgssapi-krb5-2
      libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
      libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2 libsasl2-modules
      libsasl2-modules-db libssh2-1 libtasn1-6
    Suggested packages:
      gnutls-bin krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
      libsasl2-modules-sql libsasl2-modules-gssapi-mit
      libsasl2-modules-gssapi-heimdal
    The following NEW packages will be installed:
      curl krb5-locales libcurl3 libffi6 libgmp10 libgnutls-deb0-28
      libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3
      libkrb5support0 libldap-2.4-2 libnettle4 libp11-kit0 librtmp1 libsasl2-2
      libsasl2-modules libsasl2-modules-db libssh2-1 libtasn1-6
    0 upgraded, 22 newly installed, 0 to remove and 77 not upgraded.
    Need to get 6027 kB of archives.
    After this operation, 11.4 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgmp10 libnettle4 libhogweed2 libffi6 libp11-kit0 libtasn1-6
      libgnutls-deb0-28 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
      libgssapi-krb5-2 libidn11 libsasl2-modules-db libsasl2-2 libldap-2.4-2
      librtmp1 libssh2-1 libcurl3 krb5-locales curl libsasl2-modules
    �[91mE: There are problems and -y was used without --force-yes
    �[0mService 'nginx' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl' returned a non-zero code: 100
        stubstatus_integration_test.go:50: failed to start service 'nginx: exit status 1
        stubstatus_integration_test.go:50: getting host for nginx: no container running for service
    --- FAIL: TestData (152.13s)
     
    

Steps errors 4

Expand to view the steps failures

metricbeat-goIntegTest - mage goIntegTest
  • Took 32 min 35 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 24 min 36 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 23 min 5 sec . View more details here
  • Description: mage goIntegTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 2

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/nginx/stubstatus
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/nginx/stubstatus

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport conflicts There is a conflict in the backported pull request needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants