Pull request #438 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c22d2ec69f2b760c24b58923a926cb3588d72cfa+9e152f0eea3cbe8e1fbe8298102668336ecdbf0d (45b5139886f38f0dbf6c28dddbf2db6586f47187) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7277033783999963859.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12708450606916964616.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13159823842219104823.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5969469201383077612.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7493314996530511537.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16674458306375891506.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1580 in /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-438 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit c22d2ec69f2b760c24b58923a926cb3588d72cfa Merge succeeded, producing c22d2ec69f2b760c24b58923a926cb3588d72cfa Checking out Revision c22d2ec69f2b760c24b58923a926cb3588d72cfa (PR-438) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-30T06:03:03.376Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-30T06:03:03.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-30T06:03:03.763Z] ========================================================= [2024-05-30T06:03:03.763Z] EdgeX Global Pipelines Version Info [2024-05-30T06:03:03.763Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:03:04.532Z] ------------------- [2024-05-30T06:03:04.532Z] stable info: [2024-05-30T06:03:04.532Z] ------------------- [2024-05-30T06:03:04.532Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-30T06:03:04.532Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-30T06:03:04.532Z] Message: update stable to v1.0.260 [2024-05-30T06:03:05.101Z] ------------------- [2024-05-30T06:03:05.101Z] experimental info: [2024-05-30T06:03:05.101Z] ------------------- [2024-05-30T06:03:05.101Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-30T06:03:05.101Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-30T06:03:05.101Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-30T06:03:05.375Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-05-30T06:03:05.446Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-05-30T06:03:05.516Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-30T06:03:05.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-30T06:03:05.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-30T06:03:05.744Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-30T06:03:05.814Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-30T06:03:05.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-30T06:03:05.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-30T06:03:06.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-30T06:03:06.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-30T06:03:06.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-05-30T06:03:06.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-30T06:03:06.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-30T06:03:06.351Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-30T06:03:06.429Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-30T06:03:06.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-30T06:03:06.620Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-30T06:03:06.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-30T06:03:06.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-30T06:03:06.841Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-30T06:03:06.911Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-05-30T06:03:06.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-30T06:03:07.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-30T06:03:07.125Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-30T06:03:07.199Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-30T06:03:07.272Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-30T06:03:07.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo [2024-05-30T06:03:07.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo [2024-05-30T06:03:07.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo [2024-05-30T06:03:07.549Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo [2024-05-30T06:03:07.612Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c22d2ec [Pipeline] echo [2024-05-30T06:03:07.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T06:03:07.843Z] provisioning config files... [2024-05-30T06:03:07.859Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config13758367237490696761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:03:08.258Z] ---> ****-login.sh [2024-05-30T06:03:08.258Z] nexus3.edgexfoundry.org:10001 [2024-05-30T06:03:08.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:08.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:08.518Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:08.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:08.518Z] [2024-05-30T06:03:08.518Z] Login Succeeded [2024-05-30T06:03:08.518Z] nexus3.edgexfoundry.org:10002 [2024-05-30T06:03:08.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:08.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:08.518Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:08.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:08.518Z] [2024-05-30T06:03:08.518Z] Login Succeeded [2024-05-30T06:03:08.518Z] nexus3.edgexfoundry.org:10003 [2024-05-30T06:03:08.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:08.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:08.780Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:08.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:08.780Z] [2024-05-30T06:03:08.780Z] Login Succeeded [2024-05-30T06:03:08.780Z] nexus3.edgexfoundry.org:10004 [2024-05-30T06:03:08.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:08.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:08.780Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:08.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:08.780Z] [2024-05-30T06:03:08.780Z] Login Succeeded [2024-05-30T06:03:08.780Z] ****.io [2024-05-30T06:03:08.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:09.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:09.043Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:09.043Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:09.043Z] [2024-05-30T06:03:09.043Z] Login Succeeded [2024-05-30T06:03:09.043Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T06:03:09.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-30T06:03:09.783Z] + git rev-list -1 --merges c22d2ec69f2b760c24b58923a926cb3588d72cfa~1..c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo [2024-05-30T06:03:09.832Z] -----------> git rev-list -1 --merges c22d2ec69f2b760c24b58923a926cb3588d72cfa~1..c22d2ec69f2b760c24b58923a926cb3588d72cfa c22d2ec69f2b760c24b58923a926cb3588d72cfa [false] [Pipeline] sh [2024-05-30T06:03:10.159Z] + git log --format=format:%s -1 c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo [2024-05-30T06:03:10.201Z] ========================================================= [2024-05-30T06:03:10.201Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-30T06:03:10.201Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-30T06:03:10.660Z] + git log --format=format:%s -1 c22d2ec69f2b760c24b58923a926cb3588d72cfa [Pipeline] echo [2024-05-30T06:03:10.696Z] [semverPrep] GIT_COMMIT: c22d2ec69f2b760c24b58923a926cb3588d72cfa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-05-30T06:03:10.738Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-30T06:03:11.143Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-30T06:03:11.143Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-30T06:03:11.143Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-30T06:03:11.143Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-30T06:03:11.143Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-30T06:03:11.143Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-30T06:03:11.143Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:03:11.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T06:03:11.618Z] [2024-05-30T06:03:11.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:03:12.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T06:03:12.285Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-30T06:03:12.285Z] b85a868b505f: Pulling fs layer [2024-05-30T06:03:12.285Z] e2be974225ed: Pulling fs layer [2024-05-30T06:03:12.285Z] 339a4e72a1f5: Pulling fs layer [2024-05-30T06:03:12.285Z] 988bab9f4d93: Pulling fs layer [2024-05-30T06:03:12.285Z] 1469e6f7b9e6: Pulling fs layer [2024-05-30T06:03:12.285Z] eaf3925da568: Pulling fs layer [2024-05-30T06:03:12.285Z] bab4dde63d76: Pulling fs layer [2024-05-30T06:03:12.285Z] bde34c3a00c8: Pulling fs layer [2024-05-30T06:03:12.285Z] b352a97aabf1: Pulling fs layer [2024-05-30T06:03:12.285Z] 4872d77fe225: Pulling fs layer [2024-05-30T06:03:12.285Z] 5851b861e8e6: Pulling fs layer [2024-05-30T06:03:12.285Z] 988bab9f4d93: Waiting [2024-05-30T06:03:12.285Z] 1469e6f7b9e6: Waiting [2024-05-30T06:03:12.285Z] eaf3925da568: Waiting [2024-05-30T06:03:12.285Z] 4872d77fe225: Waiting [2024-05-30T06:03:12.285Z] bab4dde63d76: Waiting [2024-05-30T06:03:12.285Z] 5851b861e8e6: Waiting [2024-05-30T06:03:12.545Z] e2be974225ed: Verifying Checksum [2024-05-30T06:03:12.545Z] e2be974225ed: Download complete [2024-05-30T06:03:12.545Z] 988bab9f4d93: Verifying Checksum [2024-05-30T06:03:12.545Z] 988bab9f4d93: Download complete [2024-05-30T06:03:12.545Z] 339a4e72a1f5: Verifying Checksum [2024-05-30T06:03:12.545Z] 339a4e72a1f5: Download complete [2024-05-30T06:03:12.545Z] 1469e6f7b9e6: Verifying Checksum [2024-05-30T06:03:12.545Z] 1469e6f7b9e6: Download complete [2024-05-30T06:03:12.545Z] eaf3925da568: Download complete [2024-05-30T06:03:12.545Z] bde34c3a00c8: Download complete [2024-05-30T06:03:12.545Z] b352a97aabf1: Download complete [2024-05-30T06:03:12.545Z] 4872d77fe225: Download complete [2024-05-30T06:03:12.545Z] 5851b861e8e6: Download complete [2024-05-30T06:03:12.545Z] b85a868b505f: Verifying Checksum [2024-05-30T06:03:12.545Z] b85a868b505f: Download complete [2024-05-30T06:03:13.118Z] bab4dde63d76: Verifying Checksum [2024-05-30T06:03:13.118Z] bab4dde63d76: Download complete [2024-05-30T06:03:13.693Z] b85a868b505f: Pull complete [2024-05-30T06:03:13.952Z] e2be974225ed: Pull complete [2024-05-30T06:03:14.522Z] 339a4e72a1f5: Pull complete [2024-05-30T06:03:14.522Z] 988bab9f4d93: Pull complete [2024-05-30T06:03:14.780Z] 1469e6f7b9e6: Pull complete [2024-05-30T06:03:14.780Z] eaf3925da568: Pull complete [2024-05-30T06:03:16.713Z] bab4dde63d76: Pull complete [2024-05-30T06:03:16.977Z] bde34c3a00c8: Pull complete [2024-05-30T06:03:17.239Z] b352a97aabf1: Pull complete [2024-05-30T06:03:17.498Z] 4872d77fe225: Pull complete [2024-05-30T06:03:17.760Z] 5851b861e8e6: Pull complete [2024-05-30T06:03:18.020Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-30T06:03:18.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-30T06:03:18.021Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:03:18.455Z] prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container [2024-05-30T06:03:18.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-30T06:03:25.215Z] $ docker top 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 -eo pid,comm [2024-05-30T06:03:25.266Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-05-30T06:03:25.266Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-30T06:03:25.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T06:03:25.443Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T06:03:25.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T06:03:25.644Z] $ docker exec 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent [2024-05-30T06:03:25.753Z] SSH_AUTH_SOCK=/tmp/ssh-8q74dwsKsjzf/agent.32 [2024-05-30T06:03:25.753Z] SSH_AGENT_PID=38 [2024-05-30T06:03:25.759Z] Running ssh-add (command line suppressed) [2024-05-30T06:03:25.855Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_11978044513441855624.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_11978044513441855624.key) [2024-05-30T06:03:25.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T06:03:26.226Z] + git tag --points-at HEAD [Pipeline] } [2024-05-30T06:03:26.256Z] $ docker exec --env ******** --env ******** 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent -k [2024-05-30T06:03:26.354Z] unset SSH_AUTH_SOCK; [2024-05-30T06:03:26.355Z] unset SSH_AGENT_PID; [2024-05-30T06:03:26.355Z] echo Agent pid 38 killed; [2024-05-30T06:03:26.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-30T06:03:26.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-30T06:03:26.513Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-30T06:03:26.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-30T06:03:26.626Z] $ docker exec 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent [2024-05-30T06:03:26.741Z] SSH_AUTH_SOCK=/tmp/ssh-1NQ7yJ3X3IA3/agent.71 [2024-05-30T06:03:26.741Z] SSH_AGENT_PID=77 [2024-05-30T06:03:26.745Z] Running ssh-add (command line suppressed) [2024-05-30T06:03:26.838Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_8039871334987350364.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_8039871334987350364.key) [2024-05-30T06:03:26.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-30T06:03:27.196Z] + git semver init [2024-05-30T06:03:27.455Z] 2024-05-30 06:03:27,356 [run_init] DEBUG init version:0.0.0 force:False [2024-05-30T06:03:27.455Z] 2024-05-30 06:03:27,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-438/.semver [2024-05-30T06:03:27.455Z] 2024-05-30 06:03:27,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-438/.semver [2024-05-30T06:03:27.455Z] 2024-05-30 06:03:27,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-438/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-438, universal_newlines=False, shell=None, istream=None) [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,979 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-438/.git/info/exclude [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 with force:False [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,980 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,984 [execute] INFO git cat-file --batch-check [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,990 [execute] INFO git cat-file --batch [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) [2024-05-30T06:03:29.382Z] 2024-05-30 06:03:28,994 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 [2024-05-30T06:03:29.382Z] 0.0.0 [Pipeline] } [2024-05-30T06:03:29.408Z] $ docker exec --env ******** --env ******** 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 ssh-agent -k [2024-05-30T06:03:29.488Z] unset SSH_AUTH_SOCK; [2024-05-30T06:03:29.488Z] unset SSH_AGENT_PID; [2024-05-30T06:03:29.488Z] echo Agent pid 77 killed; [2024-05-30T06:03:29.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-30T06:03:29.972Z] + git semver [Pipeline] } [2024-05-30T06:03:30.254Z] $ docker stop --time=1 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 [2024-05-30T06:03:31.542Z] $ docker rm -f --volumes 3c5fad239c008dc5e4fd9aaf3499815019d833e1ef21a8ad5403991f8f6a9014 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-30T06:03:31.967Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-30T06:03:32.282Z] Stashed 1 file(s) [Pipeline] echo [2024-05-30T06:03:32.306Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T06:03:33.161Z] provisioning config files... [2024-05-30T06:03:33.170Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config1250881621950967777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:03:33.536Z] ---> ****-login.sh [2024-05-30T06:03:33.537Z] nexus3.edgexfoundry.org:10001 [2024-05-30T06:03:33.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:33.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:33.537Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:33.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:33.537Z] [2024-05-30T06:03:33.537Z] Login Succeeded [2024-05-30T06:03:33.537Z] nexus3.edgexfoundry.org:10002 [2024-05-30T06:03:33.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:33.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:33.537Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:33.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:33.537Z] [2024-05-30T06:03:33.537Z] Login Succeeded [2024-05-30T06:03:33.537Z] nexus3.edgexfoundry.org:10003 [2024-05-30T06:03:33.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:33.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:33.796Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:33.796Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:33.796Z] [2024-05-30T06:03:33.796Z] Login Succeeded [2024-05-30T06:03:33.796Z] nexus3.edgexfoundry.org:10004 [2024-05-30T06:03:33.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:33.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:33.796Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:33.796Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:33.796Z] [2024-05-30T06:03:33.796Z] Login Succeeded [2024-05-30T06:03:33.796Z] ****.io [2024-05-30T06:03:33.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:03:34.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:03:34.058Z] Configure a credential helper to remove this warning. See [2024-05-30T06:03:34.058Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:03:34.058Z] [2024-05-30T06:03:34.058Z] Login Succeeded [2024-05-30T06:03:34.058Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T06:03:34.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-30T06:03:34.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T06:03:34.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T06:03:34.479Z] ========================================================= [2024-05-30T06:03:34.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-30T06:03:34.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:03:34.992Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-30T06:03:34.992Z] Sending build context to Docker daemon 37.75MB [2024-05-30T06:03:34.992Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-05-30T06:03:34.992Z] Step 2/13 : FROM ${BASE} AS builder [2024-05-30T06:03:35.257Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-30T06:03:35.257Z] 619be1103602: Pulling fs layer [2024-05-30T06:03:35.257Z] 7862e08f4a3e: Pulling fs layer [2024-05-30T06:03:35.257Z] 5df492c9dc93: Pulling fs layer [2024-05-30T06:03:35.257Z] 7629e6793208: Pulling fs layer [2024-05-30T06:03:35.257Z] 4f4fb700ef54: Pulling fs layer [2024-05-30T06:03:35.257Z] fb5054dd5b73: Pulling fs layer [2024-05-30T06:03:35.257Z] eeca6798cff9: Pulling fs layer [2024-05-30T06:03:35.257Z] aa269ceb94a6: Pulling fs layer [2024-05-30T06:03:35.257Z] ada007ff1a6a: Pulling fs layer [2024-05-30T06:03:35.257Z] 4f4fb700ef54: Waiting [2024-05-30T06:03:35.257Z] eeca6798cff9: Waiting [2024-05-30T06:03:35.257Z] aa269ceb94a6: Waiting [2024-05-30T06:03:35.257Z] ada007ff1a6a: Waiting [2024-05-30T06:03:35.257Z] fb5054dd5b73: Waiting [2024-05-30T06:03:35.257Z] 7862e08f4a3e: Download complete [2024-05-30T06:03:35.257Z] 7629e6793208: Download complete [2024-05-30T06:03:35.257Z] 4f4fb700ef54: Verifying Checksum [2024-05-30T06:03:35.257Z] 4f4fb700ef54: Download complete [2024-05-30T06:03:35.257Z] fb5054dd5b73: Verifying Checksum [2024-05-30T06:03:35.257Z] fb5054dd5b73: Download complete [2024-05-30T06:03:35.257Z] 619be1103602: Verifying Checksum [2024-05-30T06:03:35.257Z] 619be1103602: Download complete [2024-05-30T06:03:35.257Z] eeca6798cff9: Verifying Checksum [2024-05-30T06:03:35.257Z] eeca6798cff9: Download complete [2024-05-30T06:03:35.520Z] 619be1103602: Pull complete [2024-05-30T06:03:35.520Z] ada007ff1a6a: Verifying Checksum [2024-05-30T06:03:35.520Z] ada007ff1a6a: Download complete [2024-05-30T06:03:35.520Z] 7862e08f4a3e: Pull complete [2024-05-30T06:03:35.780Z] 5df492c9dc93: Verifying Checksum [2024-05-30T06:03:35.780Z] 5df492c9dc93: Download complete [2024-05-30T06:03:36.039Z] aa269ceb94a6: Verifying Checksum [2024-05-30T06:03:36.039Z] aa269ceb94a6: Download complete [2024-05-30T06:03:38.569Z] 5df492c9dc93: Pull complete [2024-05-30T06:03:38.569Z] 7629e6793208: Pull complete [2024-05-30T06:03:38.569Z] 4f4fb700ef54: Pull complete [2024-05-30T06:03:38.569Z] fb5054dd5b73: Pull complete [2024-05-30T06:03:38.832Z] eeca6798cff9: Pull complete [2024-05-30T06:03:41.364Z] aa269ceb94a6: Pull complete [2024-05-30T06:03:41.364Z] ada007ff1a6a: Pull complete [2024-05-30T06:03:41.364Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-30T06:03:41.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-30T06:03:41.364Z] ---> f489d0715acc [2024-05-30T06:03:41.364Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-05-30T06:03:47.930Z] ---> Running in 59d4984030f6 [2024-05-30T06:03:47.930Z] Removing intermediate container 59d4984030f6 [2024-05-30T06:03:47.930Z] ---> cf8d47a8f4e6 [2024-05-30T06:03:47.931Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-30T06:03:47.931Z] ---> Running in 9eebc9142141 [2024-05-30T06:03:47.931Z] Removing intermediate container 9eebc9142141 [2024-05-30T06:03:47.931Z] ---> 2585eb334959 [2024-05-30T06:03:47.931Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-05-30T06:03:47.931Z] ---> Running in 1d9e931b449a [2024-05-30T06:03:47.931Z] Removing intermediate container 1d9e931b449a [2024-05-30T06:03:47.931Z] ---> 8c04f8f79563 [2024-05-30T06:03:47.931Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-05-30T06:03:47.931Z] ---> Running in de29c3049496 [2024-05-30T06:03:47.931Z] Removing intermediate container de29c3049496 [2024-05-30T06:03:47.931Z] ---> 526d52599462 [2024-05-30T06:03:47.931Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-05-30T06:03:47.931Z] ---> Running in b061c67843e6 [2024-05-30T06:03:47.947Z] Still waiting to schedule task [2024-05-30T06:03:47.947Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-30T06:03:48.189Z] Removing intermediate container b061c67843e6 [2024-05-30T06:03:48.189Z] ---> 1b3ade149afd [2024-05-30T06:03:48.189Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-30T06:03:48.189Z] ---> Running in e474bb8e8806 [2024-05-30T06:03:48.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-30T06:03:48.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-30T06:03:48.706Z] OK: 264 MiB in 52 packages [2024-05-30T06:03:49.272Z] Removing intermediate container e474bb8e8806 [2024-05-30T06:03:49.272Z] ---> d76239b098f8 [2024-05-30T06:03:49.272Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-05-30T06:03:49.272Z] ---> Running in ef8588b6d6ef [2024-05-30T06:03:49.272Z] Removing intermediate container ef8588b6d6ef [2024-05-30T06:03:49.272Z] ---> cd68b020a58c [2024-05-30T06:03:49.272Z] Step 10/13 : COPY go.mod vendor* ./ [2024-05-30T06:03:49.272Z] ---> e382e3aeb159 [2024-05-30T06:03:49.272Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-30T06:03:49.272Z] ---> Running in 033f06276bcd [2024-05-30T06:05:10.747Z] Removing intermediate container 033f06276bcd [2024-05-30T06:05:10.747Z] ---> 9024254a680b [2024-05-30T06:05:10.747Z] Step 12/13 : COPY . . [2024-05-30T06:05:10.747Z] ---> 7a6381596188 [2024-05-30T06:05:10.747Z] Step 13/13 : RUN ${MAKE} [2024-05-30T06:05:10.747Z] ---> Running in 04a41542f771 [2024-05-30T06:05:10.747Z] noop [2024-05-30T06:05:10.747Z] Removing intermediate container 04a41542f771 [2024-05-30T06:05:10.747Z] ---> 3adabd61aa98 [2024-05-30T06:05:10.747Z] Successfully built 3adabd61aa98 [2024-05-30T06:05:10.747Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:05:11.233Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-30T06:05:11.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:05:11.411Z] prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container [2024-05-30T06:05:11.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-30T06:05:11.789Z] $ docker top 3c17d0f7631bc12930edccae95b6b1925aa93fc642ce00fc0ba045bf5549a071 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T06:05:12.208Z] + go version [2024-05-30T06:05:12.208Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-30T06:05:12.246Z] $ docker stop --time=1 3c17d0f7631bc12930edccae95b6b1925aa93fc642ce00fc0ba045bf5549a071 [2024-05-30T06:05:13.528Z] $ docker rm -f --volumes 3c17d0f7631bc12930edccae95b6b1925aa93fc642ce00fc0ba045bf5549a071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:05:14.335Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-30T06:05:14.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:05:14.507Z] prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container [2024-05-30T06:05:14.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-30T06:05:14.881Z] $ docker top 7333bcf503b7476d15c608c123cf82baf9ffc058fc6e09530c15e68eee8e522e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T06:05:15.302Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] fileExists [Pipeline] sh [2024-05-30T06:05:15.679Z] + make test [2024-05-30T06:05:15.679Z] go test ./... -coverprofile=coverage.out ./... [2024-05-30T06:05:16.247Z] go: updates to go.mod needed; to update it: [2024-05-30T06:05:16.247Z] go mod tidy [2024-05-30T06:05:16.247Z] make: *** [Makefile:60: unittest] Error 1 [Pipeline] } [2024-05-30T06:05:16.296Z] $ docker stop --time=1 7333bcf503b7476d15c608c123cf82baf9ffc058fc6e09530c15e68eee8e522e [2024-05-30T06:05:17.603Z] $ docker rm -f --volumes 7333bcf503b7476d15c608c123cf82baf9ffc058fc6e09530c15e68eee8e522e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:05:18.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T06:05:18.993Z] [2024-05-30T06:05:18.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:05:19.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T06:05:19.395Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-30T06:05:19.395Z] 5eb5b503b376: Pulling fs layer [2024-05-30T06:05:19.395Z] 5c69ac0246d0: Pulling fs layer [2024-05-30T06:05:19.395Z] ec43610c2a17: Pulling fs layer [2024-05-30T06:05:19.395Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-30T06:05:19.395Z] 33b1e0a273af: Pulling fs layer [2024-05-30T06:05:19.395Z] 5d3b04190fa2: Pulling fs layer [2024-05-30T06:05:19.395Z] 2f39f015ded8: Pulling fs layer [2024-05-30T06:05:19.395Z] 5d3b04190fa2: Waiting [2024-05-30T06:05:19.395Z] 3a2ae6a8a46f: Waiting [2024-05-30T06:05:19.395Z] 2f39f015ded8: Waiting [2024-05-30T06:05:19.395Z] 33b1e0a273af: Waiting [2024-05-30T06:05:19.395Z] 5c69ac0246d0: Verifying Checksum [2024-05-30T06:05:19.395Z] 5c69ac0246d0: Download complete [2024-05-30T06:05:19.395Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-30T06:05:19.395Z] 3a2ae6a8a46f: Download complete [2024-05-30T06:05:19.395Z] 33b1e0a273af: Verifying Checksum [2024-05-30T06:05:19.395Z] 33b1e0a273af: Download complete [2024-05-30T06:05:19.395Z] 5d3b04190fa2: Verifying Checksum [2024-05-30T06:05:19.395Z] 5d3b04190fa2: Download complete [2024-05-30T06:05:19.395Z] ec43610c2a17: Verifying Checksum [2024-05-30T06:05:19.395Z] ec43610c2a17: Download complete [2024-05-30T06:05:19.654Z] 5eb5b503b376: Verifying Checksum [2024-05-30T06:05:19.655Z] 5eb5b503b376: Download complete [2024-05-30T06:05:20.221Z] 2f39f015ded8: Download complete [2024-05-30T06:05:20.786Z] 5eb5b503b376: Pull complete [2024-05-30T06:05:20.786Z] 5c69ac0246d0: Pull complete [2024-05-30T06:05:21.355Z] ec43610c2a17: Pull complete [2024-05-30T06:05:21.355Z] 3a2ae6a8a46f: Pull complete [2024-05-30T06:05:21.355Z] 33b1e0a273af: Pull complete [2024-05-30T06:05:21.614Z] 5d3b04190fa2: Pull complete [2024-05-30T06:05:25.799Z] 2f39f015ded8: Pull complete [2024-05-30T06:05:25.799Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-30T06:05:25.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T06:05:25.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:05:26.055Z] prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container [2024-05-30T06:05:26.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-30T06:05:35.262Z] $ docker top 4d5ae34a36e843f0ba4030e222dce9629c9471c77c0f69df1b8d3e9e831d2e2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:05:35.759Z] ---> job-cost.sh [2024-05-30T06:05:35.759Z] lf-activate-venv: SKIPPING [2024-05-30T06:05:35.759Z] INFO: No Stack... [2024-05-30T06:05:36.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-30T06:05:36.590Z] INFO: Archiving Costs [Pipeline] sh [2024-05-30T06:05:36.907Z] + cat /w/workspace/undry_device-onvif-camera_PR-438/archives/cost.csv [2024-05-30T06:05:36.907Z] + cut -d, -f6 [Pipeline] lock [2024-05-30T06:05:36.952Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [2024-05-30T06:05:36.957Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] did not exist. Created. [2024-05-30T06:05:36.965Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-30T06:05:37.387Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-30T06:05:37.479Z] Stashed 1 file(s) [Pipeline] } [2024-05-30T06:05:37.497Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-30T06:05:37.586Z] $ docker stop --time=1 4d5ae34a36e843f0ba4030e222dce9629c9471c77c0f69df1b8d3e9e831d2e2b [2024-05-30T06:05:38.740Z] $ docker rm -f --volumes 4d5ae34a36e843f0ba4030e222dce9629c9471c77c0f69df1b8d3e9e831d2e2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-30T06:05:39.157Z] Failed in branch amd64 [2024-05-30T06:06:40.036Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1589 in /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] { [Pipeline] ws [2024-05-30T06:06:40.108Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-05-30T06:06:40.223Z] The recommended git tool is: git [2024-05-30T06:06:49.916Z] using credential edgex-jenkins-ssh [2024-05-30T06:06:49.951Z] Cloning the remote Git repository [2024-05-30T06:06:50.022Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-30T06:06:50.176Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-05-30T06:06:50.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-30T06:06:50.406Z] > git --version # timeout=10 [2024-05-30T06:06:50.439Z] > git --version # 'git version 2.25.1' [2024-05-30T06:06:50.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-30T06:06:50.713Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-30T06:06:53.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-05-30T06:06:53.903Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-30T06:06:55.616Z] Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit c22d2ec69f2b760c24b58923a926cb3588d72cfa [2024-05-30T06:06:56.037Z] Merge succeeded, producing c22d2ec69f2b760c24b58923a926cb3588d72cfa [2024-05-30T06:06:56.038Z] Checking out Revision c22d2ec69f2b760c24b58923a926cb3588d72cfa (PR-438) [2024-05-30T06:06:55.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-05-30T06:06:55.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-30T06:06:55.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-30T06:06:55.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-30T06:06:55.641Z] > git config core.sparsecheckout # timeout=10 [2024-05-30T06:06:55.722Z] > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 [2024-05-30T06:06:55.931Z] > git remote # timeout=10 [2024-05-30T06:06:55.952Z] > git config --get remote.origin.url # timeout=10 [2024-05-30T06:06:55.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-30T06:06:55.991Z] > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 [2024-05-30T06:06:56.021Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-30T06:06:56.050Z] > git config core.sparsecheckout # timeout=10 [2024-05-30T06:06:56.065Z] > git checkout -f c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 [2024-05-30T06:06:56.871Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-05-30T06:06:56.926Z] > git --version # timeout=10 [2024-05-30T06:06:56.939Z] > git --version # 'git version 2.25.1' [2024-05-30T06:06:56.957Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-30T06:07:01.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-30T06:07:01.956Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-30T06:07:01.956Z] Dload Upload Total Spent Left Speed [2024-05-30T06:07:01.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2024-05-30T06:07:02.334Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-30T06:07:02.702Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-30T06:07:02.703Z] + sudo tee /etc/docker/daemon.new [2024-05-30T06:07:02.703Z] { [2024-05-30T06:07:02.703Z] "registry-mirrors": [ [2024-05-30T06:07:02.703Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-30T06:07:02.703Z] ], [2024-05-30T06:07:02.703Z] "bip": "10.250.0.254/24", [2024-05-30T06:07:02.703Z] "hosts": [ [2024-05-30T06:07:02.703Z] "tcp://0.0.0.0:5555", [2024-05-30T06:07:02.703Z] "unix:///var/run/docker.sock" [2024-05-30T06:07:02.703Z] ], [2024-05-30T06:07:02.703Z] "mtu": 1458, [2024-05-30T06:07:02.703Z] "selinux-enabled": true, [2024-05-30T06:07:02.703Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-30T06:07:02.703Z] } [Pipeline] sh [2024-05-30T06:07:03.069Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-30T06:07:03.438Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T06:07:21.846Z] provisioning config files... [2024-05-30T06:07:21.879Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16580746677073744258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:07:22.446Z] ---> ****-login.sh [2024-05-30T06:07:22.446Z] nexus3.edgexfoundry.org:10001 [2024-05-30T06:07:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:07:23.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:07:23.054Z] Configure a credential helper to remove this warning. See [2024-05-30T06:07:23.054Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:07:23.054Z] [2024-05-30T06:07:23.054Z] Login Succeeded [2024-05-30T06:07:23.054Z] nexus3.edgexfoundry.org:10002 [2024-05-30T06:07:23.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:07:23.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:07:23.608Z] Configure a credential helper to remove this warning. See [2024-05-30T06:07:23.608Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:07:23.608Z] [2024-05-30T06:07:23.608Z] Login Succeeded [2024-05-30T06:07:23.608Z] nexus3.edgexfoundry.org:10003 [2024-05-30T06:07:23.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:07:23.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:07:23.882Z] Configure a credential helper to remove this warning. See [2024-05-30T06:07:23.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:07:23.882Z] [2024-05-30T06:07:23.882Z] Login Succeeded [2024-05-30T06:07:23.882Z] nexus3.edgexfoundry.org:10004 [2024-05-30T06:07:24.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:07:24.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:07:24.419Z] Configure a credential helper to remove this warning. See [2024-05-30T06:07:24.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:07:24.419Z] [2024-05-30T06:07:24.419Z] Login Succeeded [2024-05-30T06:07:24.419Z] ****.io [2024-05-30T06:07:24.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-30T06:07:26.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-30T06:07:26.116Z] Configure a credential helper to remove this warning. See [2024-05-30T06:07:26.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-30T06:07:26.116Z] [2024-05-30T06:07:26.116Z] Login Succeeded [2024-05-30T06:07:26.116Z] ---> ****-login.sh ends [Pipeline] } [2024-05-30T06:07:26.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-30T06:07:26.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T06:07:26.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-30T06:07:26.796Z] ========================================================= [2024-05-30T06:07:26.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-30T06:07:26.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:07:27.360Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-30T06:07:27.957Z] Sending build context to Docker daemon 22.28MB [2024-05-30T06:07:28.232Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-05-30T06:07:28.232Z] Step 2/13 : FROM ${BASE} AS builder [2024-05-30T06:07:28.232Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-30T06:07:28.232Z] c6b39de5b339: Pulling fs layer [2024-05-30T06:07:28.232Z] a69c41024577: Pulling fs layer [2024-05-30T06:07:28.232Z] d6de4b400683: Pulling fs layer [2024-05-30T06:07:28.232Z] 35cb2a7552d0: Pulling fs layer [2024-05-30T06:07:28.232Z] 4f4fb700ef54: Pulling fs layer [2024-05-30T06:07:28.232Z] 35cb2a7552d0: Waiting [2024-05-30T06:07:28.232Z] 464afbd9ba4c: Pulling fs layer [2024-05-30T06:07:28.232Z] 00f215d4a9da: Pulling fs layer [2024-05-30T06:07:28.232Z] d496ad576159: Pulling fs layer [2024-05-30T06:07:28.232Z] 4f4fb700ef54: Waiting [2024-05-30T06:07:28.232Z] 464afbd9ba4c: Waiting [2024-05-30T06:07:28.232Z] 00f215d4a9da: Waiting [2024-05-30T06:07:28.232Z] d496ad576159: Waiting [2024-05-30T06:07:28.232Z] a69c41024577: Download complete [2024-05-30T06:07:28.232Z] 35cb2a7552d0: Verifying Checksum [2024-05-30T06:07:28.504Z] 35cb2a7552d0: Download complete [2024-05-30T06:07:28.504Z] 4f4fb700ef54: Verifying Checksum [2024-05-30T06:07:28.504Z] 4f4fb700ef54: Download complete [2024-05-30T06:07:28.504Z] c6b39de5b339: Verifying Checksum [2024-05-30T06:07:28.504Z] c6b39de5b339: Download complete [2024-05-30T06:07:28.504Z] 464afbd9ba4c: Verifying Checksum [2024-05-30T06:07:28.504Z] 464afbd9ba4c: Download complete [2024-05-30T06:07:29.099Z] d496ad576159: Verifying Checksum [2024-05-30T06:07:29.099Z] d496ad576159: Download complete [2024-05-30T06:07:29.375Z] c6b39de5b339: Pull complete [2024-05-30T06:07:30.350Z] a69c41024577: Pull complete [2024-05-30T06:07:30.350Z] d6de4b400683: Verifying Checksum [2024-05-30T06:07:30.350Z] d6de4b400683: Download complete [2024-05-30T06:07:31.769Z] 00f215d4a9da: Verifying Checksum [2024-05-30T06:07:31.769Z] 00f215d4a9da: Download complete [2024-05-30T06:07:44.105Z] d6de4b400683: Pull complete [2024-05-30T06:07:44.105Z] 35cb2a7552d0: Pull complete [2024-05-30T06:07:44.105Z] 4f4fb700ef54: Pull complete [2024-05-30T06:07:44.105Z] 464afbd9ba4c: Pull complete [2024-05-30T06:07:52.327Z] 00f215d4a9da: Pull complete [2024-05-30T06:07:54.266Z] d496ad576159: Pull complete [2024-05-30T06:07:54.266Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-30T06:07:54.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-30T06:07:54.266Z] ---> f246e2811388 [2024-05-30T06:07:54.266Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-05-30T06:07:56.850Z] ---> Running in ce6f35fda7d9 [2024-05-30T06:07:56.850Z] Removing intermediate container ce6f35fda7d9 [2024-05-30T06:07:56.850Z] ---> b1bc57f654da [2024-05-30T06:07:56.850Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-30T06:07:56.850Z] ---> Running in e33983bd1c24 [2024-05-30T06:07:57.117Z] Removing intermediate container e33983bd1c24 [2024-05-30T06:07:57.117Z] ---> b3b382933763 [2024-05-30T06:07:57.117Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-05-30T06:07:57.117Z] ---> Running in 9c0265a6f95a [2024-05-30T06:07:57.384Z] Removing intermediate container 9c0265a6f95a [2024-05-30T06:07:57.384Z] ---> cff03389978f [2024-05-30T06:07:57.384Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-05-30T06:07:57.384Z] ---> Running in 763b7f01f7c5 [2024-05-30T06:07:57.654Z] Removing intermediate container 763b7f01f7c5 [2024-05-30T06:07:57.654Z] ---> d6316909db9c [2024-05-30T06:07:57.654Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-05-30T06:07:57.947Z] ---> Running in 625a9e3ae732 [2024-05-30T06:07:58.217Z] Removing intermediate container 625a9e3ae732 [2024-05-30T06:07:58.217Z] ---> 7fd7ffb32506 [2024-05-30T06:07:58.217Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-30T06:07:58.217Z] ---> Running in 38b8a1064c37 [2024-05-30T06:07:59.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-30T06:08:03.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-30T06:08:04.077Z] OK: 266 MiB in 52 packages [2024-05-30T06:08:05.099Z] Removing intermediate container 38b8a1064c37 [2024-05-30T06:08:05.099Z] ---> e02a23209bd6 [2024-05-30T06:08:05.099Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-05-30T06:08:05.099Z] ---> Running in 59ae510aee72 [2024-05-30T06:08:05.371Z] Removing intermediate container 59ae510aee72 [2024-05-30T06:08:05.371Z] ---> 5d2e2b1620b9 [2024-05-30T06:08:05.371Z] Step 10/13 : COPY go.mod vendor* ./ [2024-05-30T06:08:05.961Z] ---> 28d8bef6dc47 [2024-05-30T06:08:05.961Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-30T06:08:05.961Z] ---> Running in cd02a3d945a5 [2024-05-30T06:10:27.709Z] Removing intermediate container cd02a3d945a5 [2024-05-30T06:10:27.709Z] ---> e6a6d7460faf [2024-05-30T06:10:27.709Z] Step 12/13 : COPY . . [2024-05-30T06:10:27.709Z] ---> f7f68856363a [2024-05-30T06:10:27.709Z] Step 13/13 : RUN ${MAKE} [2024-05-30T06:10:27.709Z] ---> Running in 374745f29fe8 [2024-05-30T06:10:27.709Z] noop [2024-05-30T06:10:27.709Z] Removing intermediate container 374745f29fe8 [2024-05-30T06:10:27.709Z] ---> d4f482d378cf [2024-05-30T06:10:27.709Z] Successfully built d4f482d378cf [2024-05-30T06:10:27.709Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:10:28.246Z] + docker inspect -f . ci-base-image-arm64 [2024-05-30T06:10:28.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:10:28.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container [2024-05-30T06:10:28.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-30T06:10:30.143Z] $ docker top 513a2d14df6d3f490831ce6cb75c1cc49949f443792b37e83de98e299820d7af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T06:10:31.095Z] + go version [2024-05-30T06:10:31.095Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-30T06:10:31.138Z] $ docker stop --time=1 513a2d14df6d3f490831ce6cb75c1cc49949f443792b37e83de98e299820d7af [2024-05-30T06:10:32.841Z] $ docker rm -f --volumes 513a2d14df6d3f490831ce6cb75c1cc49949f443792b37e83de98e299820d7af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:10:33.811Z] + docker inspect -f . ci-base-image-arm64 [2024-05-30T06:10:33.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:10:34.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container [2024-05-30T06:10:34.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-30T06:10:35.564Z] $ docker top 7f6ddf633a140cee3acc4c2080de36b8324f09ca57143a996b730c7d92026b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T06:10:36.506Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-05-30T06:10:37.241Z] + make test [2024-05-30T06:10:37.241Z] go test ./... -coverprofile=coverage.out ./... [2024-05-30T06:10:42.604Z] go: updates to go.mod needed; to update it: [2024-05-30T06:10:42.604Z] go mod tidy [2024-05-30T06:10:42.604Z] make: *** [Makefile:60: unittest] Error 1 [Pipeline] } [2024-05-30T06:10:42.661Z] $ docker stop --time=1 7f6ddf633a140cee3acc4c2080de36b8324f09ca57143a996b730c7d92026b14 [2024-05-30T06:10:44.728Z] $ docker rm -f --volumes 7f6ddf633a140cee3acc4c2080de36b8324f09ca57143a996b730c7d92026b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:10:46.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-30T06:10:46.252Z] [2024-05-30T06:10:46.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:10:46.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-30T06:10:46.960Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-30T06:10:46.960Z] 8998bd30e6a1: Pulling fs layer [2024-05-30T06:10:46.960Z] 04944245beec: Pulling fs layer [2024-05-30T06:10:46.960Z] 699f458cf7ca: Pulling fs layer [2024-05-30T06:10:46.960Z] 765212b225bb: Pulling fs layer [2024-05-30T06:10:46.960Z] f23df028b6ca: Pulling fs layer [2024-05-30T06:10:46.960Z] d65c8cfc05b1: Pulling fs layer [2024-05-30T06:10:46.960Z] 765212b225bb: Waiting [2024-05-30T06:10:46.960Z] 2437ff75d9bd: Pulling fs layer [2024-05-30T06:10:46.960Z] f23df028b6ca: Waiting [2024-05-30T06:10:46.960Z] d65c8cfc05b1: Waiting [2024-05-30T06:10:46.960Z] 2437ff75d9bd: Waiting [2024-05-30T06:10:46.960Z] 04944245beec: Verifying Checksum [2024-05-30T06:10:46.960Z] 765212b225bb: Download complete [2024-05-30T06:10:46.960Z] f23df028b6ca: Verifying Checksum [2024-05-30T06:10:46.960Z] f23df028b6ca: Download complete [2024-05-30T06:10:47.231Z] d65c8cfc05b1: Download complete [2024-05-30T06:10:47.231Z] 699f458cf7ca: Verifying Checksum [2024-05-30T06:10:47.231Z] 699f458cf7ca: Download complete [2024-05-30T06:10:47.500Z] 8998bd30e6a1: Verifying Checksum [2024-05-30T06:10:47.500Z] 8998bd30e6a1: Download complete [2024-05-30T06:10:50.237Z] 2437ff75d9bd: Verifying Checksum [2024-05-30T06:10:50.237Z] 2437ff75d9bd: Download complete [2024-05-30T06:10:52.824Z] 8998bd30e6a1: Pull complete [2024-05-30T06:10:53.091Z] 04944245beec: Pull complete [2024-05-30T06:10:55.035Z] 699f458cf7ca: Pull complete [2024-05-30T06:10:55.035Z] 765212b225bb: Pull complete [2024-05-30T06:10:55.993Z] f23df028b6ca: Pull complete [2024-05-30T06:10:56.260Z] d65c8cfc05b1: Pull complete [2024-05-30T06:11:14.479Z] 2437ff75d9bd: Pull complete [2024-05-30T06:11:14.479Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-30T06:11:14.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-30T06:11:14.479Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:11:14.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container [2024-05-30T06:11:14.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-30T06:11:17.833Z] $ docker top 7747f9decad9b7b0b3488970edae8e0b72f3dafc5725429d7f269c03593b5f18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:18.810Z] ---> job-cost.sh [2024-05-30T06:11:18.810Z] lf-activate-venv: SKIPPING [2024-05-30T06:11:18.810Z] INFO: No Stack... [2024-05-30T06:11:19.078Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-30T06:11:20.045Z] INFO: Archiving Costs [Pipeline] sh [2024-05-30T06:11:20.713Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-05-30T06:11:20.713Z] + cut -d, -f6 [Pipeline] lock [2024-05-30T06:11:20.799Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [2024-05-30T06:11:20.805Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] did not exist. Created. [2024-05-30T06:11:20.810Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-30T06:11:21.673Z] /w/workspace/device-onvif-camera/1@tmp/durable-b2b4df09/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-30T06:11:22.353Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-30T06:11:22.397Z] Warning: overwriting stash ‘stack-cost’ [2024-05-30T06:11:23.062Z] Stashed 1 file(s) [Pipeline] } [2024-05-30T06:11:23.081Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-30T06:11:23.185Z] $ docker stop --time=1 7747f9decad9b7b0b3488970edae8e0b72f3dafc5725429d7f269c03593b5f18 [2024-05-30T06:11:24.818Z] $ docker rm -f --volumes 7747f9decad9b7b0b3488970edae8e0b72f3dafc5725429d7f269c03593b5f18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-30T06:11:25.686Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-30T06:11:28.254Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-438/archives ] [2024-05-30T06:11:28.254Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives [2024-05-30T06:11:28.254Z] total 16 [2024-05-30T06:11:28.254Z] drwxr-xr-x 3 root root 4096 May 30 06:05 . [2024-05-30T06:11:28.254Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 06:05 .. [2024-05-30T06:11:28.254Z] drwxr-xr-x 2 root root 4096 May 30 06:05 cost [2024-05-30T06:11:28.254Z] -rw-r--r-- 1 root root 91 May 30 06:05 cost.csv [2024-05-30T06:11:28.254Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-438/archives [2024-05-30T06:11:28.254Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives [2024-05-30T06:11:28.254Z] total 16 [2024-05-30T06:11:28.254Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 06:05 . [2024-05-30T06:11:28.254Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 06:05 .. [2024-05-30T06:11:28.254Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 06:05 cost [2024-05-30T06:11:28.254Z] -rw-r--r-- 1 jenkins jenkins 91 May 30 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:28.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:29.491Z] ---> package-listing.sh [2024-05-30T06:11:29.491Z] ++ facter osfamily [2024-05-30T06:11:29.491Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-30T06:11:29.752Z] + OS_FAMILY=debian [2024-05-30T06:11:29.752Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-438 [2024-05-30T06:11:29.752Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-30T06:11:29.752Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-30T06:11:29.752Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-30T06:11:29.752Z] + PACKAGES=/tmp/packages_start.txt [2024-05-30T06:11:29.752Z] + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' [2024-05-30T06:11:29.752Z] + PACKAGES=/tmp/packages_end.txt [2024-05-30T06:11:29.752Z] + case "${OS_FAMILY}" in [2024-05-30T06:11:29.752Z] + dpkg -l [2024-05-30T06:11:29.752Z] + grep '^ii' [2024-05-30T06:11:29.752Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-30T06:11:29.752Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-30T06:11:29.752Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-30T06:11:29.752Z] + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' [2024-05-30T06:11:29.752Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-438/archives/ [2024-05-30T06:11:29.752Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-438/archives/ [Pipeline] echo [2024-05-30T06:11:29.793Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-30T06:11:30.084Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-30T06:11:30.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-30T06:11:30.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-30T06:11:30.883Z] prd-ubuntu20.04-docker-8c-8g-1580 does not seem to be running inside a container [2024-05-30T06:11:30.913Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-30T06:11:31.126Z] $ docker top 0db35ea0354b2716de8b9751b6abc5031a4ecaf355459ac76789dd0129f09ca8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-30T06:11:31.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-30T06:11:31.856Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-30T06:11:32.174Z] + ls /var/log/sa-host [2024-05-30T06:11:32.174Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-30T06:11:32.424Z] provisioning config files... [2024-05-30T06:11:32.434Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config2094870672483190420tmp [Pipeline] { [Pipeline] echo [2024-05-30T06:11:32.501Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:32.822Z] ---> create-netrc.sh [Pipeline] } [2024-05-30T06:11:32.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:33.276Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-30T06:11:33.316Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:33.631Z] ---> sudo-logs.sh [2024-05-30T06:11:33.631Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-30T06:11:33.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:34.051Z] ---> job-cost.sh [2024-05-30T06:11:34.051Z] lf-activate-venv: SKIPPING [2024-05-30T06:11:34.051Z] DEBUG: total: 0.2199999988079071 [2024-05-30T06:11:34.052Z] INFO: Retrieving Stack Cost... [2024-05-30T06:11:34.312Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-30T06:11:34.879Z] INFO: Archiving Costs [Pipeline] echo [2024-05-30T06:11:34.916Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-30T06:11:35.245Z] ---> logs-deploy.sh [2024-05-30T06:11:35.245Z] lf-activate-venv: SKIPPING [2024-05-30T06:11:35.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-438/1 [2024-05-30T06:11:35.245Z] INFO: archiving workspace using pattern(s): [2024-05-30T06:11:36.184Z] Archives upload complete. [2024-05-30T06:11:36.184Z] INFO: archiving logs to Nexus