| Summary: | unable to connect to cvs | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ludmila Shikhvarg <ludmila.shikhvarg> |
| Component: | Team | Assignee: | Platform Team Inbox <platform-team-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, karsten.thoms, ludmila.shikhvarg, malgorzata.tomczyk |
| Version: | 4.2 | Keywords: | helpwanted, triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows All | ||
| Whiteboard: | |||
Ludmila, did you set up your repository? In launch configuration for the CVS tests you should see "eclipse.cvs.properties" argument added to VM that points to a file, by default it's "-Declipse.cvs.properties=c:\eclipse\repository.properties". File that it points to should have a test CVS repository URL under "repository" property. The sample of the properties file can be found at org.eclipse.team.tests.cvs.core/repository.properties, only setting the "repository" property is mandatory, "repository1" and "repository2" are optional. Could you please be more specific with hints to setup the repository. It's not clear from your comments. I appreciate your help. (In reply to comment #2) > Could you please be more specific with hints to setup the repository. > It's not clear from your comments. 1. Open your workspace with cvs tests 2. Find file repository.properties in org.eclipse.team.tests.cvs.core project 3. Copy file repository.properties somewhere into your filesystem, for instance "c:\eclipse\repository.properties" 4. Open launch configuration that you are using to run tests: 4.1 Click the "v" next to the "Run" button 4.2 "Run Configurations..." 4.3 in the tree find the configuration you are running, for instance JUnit Plug-in Tests/CVS UI Tests 5. Go to "Arguments" tab 6. In VM Arguments you should have "-Declipse.cvs.properties=c:\eclipse\repository.properties" change the path to the place you copied your repository.properties in point 3 7. Open the "repository.properties" file from your filesystem from point 3 8. Override the line "repository=:pserver:@user@:@password@@@host@:@root@" with an URL to your repository for instance "repository=:pserver:mtomczyk:mysecrectpassword@test.cvs.server.org:2401/CVSROOT/JUNIT". A comment to point 8: you should have a test CVS account somewhere to run the tests. The account should have read+write access. You have to hardcode the password to this account in the URL, like "mysecrectpassword" in the example URL. I recommend you to have a test CVS sever running, because tests leave a lot of garbage (test data) there. I myself run my instance of CVSNT on my localhost. Test failures are still present (Windows only): https://download.eclipse.org/eclipse/downloads/drops4/I20191003-1800/testResults.php No idea whether the test has been fixed or disabled but noone is going to look into cvs tests so closing. |
Build Identifier: Version: 3.7.2 Build id: M20120208-0800 Do we need to configure anything on the system before run org.eclipse.team.tests.cvs.core tests? The test has 6 errors: org.eclipse.team.internal.ccvs.core.connection.CVSCommunicationException: Could not connect to :pserver:${cvs_user}@${cvs_host}:${cvs_root}: Cannot locate host: ${cvs_host} Reproducible: Always Steps to Reproduce: Use eclipse-Automated-Tests-3.7.2 to run automated tests with jdk8. 1. Install jdk8 from http://jdk8.java.net/download.html 2. Run teamcvs test