5 test fail every time w/fresh cloned repo

Hi,

I'm trying to make sure I start with a solid baseline Kibana, but it seems like no matter what I do every single time I run yarn test the suite fails complete with no errors.

I'm running yarn test against a freshly git cloned repo from github.

These are the steps I take:

1. git clone <kibana_repo>
2. git fetch --tags
3. git checkout tags/v6.2.3 -b v6.2.3
4. nvm install 6.12.2 && nvm use 6.12.2
5. yarn
6. yarn test

The example provided above was my attempt for tag release 6.2.3, but I have also tried going through the same steps for tag release v6.2.2 and branch 6.2.

I also made sure to install all dependencies to be able to build kibana from source as well. I'm trying to do all this on Debian 9.4.

sudo apt git build-essential ruby-dev rpm gcc
gem install fpm -v 1.5.0

ERRORS

 1657 passing (1m)
  5 pending
  5 failing

  1) single test that uses esArchiver "before all" hook:
     Error: Command failed: /home/ansible/kibana/esvm/test_utils/es_test_cluster/branch-6.x/bin/elasticsearch -h

      at ChildProcess.exithandler (child_process.js:199:12)
      at maybeClose (internal/child_process.js:920:16)
      at Socket.<anonymous> (internal/child_process.js:351:11)
      at Pipe._handle.close [as _onclose] (net.js:497:12)


  2) single test that uses esArchiver "after all" hook:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.


  3) createOrUpgradeSavedConfig() "before all" hook:
     Error: Command failed: /home/ansible/kibana/esvm/test_utils/es_test_cluster/branch-6.x/bin/elasticsearch -h

      at ChildProcess.exithandler (child_process.js:199:12)
      at maybeClose (internal/child_process.js:920:16)
      at Socket.<anonymous> (internal/child_process.js:351:11)
      at Pipe._handle.close [as _onclose] (net.js:497:12)


  4) uiSettings/routes "before all" hook: startServers:
     Error: Command failed: /home/ansible/kibana/esvm/test_utils/es_test_cluster/branch-6.x/bin/elasticsearch -h

      at ChildProcess.exithandler (child_process.js:199:12)
      at maybeClose (internal/child_process.js:920:16)
      at Socket.<anonymous> (internal/child_process.js:351:11)
      at Pipe._handle.close [as _onclose] (net.js:497:12)


  5) uiSettings/routes "after all" hook: stopServers:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.




Warning: Task "simplemocha:all" failed. Use --force to continue.

Aborted due to warnings.
error An unexpected error occurred: "Command failed.
Exit code: 3
Command: sh
Arguments: -c grunt test
Directory: /home/ansible/kibana
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/home/ansible/kibana/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Does anyone have an idea on how to solve this issue?

I am also getting test failures by running yarn test on master

single test that uses esArchiver test:
     Error: expected 1 to equal 0
      at Assertion.assert (node_modules/expect.js/index.js:96:13)
      at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
      at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
      at Context.<anonymous> (src/functional_test_runner/__tests__/integration/with_es_archiver.js:78:40)
      at <anonymous>:null:null
      at process._tickDomainCallback (internal/process/next_tick.js:228:7)

I created this issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.