Skip to content

[7.17](backport #33895) Enforce "yes" when install debian packages in packaging#33897

Merged
cmacknz merged 1 commit into7.17from
mergify/bp/7.17/pr-33895
Dec 1, 2022
Merged

[7.17](backport #33895) Enforce "yes" when install debian packages in packaging#33897
cmacknz merged 1 commit into7.17from
mergify/bp/7.17/pr-33895

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Nov 30, 2022

This is an automatic backport of pull request #33895 done by Mergify.


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

Older versions of Debian have expired GPG keys. In this case `-y` is
not enough and `apt-get` requires an additional `--force-yes`.

(cherry picked from commit 6c0dc97)
@mergify mergify Bot requested a review from a team as a code owner November 30, 2022 20:36
@mergify mergify Bot removed the request for review from a team November 30, 2022 20:36
@mergify mergify Bot added the backport label Nov 30, 2022
@mergify mergify Bot requested review from faec and rdner November 30, 2022 20:36
@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
Copy Markdown

botelastic Bot commented Nov 30, 2022

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

@sonarqubecloud
Copy link
Copy Markdown

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 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-30T20:37:13.835+0000

  • Duration: 131 min 5 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_6ce7770e53-snapshot_nats-routes_1, metricbeat_7_17_8_6ce7770e53-snapshot_nats_1, metricbeat_7_17_8_6ce7770e53-snapshot_mysql_1, metricbeat_7_17_8_6ce7770e53-snapshot_munin_1, metricbeat_7_17_8_6ce7770e53-snapshot_mongodb_1, metricbeat_7_17_8_6ce7770e53-snapshot_memcached_1, metricbeat_7_17_8_6ce7770e53-snapshot_logstash_1, metricbeat_7_17_8_6ce7770e53-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
     ---> 106ffdbe1fe1
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 26bf7990abb5
    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 (718 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_6ce7770e53-snapshot_nats-routes_1, metricbeat_7_17_8_6ce7770e53-snapshot_nats_1, metricbeat_7_17_8_6ce7770e53-snapshot_mysql_1, metricbeat_7_17_8_6ce7770e53-snapshot_munin_1, metricbeat_7_17_8_6ce7770e53-snapshot_mongodb_1, metricbeat_7_17_8_6ce7770e53-snapshot_memcached_1, metricbeat_7_17_8_6ce7770e53-snapshot_logstash_1, metricbeat_7_17_8_6ce7770e53-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
     ---> 106ffdbe1fe1
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 82d5ef05d514
    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://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]
    Ign http://nginx.org jessie InRelease
    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 (739 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: GPG 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
    Found orphan containers (metricbeat_7_17_8_6ce7770e53-snapshot_nats-routes_1, metricbeat_7_17_8_6ce7770e53-snapshot_nats_1, metricbeat_7_17_8_6ce7770e53-snapshot_mysql_1, metricbeat_7_17_8_6ce7770e53-snapshot_munin_1, metricbeat_7_17_8_6ce7770e53-snapshot_mongodb_1, metricbeat_7_17_8_6ce7770e53-snapshot_memcached_1, metricbeat_7_17_8_6ce7770e53-snapshot_logstash_1, metricbeat_7_17_8_6ce7770e53-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
     ---> 106ffdbe1fe1
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 5b3bf936af52
    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 (717 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.10s)
     
    

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_6ce7770e53-snapshot_nats-routes_1, metricbeat_7_17_8_6ce7770e53-snapshot_nats_1, metricbeat_7_17_8_6ce7770e53-snapshot_mysql_1, metricbeat_7_17_8_6ce7770e53-snapshot_munin_1, metricbeat_7_17_8_6ce7770e53-snapshot_logstash_1, metricbeat_7_17_8_6ce7770e53-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
     ---> 106ffdbe1fe1
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 7d93bc29f3ca
    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 (719 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_6ce7770e53-snapshot_nats-routes_1, metricbeat_7_17_8_6ce7770e53-snapshot_nats_1, metricbeat_7_17_8_6ce7770e53-snapshot_mysql_1, metricbeat_7_17_8_6ce7770e53-snapshot_munin_1, metricbeat_7_17_8_6ce7770e53-snapshot_logstash_1, metricbeat_7_17_8_6ce7770e53-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
     ---> 106ffdbe1fe1
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 0084a7d509d6
    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 (725 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_6ce7770e53-snapshot_nats-routes_1, metricbeat_7_17_8_6ce7770e53-snapshot_nats_1, metricbeat_7_17_8_6ce7770e53-snapshot_mysql_1, metricbeat_7_17_8_6ce7770e53-snapshot_munin_1, metricbeat_7_17_8_6ce7770e53-snapshot_logstash_1, metricbeat_7_17_8_6ce7770e53-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
     ---> 106ffdbe1fe1
    Step 4/6 : RUN apt-get update && apt-get install -y curl
     ---> Running in 3d0fee6f741e
    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]
    Ign http://nginx.org jessie InRelease
    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://httpredir.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
    W: GPG 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: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 (153.14s)
     
    

Steps errors 5

Expand to view the steps failures

filebeat-shipping-to-next-major - STACK_ENVIRONMENT=next-major TESTING_FILEBEAT_SKIP_DIFF=1 mage pyt
  • Took 15 min 48 sec . View more details here
  • Description: STACK_ENVIRONMENT=next-major TESTING_FILEBEAT_SKIP_DIFF=1 mage pythonIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 31 min 52 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 23 min 58 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 23 min 57 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!)

@cmacknz
Copy link
Copy Markdown
Member

cmacknz commented Dec 1, 2022

NGINX tests are failing, needs #33843 to fix those. Merging.

@cmacknz cmacknz merged commit 5930bf6 into 7.17 Dec 1, 2022
@cmacknz cmacknz deleted the mergify/bp/7.17/pr-33895 branch December 1, 2022 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 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