SuccessConsole Output

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

Mon Jun 10 08:53:00 UTC 2019
Wait for work starting...
.....
Mon Jun 10 08:55: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: 50 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/5]

    [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/homeassistant_ynh_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]


 [Install Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
! Please add a few messages for the user, to explain what is going on (in friendly, not-too-technical terms) during the installation. You can use 'ynh_print_info' or 'ynh_script_progression' for this. 

 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
--- SUCCESS ---


>> Installation on the root... [Test 2/5]
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 minutes, 13 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1010.1] Installing application homeassistant…
Warning: yunohost.hook <lambda> - [1010.1] Created symlink /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service → /etc/systemd/system/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [1010.1] Starting of homeassistant@homeassistant
Warning: yunohost.hook <lambda> - [1010.1] ..............................................................................The service homeassistant@homeassistant has correctly started.
Info:  Reload the service nginx

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Create a snapshot for root installation.
Working time: 26 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 26 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1008.1] Removing application homeassistant…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1008.1] Removed /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [1008.1] /etc/systemd/system/homeassistant.service wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1008.1] Remove the user homeassistant
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 57 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1665.1] Installing application homeassistant…
Warning: yunohost.hook <lambda> - [1665.1] Created symlink /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service → /etc/systemd/system/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [1665.1] Starting of homeassistant@homeassistant
Warning: yunohost.hook <lambda> - [1665.1] ..............................................................................The service homeassistant@homeassistant has correctly started.
Info:  Reload the service nginx

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 2 seconds.
Working time for this test: 8 minutes, 25 seconds.


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

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

Upgrade...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 28 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [931.1] Now upgrading app homeassistant…
Info: yunohost.backup _collect_app_files - [1026.1] Collecting files to be backuped for homeassistant…
Info: yunohost.backup backup_create - [1026.1] Now creating a backup archive from the files collected…
Warning: yunohost.hook <lambda> - [931.1] Removed /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [931.1] Created symlink /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service → /etc/systemd/system/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [931.1] Starting of homeassistant@homeassistant
Warning: yunohost.hook <lambda> - [931.1] .....The service homeassistant@homeassistant has correctly started.
Info:  Reload the service nginx

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 19 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 58 seconds.
Restore the previous snapshot.
Working time: 51 seconds.
Working time for this test: 4 minutes, 7 seconds.


>> Port already used... [Test 4/5]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 minutes, 10 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [958.1] Installing application homeassistant…
Warning: yunohost.hook <lambda> - [958.1] Created symlink /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service → /etc/systemd/system/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [958.1] Starting of homeassistant@homeassistant
Warning: yunohost.hook <lambda> - [958.1] .............................................................................The service homeassistant@homeassistant has correctly started.
Info:  Reload the service nginx

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, .
Working time for this test: 4 minutes, 25 seconds.


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

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

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 4 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [933.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [933.1] Collecting files to be backuped for homeassistant…
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: 1 second.
Working time: 23 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 19 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1939.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1939.1] Restoring application homeassistant…
Warning: yunohost.hook <lambda> - [1939.1] Created symlink /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service → /etc/systemd/system/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [1939.1] Starting of homeassistant@homeassistant
Warning: yunohost.hook <lambda> - [1939.1] .....The service homeassistant@homeassistant has correctly started.

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 25 seconds.
Restore the previous snapshot.
Working time: 56 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 36 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [914.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [914.1] Restoring application homeassistant…
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/homeassistant@homeassistant.service → /etc/systemd/system/homeassistant@homeassistant.service.
Warning: yunohost.hook <lambda> - [914.1] Starting of homeassistant@homeassistant
Warning: yunohost.hook <lambda> - [914.1] ......The service homeassistant@homeassistant has correctly started.

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/onboarding.html
HTTP code: 200
Title of the page: 
Extract of the page:
    [favicon-192x192.png] Home Assistant



Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 9 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 51 seconds.
Working time for this test: 8 minutes, 28 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:    Not evaluated.
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: 25 minutes, 43 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_ewilly_data_homeassistant_ynh_complete.log

Mon Jun 10 09:23:03 UTC 2019
Test finished.
Finished: SUCCESS