Infra members describe the testing they performed against the new svn-master.a.o in 2019. We will use this as a model when we need to test a new SVN master.


Testing objectives: 

  • Commits work
  • Checkouts work
  • Authentication both open and closed works (most importantly closed for private repos)
  • Web access works
  • viewvc works


Sample local hosts entry:

13.90.137.153 svn01-us-east.apache.org svn.apache.org svn-master.apache.org dist.apache.org


Commit mail is pinned to team@infra. The repo is current as of  ~21 Sept 2019.,


Chris Lambertus


Tested commits and checkouts against infra repos. Tested viewvc URLs from old email. Spot checked some mail archived svn links. Tested auth for private repos. All seems to be in order.

Chris Thistlethwaite

  • Checkouts:
    • infra/infrastructure
    • financials
  • Commits:
    • infra/infrastructure

    • financials
  • tested rm from financials
  • Viewvc works, no issues
  • tested large file commit, 1003 files (which timed out but that's due to config), and 50x 5mb files while under siege from 50 concurrent users for a bit over an hour. All worked well except for the timeout.

    ** SIEGE 4.0.4

    ** Preparing 25 concurrent users for battle.

    The server is now under siege...

    Lifting the server siege...

    Transactions: 66388 hits

    Availability: 100.00 %

    Elapsed time: 3883.32 secs

    Data transferred: 420.29 MB

    Response time: 1.46 secs

    Transaction rate: 17.10 trans/sec

    Throughput: 0.11 MB/sec

    Concurrency: 24.99

    Successful transactions: 66388

    Failed transactions: 0

    Longest transaction: 8.09

    Shortest transaction: 0.02

    ** SIEGE 4.0.4

    ** Preparing 25 concurrent users for battle.

    The server is now under siege...

    Lifting the server siege...

    Transactions: 63908 hits

    Availability: 100.00 %

    Elapsed time: 3815.41 secs

    Data transferred: 404.68 MB

    Response time: 1.49 secs

    Transaction rate: 16.75 trans/sec

    Throughput: 0.11 MB/sec

    Concurrency: 24.98

    Successful transactions: 63908

    Failed transactions: 0

    Longest transaction: 8.17

    Shortest transaction: 0.02

Daniel Gruno

  • Tested checkouts:
    • Tested public checkout:
      • repos/asf/httpd/httpd/trunk: OK
      • repos/asf/comdev/projects.apache.org/trunk/site/json/: OK
    • Tested private checkout:
      • repos/infra/trunk: OK (No access as anon)
      • repos/private/foundation: OK (no access as anon)
  • Tested commits:
    • httpd: OK (as humbedooh)
    • infra: OK (as humbedooh)
    • comdev: OK (as projects_role)
  • Tested various operations (del, mv): OK
  • Tested that http borks for commits, but https works: OK.

Drew Foulks

svn.apache.org/viewvc looks good

checkouts:
svn.apache.org/repos/asf/infra/infrastructure/trunk works logged in
svn.apache.org/repos/asf/infra/infrastructure/trunk doesn't looks like it allows anonymous checkouts
Anonymous checkout for https://svn.apache.org/repos/asf/infrastructure/site/trunk works.


this worked as expected (it errored out)
svn co http://svn.apache.org/repos/infra/infrastructure/trunk


I committed a change to an authenticated area successfully, the email came out as expected.
committed a change to an unauthenticated area successfully, I also used svn rm to remove inconsequential file change.

Gavin McDonald

Test private infra repos auth/add/edit/delete
svn co https://svn.apache.org/repos/infra/infrastructure/trunk/docs
vim docs/services/puppet.txt
svn ci docs/ -m "test edit new svn master"
Sending        docs/services/puppet.txt
Transmitting file data .done
Committing transaction...
Committed revision 1050402.
svn rm docs/services/puppet.txt
touch docs/services/newfile.txt
svn add docs/services/newfile.txt
svn ci docs -m "delete a file, add a file"
Adding         docs/services/newfile.txt
Deleting       docs/services/puppet.txt
Transmitting file data .done
Committing transaction...
Committed revision 1050403.
test infra public repos
svn checkout https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk site-tools
vim site-tools/mirrors/mirrors.list
svn ci site-tools/ -m "trivial edit, testing new svn server"
Transmitting file data .done
Committing transaction...
Committed revision 1867313.

https://svn.apache.org/repos/asf and https://svn.apache.org/repos/infra  and https://dist.apache.org/repos/dist and https://svn.apache.org/viewvc all work as expected.

dist.a.o checks out ok.



Greg Stein


revprops
### test hooks around revision property edits

$ svn pe --revprop -r 1050409 svn:log
### succeeds

$ svn pe --revprop -r 1050409 svn:author
svn: E175008: Revprop change blocked by pre-revprop-change hook (exit code 1) with output:
Changing revision properties other than svn:log is prohibited


blame
### tests details of history

$ svn blame generate.py@1050221 > /tmp/b1

[on dns-vm.apache.org]
$ svn blame generate.py@1050221 > /tmp/b2

[back]
$ scp dns-vm.apache.org:/tmp/b2 /tmp/b2
b2                                            100%   49KB  48.6KB/s   00:00    
$ diff /tmp/b1 /tmp/b2
$
### note: no differences

svnrdump
### tests "replay" protocol

$ ~/src/svn/subversion/svnrdump/svnrdump dump https://svn.apache.org/repos/infra/infrastructure/trunk/dns/zones/ > zones.dump
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.
* Dumped revision 4.
...
^C

### examined zones.dump ... looks about right




John Andrunas

Test private infra repos auth/add/edit/delete
svn co https://svn.apache.org/repos/infra/infrastructure/trunk
vi README.txt
svn commit README.txt -m "testing new svn server commits"
Sending        README.txt
Transmitting file data .done
Committing transaction...
Committed revision 1050410.
#ponies and gnomes!!
touch ponys-vs-gnomes.fight
vim ponys-vs-gnomes.fight
svn add ponys-vs-gnomes.fight
svn mv ponys-vs-gnomes.fight ponies-vs-gnomes.fight
svn commit -m "Who will it be?"