Vcs bat
(→Basic Acceptance Tests for vcs.maemo.org) |
(→Basic Acceptance Tests for vcs.maemo.org) |
||
Line 3: | Line 3: | ||
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. | 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. | ||
- | + | == Current Status == | |
{| class="wikitable" | {| class="wikitable" | ||
- | |||
| style="background:Tomato" | NO GO | | style="background:Tomato" | NO GO | ||
|} | |} | ||
+ | |||
+ | == Failed Cases == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | | style="background:Tomato" | Test 8 - git push over webdav | ||
+ | |} | ||
+ | |||
<pre> | <pre> | ||
Line 20: | Line 26: | ||
- | Test 1 - PASSED | + | Test 1 - PASSED |
------ | ------ | ||
1. Request https://vcs.maemo.org/git from Firefox | 1. Request https://vcs.maemo.org/git from Firefox | ||
Line 28: | Line 34: | ||
SSL certificate OK | SSL certificate OK | ||
- | |||
- | |||
- | Test 2 - PASSED | + | Test 2 - PASSED |
------ | ------ | ||
1. Request https://git.maemo.org/git from Firefox | 1. Request https://git.maemo.org/git from Firefox | ||
Line 42: | Line 46: | ||
this test basically failed, although the browser seems to be happy. | this test basically failed, although the browser seems to be happy. | ||
- | Test 3 - | + | Test 3 - PASSED |
------ | ------ | ||
1. Request https://vcs.maemo.org/git with lynx from command line | 1. Request https://vcs.maemo.org/git with lynx from command line | ||
- | + | Test 4 - PASSED | |
- | + | ||
- | + | ||
- | Test 4 - | + | |
------ | ------ | ||
1. Request https://vcs.maemo.org/git from Firefox | 1. Request https://vcs.maemo.org/git from Firefox | ||
Line 56: | Line 57: | ||
although the URL was pointing to http://..... | although the URL was pointing to http://..... | ||
- | + | Test 5 - PASSED | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Test 5 - | + | |
------ | ------ | ||
1. Request https://git.maemo.org/git from Firefox | 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 | 2. Click any of the links on the page, e.g. 'projects' on the top left | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | Test 6 - | + | Test 6 - PASSED |
------ | ------ | ||
1. Request https://git.maemo.org/git from Firefox | 1. Request https://git.maemo.org/git from Firefox | ||
2. Click any of the project links there, e.g. "anki" | 2. Click any of the project links there, e.g. "anki" | ||
- | |||
- | |||
- | |||
- | + | Test 7 - PASSED | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Test 7 - | + | |
------ | ------ | ||
1. git clone test from command line | 1. git clone test from command line | ||
Line 98: | Line 73: | ||
git clone https://vcs.maemo.org/git/gittest or | git clone https://vcs.maemo.org/git/gittest or | ||
git clone https://git.maemo.org/git/gittest | git clone https://git.maemo.org/git/gittest | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Test 8 - FAILED | Test 8 - FAILED | ||
------ | ------ | ||
- | 1. git push | + | 1. git push |
Result: | Result: | ||
Line 126: | Line 87: | ||
Suspected reason: | Suspected reason: | ||
- | + | Due to HTTPS -> HTTP rewrites the WebDAV MOVE method fails. Trying to find a workaround on the server side. | |
Test 9 - PASSED | Test 9 - PASSED |
Revision as of 17:35, 6 January 2010
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.
Current Status
NO GO |
Failed Cases
Test 8 - git push over webdav |
== 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 - FAILED ------ 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.