e2e-testing icon indicating copy to clipboard operation
e2e-testing copied to clipboard

Determine fate of remaining Jenkins pipelines

Open cachedout opened this issue 2 years ago • 6 comments

This issue concerns the following pipelines:

https://beats-ci.elastic.co/job/e2e-tests/job/e2e-testing-mbp/ https://beats-ci.elastic.co/job/e2e-tests/job/e2e-testing-pr-mbp/

We need to come to a decision about the fate of these pipelines in light of the upcoming Jenkins deprecation. The only E2E pipeline that we make us of and plan to migrate is https://beats-ci.elastic.co/job/e2e-tests/job/e2e-testing-k8s-autodiscovery-daily-mbp/ which we are tracking here.

@jlind23 you previously mentioned that you're worried about possible dependencies between the E2E pipelines and Elastic Agent builds. What need to be done here in order to come to a decision about the future of these pipelines?

cc: @elastic/observablt-ci

cachedout avatar Jul 20 '23 09:07 cachedout

Ideally we need to make sure that all the covered functionality in e2e-testing is already covered by the new testing framework. @roaksoax Can we schedule this?

pazone avatar Jul 20 '23 13:07 pazone

Looking at the test config here it seems like only k8s test cases are still running. The two remaining tests are the one below which are already covered by the new E2E tests in the agent repo:

- name: "Fleet"
   tags: "fleet_mode"
   platforms: ["ubuntu_22_04_amd64"]
- name: "Upgrade Agent"
   tags: "upgrade_agent"
   platforms: ["ubuntu_22_04_amd64"]

@pazone IIRC we do use a function from the E2E-testing repo inside the agent build pipeline to pull artifacts while building, this is probably something we should move to the agent repository.

jlind23 avatar Jul 20 '23 14:07 jlind23

@jlind23 This https://github.com/elastic/elastic-agent/pull/2727 replaces this function. But I don't think it's a blocker if we just want to suspend the Jenkins pipeline

pazone avatar Jul 21 '23 08:07 pazone

@pazone Then we can suspend the pipeline if you agree with my above statement.

jlind23 avatar Jul 24 '23 07:07 jlind23

@jlind23 Yes, I can suspend it

pazone avatar Jul 24 '23 13:07 pazone

I have opened https://github.com/elastic/e2e-testing/pull/3591 to remove everything that I think we want to remove.

cachedout avatar Jul 24 '23 13:07 cachedout