Skip to content

Build #XXX does not exist in the database #162

Description

@vinpel

Expected behavior

When i commit & push i want the build to start, this has work

Actual behavior

I use a worker & beanstalkd
console.log :

[2018-03-07 16:12:07] php-censor.INFO: PLUGIN: SUCCESS {"build":"[object] (PHPCensor\\Model\\Build\\GogsBuild: {\"currentBuildPath\":\"/data/htdocs/php-censor/runtime/builds/2063_f1df2/\"})"} []
[2018-03-07 16:12:07] php-censor.INFO:  RUNNING PLUGIN: Email (Stage: Complete) {"build":"[object] (PHPCensor\\Model\\Build\\GogsBuild: {\"currentBuildPath\":\"/data/htdocs/php-censor/runtime/builds/2063_f1df2/\"})"} []
[2018-03-07 16:12:07] php-censor.INFO: 1 emails sent. {"build":"[object] (PHPCensor\\Model\\Build\\GogsBuild: {\"currentBuildPath\":\"/data/htdocs/php-censor/runtime/builds/2063_f1df2/\"})"} []
[2018-03-07 16:12:07] php-censor.INFO: 0 emails failed to send. {"build":"[object] (PHPCensor\\Model\\Build\\GogsBuild: {\"currentBuildPath\":\"/data/htdocs/php-censor/runtime/builds/2063_f1df2/\"})"} []
[2018-03-07 16:12:07] php-censor.INFO: PLUGIN: SUCCESS {"build":"[object] (PHPCensor\\Model\\Build\\GogsBuild: {\"currentBuildPath\":\"/data/htdocs/php-censor/runtime/builds/2063_f1df2/\"})"} []
[2018-03-07 16:12:07] php-censor.INFO:  Removing Build. {"build":"[object] (PHPCensor\\Model\\Build\\GogsBuild: {\"currentBuildPath\":\"/data/htdocs/php-censor/runtime/builds/2063_f1df2/\"})"} []
[2018-03-08 08:02:25] php-censor.INFO: Received build #2064 from Beanstalkd [] []
[2018-03-08 08:02:25] php-censor.WARNING: Build #2064 does not exist in the database. [] []
[2018-03-08 08:02:25] php-censor.INFO: Received build #2065 from Beanstalkd [] []
[2018-03-08 08:02:25] php-censor.WARNING: Build #2065 does not exist in the database. [] []
[2018-03-08 08:05:51] php-censor.INFO: Found 2 builds [] []
[2018-03-08 08:05:51] php-censor.INFO: Added build #2064 to queue. [] []
[2018-03-08 08:05:51] php-censor.INFO: Received build #2064 from Beanstalkd [] []
[2018-03-08 08:05:51] php-censor.WARNING: Build #2064 does not exist in the database. [] []
[2018-03-08 08:05:51] php-censor.INFO: Added build #2065 to queue. [] []
[2018-03-08 08:05:51] php-censor.INFO: Received build #2065 from Beanstalkd [] []
[2018-03-08 08:05:51] php-censor.WARNING: Build #2065 does not exist in the database. [] []
[2018-03-08 08:06:11] php-censor.INFO: Found 2 builds [] []
[2018-03-08 08:06:11] php-censor.INFO: Added build #2064 to queue. [] []
[2018-03-08 08:06:11] php-censor.INFO: Added build #2065 to queue. [] []
[2018-03-08 08:06:11] php-censor.INFO: Received build #2064 from Beanstalkd [] []
[2018-03-08 08:06:36] php-censor.ERROR: Cloning into '/data/htdocs/php-censor/runtime/builds/2064_81ac8'

Steps to reproduce

-> commit you'r work
-> push event
-> php-censor add the build
-> build icon stay "blue"

i can fix it with :

kill -hup worker_pih

and maybe :
console rebuild queue

Environment

  • PHP Censor version master
  • Operating System alpine
  • PHP version 7.1.5
  • MySQL/PostgreSQL version mariadb:latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions