Builds stuck in pending

Have looked at a bunch of the articles talking about the builds stuck in pending. I feel I have gone through most of the steps if not all of them but looking for some additional guidance since I haven’t had a successful build yet.

1:DRONE_GITEA_CLIENT_ID: 7fdaa73e-dfe5-411c-a383-be01c1d9c423
DRONE_GITEA_CLIENT_SECRET:
DRONE_GITEA_SERVER:
DRONE_LOGS_TRACE: “true”
DRONE_RPC_SECRET:
DRONE_SERVER_HOST:
DRONE_SERVER_PROTO: https
DRONE_USER_CREATE: username:m1z,admin:true

2:DRONE_LOGS_TRACE: “true”
DRONE_NAMESPACE_DEFAULT: default
DRONE_RPC_DUMP_HTTP: “true”
DRONE_RPC_DUMP_HTTP_BODY: “true”
DRONE_RPC_HOST: drone
DRONE_RPC_PROTO: http
DRONE_RPC_SECRET:

3&4 check

5: time=“2022-09-25T05:23:25Z” level=info msg=“starting the server” addr=“:3000”
POST /rpc/v2/ping HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 0
X-Drone-Token:
Accept-Encoding: gzip

HTTP/1.1 200 OK
time=“2022-09-25T05:23:25Z” level=info msg=“successfully pinged the remote server”
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
time=“2022-09-25T05:23:25Z” level=info msg=“polling the remote server” capacity=100 endpoin" kind=pipeline type=kubernetes
Date: Sun, 25 Sep 2022 05:23:25 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:23:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:24:35 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

OST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:25:15 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:25:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:26:35 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:27:15 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:27:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
Content-Length: 83
X-Drone-Token:
Accept-Encoding: gzip

{“kind”:“pipeline”,“type”:“kubernetes”,“os”:“”,“arch”:“”,“variant”:“”,“kernel”:“”}
HTTP/1.1 204 No Content
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Date: Sun, 25 Sep 2022 05:28:35 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
X-Accel-Expires: 0

