-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update test versions of NGINX, Apache and MongoDB #33789
Conversation
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
587679b
to
ce6b8f1
Compare
@@ -1,6 +1,5 @@ | |||
ARG APACHE_VERSION=${APACHE_VERSION} | |||
FROM httpd:$APACHE_VERSION | |||
RUN sed -i "/jessie-updates/d" /etc/apt/sources.list | |||
RUN apt-get update && apt-get install -y curl | |||
RUN apt update && yes | apt install curl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is different on purpose. yes |
also allows to install packages without authentication in case of expired keys. The keys in Jessie are expired at the moment and we need this Debian version for testing old log format for httpd <= 2.4.12. So either we have to update the keys as one of the steps or just accept the prompt to install without authentication.
8d6338c
to
2b17815
Compare
4e17685
to
2b17815
Compare
8ec4529
to
6231062
Compare
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Add the missing MPM module and the `ServerName` directive for Apache.
6231062
to
38b7077
Compare
require.Eventually(t, func() bool { | ||
events, errs = mbtest.ReportingFetchV2Error(f) | ||
return len(events) > 0 && len(errs) == 0 | ||
}, 30*time.Second, time.Second, "events cannot be empty: %v, %v", events, errs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was flaky, sometimes Logstash returns 0 events the first time around.
I noticed this too. There's a Makefile that predates using beats/dev-tools/make/mage-install.mk Line 1 in d49292d
|
Same for me. I can't reproduce the diff that CI is giving for the NOTICE. |
@andrewkroh I found the cause, it's because of: I've pinned the version in 4048b65 |
😆 I just found it too.
Great! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fighting through all this!
E2E test fails with
it's definitely unrelated to the change, I'm merging. |
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency (cherry picked from commit 4f639d7) # Conflicts: # NOTICE.txt # go.mod # go.sum
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency (cherry picked from commit 4f639d7) # Conflicts: # NOTICE.txt # go.mod # go.sum
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency (cherry picked from commit 4f639d7)
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency (cherry picked from commit 4f639d7) Co-authored-by: Denis <denis.rechkunov@elastic.co>
…oDB (#33844) * Update test versions of NGINX, Apache and MongoDB (#33789) The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency (cherry picked from commit 4f639d7) # Conflicts: # NOTICE.txt # go.mod # go.sum Co-authored-by: Denis <denis.rechkunov@elastic.co>
…goDB (#33843) * Update test versions of NGINX, Apache and MongoDB (#33789) The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency (cherry picked from commit 4f639d7) # Conflicts: # NOTICE.txt # go.mod # go.sum * Resolve conflicts * Rollback the client version update Co-authored-by: Denis <denis.rechkunov@elastic.co>
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020). We started having problems with expired GPG keys when installing dependencies in our Docker files. Also: * Add the missing MPM module and the `ServerName` directive for Apache. * Add retries to Logstash tests because they are flaky * Do not install mage v1.14.0 * Update elastic-agent-client version to avoid broken agent dependency
What does this PR do?
The old tests were based on Debian Jessie released in April 2015 (end-of-life on June 30, 2020).
We started having problems with expired GPG keys when installing dependencies in our Docker files.
Why is it important?
Our CI is currently failing with:
Author's Checklist
Metricbeat NGINX tests passed
Metricbeat Apache tests passed
Metricbeat MongoDB tests passed
Closes Logstash integration tests are flaky #33230