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

mod: update elastic-agent-client past invalid elastic-agent dep commit #33832

Closed
wants to merge 1 commit into from

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Nov 27, 2022

What does this PR do?

This moves the elastic-agent-client dependency to include a fix for including an invalid elastic-agent out of branch commit.

Why is it important?

Building with the current dependency fails with the following error.

2022-11-27T21:39:48.2717954Z go: github.com/elastic/elastic-agent@v0.0.0-20220831162706-5f1e54f40d3e: invalid version: unknown revision 5f1e54f40d3e

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

This moves the elastic-agent-client dependency to include a fix for including an
invalid elastic-agent out of branch commit.
@efd6 efd6 added bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team 8.7-candidate labels Nov 27, 2022
@efd6 efd6 self-assigned this Nov 27, 2022
@efd6 efd6 requested a review from a team as a code owner November 27, 2022 22:54
@efd6 efd6 requested review from belimawr and rdner and removed request for a team November 27, 2022 22:54
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 27, 2022
@mergify
Copy link
Contributor

mergify bot commented Nov 27, 2022

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @efd6? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v8./d.0 is the label to automatically backport to the 8./d branch. /d is the digit

@efd6 efd6 added the backport-skip Skip notification from the automated backport with mergify label Nov 28, 2022
@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-27T22:55:06.205+0000

  • Duration: 117 min 9 sec

Test stats 🧪

Test Results
Failed 2
Passed 24113
Skipped 1953
Total 26068

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_8_7_0_35a175384a-snapshot_nats-routes_1, metricbeat_8_7_0_35a175384a-snapshot_nats_1, metricbeat_8_7_0_35a175384a-snapshot_mysql_1, metricbeat_8_7_0_35a175384a-snapshot_munin_1, metricbeat_8_7_0_35a175384a-snapshot_mongodb_1, metricbeat_8_7_0_35a175384a-snapshot_memcached_1, metricbeat_8_7_0_35a175384a-snapshot_logstash_1, metricbeat_8_7_0_35a175384a-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
     ---> 12b8ee5bd898
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in c085b424db47
    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 (724 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_8_7_0_35a175384a-snapshot_nats-routes_1, metricbeat_8_7_0_35a175384a-snapshot_nats_1, metricbeat_8_7_0_35a175384a-snapshot_mysql_1, metricbeat_8_7_0_35a175384a-snapshot_munin_1, metricbeat_8_7_0_35a175384a-snapshot_mongodb_1, metricbeat_8_7_0_35a175384a-snapshot_memcached_1, metricbeat_8_7_0_35a175384a-snapshot_logstash_1, metricbeat_8_7_0_35a175384a-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
     ---> 12b8ee5bd898
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in b3d630b082a5
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Get:2 http://httpredir.debian.org jessie Release.gpg [1652 B]
    Get:3 http://nginx.org jessie InRelease [2865 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 (716 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_8_7_0_35a175384a-snapshot_nats-routes_1, metricbeat_8_7_0_35a175384a-snapshot_nats_1, metricbeat_8_7_0_35a175384a-snapshot_mysql_1, metricbeat_8_7_0_35a175384a-snapshot_munin_1, metricbeat_8_7_0_35a175384a-snapshot_mongodb_1, metricbeat_8_7_0_35a175384a-snapshot_memcached_1, metricbeat_8_7_0_35a175384a-snapshot_logstash_1, metricbeat_8_7_0_35a175384a-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
     ---> 12b8ee5bd898
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 9a50443a921d
    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 (736 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
        stubstatus_integration_test.go:33: getting host for nginx: no container running for service
    --- FAIL: TestFetch (154.23s)
     
    

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_8_7_0_35a175384a-snapshot_nats-routes_1, metricbeat_8_7_0_35a175384a-snapshot_nats_1, metricbeat_8_7_0_35a175384a-snapshot_mysql_1, metricbeat_8_7_0_35a175384a-snapshot_munin_1, metricbeat_8_7_0_35a175384a-snapshot_logstash_1, metricbeat_8_7_0_35a175384a-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
     ---> 12b8ee5bd898
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 5147d36a08b8
    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 (724 kB/s)
    Reading package lists...
    �[91mW�[0m�[91m: �[0m�[91mGPG 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�[0m�[91m
    �[0m�[91mW�[0m�[91m: �[0m�[91mGPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554�[0m�[91m
    �[0m�[91mW�[0m�[91m: �[0m�[91mGPG error: http://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673�[0m�[91m
    �[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_8_7_0_35a175384a-snapshot_nats-routes_1, metricbeat_8_7_0_35a175384a-snapshot_nats_1, metricbeat_8_7_0_35a175384a-snapshot_mysql_1, metricbeat_8_7_0_35a175384a-snapshot_munin_1, metricbeat_8_7_0_35a175384a-snapshot_logstash_1, metricbeat_8_7_0_35a175384a-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
     ---> 12b8ee5bd898
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 15fe1a413faa
    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_8_7_0_35a175384a-snapshot_nats-routes_1, metricbeat_8_7_0_35a175384a-snapshot_nats_1, metricbeat_8_7_0_35a175384a-snapshot_mysql_1, metricbeat_8_7_0_35a175384a-snapshot_munin_1, metricbeat_8_7_0_35a175384a-snapshot_logstash_1, metricbeat_8_7_0_35a175384a-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
     ---> 12b8ee5bd898
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 22cc850effd5
    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 (736 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.36s)
     
    

Steps errors 5

Expand to view the steps failures

metricbeat-goIntegTest - mage goIntegTest
  • Took 34 min 45 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 24 min 46 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 24 min 37 sec . View more details here
  • Description: mage goIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 35 min 55 sec . View more details here
  • Description: mage pythonIntegTest
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!)

@efd6
Copy link
Contributor Author

efd6 commented Nov 28, 2022

Failure is unrelated.

@rdner
Copy link
Member

rdner commented Nov 28, 2022

This error and the failing metricbeat tests are fixed in #33789

@rdner rdner closed this Nov 28, 2022
@cmacknz cmacknz reopened this Nov 28, 2022
@cmacknz cmacknz closed this Nov 28, 2022
@cmacknz
Copy link
Member

cmacknz commented Nov 28, 2022

Ignore me, accidentally reopened. The fix here is included in Denis's PR above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.7-candidate backport-skip Skip notification from the automated backport with mergify bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants