Vcs bat
[edit] Basic Acceptance Tests for vcs.maemo.org
This is a short list of some basic tests I perform against vcs.maemo.org, our new subversion and git server. The list is by far complete.
[edit] Current Status
GO |
[edit] Failed Cases
None
== Setup == Added to /etc/hosts: 80.248.164.246 git.maemo.org Using command line tools: lynx, git, svn, curl, openssl Using desktop tools: Firefox 3.5.6, wireshark Test 1 - PASSED ------ 1. Request https://vcs.maemo.org/git from Firefox Result: Page loads fine SSL certificate OK Test 2 - PASSED ------ 1. Request https://git.maemo.org/git from Firefox Result: Page loads fine SSL certificate OK Server shows that the request arrived to port 80 on the backend, so this test basically failed, although the browser seems to be happy. Test 3 - PASSED ------ 1. Request https://vcs.maemo.org/git with lynx from command line Test 4 - PASSED ------ 1. Request https://vcs.maemo.org/git from Firefox 2. Click any of the links on the page, e.g. 'projects' on the top left Browser redirected to http://vcs.maemo.org/git, although the URL was pointing to http://..... Test 5 - PASSED ------ 1. Request https://git.maemo.org/git from Firefox 2. Click any of the links on the page, e.g. 'projects' on the top left Test 6 - PASSED ------ 1. Request https://git.maemo.org/git from Firefox 2. Click any of the project links there, e.g. "anki" Test 7 - PASSED ------ 1. git clone test from command line git clone https://vcs.maemo.org/git/gittest or git clone https://git.maemo.org/git/gittest Test 8 - PASSED ------ 1. git push Result: The MOVE Webdav method returns HTTP 502, which means: "The destination URI is located on a different server, which refuses to accept the resource." Expected result: The push goes through without errors. Suspected reason: Due to HTTPS -> HTTP rewrites the WebDAV MOVE method fails. Trying to find a workaround on the server side. Test 9 - PASSED ------- 1. Repeat test 8 within the DMZ, ie. bypass the load balancer Result: Push goes through, without errors. Test 10 - PASSED ------- 1. svn checkout testing from command line svn co https://vcs.maemo.org/svn/svntest or svn co http://vcs.maemo.org/svn/svntest Result: Repo is checked out nicely. Test 11 - PASSED ------- 1. svn check in testing from command line svn ci https://vcs.maemo.org/svn/svntest Result: Changes committed, session remained encrypted all the time.