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

Get kibana building and running tests on windows for kibana-ci #21315

Open
6 of 9 tasks
liza-mae opened this issue Jul 26, 2018 · 8 comments
Open
6 of 9 tasks

Get kibana building and running tests on windows for kibana-ci #21315

liza-mae opened this issue Jul 26, 2018 · 8 comments
Assignees
Labels

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Jul 26, 2018

We need to get kibana building and running tests on Windows worker machine for Jenkins CI on kibana-ci. This is for @AlonaNadler to publish Kibana support matrix.

Phase 1: Running tests against snapshots
Phase 2: Building Kibana and running tests against source

Phase 1

  • Replace xvfb with headless chrome
  • Selenium tests
  • X-Pack tests
  • Unit tests
  • CI setup scripts
  • Test setup scripts
  • Jenkins jobs against snapshots

Phase 2

  • Build Kibana on windows
  • Jenkins jobs against PRs and periodic timer based branch tests on source

I have setup the machines to develop and test this. I will create the PRs for the Jenkins jobs and setup scripts for windows and John said he can help out to replace xvfb with headless chrome. I will update the issue accordingly as new items pop-up.

@liza-mae
Copy link
Contributor Author

liza-mae commented Aug 6, 2018

a) Currently blocked by: #19633, it is not tagged for 6.4.0, needs to be determined if this can be fixed or if it is a limitation, we know why it is failing, as reference: nodejs/node#12378 cc: @tylersmalley

b) Also according to @jbudz deb and rpm packages don't build on Windows. When I tried I got the error described in: jordansissel/fpm#653, which appears to be a limitation cc: @jordansissel

@epixa , @AlonaNadler:

  1. if we can fix a) would it be for 6.4.0 or next release?
  2. if we can fix a) are we okay with skipping the deb/rpm build packages on Windows and adding a note about it in the support matrix?

@jbudz
Copy link
Member

jbudz commented Aug 6, 2018

For the support matrix I don't think we should worry about the build process. It's more of a development concern so we have a note in the contributing.md about windows, but it's not something end users are expected to interact with.

@liza-mae liza-mae changed the title Get Kibana building and running tests on windows for CI Get Kibana building and running tests on windows for kibana-ci Aug 7, 2018
@liza-mae liza-mae changed the title Get Kibana building and running tests on windows for kibana-ci Get kibana building and running tests on windows for kibana-ci Aug 7, 2018
@liza-mae liza-mae removed the v6.4.0 label Aug 7, 2018
@LeeDr LeeDr added the Team:QA Team label for QA Team label Aug 14, 2018
@liza-mae
Copy link
Contributor Author

PR: #21972

@liza-mae
Copy link
Contributor Author

Issue: #22094

@liza-mae
Copy link
Contributor Author

I have all the tests running on windows for baseline 6.4. The functional tests have some failures that are consistent with flaky/failed tests, nothing windows specific. No failures on the x-pack functional tests. The other tests appear to be windows specific and some of the code needs updating, I am working on those. The problem with exiting processes on windows impacts all these tests, I have put in a couple of workarounds so far, looking into other cases.

@liza-mae
Copy link
Contributor Author

liza-mae commented Oct 17, 2018

elastic/content#2590

@liza-mae
Copy link
Contributor Author

We now have Kibana tests running on Windows snapshots for Selenium and X-Pack.

https://internal-ci.elastic.co/job/elastic+kibana+6.5-snapshot+multijob-x-pack-win/1/console
https://internal-ci.elastic.co/job/elastic+kibana+6.5-snapshot+multijob-selenium-win/6/console

Thanks greatly to Spencer and Tyler for helping me get it to this point :) !

**Side note for other platforms: As part of this I also added Linux and Darwin to these tests - but infra does not yet have any Darwin nodes and I will break up the Linux ones to specific OS as part of the matrix and I will be looking to add more coverage for rpm and deb packages with additional tests shortly.

@liza-mae
Copy link
Contributor Author

cc: @AlonaNadler @epixa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants