FailedConsole Output

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

Thu May  9 21:06:01 UTC 2019
Wait for work starting...
.........
Thu May  9 21:10:31 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.
The container failed to connect to internet...
Rebooting the container...
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Start the LXC container.
Create witness files...
Working time: 21 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/redirect_ynh_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]

! [YEP-2.1] You should specify the type of the argument 'redirect_type'. You can use : domain, path, boolean, app, password, user, string. 
! '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]

! 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]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/9]
A LXC container is already running.
Working time: 2 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [969.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 14 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 seconds.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [965.1] Removing application redirect…
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1062.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

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


>> Installation on the root... [Test 3/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [910.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- SUCCESS ---
Create a snapshot for root installation.
Working time: 13 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: 2 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [962.1] Removing application redirect…
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 5 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1059.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 1 minute, 4 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: 7 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [918.1] Now upgrading app redirect…
Info: yunohost.backup _collect_app_files - [1002.1] Collecting files to be backuped for redirect…
Info: yunohost.backup backup_create - [1002.1] Now creating a backup archive from the files collected…
Warning: yunohost.hook <lambda> - [918.1] [WARN] Too many arguments ! "/" will be ignored.

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Deleting successful. (0)
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: 45 seconds.


>> Installation in private mode... [Test 5/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

App is not private: it should redirect to the Yunohost portal, but is publicly accessible instead
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 5 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

App is not private: it should redirect to the Yunohost portal, but is publicly accessible instead
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 1 minute, 3 seconds.


>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 5 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [909.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 10 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 59 seconds.


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/path
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [913.1] Installing application redirect…
Second installation: path=sous.domain.tld/path
A LXC container is already running.
The container failed to connect to internet...
Rebooting the container...
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Start the LXC container.
Create witness files...
Working time: 22 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application redirect…

Try to access by url...
Test url: domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkL3BhdGg=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkL3BhdGgv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 55 seconds.


>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [903.1] Installing application redirect…

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

Test url: sous.domain.tld/path/
Real url: https://127.0.0.1/yunohost/admin/
HTTP code: 200
Title of the page: YunoHost admin
Extract of the page:
   [1]accueil Yunohost [2]User interface  [3]Logout
   (BUTTON) Pin  (BUTTON) Clear
   [4]loading…

   Warning ! You must enable Javascript to view this page properly.

   (BUTTON) × Close

   (BUTTON) Cancel (BUTTON) OK

References

   1. file:///home/CI_package_check/package_check/url_output#/
   2. file:///yunohost/sso/
   3. file:///home/CI_package_check/package_check/url_output#/logout
   4. file:///home/CI_package_check/package_check/url_output#/

Ressource moved: sous.domain.tld/path/
Ressource moved: 127.0.0.1/
Ressource moved: 127.0.0.1/yunohost/admin

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


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

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

Backup of the application...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 4 seconds.
Working time: 6 seconds.
Backup successful. (0)
Warning: yunohost.service _run_service_command - [177.1] Unable to execute command 'systemctl reload fail2ban'
Warning: yunohost.hook <lambda> - [905.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [905.1] Collecting files to be backuped for redirect…
Info: yunohost.backup backup_create - [905.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 4 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [1204.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1204.1] Restoring application redirect…
Warning: yunohost.hook <lambda> - [1204.1] /usr/share/yunohost/helpers.d/network: line 102: path_url: unbound variable
Warning: yunohost.hook <lambda> - [1204.1] !!
Warning: yunohost.hook <lambda> - [1204.1]   redirect's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1204.1] !!
Error: yunohost.backup _restore_app - [1204.1] Unable to restore the app 'redirect'
Info: yunohost.log close - [1204.1] The operation 'Restore 'redirect' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-211720-backup_restore_app-redirect --share'
Warning: yunohost.hook <lambda> - [1204.1] /etc/nginx/conf.d/sous.domain.tld.d/redirect.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Nothing has been restored

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.
--- FAIL ---
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: 9 seconds.
Working time: 4 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [909.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [909.1] Restoring application redirect…
Warning: yunohost.hook <lambda> - [909.1] /usr/share/yunohost/helpers.d/network: line 102: path_url: unbound variable
Warning: yunohost.hook <lambda> - [909.1] !!
Warning: yunohost.hook <lambda> - [909.1]   redirect's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [909.1] !!
Error: yunohost.backup _restore_app - [909.1] Unable to restore the app 'redirect'
Info: yunohost.log close - [909.1] The operation 'Restore 'redirect' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-211753-backup_restore_app-redirect --share'
Warning: yunohost.hook <lambda> - [909.1] /etc/nginx/conf.d/sous.domain.tld.d/redirect.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Nothing has been restored

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.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 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: 5 seconds.
Working time: 7 seconds.
Backup successful. (0)
Warning: yunohost.service _run_service_command - [213.1] Unable to execute command 'systemctl reload fail2ban'
Warning: yunohost.hook <lambda> - [914.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [914.1] Collecting files to be backuped for redirect…
Info: yunohost.backup backup_create - [914.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [1225.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1225.1] Restoring application redirect…
Warning: yunohost.hook <lambda> - [1225.1] /usr/share/yunohost/helpers.d/network: line 102: path_url: unbound variable
Warning: yunohost.hook <lambda> - [1225.1] !!
Warning: yunohost.hook <lambda> - [1225.1]   redirect's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1225.1] !!
Error: yunohost.backup _restore_app - [1225.1] Unable to restore the app 'redirect'
Info: yunohost.log close - [1225.1] The operation 'Restore 'redirect' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-211836-backup_restore_app-redirect --share'
Warning: yunohost.hook <lambda> - [1225.1] /etc/nginx/conf.d/sous.domain.tld.d/redirect.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Nothing has been restored

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.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 10 seconds.
Restore the previous snapshot.
Working time: 5 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Restore failed. (1)
Info: yunohost.backup backup_restore - [922.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [922.1] Restoring application redirect…
Warning: yunohost.hook <lambda> - [922.1] /usr/share/yunohost/helpers.d/network: line 102: path_url: unbound variable
Warning: yunohost.hook <lambda> - [922.1] !!
Warning: yunohost.hook <lambda> - [922.1]   redirect's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [922.1] !!
Error: yunohost.backup _restore_app - [922.1] Unable to restore the app 'redirect'
Info: yunohost.log close - [922.1] The operation 'Restore 'redirect' from a backup archive' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-211907-backup_restore_app-redirect --share'
Warning: yunohost.hook <lambda> - [922.1] /etc/nginx/conf.d/sous.domain.tld.d/redirect.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Nothing has been restored

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.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 11 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 2 minutes, 31 seconds.



Package linter:                  SUCCESS
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:    FAIL
Installation in public mode:     SUCCESS
Multi-instance installations:    FAIL
Malformed path:                  SUCCESS
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         FAIL
Change URL:                      Not evaluated.
Level of this application: 1 (Installable)
	   Level 1: 1
	   Level 2: 0
	   Level 3: 1
	   Level 4: 0
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   Level 8: 0
	   Level 9: 0
	   Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log
Global working time for all tests: 9 minutes, 16 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_aleks_data_redirect_ynh_complete.log

Thu May  9 21:20:02 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE