Having a successful build is only the first part of the release engineering experience. Consistently publishing your builds every week is part of good project health, and doing so in an automated fashion is important for good release engineer health.
There are many things that can go wrong. This lab will explore several of those.
At the end of the lab, you should be able to:
This exercise is carried out entirely using the Eclipse Software Development Kit (SDK) version 3.4M5 with the Eclipse Modeling Framework (EMF) 2.4M5 installed into it. The exercise instructions refer to this product as either Eclipse or as "the workbench."
These instructions are located in your workspace, in the Build_Workshop/Exercise05_PublishingProblems folder.
cvs server: cannot find module `org.eclipse.m2t/org.eclipse.jet.releng/promoteToEclipse.jet.properties' - ignored cvs [export aborted]: cannot expand modules [promote] Properties file org.eclipse.m2t/org.eclipse.jet.releng/promoteToEclipse.jet.properties not found in CVS for branch/tag R0_9_maintenance. Exiting...
[promote] [19:40:03] Create target drop folder .../0.9.0/I200803111920 on remote box started: Not allowed to do 'mkdir' at /usr/bin/cvssh line 106.
[compare] Directory sizes do not match! Compare failed. [compare] Local sizes (in bytes): 1 75 78 78 79 80 87 128 2183 3302 5415 12231 19522 21754 32349 66129 72883 141574 265130 311318 911547 2753418 4502034 [compare] Remote sizes (in bytes): [promote] [19:40:04] ERROR! Script exiting with code 2 from compareFolders.sh
Host key verification failed.
$ ssh build@buildbox $ sudo -u www-data bash $ ssh build@buildbox $ exit $ ssh build@prodbox $ exit $ exit $ ssh build@buildbox $ exit $ ssh build@prodbox $ exit $ exit
You need to also authorize the build user to connect to the build server and the production server:
$ ssh build@buildbox $ ssh build@buildbox $ exit $ ssh build@prodbox $ exit $ exit
Permission denied, please try again. Permission denied, please try again. Received disconnect from 127.0.0.1: 2: Too many authentication failures for build
You have learned how to diagnose and repair several build problems. For even more examples, see:
If you encounter any other problems not listed here or in the wiki, please don't hesitate to contribute your experiences and your tips, to help your fellow release engineers and Eclipse.