FailedConsole Output

Started from command line by ynhci
Building in workspace /var/lib/jenkins/jobs/writefreely_ynh_PR50 (yalh76)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins2339852138252737684.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/yalh76/data/writefreely_ynh_PR50 writefreely_ynh_PR50 (yalh76)

Sun Apr 21 19:59:12 UTC 2019
Wait for work starting...
..
Sun Apr 21 20:00:12 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: 4 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: 5 seconds.
Working time: 3 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.2
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_PR50_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: 1 second.
Working time: 1 minute, 16 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [969.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> - [969.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: 26 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 3 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 6 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [960.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> - [960.1] Removed /etc/systemd/system/multi-user.target.wants/writefreely.service.
Warning: yunohost.hook <lambda> - [960.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> - [960.1] Avoid deleting /etc/writefreely/.
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [960.1] Avoid deleting /var/log/writefreely/.
Warning: yunohost.hook <lambda> - [960.1] Remove the user writefreely
Info:  Removal of writefreely completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 57 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1274.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> - [1274.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: 3 minutes, 17 seconds.


>> Upgrade from the same version... [Test 3/9]

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 7 seconds.

Upgrade...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 1 minute, 55 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [925.1] Now upgrading app writefreely…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [925.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 - [1124.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 - [1124.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: 2 seconds.
Working time: 8 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 12 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: 10 seconds.
Working time: 9 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [902.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 ...
Warning: yunohost.hook <lambda> - [902.1] Corrupt source
Warning: yunohost.hook <lambda> - [902.1] !!
Warning: yunohost.hook <lambda> - [902.1]   writefreely's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [902.1] !!
Warning: yunohost.hook <lambda> - [902.1] /usr/share/yunohost/helpers.d/print: line 10: args_array: readonly variable
Info: yunohost.log close - [902.1] The operation 'Install 'writefreely' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190421-200628-app_install-writefreely --share'
Info:  Loading installation settings...
Info:  Stopping and removing the systemd service
Info:  Removing the MySQL database
Warning: yunohost.hook <lambda> - [902.1] Removing database writefreely
Warning: yunohost.hook <lambda> - [902.1] /var/www/writefreely wasn't deleted because it doesn't exist.
Info:  Removing dependencies
Warning: yunohost.hook <lambda> - [902.1] /etc/nginx/conf.d/sous.domain.tld.d/writefreely.conf wasn't deleted because it doesn't exist.
Info:  Removing app main directory
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [902.1] Avoid deleting /etc/writefreely/.
Warning: yunohost.hook <lambda> - [902.1] Avoid deleting /var/log/writefreely/.
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [902.1] The user writefreely was not found
Info:  Removal of writefreely completed
Error: yunohost cli - The operation 'Install 'writefreely' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190421-200628-app_install-writefreely --share'

Installation failed...
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 19 seconds.


>> Installation in private mode... [Test 5/9]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [911.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> - [911.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=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP 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=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP 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: 12 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 1 minute, 27 seconds.


>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 2 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: 14 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, 33 seconds.


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 28 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.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> - [902.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: 1 second.
Working time: 1 minute, 18 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2364.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> - [2364.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: 14 seconds.
Working time for this test: 2 minutes, 16 seconds.


>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 10 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [910.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> - [910.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

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.
Working time for this test: 1 minute, 36 seconds.


>> Backup/Restore... [Test 9/9]

Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 7 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> - [917.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [917.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 - [917.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 - [1510.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1510.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> - [1510.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: 13 seconds.
Restore the previous snapshot.
Working time: 6 seconds.

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 18 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [909.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [909.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> - [909.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: 12 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, 15 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:                         FAIL
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: 2 (Installable in all situations)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 0
	   Level 4: 1
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   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, 59 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_PR50_complete.log

Sun Apr 21 20:18:04 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE