Vcs bat

(Basic Acceptance Tests for vcs.maemo.org)
(categorize)
 
(3 intermediate revisions not shown)
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
-
| style="background:Tomato" | NO GO
+
| style="background:Green; color:white" | GO
|}
|}
== Failed Cases ==
== Failed Cases ==
-
{| class="wikitable"
+
None
-
| style="background:Tomato" | Test 8 - git push over webdav
+
-
|}
+
-
 
+
<pre>
<pre>
Line 74: Line 71:
  git clone https://git.maemo.org/git/gittest
  git clone https://git.maemo.org/git/gittest
-
Test 8 - FAILED
+
Test 8 - PASSED
------
------
1. git push
1. git push
Line 115: Line 112:
  Changes committed, session remained encrypted all the time.
  Changes committed, session remained encrypted all the time.
</pre>
</pre>
 +
 +
[[Category:maemo.org]]

Latest revision as of 09:50, 11 May 2010

[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.