SuccessConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/my_webapp_ynh PR21/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins8831417073245345282.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/Official/data/my_webapp/my_webapp_ynh PR21.patch-4 my_webapp_ynh PR21

Mon Mar 25 19:09:09 UTC 2019
Wait for work starting...
..
Mon Mar 25 19:10:09 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: 5 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.4.2.4
yunohost-admin: 
  repo: stable
  version: 3.4.2
moulinette: 
  repo: stable
  version: 3.4.2
ssowat: 
  repo: stable
  version: 3.4.2
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/my_webapp_ynh PR21.patch-4_check

 [Loading App]

! /home/CI_package_check/dev_CI/../package_check/my_webapp_ynh PR21.patch-4_check/scripts/install : Could not parse this line (No closing quotation) : echo "##-> ${app} 
! /home/CI_package_check/dev_CI/../package_check/my_webapp_ynh PR21.patch-4_check/scripts/install : Could not parse this line (No closing quotation) : echo -e "# MySQL Database 
! /home/CI_package_check/dev_CI/../package_check/my_webapp_ynh PR21.patch-4_check/scripts/install : Could not parse this line (No closing quotation) : name: ${db_name}\nuser: ${db_name}\npass: ${db_pwd}" > ../sources/db_access.txt 
! /home/CI_package_check/dev_CI/../package_check/my_webapp_ynh PR21.patch-4_check/scripts/upgrade : Could not parse this line (No closing quotation) : echo "##-> ${app} 
! /home/CI_package_check/dev_CI/../package_check/my_webapp_ynh PR21.patch-4_check/scripts/restore : Could not parse this line (No closing quotation) : echo "##-> ${app} 

 [Misc File Checks]

! The nginx configuration appears vulnerable to path traversal as explained in https://www.acunetix.com/vulnerabilities/web/path-traversal-via-misconfigured-nginx-alias/
To fix it, look at the first lines of the nginx conf of the example app : https://github.com/YunoHost/example_ynh/blob/master/conf/nginx.conf 

 [Sources Management]


 [Manifest]

! [YEP-1.3] The license 'GPLv3' is not registered in https://spdx.org/licenses/ . It can be a typo error. If not, you should replace it by 'free' or 'non-free' and give some explanations in the README.md. 
! 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"
    } 
! 'url' is not meant to be the url of the yunohost package, but rather the website or repo of the upstream app itself... 
! YunoHost version requirement is still 2.x ... Good job if it does still work on Jessie !... But are you really sure about that ;) ? be careful that many new helpers you might already be playing with are only available on 3.x... 

 [Install Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'mysql').
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]

! [YEP-2.12] You should avoid using 'sed -i', please use 'ynh_replace_string' instead 

 [Upgrade Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'mysql').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
! [YEP-2.12] You should avoid using 'sed -i', please use 'ynh_replace_string' instead 
! [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]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'mysql').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
✘ [YEP-2.4] ynh_abort_if_errors is missing. For details, look at https://github.com/YunoHost/issues/issues/419 
--- FAIL ---


>> Installation in a sub path... [Test 2/9]
A LXC container is already running.
Working time: 2 seconds.
Working time: 15 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 15 seconds.
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: .

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 seconds.
Deleting successful. (0)
Warning: yunohost.hook <lambda> - [952.1] Removing database my_webapp
Warning: yunohost.hook <lambda> - [952.1] Remove the user webapp1
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.A LXC container is already running.
Working time: 1 second.
Working time: 15 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

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


>> Installation on the root... [Test 3/9]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 17 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Create a snapshot for root installation.
Working time: 12 seconds.
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: 7 seconds.
Deleting successful. (0)
Warning: yunohost.hook <lambda> - [970.1] Removing database my_webapp
Warning: yunohost.hook <lambda> - [970.1] Remove the user webapp1
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 14 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

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


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 6 seconds.

Upgrade...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 19 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [932.1] Upgrading apps my_webapp
Info: yunohost.app app_upgrade - [932.1] Upgrading app my_webapp…
Warning: yunohost.hook <lambda> - [932.1] usermod: no changes

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 6 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 1 minute, 3 seconds.


>> Installation in private mode... [Test 5/9]
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 16 seconds.
Installation successful. (0)

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: 13 seconds.
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 16 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 13 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 1 minute, 17 seconds.


>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 16 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 41 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 2 minutes, 46 seconds.


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/path
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 16 seconds.
Installation successful. (0)
Second installation: path=sous.domain.tld/path
A LXC container is already running.
Working time: 2 seconds.
Working time: 14 seconds.
Installation successful. (0)

Try to access by url...
Test url: domain.tld/path
Real url: https://domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: domain.tld/path
Ressource ignored: domain.tld/robots.txt
Ressource ignored: domain.tld/ynhpanel.js

Test url: domain.tld/path/
Real url: https://domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: domain.tld/robots.txt
Ressource ignored: domain.tld/ynhpanel.js


Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp2

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp2

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Working time for this test: 57 seconds.


>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 17 seconds.
Installation successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 37 seconds.


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

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

Backup of the application...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 11 seconds.
Working time: 5 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [931.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
--- 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: 2 seconds.
Working time: 8 seconds.
Restore successful. (0)

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- 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.
Create witness files...
Working time: 6 seconds.
Working time: 11 seconds.
Restore successful. (0)

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

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

Preliminary installation in a sub path...
Uses an existing snapshot for sub path installation.
Working time: 6 seconds.

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [930.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
--- 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.A LXC container is already running.
Working time: 2 seconds.
Working time: 8 seconds.
Restore successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Restore the previous snapshot.
Working time: 6 seconds.

Restore on a clean YunoHost system...
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 9 seconds.
Restore successful. (0)

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Custom Web App
Extract of the page:
                                   It works!

   Congratulation, you have just installed your custom web app.

Access your site

   You can access to your site - e.g. to put content, change this
   wonderful page - using SFTP. You can use a client application for that
   such as [1]FileZilla. Here are the SFTP connection details:

   Domain
          sous.domain.tld

   Port
          22 (or the port you defined [2]if you change the ssh port)

   User
          webapp1

   Password

Ressource ignored: sous.domain.tld/robots.txt
Ressource ignored: sous.domain.tld/ynhpanel.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 14 seconds.



Package linter:                  FAIL
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
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: 4 (Backup and restore support)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 1
	   Level 4: 1
	   Level 5: 0
	   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: 12 minutes, 58 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_Official_data_my_webapp_my_webapp_ynh_PR21.patch-4_complete.log

Mon Mar 25 19:24:10 UTC 2019
Test finished.
Finished: SUCCESS