Testing Blocker Tickets
- RC-1
External Projects
Hydra
Project | Success? |
---|---|
ActiveFedora | See AF#1156 |
CurationConcerns | |
Plum | |
Sufia |
Islandora
Testing Plan
git clone https://github.com/fcrepo4/fcrepo4 cd fcrepo4 git checkout 4.7.0-RC
Sanity Builds
Project | Command | Platform | Tested by | Success? | Notes |
---|---|---|---|---|---|
fcrepo4 | mvn clean install | linux | Ubuntu 14.04 LTS | ||
fcrepo4 | mvn clean install | mac | Jared Whiklo | ||
fcrepo4 | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-module-auth-rbacl | mvn clean install | linux | Ubuntu 14.04 LTS | ||
fcrepo-module-auth-rbacl | mvn clean install | mac | Jared Whiklo | ||
fcrepo-module-auth-rbacl | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-module-auth-xacml | mvn clean install | linux | Ubuntu 14.04 LTS | ||
fcrepo-module-auth-xacml | mvn clean install | mac | Jared Whiklo | ||
fcrepo-module-auth-xacml | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-module-auth-webac | mvn clean install | linux | Ubuntu 14.04 LTS | ||
fcrepo-module-auth-webac | mvn clean install | mac | Jared Whiklo | ||
fcrepo-module-auth-webac | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-mint | mvn clean install | linux | Jared Whiklo | Ubuntu 14.04 LTS | |
fcrepo-mint | mvn clean install | mac | Jared Whiklo | ||
fcrepo-mint | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-connector-file | mvn clean install | linux | Jared Whiklo | Ubuntu 14.04 LTS | |
fcrepo-connector-file | mvn clean install | mac | Jared Whiklo | ||
fcrepo-connector-file | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-audit | mvn clean install | linux | Ubuntu 14.04 LTS | ||
fcrepo-audit | mvn clean install | mac | Jared Whiklo | ||
fcrepo-audit | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-webapp-plus | mvn clean install | linux | Ubuntu 14.04 LTS | ||
fcrepo-webapp-plus | mvn clean install | mac | Jared Whiklo | ||
fcrepo-webapp-plus | mvn clean install | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-webapp-plus | mvn clean install -Prbacl | mac | Jared Whiklo |
| |
fcrepo-webapp-plus | mvn clean install -Prbacl | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13 | |
fcrepo-webapp-plus | mvn clean install -Prbacl | linux | Jared Whiklo | Ubuntu 14.04 LTS | |
fcrepo-webapp-plus | mvn clean install -Pxacml | mac | Jared Whiklo |
| |
fcrepo-webapp-plus | mvn clean install -Pxacml | windows | Aaron Birkland | Windows 10 (1607) x64; 1.8.0_101-b13cd | |
fcrepo-webapp-plus | mvn clean install -Pxacml | linux | Jared Whiklo | Ubuntu 14.04 LTS |
Migration of Existing Repositories
See: RESTful HTTP API - Backup and Restore
# Backup from existing repository curl -X POST localhost:8080/rest/fcr:backup # Restore to 4.7.0 curl -X POST -d "/path/to/backup/directory" localhost:8080/rest/fcr:restore
Tested by | Platform | From Fedora Version | Number of Resources | Size of Backup (du -h .) | Success? | Notes |
---|---|---|---|---|---|---|
Nick Ruest | Ubuntu 16.04.1 | 4.6.0 | ? | 44M | LUBM_02 dataset | |
One-Click Run
cd fcrepo-webapp; mvn clean install -Pone-click
Command | Platform | Tested by | Success? | Notes |
---|---|---|---|---|
java -jar fcrepo-webapp-4.7.0-SNAPSHOT-jetty-console.jar | Linux | Nick Ruest | ||
java -jar fcrepo-webapp-4.7.0-SNAPSHOT-jetty-console.jar | Mac | Jared Whiklo | ||
java -jar fcrepo-webapp-4.7.0-SNAPSHOT-jetty-console.jar | Windows | Aaron Birkland |
Manual Tests
All of the below should take place in the HTML UI.
- Create nested containers
- Create binary resources
- Run fixity on binary
- Update Properties: Perform SPARQL-Update on container
- Update Properties: Perform SPARQL-Update on binary
- Delete container
- Delete binary
- Use transactions
- Create versions
- View versions
- Rollback versions
Database Tests
With Tomcat7 deployment, run above manual tests with alternate backend databases (Configuring JDBC Object Store)
Database | Platform | Tested by | Success? | Notes |
---|---|---|---|---|
MySQL | osx (10.10.5) | Danny Bernstein | All scripts run except for authz_tests.sh. Here are the last few lines of the output: verifyAuthZ I did not see a similar failure on vagrant. | |
Ubuntu 14.04 | Andy Wagner | 10.0.24-MariaDB-1~trusty-wsrep | ||
PostgreSQL | Ubuntu 14.04 | Andy Wagner | Postgresql 9.5 |
Vagrant Tests
vagrant destroy vagrant up
Test steps | Tested by | Success? | Notes |
---|---|---|---|
FEDORA_AUTH=true | 4.7.0-RC is passed [2].
| ||
FEDORA_AUTH=false | Nick Ruest "==> default: Error executing command: No matching features for fcrepo-camel-ldpath/0.0.0" | ||
FEDORA_AUTH=true | Danny Bernstein: The shell scripts pass, but Yinlin's test suite does not: output from maven: (mvn clean -Dwaitingtime=10000 test) Failed tests: Tests run: 17, Failures: 1, Errors: 0, Skipped: 0 Also - in the solr console I'm seeing I'm seeing these failures in solr: org.apache.solr.common.SolrException: ERROR: [doc=http://localhost:8080/fcrepo/rest/cover] unknown field 'type' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:185) at org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCommand.java:78) NB: I saw more java test failures when the waitingtime param was set to 3000. Nick Ruest "==> default: Error executing command: No matching features for fcrepo-camel-ldpath/0.0.0" | All testing scripts pass 4.7.0-RC is passed [2]. | ||
FEDORA_AUTH=false | All scripts pass. | ||
Manual Tests
Same as above, plus:
- Verify audit events are in triplestore
- Verify resources are in triplestore
- Verify resources are in Solr
- Verify authorization works for the two auth-enabled configurations
- Verify reindexing to triplestore works
[1] Testing scripts
[2] Fedora 4 Release Test Suite
Ubuntu 14.04 LTS