Project

General

Profile

Bug #17912

some builds aren't marked as failed (they show up as yellow on shaman)

Added by Alfredo Deza almost 5 years ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Something prevents the properties file from trickling down:

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - [ERROR] - The given properties file path '/home/jenkins-build/build/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/build_info' doesn't exist.
[EnvInject] - [ERROR] - Missing file path was resolved from pattern '${WORKSPACE}/build_info' .
[EnvInject] - [ERROR] - [EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build step: java.io.IOException: remote file operation failed: /home/jenkins-build/build/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge at hudson.remoting.Channel@10d93ef:Channel to /8.43.84.3: java.io.IOException: The given properties file path '/home/jenkins-build/build/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/build_info' doesn't exist.
Build step 'Execute a set of scripts' marked build as failure

From log output on:

https://jenkins.ceph.com/job/ceph-dev-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos7,DIST=centos7,MACHINE_SIZE=huge/2455//console

History

#1 Updated by David Galloway 3 months ago

This one's still valid. If a Jenkins builder crashes, for example, the job won't get marked as failed. Perhaps we could add a timeout to shaman to automatically mark a build as failed if 12 hours have passed since a build is "started"

#2 Updated by David Galloway about 2 months ago

  • Status changed from New to In Progress

I almost got this working but I'm not sure it's going to be possible. It may be better to just have shaman mark a yellow build as failed after 24 hours of no update or something.

https://github.com/ceph/ceph-build/pull/1895

Also available in: Atom PDF