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

Vagrant test VM not working #1359

Open
igorbga opened this issue Jan 25, 2017 · 5 comments
Open

Vagrant test VM not working #1359

igorbga opened this issue Jan 25, 2017 · 5 comments

Comments

@igorbga
Copy link

igorbga commented Jan 25, 2017

I've been trying to run the tests for Aikau but with no success.

After running "mvn clean install jetty:run" in my local machine I can navigate without any issue to "http://localhost:8089/aikau/page/tp/ws/Index" and it shows the test page list as expected, so I don't think the trouble is there.

Then when I run "grunt test" the unit test screen appears but it does not progress, check the image here:

https://imagebin.ca/v/3A5T4HstmJZ4

I've logged to the Trusty virtual machine and even updated it (apt-get update, apt-get upgrade), but nothing changes.

Checking the logs i can see that whenever i try to run the test i get this in syslog:

Jan 25 09:37:31 vagrant-ubuntu-trusty-64 kernel: [ 113.224377] 770aaa1a3ea936b[2657]: segfault at 8 ip 0000000000453d87 sp 00007efd874c7070 error 4 in chromedriver[400000+503000]
Jan 25 09:37:40 vagrant-ubuntu-trusty-64 kernel: [ 122.483550] Chrome_ChildThr[2598]: segfault at 0 ip 00007fb1e4d2c0b7 sp 00007fb1d55fe410 error 6 in plugin-container[7fb1e4d23000+3d000]

@draperd
Copy link

draperd commented Jan 26, 2017

@igorbga
Copy link
Author

igorbga commented Jan 27, 2017

I've installed Linux Mint 18.1 in a new VM and followed the instructions in the wiki and in the video.
Now I can confirm a similar behaviour as explained by AxelFaust in this other bug report:

#1185

When I run "grunt test_local" I get a message in the jetty server about "RequireEverything" file and in the terminal where I ran the "grunt test_local" just a blank screen. Node is taking the 100% o a single core and nothing else seems to happen.

@draperd
Copy link

draperd commented Jan 27, 2017

OK... I have previously been unable to resolve this issue for Axel and I'm not sure I'm going to be able to do better now. I would recommend that rather than contributing this widget back to core Aikau it either remains in your own private namespaced package or you work with other community members to set up a community package distribution of widgets where the community manages contributions and testing themselves.

@igorbga
Copy link
Author

igorbga commented Jan 27, 2017

Ok David.

The widget is already public in our git repository, changing the namespace is trivial, in fact I've already done so in order to progress with the project I'm currently working on. If a community package emerges I'l be happy to contribute it there too.

But to be honest, and with sincerely not any intention to offend, don't you think that not solving the testability makes contribution to Aikau almost imposible?

Is other people being able to test and contribute new widgets?

@draperd
Copy link

draperd commented Jan 27, 2017

No offence taken. You are completely right, if it's not possible to test then people will not be able to contribute to Aikau.

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

No branches or pull requests

2 participants