Bug 40081 - 62_app_update_available and 64_app_container_upgrade
62_app_update_available and 64_app_container_upgrade
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-24 12:54 CET by Philipp Hahn
Modified: 2018-04-14 13:47 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2015-11-24 12:54:17 CET
Jenkins UCS-4.1-0 S4-Slave: the test have been running for hours. Disable them by default?


root      3188  0.0  0.0  50304  3420 ?        Ss   Nov23   0:00 /usr/sbin/sshd
root      3235  0.0  0.2 125308  8836 ?        Ss   Nov23   0:00  \_ sshd: root@notty 
root      5571  0.0  0.0   9368  2412 ?        Ss   Nov23   0:00  |   \_ bash -c . utils.sh; run_tests
root      5572  0.0  0.6  73380 24932 ?        S    Nov23   0:06  |       \_ /usr/bin/python /usr/sbin/ucs-test -E dangerous -F junit -l ucs-test.log -p producttest
root      1311  0.0  0.3  56768 14996 ?        S    02:30   0:00  |           \_ /usr/bin/python 62_app_update_available
root      1793  0.0  0.0   4188   508 ?        S    02:30   0:00  |               \_ /bin/sh -c univention-app install --noninteractive --username=Administrator --pwdfile=/var/lib/ucs-test/pwdfile l0eqvuw63k
root      1794  0.0  1.4 392568 54288 ?        Sl   02:30   0:02  |                   \_ /usr/bin/python2.7 /usr/bin/univention-app install --noninteractive --username=Administrator --pwdfile=/var/lib/ucs-test/pwdfile l0eqvuw63k
root      3904  0.0  0.3  96368 13056 ?        Sl   02:31   0:00  |                       \_ docker exec 1de9ec423eb6d39e1d2ff6ea4219d5a4f23669ea82a8d23f014caeec5b171cad /usr/share/univention-docker-container-mode/setup --username Administrator --password-file /tmp/tmp.wYCIWRqggk --app l0eqvuw63k --app-version 1 --error-file /tmp/tmp.zrb7hjSbtM
...
 4349 ?        Sl     1:21 /usr/bin/docker -d -p /var/run/docker.pid --storage-driver=overlay
 1897 ?        Ss     0:00  \_ init [2]  
...
 3915 ?        Ss     0:00  \_ /bin/bash /usr/share/univention-docker-container-mode/setup --username Administrator --password-file /tmp/tmp.wYCIWRqggk --app l0eqvuw63k --app-version 1 --error-file /tmp/tmp.zrb7hjSbtM
 4611 ?        S      0:00      \_ /bin/bash /usr/share/univention-docker-container-mode/update_app_version --username Administrator --password-file /tmp/tmp.wYCIWRqggk --app l0eqvuw63k --app-version 1 --error-file /tmp/tmp.zrb7hjSbtM
 4879 ?        S      0:00          \_ /usr/bin/python2.7 /usr/bin/univention-app register l0eqvuw63k=1 --component --do-it
 4882 ?        S      0:00              \_ /usr/bin/python2.7
...

 3188 ?        Ss     0:00 /usr/sbin/sshd
 3235 ?        Ss     0:00  \_ sshd: root@notty 
 5571 ?        Ss     0:00  |   \_ bash -c . utils.sh; run_tests
 5572 ?        S      0:07  |       \_ /usr/bin/python /usr/sbin/ucs-test -E dangerous -F junit -l ucs-test.log -p producttest
12229 ?        S      0:00  |           \_ /usr/bin/python 64_app_container_upgrade
19988 ?        S      0:00  |               \_ /bin/sh -c univention-app upgrade --noninteractive --username=Administrator --pwdfile=/var/lib/ucs-test/pwdfile txfluh2h6u
19991 ?        S      0:00  |                   \_ /usr/bin/python2.7 /usr/bin/univention-app upgrade --noninteractive --username=Administrator --pwdfile=/var/lib/ucs-test/pwdfile txfluh2h6u
20047 ?        Sl     0:00  |                       \_ docker exec a6c33e67a0fd0510c959f22f3df08525d634696ef9ed15126e649056d427d8c7 /usr/share/univention-docker-container-mode/update_available --app txfluh2h6u --app_version 1 --error_fil
...
20055 ?        Ss     0:00  \_ /bin/bash /usr/share/univention-docker-container-mode/update_available --app txfluh2h6u --app_version 1 --error_file /tmp/tmp.8toQ8KSobJ
20065 ?        S      0:00      \_ /usr/bin/python2.7 /usr/sbin/univention-upgrade --check



# strace -f -p 20065
Process 20065 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 1
getsockopt(4, SOL_SOCKET, SO_ERROR, [110], [4]) = 0
close(4)                                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(4, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("1.2.3.102")}, 16) = -1 EINPROGRESS (Operation now in progress)
Comment 1 Stefan Gohmann univentionstaff 2015-11-24 13:14:26 CET
I guess it is Bug #39954.

I've increased the timeout for the test case some time ago because I want to know if it changes anything.