dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 439 forks source link

Supervisor => INFO gave up: phpci_00 entered FATAL state, too many start retries too quickly #1298

Open DavidGarciaCat opened 7 years ago

DavidGarciaCat commented 7 years ago

Before submitting your issue, please make sure that you've checked all of the checkboxes below.

To help us better understand your issue, please answer the following.

Expected behaviour

Run queued builds as expected.

Actual behaviour

My build are queued but not running. For some reason, the queued build is throwing an error and they cannot be build.

Steps to reproduce

Queue several builds one after another (like a set of commits, using more than 1 branch). GitHub will call the WebHook.

Set-up Supervisor.

Environment info

Operating System: Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64) PHP Version: PHP 7.0.13-0ubuntu0.16.04.1 (cli) ( NTS ) MySQL Version: mysql Ver 15.1 Distrib 10.0.29-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Logs or other output that would be helpful

==> /tmp/supervisord.log <==
2017-02-16 13:07:57,485 INFO exited: phpci_00 (exit status 1; not expected)
2017-02-16 13:07:59,488 INFO spawned: 'phpci_00' with pid 31698

==> /var/log/phpci-err.log <==
[2017-02-16 13:07:59] WorkerCommand.INFO: Received build #87 from Beanstalkd [] []
[2017-02-16 13:07:59] WorkerCommand.WARNING: Build #87 does not exist in the database. [] []
[2017-02-16 13:07:59] RebuildQueueCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":133} []
[2017-02-16 13:07:59] WorkerCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":133} []
[2017-02-16 13:07:59] PollCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":133} []
[2017-02-16 13:07:59] DaemonCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":133} []
[2017-02-16 13:07:59] UpdateCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":133} []
[2017-02-16 13:07:59] RunCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":133} []
[2017-02-16 13:07:59] WorkerCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":148} []
[2017-02-16 13:07:59] PollCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":148} []
[2017-02-16 13:07:59] DaemonCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":148} []
[2017-02-16 13:07:59] UpdateCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":148} []
[2017-02-16 13:07:59] RunCommand.NOTICE: E_NOTICE: Undefined variable: build {"code":8,"message":"Undefined variable: build","file":"/path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php","line":148} []

  [ErrorException]
  Notice: Undefined variable: build in /path/to/my/virtual/host/phpci/PHPCI/Worker/BuildWorker.php line 148

phpci:worker [--debug]

==> /tmp/supervisord.log <==
2017-02-16 13:07:59,552 INFO exited: phpci_00 (exit status 1; not expected)
2017-02-16 13:08:00,553 INFO gave up: phpci_00 entered FATAL state, too many start retries too quickly