SuccessConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/minetest_ynh (Rafi59)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins7569534607213706873.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/Rafi59/data/minetest_ynh minetest_ynh (Rafi59)

Sun Oct 27 08:29:00 UTC 2019
Wait for work starting...
...
Sun Oct 27 08:30:30 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: 7 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: 11 seconds.
Working time: 1 second.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.5.2
yunohost-admin: 
  repo: stable
  version: 3.6.5
moulinette: 
  repo: stable
  version: 3.6.4.1
ssowat: 
  repo: stable
  version: 3.6.4
Connection to 10.1.4.2 closed.


>> Package linter... [Test 1/6]

    [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/minetest_ynh_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]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation without url access... [Test 2/6]
A LXC container is already running.
Working time: 5 seconds.
Working time: 9 minutes, 23 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1024.1] Installing application minetest…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1024.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 59%
Extracting templates from packages: 89%
Extracting templates from packages: 100%
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [1024.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Configuring log rotation...
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Installation of minetest completed
Connexion attempt aborted.
--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 24 seconds.
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 29 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [961.1] Removing application minetest…
Info:  Loading installation settings...
Error: moulinette.core translate - unable to retrieve key 'service_description_minetest' for default locale 'en'
Info:  Removing minetest service
Info:  Stopping and removing the systemd service
Warning: yunohost.hook <lambda> - [961.1] Removed /etc/systemd/system/multi-user.target.wants/minetest.service.
Info:  Removing dependencies
Info:  Removing app main directory
Info:  Removing logrotate configuration
Info:  Closing port 30000
Info:  Removing the dedicated system user
Info:  Removal of minetest completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 9 minutes, 20 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1776.1] Installing application minetest…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1776.1] 
Extracting templates from packages: 30%
Extracting templates from packages: 61%
Extracting templates from packages: 91%
Extracting templates from packages: 100%
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [1776.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Configuring log rotation...
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Installation of minetest completed
Connexion attempt aborted.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 20 minutes, 14 seconds.


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 9 minutes, 29 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [915.1] Installing application minetest…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [915.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 59%
Extracting templates from packages: 89%
Extracting templates from packages: 100%
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [915.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Configuring log rotation...
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Installation of minetest completed

Create a snapshot for root installation.
Working time: 24 seconds.
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 seconds.

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 9 minutes, .
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [960.1] Now upgrading app minetest…
Info:  Loading installation settings...
Info:  Checking version...
Info:  Ensuring downward compatibility...
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1102.1] Collecting files to be backuped for minetest…
Info:  Loading installation settings...
Info:  Backing up the main app directory...
Info:  Backing up Minetest data...
Info:  Backing up logrotate configuration...
Info:  Backing up systemd configuration...
Info:  The service minetest has correctly started.
Info: yunohost.backup backup_create - [1102.1] Now creating a backup archive from the files collected…
Info:  Upgrading source files...
Info:  Upgrading dependencies...
Info:  Making sure dedicated system user exists...
Info:  Upgrading systemd configuration...
Info:  Upgrading logrotate configuration...
Info:  Restarting Minetest...
Info:  The service minetest has correctly started.
Info:  Upgrade of minetest completed
Connexion attempt aborted.
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 33 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 20 minutes, 7 seconds.


>> Multi-instance installations... [Test 4/6]
First installation: path=domain.tld/
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 9 minutes, 27 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [898.1] Installing application minetest…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [898.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 59%
Extracting templates from packages: 89%
Extracting templates from packages: 100%
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [898.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Configuring log rotation...
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Installation of minetest completed
Second installation: path=sous.domain.tld/
A LXC container is already running.
Working time: 2 seconds.
Working time: 8 minutes, 54 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [7687.1] Installing application minetest…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [7687.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest__2.service → /etc/systemd/system/minetest__2.service.
Info:  Configuring log rotation...
Info:  Reloading minetest...
Info:  The service minetest__2 has correctly started.
Info:  Installation of minetest__2 completed
Connexion attempt aborted.
Connexion attempt aborted.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 18 minutes, 52 seconds.


>> Port already used... [Test 5/6]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 3 seconds.
A LXC container is already running.
Working time: 3 seconds.
Working time: 9 minutes, 17 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [963.1] Installing application minetest…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [963.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 59%
Extracting templates from packages: 89%
Extracting templates from packages: 100%
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [963.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Configuring log rotation...
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Installation of minetest completed
Connexion attempt aborted.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 22 seconds.
Working time for this test: 9 minutes, 51 seconds.


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

Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 15 seconds.

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 28 seconds.
Backup successful. (0)
Warning: yunohost.service _run_service_command - [208.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.backup _collect_app_files - [933.1] Collecting files to be backuped for minetest…
Info:  Loading installation settings...
Info:  Backing up the main app directory...
Info:  Backing up Minetest data...
Info:  Backing up logrotate configuration...
Info:  Backing up systemd configuration...
Info:  The service minetest has correctly started.
Info: yunohost.backup backup_create - [933.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 29 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 54 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2128.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2128.1] Restoring application minetest…
Info:  Loading settings...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [2128.1] 
Extracting templates from packages: 30%
Extracting templates from packages: 61%
Extracting templates from packages: 91%
Extracting templates from packages: 100%
Info:  Restoring the systemd configuration...
Warning: yunohost.hook <lambda> - [2128.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Restoration completed for minetest
Connexion attempt aborted.
--- 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: 1 minute, .
Restore successful. (0)
Info: yunohost.backup backup_restore - [920.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [920.1] Restoring application minetest…
Info:  Loading settings...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [920.1] 
Extracting templates from packages: 29%
Extracting templates from packages: 59%
Extracting templates from packages: 89%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [920.1] Created symlink /etc/systemd/system/multi-user.target.wants/minetest.service → /etc/systemd/system/minetest.service.
Info:  Restoring the systemd configuration...
Info:  Reloading minetest...
Info:  The service minetest has correctly started.
Info:  Restoration completed for minetest
Connexion attempt aborted.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 minutes, 9 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:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    SUCCESS
Malformed path:                  Not evaluated.
Port already used:               SUCCESS
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: 1 hour, 13 minutes, 36 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_Rafi59_data_minetest_ynh_complete.log

Sun Oct 27 09:44:06 UTC 2019
Test finished.
Finished: SUCCESS