Page MenuHomePhabricator

runtime/cgo: pthread_create failed: Resource temporarily unavailable
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/mediawiki-i18n-check-docker/233/console failed in a weird way:

12:26:55 Started by user unknown or anonymous
12:26:55 Building remotely on integration-slave-docker-1017 (m1executor blubber DebianJessieDocker instance-type-ci1.medium) in workspace /srv/jenkins-workspace/workspace/mediawiki-i18n-check-docker
12:26:55 [mediawiki-i18n-check-docker] $ /bin/bash -xe /tmp/jenkins671332371653507116.sh
12:26:55 + set -eux
12:26:55 + mkdir -m 2777 -p src
12:26:56 + docker run --rm --user=nobody -v /srv/jenkins-workspace/workspace/mediawiki-i18n-check-docker:/workspace --entrypoint=/usr/bin/find docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace/src -mindepth 1 -delete
12:26:56 runtime/cgo: pthread_create failed: Resource temporarily unavailable
12:26:56 SIGABRT: abort
12:26:56 PC=0x7f1506ebd067 m=0 sigcode=18446744073709551610
12:26:56 
12:26:56 goroutine 0 [idle]:
12:26:56 
12:26:56 goroutine 1 [running]:
12:26:56 runtime.systemstack_switch()
12:26:56 	/usr/local/go/src/runtime/asm_amd64.s:298 fp=0xc42002e780 sp=0xc42002e778 pc=0x459d80
12:26:56 runtime.main()
12:26:56 	/usr/local/go/src/runtime/proc.go:128 +0x63 fp=0xc42002e7e0 sp=0xc42002e780 pc=0x42f593
12:26:56 runtime.goexit()
12:26:56 	/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42002e7e8 sp=0xc42002e7e0 pc=0x45c9b1
12:26:56 
12:26:56 rax    0x0
12:26:56 rbx    0x7f150722e708
12:26:56 rcx    0x7f1506ebd067
12:26:56 rdx    0x6
12:26:56 rdi    0x13f2
12:26:56 rsi    0x13f2
12:26:56 rbp    0x100faa6
12:26:56 rsp    0x7ffc41456348
12:26:56 r8     0xa
12:26:56 r9     0x7f150786c740
12:26:56 r10    0x8
12:26:56 r11    0x202
12:26:56 r12    0x194e050
12:26:56 r13    0xf1
12:26:56 r14    0x11
12:26:56 r15    0x0
12:26:56 rip    0x7f1506ebd067
12:26:56 rflags 0x202
12:26:56 cs     0x33
12:26:56 fs     0x0
12:26:56 gs     0x0
12:26:56 Build step 'Execute shell' marked build as failure
12:26:56 Finished: FAILURE

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 4 2018, 12:30 PM

The pthread_create failure sounds like we ran out of memory on that machine. @dduvall killed a whole bunch of left-over containers today that CI hadn't cleaned recently.

If this problem persists we can try moving this job to only run on executors with more memory; however, that may gum up the works a bit since those executors are where most long jobs are run.

hashar closed this task as Resolved.Apr 17 2019, 2:26 PM