[FSTrigger] Triggered by a change to a folder (log) Building in workspace /var/lib/jenkins/jobs/writefreely_ynh_PR55 (yalh76)/workspace [workspace] $ /bin/sh -xe /tmp/jenkins7634502401331821488.sh + /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/yalh76/data/writefreely_ynh_PR55 writefreely_ynh_PR55 (yalh76) Wed Jun 12 19:42:08 UTC 2019 Wait for work starting... ...... Wed Jun 12 19:45:08 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: 51 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: 10 seconds. Working time: 1 second. 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_PR55_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: 56 seconds. Installation successful. (0) Info: yunohost.app app_install - [1036.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [1036.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx 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: 55 seconds. Start the LXC container. Create witness files... Working time: 11 seconds. Working time: . Deleting... A LXC container is already running. Working time: 2 seconds. Working time: 7 seconds. Deleting successful. (0) Info: yunohost.app app_remove - [953.1] Removing application writefreely… Info: Loading installation settings... Info: Removing writefreely service... Warning: yunohost.hook <lambda> - [953.1] Removed /etc/systemd/system/multi-user.target.wants/writefreely.service. Info: Stopping and removing the systemd service... Info: Stop the service writefreely Info: Removing the MySQL database Warning: yunohost.hook <lambda> - [953.1] Removing database writefreely Info: Removing app main directory Info: Removing nginx web server configuration Info: Reload the service nginx Warning: yunohost.hook <lambda> - [953.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: 40 seconds. Installation successful. (0) Info: yunohost.app app_install - [1267.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [1267.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx 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: 1 minute, 1 second. Working time for this test: 4 minutes, . >> 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: 38 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 - [1146.1] Collecting files to be backuped for writefreely… Info: Loading installation settings... Info: Stopping a systemd service... Info: Stop the service writefreely 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: Starting a systemd service... Info: Start the service writefreely Info: Backup script completed for writefreely. (YunoHost will then actually copy those files to the archive). Info: yunohost.backup backup_create - [1146.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: Making sure dedicated system user exists... Info: Upgrading systemd configuration... Info: Upgrading SSOwat configuration... Info: Starting a systemd service.. Info: Start the service writefreely Info: Reloading nginx web server... Info: Reload the service nginx 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: 59 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: 55 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: 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: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx Info: Installation of writefreely completed Upgrade... A LXC container is already running. Working time: 2 seconds. Working time: 1 minute, 6 seconds. Upgrade successful. (0) Info: yunohost.app app_upgrade - [2415.1] Now upgrading app writefreely… Info: Loading installation settings... Warning: yunohost.hook <lambda> - [2415.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 - [2634.1] Collecting files to be backuped for writefreely… Info: Loading installation settings... Info: Stopping a systemd service... Info: Stop the service writefreely 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: Starting a systemd service... Info: Start the service writefreely Info: yunohost.backup backup_create - [2634.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: Making sure dedicated system user exists... Info: Upgrading systemd configuration... Info: Upgrading SSOwat configuration... Info: Starting a systemd service.. Info: Start the service writefreely Info: Reloading nginx web server... Info: Reload the service nginx 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: 1 minute, 2 seconds. Restore the previous snapshot. Working time: 51 seconds. Working time for this test: 6 minutes, 22 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: 24 seconds. Installation successful. (0) Info: yunohost.app app_install - [915.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [915.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx 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: 59 seconds. Sub path install failed, impossible to perform this test... Restore the previous snapshot. Working time: 51 seconds. Working time for this test: 2 minutes, 26 seconds. >> Installation in public mode... [Test 6/9] Start the LXC container. Create witness files... Working time: 10 seconds. Working time: 1 minute, 15 seconds. Installation successful. (0) Info: yunohost.app app_install - [921.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [921.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx 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: 58 seconds. Sub path install failed, impossible to perform this test... Restore the previous snapshot. Working time: 52 seconds. Working time for this test: 3 minutes, 17 seconds. >> Multi-instance installations... [Test 7/9] First installation: path=domain.tld/ Start the LXC container. Create witness files... Working time: 10 seconds. Working time: 45 seconds. Installation successful. (0) Info: yunohost.app app_install - [909.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [909.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx Info: Installation of writefreely completed Second installation: path=sous.domain.tld/ A LXC container is already running. Working time: 2 seconds. Working time: 39 seconds. Installation successful. (0) Info: yunohost.app app_install - [2426.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [2426.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely__2.service → /etc/systemd/system/writefreely__2.service. Info: Start the service writefreely__2 Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx 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: 58 seconds. Working time for this test: 2 minutes, 39 seconds. >> Malformed path... [Test 8/9] Start the LXC container. Create witness files... Working time: 10 seconds. Working time: 1 minute, 8 seconds. Installation successful. (0) Info: yunohost.app app_install - [905.1] Installing application writefreely… Info: Retrieve arguments from the manifest ... Info: Validating installation parameters... Info: Storing installation settings... Info: Configuring firewall ... 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> - [905.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Start the service writefreely Info: Configuring SSOwat ... Info: Reloading nginx web server... Info: Reload the service nginx 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: 1 minute, . Working time for this test: 2 minutes, 20 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: 22 seconds. Backup successful. (0) Warning: yunohost.hook <lambda> - [918.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory Info: yunohost.backup _collect_app_files - [918.1] Collecting files to be backuped for writefreely… Info: Loading installation settings... Info: Stopping a systemd service... Info: Stop the service writefreely 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: Starting a systemd service... Info: Start the service writefreely Info: yunohost.backup backup_create - [918.1] Now creating a backup archive from the files collected… --- SUCCESS --- Deleting... A LXC container is already running. Working time: 2 seconds. Working time: 6 seconds. Deleting successful. (0) Restore after removing the application... A LXC container is already running. Working time: 1 second. Working time: 18 seconds. Restore successful. (0) Info: yunohost.backup backup_restore - [1561.1] Preparing archive for restoration… Info: yunohost.backup _restore_app - [1561.1] Restoring application writefreely… Warning: yunohost.hook <lambda> - [1561.1] /tmp/restorecfugsF/restore: line 10: ../settings/scripts/ynh_systemd_action: No such file or directory Info: Loading settings... Info: Validating restoration parameters... Info: Restoring the app main directory... Info: Recreating the dedicated system user... Info: Restoring the MySQL database... Warning: yunohost.hook <lambda> - [1561.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Restoring the systemd configuration... Info: Starting a systemd service... Info: Start the service writefreely Info: Reloading nginx web server... Info: Reload the service nginx 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: 53 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… Warning: yunohost.hook <lambda> - [910.1] /tmp/restoreKXRPj0/restore: line 10: ../settings/scripts/ynh_systemd_action: No such file or directory Info: Loading settings... Info: Validating restoration parameters... Info: Restoring the app main directory... Info: Recreating the dedicated system user... Info: Restoring the MySQL database... Info: Restoring the systemd configuration... Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/writefreely.service → /etc/systemd/system/writefreely.service. Info: Starting a systemd service... Info: Start the service writefreely Info: Reloading nginx web server... Info: Reload the service nginx 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: 1 minute, . Sub path install failed, impossible to perform this test... Restore the previous snapshot. Working time: 51 seconds. Working time for this test: 4 minutes, 38 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: 26 minutes, 2 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_PR55_complete.log Wed Jun 12 20:13:11 UTC 2019 Test finished. Finished: SUCCESS