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

GPII-2992: Stop narrator from staying active after acceptance tests #176

Merged
merged 4 commits into from
Jun 8, 2018

Conversation

stegru
Copy link
Member

@stegru stegru commented May 29, 2018

Now waits for built-in AT to start.

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/windows-tests/497/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/windows-tests/498/

@stegru
Copy link
Member Author

stegru commented Jun 7, 2018

ok to test

@gpii-bot
Copy link

gpii-bot commented Jun 7, 2018

CI job failed: https://ci.gpii.net/job/windows-tests/524/

@stegru
Copy link
Member Author

stegru commented Jun 7, 2018

ok to test

05:58:03.927:  FATAL ERROR: Uncaught exception: Cannot find module 'kettle'
Error: Cannot find module 'kettle'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.fluid.require (\\vboxsvr\vagrant\node_modules\infusion\src\module\module.js:181:18)
    at Object.<anonymous> (\\vboxsvr\vagrant\gpii\node_modules\processReporter\test\all-tests.js:15:20)

@gpii-bot
Copy link

gpii-bot commented Jun 7, 2018

CI job failed: https://ci.gpii.net/job/windows-tests/525/

@amb26
Copy link
Member

amb26 commented Jun 7, 2018

This might be a real issue, due to the nutty way we load dependencies via universal. The top-level infusion may have diverged from universal's, leading to the following layout:

[email protected] E:\source\gits\gpii\node_modules\windows
+-- [email protected] (github:stegru/universal#77ca09a83a4358463041fda1c3fbe0ac45fd47d6)
| +-- [email protected]
| | +-- @the-t-in-rtf/[email protected]
| | | `-- @the-t-in-rtf/[email protected]
| | |   `-- [email protected]  deduped
| | +-- [email protected]
| | | `-- [email protected]  deduped
| | `-- [email protected]  deduped
| +-- [email protected]
| `-- [email protected]
|   `-- [email protected]  deduped
`-- [email protected]
  `-- [email protected]

Replacing the include at the head of processReporter/test/all-tests.js with either
kettle = fluid.require("kettle", require, "kettle")
or
kettle = fluid.require("%kettle")
should make the problem go away

@gpii-bot
Copy link

gpii-bot commented Jun 7, 2018

CI job failed: https://ci.gpii.net/job/windows-tests/526/

@amb26
Copy link
Member

amb26 commented Jun 7, 2018

Unusual, opaque failure:

doitclient.exe : doit: remote error: GetExitCodeProcess failed
    + CategoryInfo          : NotSpecified: (doit: remote er...eProcess failed:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

do.ps1 -c 'node tests\AcceptanceTests.js builtIn'

Stdout from the command:

@stegru
Copy link
Member Author

stegru commented Jun 7, 2018

That's our new "node has crashed" error.

@amb26
Copy link
Member

amb26 commented Jun 7, 2018

So will go away if #177 is merged? But wasn't the point of #177 that we had a fault in the integration where failures would silently look like successes?

@stegru
Copy link
Member Author

stegru commented Jun 7, 2018

Yes it will go away with #177. That PR fixes the crash, but the successful fails have already been fixed on CI by @amatas with a new VM - hence this failure.

# Conflicts:
#	package.json
@amb26 amb26 merged commit 4c9ee55 into GPII:master Jun 8, 2018
@gpii-bot
Copy link

gpii-bot commented Jun 8, 2018

CI job passed: https://ci.gpii.net/job/windows-tests/531/

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

Successfully merging this pull request may close these issues.

3 participants