{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/443","repository_url":"https://api.github.com/repos/ansible-semaphore/semaphore","labels_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/443/comments","events_url":"https://api.github.com/repos/ansible-semaphore/semaphore/issues/443/events","html_url":"https://github.com/ansible-semaphore/semaphore/issues/443","id":276726113,"number":443,"title":"Stuck at Checking DB Migrations","user":{"login":"prakashgp","id":3513506,"avatar_url":"https://avatars1.githubusercontent.com/u/3513506?v=4","gravatar_id":"","url":"https://api.github.com/users/prakashgp","html_url":"https://github.com/prakashgp","followers_url":"https://api.github.com/users/prakashgp/followers","following_url":"https://api.github.com/users/prakashgp/following{/other_user}","gists_url":"https://api.github.com/users/prakashgp/gists{/gist_id}","starred_url":"https://api.github.com/users/prakashgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prakashgp/subscriptions","organizations_url":"https://api.github.com/users/prakashgp/orgs","repos_url":"https://api.github.com/users/prakashgp/repos","events_url":"https://api.github.com/users/prakashgp/events{/privacy}","received_events_url":"https://api.github.com/users/prakashgp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-25T04:57:40Z","updated_at":"2017-11-25T04:57:40Z","closed_at":null,"author_association":"NONE","body":"I've installed and configured semaphore for linux_amd_x64\r\nI've mysql 5.6 installed\r\nWhen i ran configure command it worked perfect.\r\nBut when i try to start it with `semaphore -config /tmp/semaphore/semaphore_config.json` it gets stuck at \r\n\r\n```\r\nSemaphore 2.4.1\r\nPort :3000\r\nMySQL root@127.0.0.1:3306 semaphore\r\nTmp Path (projects home) /tmp/semaphore\r\nChecking DB migrations\r\n\r\n```\r\n\r\n\r\nI ran a `strace` of it and got following output: (last few lines before ctrl + c)\r\n\r\n```\r\nepoll_wait(5, {}, 128, 0)               = 0\r\nepoll_wait(5, {}, 128, 0)               = 0\r\nepoll_wait(5, {}, 128, 0)               = 0\r\nepoll_wait(5, {}, 128, 0)               = 0\r\nepoll_wait(5, {}, 128, 0)               = 0\r\nfutex(0xddef10, FUTEX_WAIT, 0, {0, 100000}) = -1 EAGAIN (Resource temporarily unavailable)\r\nfutex(0xddeee8, FUTEX_WAIT, 0, {0, 100000}) = -1 EAGAIN (Resource temporarily unavailable)\r\nfutex(0xc420029110, FUTEX_WAKE, 1)      = 1\r\nfutex(0xddf258, FUTEX_WAIT, 0, NULL)    = -1 EAGAIN (Resource temporarily unavailable)\r\nepoll_wait(5, {}, 128, 0)               = 0\r\nfutex(0xc420029110, FUTEX_WAKE, 1)      = 1\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = ? ERESTARTSYS (To be restarted if SA_RESTART is set)\r\n--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---\r\nrt_sigreturn()                          = 202\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = ? ERESTARTSYS (To be restarted if SA_RESTART is set)\r\n--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---\r\nrt_sigreturn()                          = 202\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\npselect6(0, NULL, NULL, NULL, {0, 3000}, 0) = 0 (Timeout)\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = ? ERESTARTSYS (To be restarted if SA_RESTART is set)\r\n--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---\r\nrt_sigreturn()                          = 202\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddf7d0, FUTEX_WAIT, 0, NULL)    = 0\r\nfutex(0xddeee8, FUTEX_WAKE, 1)          = 0\r\nfutex(0xddee30, FUTEX_WAKE, 1)          = 1\r\n\r\n```\r\n\r\n\r\nAlso output of `strace -c`\r\n\r\n```\r\n% time     seconds  usecs/call     calls    errors syscall\r\n------ ----------- ----------- --------- --------- ----------------\r\n  0.00    0.000000           0        29         1 read\r\n  0.00    0.000000           0        25           write\r\n  0.00    0.000000           0         5           close\r\n  0.00    0.000000           0         1           fstat\r\n  0.00    0.000000           0        19           mmap\r\n  0.00    0.000000           0         1           munmap\r\n  0.00    0.000000           0       114           rt_sigaction\r\n  0.00    0.000000           0        10           rt_sigprocmask\r\n  0.00    0.000000           0         1           ioctl\r\n  0.00    0.000000           0         5           socket\r\n  0.00    0.000000           0         1         1 connect\r\n  0.00    0.000000           0         3           bind\r\n  0.00    0.000000           0         1           listen\r\n  0.00    0.000000           0         2           getsockname\r\n  0.00    0.000000           0         1           getpeername\r\n  0.00    0.000000           0         8           setsockopt\r\n  0.00    0.000000           0         1           getsockopt\r\n  0.00    0.000000           0         4           clone\r\n  0.00    0.000000           0         1           execve\r\n  0.00    0.000000           0         2           sigaltstack\r\n  0.00    0.000000           0         1           arch_prctl\r\n  0.00    0.000000           0         1           gettid\r\n  0.00    0.000000           0        41         1 futex\r\n  0.00    0.000000           0         1           sched_getaffinity\r\n  0.00    0.000000           0         6           epoll_wait\r\n  0.00    0.000000           0         2           epoll_ctl\r\n  0.00    0.000000           0         3           openat\r\n  0.00    0.000000           0         1           readlinkat\r\n  0.00    0.000000           0         1         1 accept4\r\n  0.00    0.000000           0         1           epoll_create1\r\n------ ----------- ----------- --------- --------- ----------------\r\n100.00    0.000000                   292         4 total\r\n\r\n```"}}
{"actor":{"display_login":"prakashgp"}}