POST /rpc/v2/stage HTTP/1.1
Host: drone
User-Agent: Go-http-client/1.1
6: license: “”
authn:
endpoint: “”
secret: “”
skipverify: false
agent:
disabled: false
azureblob:
containername: “”
storageaccountname: “”
storageaccesskey: “”
convert:
extension: “”
endpoint: “”
secret: “”
skipverify: false
cachesize: 10
timeout: 1m0s
multi: false
cleanup:
disabled: false
interval: 24h0m0s
running: 24h0m0s
pending: 24h0m0s
cron:
disabled: false
interval: 30m0s
cloning:
alwaysauth: false
username: “”
password: “”
image: “”
pull: IfNotExists
database:
driver: sqlite3
datasource: /data/database.sqlite
secret: “”
maxconnections: 0
legacybatch: false
encryptusertable: false
encryptmixedcontent: false
datadog:
enabled: true
endpoint:
token: “”
docker:
config: “”
http:
allowedhosts:
hostsproxyheaders:
sslredirect: false
ssltemporaryredirect: false
sslhost: “”
sslproxyheaders: {}
stsseconds: 0
stsincludesubdomains: false
stspreload: false
forcestsheader: false
browserxssfilter: true
framedeny: true
contenttypenosniff: false
contentsecuritypolicy: “”
referrerpolicy: “”
jsonnet:
enabled: false
importlimit: 0
starlark:
enabled: false
steplimit: 0
logging:
debug: false
trace: true
color: false
pretty: false
text: false
prometheus:
enableanonymousaccess: false
proxy:
addr:
host: drone.rtrix.io
proto: https
redis:
connectionstring: “”
addr: “”
password: “”
db: 0
registration:
closed: false
registries:
endpoint: “”
password: “”
skipverify: false
repository:
filter:
visibility: “”
trusted: false
ignore:
runner:
local: false
image: drone/controller:1
platform: linux/amd64
os: linux
arch: amd64
kernel: “”
variant: “”
machine: drone-78b84857c4-pgk5h
capacity: 2
labels: {}
volumes:
networks:
devices:
privileged:
environ: {}
limits:
memswaplimit: 0
memlimit: 0
shmsize: 0
cpuquota: 0
cpushares: 0
cpuset: “”
rpc:
server: “”
secret: 3ad84dfc5bb4f7f313802c40660bdac9
debug: false
host: d
proto: https
s3:
bucket: “”
prefix: “”
endpoint: “”
pathstyle: false
secrets:
endpoint: “”
password: “”
skipverify: false
server:
hos
port: :80
proto: https
pprof: false
acme: false
email: “”
cert: “”
key: “”
session:
timeout: 720h0m0s
secure: false
status:
disabled: false
name: “”
users:
create:
username: m1z
machine: false
admin: true
token: “”
filter:
minage: 0s
validate:
endpoint: “”
secret: “”
skipverify: false
timeout: 1m0s
webhook:
events:
endpoint:
secret: “”
skipverify: false
yaml:
endpoint: “”
secret: “”
skipverify: false
timeout: 1m0s
{“build.limit”:0,“expires”:“0001-01-01T00:00:00Z”,“kind”:“trial”,“level”:“debug”,“msg”:“main: license loaded”,“repo.limit”:0,“time”:“2022-09-25T05:01:14Z”,“user.limit”:0}
bitbucket:
clientid: “”
clientsecret: “”
skipverify: false
debug: false
gitea:
server:
skipverify: false
scope:

  • repo
  • repo:status
  • user:email
  • read:org
    debug: false
    github:
    serv
    apiserver:
    clientid: “”
    clientsecret: “”
    skipverify: false
    scope:
  • repo
  • repo:status
  • user:email
  • read:org
    ratelimit: 0
    debug: false
    gitlab:
    serve
    clientid: “”
    clientsecret: “”
    skipverify: false
    debug: false
    gogs:
    server: “”
    skipverify: false
    debug: false
    stash:
    server: “”
    consumerkey: “”
    consumersecret: “”
    privatekey: “”
    skipverify: false
    debug: false
    gitee:
    server:
    apiserver
    clientid: “”
    clientsecret: “”
    redirecturl: “”
    skipverify: false
    scope:
  • user_info
  • projects
  • pull_requests
  • hook
    debug: false

7 kind: pipeline
name: default

steps:

  • name: test
    image: rust:1.61
    commands:
    • cargo build --verbose --all
    • cargo test --verbose --all

8:
“id”: 3,
“repo_id”: 5,
“trigger”: “@hook”,
“number”: 1,
“status”: “pending”,
“event”: “push”,
“action”: “”,
“link”: “/b6f1b9529b9f9e3d2fdf6d6afc998fcd4629eac4…c44082a08b68f923356ef64dfde9ea21d9ee3d21”,
“timestamp”: 0,
“message”: “initial test\n”,
“before”: “b6f1b9529b9f9e3d2fdf6d6afc998fcd4629eac4”,
“after”: “c44082a08b68f923356ef64dfde9ea21d9ee3d21”,
“ref”: “refs/heads/main”,
“source_repo”: “”,
“source”: “main”,
“target”: “main”,
“author_login”: “gitadmin”,
“author_name”: “m1z”,
“author_email”: “[email protected]”,
“author_avata/avatars/d65c482a3d393b143bebe94c9d243883”,
“sender”: “m1z”,
“started”: 0,
“finished”: 0,
“created”: 1664081178,
“updated”: 1664081178,
“version”: 1,
“stages”: [
{
“id”: 3,
“repo_id”: 5,
“build_id”: 3,
“number”: 1,
“name”: “default”,
“kind”: “pipeline”,
“type”: “docker”,
“status”: “pending”,
“errignore”: false,
“exit_code”: 0,
“os”: “linux”,
“arch”: “amd64”,
“started”: 0,
“stopped”: 0,
“created”: 1664081178,
“updated”: 1664081178,
“version”: 1,
“on_success”: true,
“on_failure”: false
}
]

Hi @m1z did you get a chance to go through this FAQ here: Builds are Stuck in Pending Status - FAQ - Drone it must be one of them listed here.

Thanks!