-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Provide remote access solution to be able to run manual GUI tests on the JCK boxes #267
Comments
We need to ensure that its secure... VNC should not be directly accessible. forcing the user to ssh in first. and limiting the GUI to the jenkins user. |
As suggested in my original post firewalling off the VNC port to only allow from 127.0.0.1 should be enough to alleviate any security concerns. @geraintwjones A quick scan of that link suggests that those instructions don't cover blocking the direct insecure connection, just tells you how to connect securely. |
I have never set up VNC before, and know nothing about it. If this needs to be done quickly (which I believe it does), I suggest someone else does it, or you wait for me to figure out what I need to do. |
This is the approach I'm taking...
Does that sound reasonable? We'd need to provide instructions to tell them how to do this. |
@bblondin Geraint's change will only install the package, not start it. I think "leaving that to the user running the tests" is possibly the best option as per Geraint's comment above (which they can do under a personal user account on the machine) and we will provide documentation on how to connect securely with an ssh tunnel. We'll need to verify that |
Installed vnc4server on a local Ubuntu machine. Started it with the |
Ok, sounds good. Please let me know when you have a system up and running. I'd like to pen test it. |
Initial draft of instructions for JCK manual testers (FYI @lumpfish)
|
@sxa555 - I created a few documents in the JCK8 wiki - e.g. https://github.com/AdoptOpenJDK/JCK8/wiki/Executing-JCK-Interactive-Tests so we should link this setup into those. Although the wikis being specific to each repository means that with this approach we'll have to keep recreating essentially the same document for each new JCK release. |
Or we could just declare the JCK8 wiki to be the master and point to it from the other versioned ones |
I ran the playbook against the following JCK machines...
I also tried to run it against jck-softlayer-ubuntu1604-x64-2, but that failed with the following error...
|
@sxa555 Those draft instructions look great! Can you move to a CONTRIBUTING.md or wiki? Perhaps in the JCK repo actually now that I think about it. |
Yep @karianna - Simon already has a document for running the manual tests - the link he mentioned above - and this issue were always just my draft notes before moving them there - I'll do that now :-) |
@geraintwjones Can you do it on the |
@lumpfish I haven't ran through those instructions myself yet, but if you have any issues (since I'm not in the office again til Tuesday) ping me on slack (I'll likely not have easy access to github comments) and I'll attempt to assist but they should work ok ;-) Once you're happy that it works feel free to close this issue. |
@lumpfish Have you had a chance to verfiy that this is working? |
We used VNC set up on the Linux JCK machines to run the JCK on the openjdk8-openj9 builds. The instructions for how to do the setup are included in the JCK repository wiki here: https://github.com/AdoptOpenJDK/JCK/wiki, which have been followed successfully by someone other than me! |
@lumpfish Thanks - I've updated the issue with a checklist so we can track the other platforms |
On Linux we have used a shared On Windows we have provided remote access to a As Mr.Fish says above, AIX and Mac have yet to be run through a certification process. Solaris is not in scope as yet but I would not envision any significant problems using VNC on there. |
Re comment above, ubuntu playbook has been modified to also create the jcktestr user. |
Cancelling this as we're not running JCK tests |
VNC would seem the most sensible option, either standalone or via an x11vnc server running on an Xvfb display, but we need some solution to be able to run the manual JCK GUI tests on the (Linux, initially) JCK boxes.
Should we firewall off the VNC port and only allow connections via an ssh tunnel?
Assigning to @geraintwjones to share around the updating of the JCK playbooks.
The text was updated successfully, but these errors were encountered: