Started from command line by ynhci
Building in workspace /var/lib/jenkins/jobs/writefreely_ynh_PR48 (yalh76)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins7108499576890917111.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/yalh76/data/writefreely_ynh_PR48 writefreely_ynh_PR48 (yalh76)
Tue Apr 16 22:40:11 UTC 2019
Wait for work starting...
..........
Tue Apr 16 22:45:11 UTC 2019
Package check currently test the package
Start a test
Loads functions from launcher.sh
Loads functions from testing_process.sh
Loads functions from log_extractor.sh
Restore the previous snapshot.
Working time: 6 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file
Tests serie: Test complet
>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 4 seconds.
Debian GNU/Linux 9
yunohost:
repo: stable
version: 3.5.2.1
yunohost-admin:
repo: stable
version: 3.5.2
moulinette:
repo: stable
version: 3.5.2
ssowat:
repo: stable
version: 3.5.2.1
Connection to 10.1.4.2 closed.
>> Package linter... [Test 1/9]
[YunoHost App Package Linter]
App packaging documentation - https://yunohost.org/#/packaging_apps
App package example - https://github.com/YunoHost/example_ynh
Official helpers - https://yunohost.org/#/packaging_apps_helpers_en
Experimental helpers - https://github.com/YunoHost-Apps/Experimental_helpers
Analyzing package /home/CI_package_check/dev_CI/../package_check/writefreely_ynh_PR48_check
[Loading App]
[Misc File Checks]
[Sources Management]
[Manifest]
! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private :
"help": {
"en": "Some explanation"
}
[Install Script]
! [YEP-2.12] You should not need to use 'sudo', the script is being run as root. (If you need to run a command using a specific user, use 'ynh_exec_as')
[Remove Script]
[Upgrade Script]
! [YEP-2.12] You should not need to use 'sudo', the script is being run as root. (If you need to run a command using a specific user, use 'ynh_exec_as')
[Backup Script]
[Restore Script]
--- SUCCESS ---
>> Installation on the root... [Test 2/9]
A LXC container is already running.
Working time: 2 seconds.
Working time: 43 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1236.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [1236.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Create a snapshot for root installation.
Working time: 24 seconds.
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 seconds.
Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [978.1] Removing application writefreely…
Info: Loading installation settings...
Info: Removing writefreely service
Info: Stopping and removing the systemd service
Info: Stop the service writefreely
Warning: yunohost.hook <lambda> - [978.1] Removed /etc/systemd/system/multi-user.target.wants/writefreely.service.
Warning: yunohost.hook <lambda> - [978.1] Removing database writefreely
Info: Removing the MySQL database
Info: Removing dependencies
Info: Removing app main directory
Info: Removing nginx web server configuration
Info: Reload the service nginx
Warning: yunohost.hook <lambda> - [978.1] Avoid deleting /etc/writefreely/.
Warning: yunohost.hook <lambda> - [978.1] Avoid deleting /var/log/writefreely/.
Warning: yunohost.hook <lambda> - [978.1] Remove the user writefreely
Info: Removing the dedicated system user
Info: Removal of writefreely completed
--- SUCCESS ---
Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 55 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1296.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [1296.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 2 minutes, 45 seconds.
>> Upgrade from the same version... [Test 3/9]
Preliminary install...
Uses an existing snapshot for root installation.
Working time: 8 seconds.
Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 31 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [917.1] Now upgrading app writefreely…
Info: Loading installation settings...
Warning: yunohost.hook <lambda> - [917.1] Upgrade forced for package check.
Info: Ensuring downward compatibility...
Info: Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1116.1] Collecting files to be backuped for writefreely…
Info: Loading installation settings...
Info: Backing up the main app directory...
Info: Backing up nginx web server configuration...
Info: Backing up the MySQL database...
Info: Backing up systemd configuration...
Info: yunohost.backup backup_create - [1116.1] Now creating a backup archive from the files collected…
Info: Stop the service writefreely
Info: Upgrading source files...
Info: Upgrading nginx web server configuration...
Info: Reload the service nginx
Info: Upgrading dependencies...
Info: Making sure dedicated system user exists...
Info: Upgrading systemd configuration...
Info: Upgrading SSOwat configuration...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Upgrade of writefreely completed
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 9 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
>> Upgrade from the commit 093ec18f9f5282e1a137c0ac5444a414ee2b83bc... [Test 4/9]
Preliminary install...
fatal: reference is not a tree: 093ec18f9f5282e1a137c0ac5444a414ee2b83bc
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 21 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 16 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [2375.1] Now upgrading app writefreely…
Info: Loading installation settings...
Warning: yunohost.hook <lambda> - [2375.1] Upgrade forced for package check.
Info: Ensuring downward compatibility...
Info: Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [2572.1] Collecting files to be backuped for writefreely…
Info: Loading installation settings...
Info: Backing up the main app directory...
Info: Backing up nginx web server configuration...
Info: Backing up the MySQL database...
Info: Backing up systemd configuration...
Info: yunohost.backup backup_create - [2572.1] Now creating a backup archive from the files collected…
Info: Stop the service writefreely
Info: Upgrading source files...
Info: Upgrading nginx web server configuration...
Info: Reload the service nginx
Info: Upgrading dependencies...
Info: Making sure dedicated system user exists...
Info: Upgrading systemd configuration...
Info: Upgrading SSOwat configuration...
Info: Reloading nginx web server...
Info: Start the service writefreely
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 9 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 minutes, 34 seconds.
>> Installation in private mode... [Test 5/9]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 29 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [918.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [918.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvHTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvHTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 58 seconds.
>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 1 minute, 29 seconds.
>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 45 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [918.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [918.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Second installation: path=sous.domain.tld/
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 24 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2390.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [2390.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely__2.service → /etc/systemd/system/writefreely__2.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely__2
Info: Installation of writefreely__2 completed
Try to access by url...
Test url: domain.tld
Real url: http://domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/ynh_portal.js
Resource unreachable (Code 404) domain.tld/ynh_overlay.css
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_overlay.css
Test url: domain.tld/
Real url: http://domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/ynh_portal.js
Resource unreachable (Code 404) domain.tld/ynh_overlay.css
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_overlay.css
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 2 minutes, 34 seconds.
>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 23 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [190.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [923.1] Installing application writefreely…
Info: Retrieve arguments from the manifest ...
Info: Validating installation parameters...
Info: Storing installation settings...
Info: Configuring firewall ...
Info: Installing dependencies ...
Info: Creating a mysql database ...
Info: Setting up source files ...
Info: Configuring nginx web server...
Info: Reload the service nginx
Info: Configuring system user ...
Info: Configuring a systemd service ...
Warning: yunohost.hook <lambda> - [923.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Configuring SSOwat ...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Installation of writefreely completed
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 43 seconds.
>> Backup/Restore... [Test 9/9]
Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 9 seconds.
Backup of the application...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 21 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [921.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [921.1] Collecting files to be backuped for writefreely…
Info: Loading installation settings...
Info: Backing up the main app directory...
Info: Backing up nginx web server configuration...
Info: Backing up the MySQL database...
Info: Backing up systemd configuration...
Info: yunohost.backup backup_create - [921.1] Now creating a backup archive from the files collected…
--- SUCCESS ---
Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 seconds.
Deleting successful. (0)
Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 17 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1542.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1542.1] Restoring application writefreely…
Info: Loading settings...
Info: Validating restoration parameters...
Info: Restoring the app main directory...
Info: Recreating the dedicated system user...
Info: Reinstalling dependencies...
Info: Restoring the MySQL database...
Warning: yunohost.hook <lambda> - [1542.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Restoring the systemd configuration...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Restoration completed for writefreely
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Restore the previous snapshot.
Working time: 7 seconds.
Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 18 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [910.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [910.1] Restoring application writefreely…
Info: Loading settings...
Info: Validating restoration parameters...
Info: Restoring the app main directory...
Info: Recreating the dedicated system user...
Info: Reinstalling dependencies...
Info: Restoring the MySQL database...
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service.
Info: Restoring the systemd configuration...
Info: Reloading nginx web server...
Info: Start the service writefreely
Info: Restoration completed for writefreely
Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
Test url: sous.domain.tld/
Real url: http://sous.domain.tld/HTTP code: 200
Title of the page: test
Extract of the page:
#[1]test » Feed
* ☰ Menu
+ [2]Log in
[3]test
__________________________________________________________________
powered by [4]writefreely
References
1. https://sous.domain.tld/feed/ 2. file:///login 3. file:///
4. https://writefreely.org/Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 22 seconds.
Package linter: SUCCESS
Installation: SUCCESS
Deleting: SUCCESS
Installation in a sub path: Not evaluated.
Deleting from a sub path: Not evaluated.
Installation on the root: SUCCESS
Deleting from root: SUCCESS
Upgrade: SUCCESS
Installation in private mode: SUCCESS
Installation in public mode: SUCCESS
Multi-instance installations: SUCCESS
Malformed path: SUCCESS
Port already used: Not evaluated.
Backup: SUCCESS
Restore: SUCCESS
Change URL: Not evaluated.
Level of this application: 7 (Successfully pass functional tests)
Level 1: 1
Level 2: 1
Level 3: 1
Level 4: 1
Level 5: 1
Level 6: 1
Level 7: 1
Level 8: 0
Level 9: 0
Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log
Global working time for all tests: 15 minutes, 42 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_yalh76_data_writefreely_ynh_PR48_complete.log
Tue Apr 16 23:01:02 UTC 2019
Test finished.
Finished: SUCCESS