Pull request #81 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than 0f7a379e0a04160baced99646eb5b536d6a658c1 Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh3808648331836644594.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh18291724082492003170.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10324791345595771527.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh15951420383063004865.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17558721362029115031.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-ubuntu20.04-docker-8c-8g-1696’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1698 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-81 # 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 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 0f7a379e0a04160baced99646eb5b536d6a658c1 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f7a379e0a04160baced99646eb5b536d6a658c1 # timeout=10 Merge succeeded, producing addab3554562446d6df94680a21b97ab912dfb4c Checking out Revision addab3554562446d6df94680a21b97ab912dfb4c (PR-81) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f addab3554562446d6df94680a21b97ab912dfb4c # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T22:53:39.927Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T22:53:40.033Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T22:53:40.060Z] ========================================================= [2022-06-07T22:53:40.060Z] EdgeX Global Pipelines Version Info [2022-06-07T22:53:40.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d54ae050167479951db1a3abd57b43203adf0611 # timeout=10 [2022-06-07T22:53:40.968Z] ------------------- [2022-06-07T22:53:40.968Z] stable info: [2022-06-07T22:53:40.968Z] ------------------- [2022-06-07T22:53:40.968Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T22:53:40.968Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T22:53:40.968Z] Message: update stable to v1.0.234 [2022-06-07T22:53:41.240Z] ------------------- [2022-06-07T22:53:41.240Z] experimental info: [2022-06-07T22:53:41.240Z] ------------------- [2022-06-07T22:53:41.240Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T22:53:41.240Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T22:53:41.240Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T22:53:41.667Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T22:53:41.706Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T22:53:41.756Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T22:53:41.790Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T22:53:41.824Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T22:53:41.857Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T22:53:41.884Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T22:53:41.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T22:53:41.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T22:53:41.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T22:53:41.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T22:53:42.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T22:53:42.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T22:53:42.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T22:53:42.130Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T22:53:42.158Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T22:53:42.190Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T22:53:42.225Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T22:53:42.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T22:53:42.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T22:53:42.345Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T22:53:42.381Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T22:53:42.416Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T22:53:42.474Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T22:53:42.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T22:53:42.556Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T22:53:42.597Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T22:53:42.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-07T22:53:42.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-07T22:53:42.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-07T22:53:42.723Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo [2022-06-07T22:53:42.766Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = addab35 [Pipeline] echo [2022-06-07T22:53:42.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:53:42.896Z] provisioning config files... [2022-06-07T22:53:42.921Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1042634114098924356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:53:43.300Z] ---> docker-login.sh [2022-06-07T22:53:43.301Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:53:43.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:53:43.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:53:43.587Z] Configure a credential helper to remove this warning. See [2022-06-07T22:53:43.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:53:43.587Z] [2022-06-07T22:53:43.587Z] Login Succeeded [2022-06-07T22:53:43.858Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:53:43.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:53:43.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:53:43.858Z] Configure a credential helper to remove this warning. See [2022-06-07T22:53:43.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:53:43.858Z] [2022-06-07T22:53:43.858Z] Login Succeeded [2022-06-07T22:53:43.858Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:53:44.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:53:44.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:53:44.125Z] Configure a credential helper to remove this warning. See [2022-06-07T22:53:44.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:53:44.125Z] [2022-06-07T22:53:44.125Z] Login Succeeded [2022-06-07T22:53:44.125Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:53:44.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:53:44.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:53:44.396Z] Configure a credential helper to remove this warning. See [2022-06-07T22:53:44.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:53:44.396Z] [2022-06-07T22:53:44.396Z] Login Succeeded [2022-06-07T22:53:44.396Z] docker.io [2022-06-07T22:53:44.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:53:44.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:53:44.688Z] Configure a credential helper to remove this warning. See [2022-06-07T22:53:44.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:53:44.688Z] [2022-06-07T22:53:44.688Z] Login Succeeded [2022-06-07T22:53:44.688Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:53:44.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T22:53:45.188Z] + git rev-list -1 --merges addab3554562446d6df94680a21b97ab912dfb4c~1..addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo [2022-06-07T22:53:45.235Z] -----------> git rev-list -1 --merges addab3554562446d6df94680a21b97ab912dfb4c~1..addab3554562446d6df94680a21b97ab912dfb4c addab3554562446d6df94680a21b97ab912dfb4c [2022-06-07T22:53:45.235Z] addab3554562446d6df94680a21b97ab912dfb4c [false] [Pipeline] sh [2022-06-07T22:53:45.562Z] + git log --format=format:%s -1 addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo [2022-06-07T22:53:45.597Z] ========================================================= [2022-06-07T22:53:45.597Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T22:53:45.597Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T22:53:46.095Z] + git log --format=format:%s -1 addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo [2022-06-07T22:53:46.131Z] [semverPrep] GIT_COMMIT: addab3554562446d6df94680a21b97ab912dfb4c, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T22:53:46.143Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T22:53:46.548Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T22:53:46.549Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T22:53:46.549Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T22:53:46.549Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T22:53:46.549Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T22:53:46.549Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T22:53:46.549Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:53:46.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:53:46.965Z] [2022-06-07T22:53:46.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:53:47.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:53:47.320Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T22:53:47.320Z] 42c077c10790: Pulling fs layer [2022-06-07T22:53:47.320Z] f63e77b7563a: Pulling fs layer [2022-06-07T22:53:47.320Z] bd5fdadae976: Pulling fs layer [2022-06-07T22:53:47.320Z] 205491f53016: Pulling fs layer [2022-06-07T22:53:47.320Z] df18705c85c3: Pulling fs layer [2022-06-07T22:53:47.320Z] bdb3f477010e: Pulling fs layer [2022-06-07T22:53:47.320Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T22:53:47.320Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T22:53:47.320Z] bdb8f0575790: Pulling fs layer [2022-06-07T22:53:47.320Z] bdb3f477010e: Waiting [2022-06-07T22:53:47.320Z] 2c6e9b1d212d: Waiting [2022-06-07T22:53:47.320Z] df18705c85c3: Waiting [2022-06-07T22:53:47.320Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T22:53:47.320Z] 2343380bae48: Pulling fs layer [2022-06-07T22:53:47.320Z] bdb8f0575790: Waiting [2022-06-07T22:53:47.320Z] 2343380bae48: Waiting [2022-06-07T22:53:47.321Z] 386e3cb2ff24: Waiting [2022-06-07T22:53:47.321Z] f63e77b7563a: Verifying Checksum [2022-06-07T22:53:47.321Z] f63e77b7563a: Download complete [2022-06-07T22:53:47.321Z] 205491f53016: Verifying Checksum [2022-06-07T22:53:47.321Z] 205491f53016: Download complete [2022-06-07T22:53:47.592Z] df18705c85c3: Verifying Checksum [2022-06-07T22:53:47.592Z] df18705c85c3: Download complete [2022-06-07T22:53:47.592Z] bdb3f477010e: Verifying Checksum [2022-06-07T22:53:47.592Z] bdb3f477010e: Download complete [2022-06-07T22:53:47.862Z] bd5fdadae976: Verifying Checksum [2022-06-07T22:53:47.862Z] bd5fdadae976: Download complete [2022-06-07T22:53:47.862Z] 2c6e9b1d212d: Verifying Checksum [2022-06-07T22:53:47.862Z] 2c6e9b1d212d: Download complete [2022-06-07T22:53:47.862Z] bdb8f0575790: Verifying Checksum [2022-06-07T22:53:47.862Z] bdb8f0575790: Download complete [2022-06-07T22:53:47.862Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T22:53:47.862Z] 386e3cb2ff24: Download complete [2022-06-07T22:53:47.862Z] 42c077c10790: Verifying Checksum [2022-06-07T22:53:47.862Z] 42c077c10790: Download complete [2022-06-07T22:53:47.862Z] 2343380bae48: Verifying Checksum [2022-06-07T22:53:47.862Z] 2343380bae48: Download complete [2022-06-07T22:53:48.449Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T22:53:48.449Z] c8a8fc8e1c8f: Download complete [2022-06-07T22:53:49.400Z] 42c077c10790: Pull complete [2022-06-07T22:53:49.400Z] f63e77b7563a: Pull complete [2022-06-07T22:53:49.986Z] bd5fdadae976: Pull complete [2022-06-07T22:53:49.986Z] 205491f53016: Pull complete [2022-06-07T22:53:50.257Z] df18705c85c3: Pull complete [2022-06-07T22:53:50.257Z] bdb3f477010e: Pull complete [2022-06-07T22:53:52.220Z] c8a8fc8e1c8f: Pull complete [2022-06-07T22:53:52.220Z] 2c6e9b1d212d: Pull complete [2022-06-07T22:53:52.220Z] bdb8f0575790: Pull complete [2022-06-07T22:53:52.500Z] 386e3cb2ff24: Pull complete [2022-06-07T22:53:52.500Z] 2343380bae48: Pull complete [2022-06-07T22:53:52.500Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T22:53:52.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:53:52.500Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:53:52.685Z] prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container [2022-06-07T22:53:52.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-devops/py-git-semver:0.1.4 cat [2022-06-07T22:53:54.106Z] $ docker top 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T22:53:54.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T22:53:54.269Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T22:53:54.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T22:53:54.425Z] $ docker exec 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent [2022-06-07T22:53:54.565Z] SSH_AUTH_SOCK=/tmp/ssh-CqC0SQHL9zve/agent.33 [2022-06-07T22:53:54.565Z] SSH_AGENT_PID=40 [2022-06-07T22:53:54.579Z] Running ssh-add (command line suppressed) [2022-06-07T22:53:54.702Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5788938987276836529.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5788938987276836529.key) [2022-06-07T22:53:54.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T22:53:55.069Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T22:53:55.110Z] $ docker exec --env ******** --env ******** 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent -k [2022-06-07T22:53:55.220Z] unset SSH_AUTH_SOCK; [2022-06-07T22:53:55.220Z] unset SSH_AGENT_PID; [2022-06-07T22:53:55.220Z] echo Agent pid 40 killed; [2022-06-07T22:53:55.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T22:53:55.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T22:53:55.305Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T22:53:55.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T22:53:55.487Z] $ docker exec 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent [2022-06-07T22:53:55.621Z] SSH_AUTH_SOCK=/tmp/ssh-7HtL0uXokltp/agent.72 [2022-06-07T22:53:55.621Z] SSH_AGENT_PID=78 [2022-06-07T22:53:55.633Z] Running ssh-add (command line suppressed) [2022-06-07T22:53:55.759Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_7498534920806762572.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_7498534920806762572.key) [2022-06-07T22:53:55.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T22:53:56.144Z] + git semver init [2022-06-07T22:53:56.411Z] 2022-06-07 22:53:56,308 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T22:53:56.411Z] 2022-06-07 22:53:56,309 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T22:53:56.411Z] 2022-06-07 22:53:56,309 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T22:53:56.411Z] 2022-06-07 22:53:56,310 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:56,998 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:56,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:56,999 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:57,004 [execute] INFO git cat-file --batch-check [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:57,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:57,012 [execute] INFO git cat-file --batch [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:57,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T22:53:57.015Z] 2022-06-07 22:53:57,018 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T22:53:57.015Z] 0.0.0 [Pipeline] } [2022-06-07T22:53:57.356Z] $ docker exec --env ******** --env ******** 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent -k [2022-06-07T22:53:57.476Z] unset SSH_AUTH_SOCK; [2022-06-07T22:53:57.476Z] unset SSH_AGENT_PID; [2022-06-07T22:53:57.476Z] echo Agent pid 78 killed; [2022-06-07T22:53:57.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T22:53:57.889Z] + git semver [Pipeline] } [2022-06-07T22:53:58.195Z] $ docker stop --time=1 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 [2022-06-07T22:53:59.525Z] $ docker rm -f 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T22:53:59.945Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T22:54:00.657Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T22:54:00.660Z] [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 [2022-06-07T22:54:01.073Z] provisioning config files... [2022-06-07T22:54:01.092Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config4279107691464067216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:54:01.457Z] ---> docker-login.sh [2022-06-07T22:54:01.457Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:54:01.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:54:01.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:54:01.457Z] Configure a credential helper to remove this warning. See [2022-06-07T22:54:01.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:54:01.457Z] [2022-06-07T22:54:01.457Z] Login Succeeded [2022-06-07T22:54:01.457Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:54:01.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:54:01.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:54:01.736Z] Configure a credential helper to remove this warning. See [2022-06-07T22:54:01.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:54:01.736Z] [2022-06-07T22:54:01.736Z] Login Succeeded [2022-06-07T22:54:01.736Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:54:02.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:54:02.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:54:02.017Z] Configure a credential helper to remove this warning. See [2022-06-07T22:54:02.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:54:02.017Z] [2022-06-07T22:54:02.017Z] Login Succeeded [2022-06-07T22:54:02.017Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:54:02.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:54:02.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:54:02.296Z] Configure a credential helper to remove this warning. See [2022-06-07T22:54:02.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:54:02.296Z] [2022-06-07T22:54:02.296Z] Login Succeeded [2022-06-07T22:54:02.296Z] docker.io [2022-06-07T22:54:02.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:54:02.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:54:02.580Z] Configure a credential helper to remove this warning. See [2022-06-07T22:54:02.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:54:02.580Z] [2022-06-07T22:54:02.580Z] Login Succeeded [2022-06-07T22:54:02.580Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:54:02.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T22:54:02.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:54:02.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:54:02.798Z] ========================================================= [2022-06-07T22:54:02.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T22:54:02.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:54:03.241Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T22:54:03.241Z] Sending build context to Docker daemon 8.953MB [2022-06-07T22:54:03.241Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T22:54:03.241Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T22:54:03.537Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T22:54:03.537Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T22:54:03.537Z] 666ba61612fd: Pulling fs layer [2022-06-07T22:54:03.537Z] 8ed8ca486205: Pulling fs layer [2022-06-07T22:54:03.537Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T22:54:03.537Z] c516ae0d96e1: Pulling fs layer [2022-06-07T22:54:03.537Z] 684cea983483: Pulling fs layer [2022-06-07T22:54:03.537Z] dd3240ac7de5: Pulling fs layer [2022-06-07T22:54:03.537Z] b1e948a4e11c: Pulling fs layer [2022-06-07T22:54:03.537Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T22:54:03.537Z] 646ad004c059: Pulling fs layer [2022-06-07T22:54:03.537Z] c516ae0d96e1: Waiting [2022-06-07T22:54:03.537Z] b1e948a4e11c: Waiting [2022-06-07T22:54:03.537Z] a8fd76ee1af6: Waiting [2022-06-07T22:54:03.537Z] 684cea983483: Waiting [2022-06-07T22:54:03.537Z] 646ad004c059: Waiting [2022-06-07T22:54:03.537Z] dd3240ac7de5: Waiting [2022-06-07T22:54:03.537Z] 8ed8ca486205: Verifying Checksum [2022-06-07T22:54:03.537Z] 8ed8ca486205: Download complete [2022-06-07T22:54:03.537Z] 666ba61612fd: Verifying Checksum [2022-06-07T22:54:03.537Z] 666ba61612fd: Download complete [2022-06-07T22:54:03.537Z] c516ae0d96e1: Verifying Checksum [2022-06-07T22:54:03.537Z] c516ae0d96e1: Download complete [2022-06-07T22:54:03.537Z] 684cea983483: Verifying Checksum [2022-06-07T22:54:03.537Z] 684cea983483: Download complete [2022-06-07T22:54:03.537Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T22:54:03.537Z] dd3240ac7de5: Verifying Checksum [2022-06-07T22:54:03.537Z] dd3240ac7de5: Download complete [2022-06-07T22:54:03.844Z] 59bf1c3509f3: Pull complete [2022-06-07T22:54:03.844Z] 666ba61612fd: Pull complete [2022-06-07T22:54:03.844Z] 8ed8ca486205: Pull complete [2022-06-07T22:54:04.148Z] b1e948a4e11c: Verifying Checksum [2022-06-07T22:54:04.148Z] b1e948a4e11c: Download complete [2022-06-07T22:54:04.774Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T22:54:04.774Z] cc1cd167ecdc: Download complete [2022-06-07T22:54:05.038Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T22:54:05.038Z] a8fd76ee1af6: Download complete [2022-06-07T22:54:05.038Z] 646ad004c059: Verifying Checksum [2022-06-07T22:54:05.038Z] 646ad004c059: Download complete [2022-06-07T22:54:09.447Z] cc1cd167ecdc: Pull complete [2022-06-07T22:54:09.447Z] c516ae0d96e1: Pull complete [2022-06-07T22:54:09.447Z] 684cea983483: Pull complete [2022-06-07T22:54:09.447Z] dd3240ac7de5: Pull complete [2022-06-07T22:54:09.447Z] b1e948a4e11c: Pull complete [2022-06-07T22:54:11.481Z] a8fd76ee1af6: Pull complete [2022-06-07T22:54:11.776Z] 646ad004c059: Pull complete [2022-06-07T22:54:12.064Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T22:54:12.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T22:54:12.064Z] ---> 8f69c11f6b0c [2022-06-07T22:54:12.064Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T22:54:13.548Z] ---> Running in 1d5dea91bdca [2022-06-07T22:54:13.548Z] Removing intermediate container 1d5dea91bdca [2022-06-07T22:54:13.548Z] ---> 347f370ca239 [2022-06-07T22:54:13.548Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T22:54:13.548Z] ---> Running in b5356fe1d696 [2022-06-07T22:54:13.548Z] Removing intermediate container b5356fe1d696 [2022-06-07T22:54:13.548Z] ---> 991ebda2dae6 [2022-06-07T22:54:13.548Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T22:54:13.548Z] ---> Running in b765f2e5c095 [2022-06-07T22:54:13.826Z] Removing intermediate container b765f2e5c095 [2022-06-07T22:54:13.826Z] ---> 93619befe740 [2022-06-07T22:54:13.826Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T22:54:13.826Z] ---> Running in b94204a1a957 [2022-06-07T22:54:13.826Z] Removing intermediate container b94204a1a957 [2022-06-07T22:54:13.826Z] ---> b8dacee4cd64 [2022-06-07T22:54:13.826Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T22:54:13.826Z] ---> Running in 1d8d904d26f0 [2022-06-07T22:54:14.464Z] Removing intermediate container 1d8d904d26f0 [2022-06-07T22:54:14.464Z] ---> a3fd82b5f2b0 [2022-06-07T22:54:14.464Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T22:54:14.464Z] ---> Running in bca3b9a8311c [2022-06-07T22:54:14.750Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T22:54:15.756Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T22:54:15.756Z] OK: 221 MiB in 52 packages [2022-06-07T22:54:15.997Z] Still waiting to schedule task [2022-06-07T22:54:15.997Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-07T22:54:16.361Z] Removing intermediate container bca3b9a8311c [2022-06-07T22:54:16.361Z] ---> b0b5852ef621 [2022-06-07T22:54:16.361Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T22:54:16.361Z] ---> Running in 0d4b3b2da6c8 [2022-06-07T22:54:16.361Z] Removing intermediate container 0d4b3b2da6c8 [2022-06-07T22:54:16.361Z] ---> 1b4613cf48f6 [2022-06-07T22:54:16.361Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T22:54:16.361Z] ---> a7dc067bda4d [2022-06-07T22:54:16.361Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T22:54:16.361Z] ---> Running in 52b7abafe352 [2022-06-07T22:54:31.677Z] Removing intermediate container 52b7abafe352 [2022-06-07T22:54:31.677Z] ---> 4603330f5cca [2022-06-07T22:54:31.677Z] Step 12/13 : COPY . . [2022-06-07T22:54:31.677Z] ---> dda36646a4ef [2022-06-07T22:54:31.677Z] Step 13/13 : RUN ${MAKE} [2022-06-07T22:54:31.677Z] ---> Running in 8eb11b388696 [2022-06-07T22:54:31.677Z] noop [2022-06-07T22:54:31.677Z] Removing intermediate container 8eb11b388696 [2022-06-07T22:54:31.677Z] ---> d80cda522be2 [2022-06-07T22:54:31.677Z] Successfully built d80cda522be2 [2022-06-07T22:54:31.677Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:54:32.228Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T22:54:32.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:54:32.427Z] prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container [2022-06-07T22:54:32.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T22:54:32.979Z] $ docker top bd0acf75b1565d333205c405e2363bc8cd37456a23187f6d3bc8b029efb2b7b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:54:33.414Z] + go version [2022-06-07T22:54:33.415Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T22:54:33.456Z] $ docker stop --time=1 bd0acf75b1565d333205c405e2363bc8cd37456a23187f6d3bc8b029efb2b7b0 [2022-06-07T22:54:34.767Z] $ docker rm -f bd0acf75b1565d333205c405e2363bc8cd37456a23187f6d3bc8b029efb2b7b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:54:35.258Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T22:54:35.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:54:35.383Z] prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container [2022-06-07T22:54:35.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T22:54:35.888Z] $ docker top c7050608a27e5efc30702503c1cefd3767b1f446e6f83d5a878aa05d5d03292d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T22:54:36.359Z] + make test [2022-06-07T22:54:36.359Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T22:54:36.632Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T22:54:46.691Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-07T22:54:46.691Z] internal/driver/onvifdiscovery.go:284:18: (*Driver).updateExistingDevice redeclared in this block [2022-06-07T22:54:46.691Z] /w/workspace/oundry_device-onvif-camera_PR-81/internal/driver/driver.go:464:6: previous declaration [2022-06-07T22:54:46.691Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [github.com/edgexfoundry/device-onvif-camera/internal/driver.test] [2022-06-07T22:54:46.691Z] internal/driver/onvifdiscovery.go:284: (*Driver).updateExistingDevice redeclared in this block [2022-06-07T22:54:46.691Z] /w/workspace/oundry_device-onvif-camera_PR-81/internal/driver/driver.go:464: previous declaration [2022-06-07T22:54:46.691Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2022-06-07T22:54:51.990Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.562s coverage: 13.8% of statements [2022-06-07T22:54:51.991Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-07T22:54:52.014Z] $ docker stop --time=1 c7050608a27e5efc30702503c1cefd3767b1f446e6f83d5a878aa05d5d03292d [2022-06-07T22:54:53.639Z] $ docker rm -f c7050608a27e5efc30702503c1cefd3767b1f446e6f83d5a878aa05d5d03292d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:54:54.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:54:54.400Z] [2022-06-07T22:54:54.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:54:54.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:54:54.771Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T22:54:54.771Z] 5eb5b503b376: Pulling fs layer [2022-06-07T22:54:54.771Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T22:54:54.771Z] ec43610c2a17: Pulling fs layer [2022-06-07T22:54:54.771Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T22:54:54.771Z] 33b1e0a273af: Pulling fs layer [2022-06-07T22:54:54.771Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T22:54:54.771Z] 2f39f015ded8: Pulling fs layer [2022-06-07T22:54:54.771Z] 3a2ae6a8a46f: Waiting [2022-06-07T22:54:54.771Z] 5d3b04190fa2: Waiting [2022-06-07T22:54:54.771Z] 33b1e0a273af: Waiting [2022-06-07T22:54:54.771Z] 2f39f015ded8: Waiting [2022-06-07T22:54:54.771Z] 5c69ac0246d0: Download complete [2022-06-07T22:54:54.771Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T22:54:54.771Z] 3a2ae6a8a46f: Download complete [2022-06-07T22:54:55.032Z] 33b1e0a273af: Verifying Checksum [2022-06-07T22:54:55.032Z] 33b1e0a273af: Download complete [2022-06-07T22:54:55.032Z] ec43610c2a17: Verifying Checksum [2022-06-07T22:54:55.032Z] ec43610c2a17: Download complete [2022-06-07T22:54:55.032Z] 5d3b04190fa2: Download complete [2022-06-07T22:54:55.032Z] 5eb5b503b376: Verifying Checksum [2022-06-07T22:54:55.032Z] 5eb5b503b376: Download complete [2022-06-07T22:54:55.989Z] 2f39f015ded8: Download complete [2022-06-07T22:54:56.259Z] 5eb5b503b376: Pull complete [2022-06-07T22:54:56.529Z] 5c69ac0246d0: Pull complete [2022-06-07T22:54:56.804Z] ec43610c2a17: Pull complete [2022-06-07T22:54:57.072Z] 3a2ae6a8a46f: Pull complete [2022-06-07T22:54:57.072Z] 33b1e0a273af: Pull complete [2022-06-07T22:54:57.333Z] 5d3b04190fa2: Pull complete [2022-06-07T22:55:01.597Z] 2f39f015ded8: Pull complete [2022-06-07T22:55:01.597Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T22:55:01.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:55:01.597Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:55:01.701Z] prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container [2022-06-07T22:55:01.739Z] $ 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/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T22:55:03.196Z] $ docker top 8d4bea8bd0d690297376f86b465f0c4f507054b87130d0aedb4610712a99b0f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:55:03.606Z] ---> job-cost.sh [2022-06-07T22:55:03.606Z] lf-activate-venv: SKIPPING [2022-06-07T22:55:03.606Z] INFO: No Stack... [2022-06-07T22:55:03.871Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T22:55:04.447Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T22:55:04.745Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-07T22:55:04.745Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T22:55:04.758Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [2022-06-07T22:55:04.765Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] did not exist. Created. [2022-06-07T22:55:04.765Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T22:55:05.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T22:55:05.127Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T22:55:05.136Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T22:55:05.163Z] $ docker stop --time=1 8d4bea8bd0d690297376f86b465f0c4f507054b87130d0aedb4610712a99b0f3 [2022-06-07T22:55:06.318Z] $ docker rm -f 8d4bea8bd0d690297376f86b465f0c4f507054b87130d0aedb4610712a99b0f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T22:55:06.455Z] Failed in branch amd64 [2022-06-07T22:56:01.626Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1699 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-07T22:56:01.639Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-06-07T22:56:01.674Z] Selected Git installation does not exist. Using Default [2022-06-07T22:56:01.674Z] The recommended git tool is: NONE [2022-06-07T22:56:07.906Z] using credential edgex-jenkins-ssh [2022-06-07T22:56:07.946Z] Cloning the remote Git repository [2022-06-07T22:56:08.009Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:56:08.103Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-06-07T22:56:08.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:56:08.190Z] > git --version # timeout=10 [2022-06-07T22:56:08.206Z] > git --version # 'git version 2.25.1' [2022-06-07T22:56:08.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:56:08.269Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T22:56:09.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T22:56:09.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T22:56:09.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T22:56:09.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:56:09.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:56:09.231Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T22:56:09.759Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 0f7a379e0a04160baced99646eb5b536d6a658c1 [2022-06-07T22:56:10.142Z] Merge succeeded, producing 1b10669f31f9b46a049ca2e99b6d9a4ca3d8ce0e [2022-06-07T22:56:10.143Z] Checking out Revision 1b10669f31f9b46a049ca2e99b6d9a4ca3d8ce0e (PR-81) [2022-06-07T22:56:09.783Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T22:56:09.797Z] > git checkout -f 0f7a379e0a04160baced99646eb5b536d6a658c1 # timeout=10 [2022-06-07T22:56:09.938Z] > git remote # timeout=10 [2022-06-07T22:56:09.955Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T22:56:09.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:56:09.983Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T22:56:10.127Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T22:56:10.153Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T22:56:10.169Z] > git checkout -f 1b10669f31f9b46a049ca2e99b6d9a4ca3d8ce0e # timeout=10 [2022-06-07T22:56:14.409Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T22:56:14.432Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T22:56:14.420Z] > git rev-list --no-walk d54ae050167479951db1a3abd57b43203adf0611 # timeout=10 [2022-06-07T22:56:15.399Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T22:56:15.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T22:56:15.399Z] Dload Upload Total Spent Left Speed [2022-06-07T22:56:15.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94984 0 --:--:-- --:--:-- --:--:-- 94984 [Pipeline] sh [2022-06-07T22:56:16.317Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T22:56:16.674Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T22:56:16.674Z] + sudo tee /etc/docker/daemon.new [2022-06-07T22:56:16.674Z] { [2022-06-07T22:56:16.674Z] "registry-mirrors": [ [2022-06-07T22:56:16.674Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T22:56:16.674Z] ], [2022-06-07T22:56:16.674Z] "bip": "10.250.0.254/24", [2022-06-07T22:56:16.674Z] "hosts": [ [2022-06-07T22:56:16.674Z] "tcp://0.0.0.0:5555", [2022-06-07T22:56:16.674Z] "unix:///var/run/docker.sock" [2022-06-07T22:56:16.674Z] ], [2022-06-07T22:56:16.674Z] "mtu": 1458, [2022-06-07T22:56:16.674Z] "selinux-enabled": true, [2022-06-07T22:56:16.674Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T22:56:16.674Z] } [Pipeline] sh [2022-06-07T22:56:17.023Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T22:56:17.370Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:56:35.753Z] provisioning config files... [2022-06-07T22:56:35.776Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config3353448754377256190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:56:36.376Z] ---> docker-login.sh [2022-06-07T22:56:36.376Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:56:36.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:56:37.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:56:37.264Z] Configure a credential helper to remove this warning. See [2022-06-07T22:56:37.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:56:37.264Z] [2022-06-07T22:56:37.264Z] Login Succeeded [2022-06-07T22:56:37.264Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:56:37.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:56:37.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:56:37.819Z] Configure a credential helper to remove this warning. See [2022-06-07T22:56:37.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:56:37.819Z] [2022-06-07T22:56:37.819Z] Login Succeeded [2022-06-07T22:56:37.819Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:56:38.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:56:38.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:56:38.097Z] Configure a credential helper to remove this warning. See [2022-06-07T22:56:38.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:56:38.097Z] [2022-06-07T22:56:38.097Z] Login Succeeded [2022-06-07T22:56:38.097Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:56:38.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:56:38.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:56:38.655Z] Configure a credential helper to remove this warning. See [2022-06-07T22:56:38.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:56:38.655Z] [2022-06-07T22:56:38.655Z] Login Succeeded [2022-06-07T22:56:38.655Z] docker.io [2022-06-07T22:56:38.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:56:39.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:56:39.215Z] Configure a credential helper to remove this warning. See [2022-06-07T22:56:39.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:56:39.215Z] [2022-06-07T22:56:39.493Z] Login Succeeded [2022-06-07T22:56:39.493Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:56:39.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T22:56:39.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:56:39.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:56:39.867Z] ========================================================= [2022-06-07T22:56:39.867Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T22:56:39.867Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:56:40.279Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T22:56:40.887Z] Sending build context to Docker daemon 6.172MB [2022-06-07T22:56:40.887Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T22:56:40.887Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T22:56:40.887Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T22:56:40.887Z] 9b3977197b4f: Pulling fs layer [2022-06-07T22:56:40.887Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T22:56:40.887Z] 94645a83ff95: Pulling fs layer [2022-06-07T22:56:40.887Z] e6fb740bc735: Pulling fs layer [2022-06-07T22:56:40.887Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T22:56:40.887Z] 355e64cbe906: Pulling fs layer [2022-06-07T22:56:40.887Z] 63ab81a10011: Pulling fs layer [2022-06-07T22:56:40.887Z] 555d1d1c4555: Pulling fs layer [2022-06-07T22:56:40.887Z] 7d9057610161: Pulling fs layer [2022-06-07T22:56:40.887Z] e6fb740bc735: Waiting [2022-06-07T22:56:40.887Z] 3a77bd46dcc9: Waiting [2022-06-07T22:56:40.887Z] 355e64cbe906: Waiting [2022-06-07T22:56:40.887Z] 555d1d1c4555: Waiting [2022-06-07T22:56:40.887Z] 63ab81a10011: Waiting [2022-06-07T22:56:40.887Z] 7d9057610161: Waiting [2022-06-07T22:56:40.887Z] 94645a83ff95: Verifying Checksum [2022-06-07T22:56:40.887Z] 94645a83ff95: Download complete [2022-06-07T22:56:40.887Z] 1a89e8eeedd5: Download complete [2022-06-07T22:56:40.887Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T22:56:40.887Z] 3a77bd46dcc9: Download complete [2022-06-07T22:56:40.887Z] 355e64cbe906: Verifying Checksum [2022-06-07T22:56:40.887Z] 355e64cbe906: Download complete [2022-06-07T22:56:40.887Z] 9b3977197b4f: Verifying Checksum [2022-06-07T22:56:40.887Z] 9b3977197b4f: Download complete [2022-06-07T22:56:41.168Z] 63ab81a10011: Verifying Checksum [2022-06-07T22:56:41.168Z] 63ab81a10011: Download complete [2022-06-07T22:56:41.784Z] 9b3977197b4f: Pull complete [2022-06-07T22:56:42.061Z] 7d9057610161: Verifying Checksum [2022-06-07T22:56:42.061Z] 7d9057610161: Download complete [2022-06-07T22:56:42.675Z] 1a89e8eeedd5: Pull complete [2022-06-07T22:56:42.956Z] 94645a83ff95: Pull complete [2022-06-07T22:56:43.233Z] 555d1d1c4555: Verifying Checksum [2022-06-07T22:56:43.836Z] e6fb740bc735: Verifying Checksum [2022-06-07T22:56:43.836Z] e6fb740bc735: Download complete [2022-06-07T22:56:56.277Z] e6fb740bc735: Pull complete [2022-06-07T22:56:56.277Z] 3a77bd46dcc9: Pull complete [2022-06-07T22:56:56.277Z] 355e64cbe906: Pull complete [2022-06-07T22:56:56.277Z] 63ab81a10011: Pull complete [2022-06-07T22:57:03.169Z] 555d1d1c4555: Pull complete [2022-06-07T22:57:04.688Z] 7d9057610161: Pull complete [2022-06-07T22:57:04.688Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T22:57:04.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T22:57:04.688Z] ---> 819e984ddca1 [2022-06-07T22:57:04.688Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T22:57:05.752Z] ---> Running in 2c4135d7a051 [2022-06-07T22:57:06.049Z] Removing intermediate container 2c4135d7a051 [2022-06-07T22:57:06.049Z] ---> 22498a433864 [2022-06-07T22:57:06.049Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T22:57:06.049Z] ---> Running in 9199f46b2a4c [2022-06-07T22:57:07.540Z] Removing intermediate container 9199f46b2a4c [2022-06-07T22:57:07.540Z] ---> 0e0e0ddcc936 [2022-06-07T22:57:07.540Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T22:57:07.540Z] ---> Running in dc896b5cdd0b [2022-06-07T22:57:07.540Z] Removing intermediate container dc896b5cdd0b [2022-06-07T22:57:07.540Z] ---> 34bb58d6d140 [2022-06-07T22:57:07.540Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T22:57:07.838Z] ---> Running in e8527bba62fe [2022-06-07T22:57:08.121Z] Removing intermediate container e8527bba62fe [2022-06-07T22:57:08.121Z] ---> 65f388156e54 [2022-06-07T22:57:08.121Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T22:57:08.121Z] ---> Running in 2eb13150e730 [2022-06-07T22:57:09.640Z] Removing intermediate container 2eb13150e730 [2022-06-07T22:57:09.640Z] ---> dc1acd4e9586 [2022-06-07T22:57:09.640Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T22:57:09.640Z] ---> Running in f7c9be82ccac [2022-06-07T22:57:10.672Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T22:57:11.700Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T22:57:12.320Z] OK: 220 MiB in 52 packages [2022-06-07T22:57:13.369Z] Removing intermediate container f7c9be82ccac [2022-06-07T22:57:13.369Z] ---> c4116037516f [2022-06-07T22:57:13.369Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T22:57:13.369Z] ---> Running in f3d52c83a5b1 [2022-06-07T22:57:13.369Z] Removing intermediate container f3d52c83a5b1 [2022-06-07T22:57:13.369Z] ---> 718c7ba48e45 [2022-06-07T22:57:13.369Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T22:57:13.988Z] ---> 83a6cd654ce8 [2022-06-07T22:57:13.988Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T22:57:13.988Z] ---> Running in 66e5f8138d38 [2022-06-07T22:58:01.174Z] Removing intermediate container 66e5f8138d38 [2022-06-07T22:58:01.174Z] ---> 65f20e713cca [2022-06-07T22:58:01.174Z] Step 12/13 : COPY . . [2022-06-07T22:58:01.174Z] ---> 4b3574807f69 [2022-06-07T22:58:01.174Z] Step 13/13 : RUN ${MAKE} [2022-06-07T22:58:01.174Z] ---> Running in e0c506ca4301 [2022-06-07T22:58:02.177Z] noop [2022-06-07T22:58:02.775Z] Removing intermediate container e0c506ca4301 [2022-06-07T22:58:02.775Z] ---> 80aac381ea44 [2022-06-07T22:58:02.775Z] Successfully built 80aac381ea44 [2022-06-07T22:58:02.775Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:58:03.154Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T22:58:03.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:58:03.397Z] prd-ubuntu20.04-docker-arm64-4c-16g-1699 does not seem to be running inside a container [2022-06-07T22:58:03.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T22:58:04.745Z] $ docker top 54403a1a8586a463304d0a30bf82c6ba55350b7691c9388544ec874c703fa53e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:58:05.667Z] + go version [2022-06-07T22:58:05.667Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T22:58:05.696Z] $ docker stop --time=1 54403a1a8586a463304d0a30bf82c6ba55350b7691c9388544ec874c703fa53e [2022-06-07T22:58:07.363Z] $ docker rm -f 54403a1a8586a463304d0a30bf82c6ba55350b7691c9388544ec874c703fa53e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:58:07.986Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T22:58:07.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:58:08.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-1699 does not seem to be running inside a container [2022-06-07T22:58:08.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T22:58:09.580Z] $ docker top c405f25f6d6ea50159740935303bb8c83af25a2725723c5a42ec2bb4d964214a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T22:58:10.513Z] + make test [2022-06-07T22:58:10.513Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T22:58:12.511Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T22:59:20.593Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-07T22:59:20.593Z] internal/driver/onvifdiscovery.go:284:18: (*Driver).updateExistingDevice redeclared in this block [2022-06-07T22:59:20.593Z] /w/workspace/device-onvif-camera/9/internal/driver/driver.go:464:6: previous declaration [2022-06-07T22:59:28.927Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [github.com/edgexfoundry/device-onvif-camera/internal/driver.test] [2022-06-07T22:59:28.927Z] internal/driver/onvifdiscovery.go:284: (*Driver).updateExistingDevice redeclared in this block [2022-06-07T22:59:28.927Z] /w/workspace/device-onvif-camera/9/internal/driver/driver.go:464: previous declaration [2022-06-07T22:59:32.349Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2022-06-07T23:00:11.408Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 37.856s coverage: 13.8% of statements [2022-06-07T23:00:11.408Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-07T23:00:11.437Z] $ docker stop --time=1 c405f25f6d6ea50159740935303bb8c83af25a2725723c5a42ec2bb4d964214a [2022-06-07T23:00:13.088Z] $ docker rm -f c405f25f6d6ea50159740935303bb8c83af25a2725723c5a42ec2bb4d964214a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T23:00:14.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T23:00:14.082Z] [2022-06-07T23:00:14.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T23:00:14.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T23:00:14.791Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T23:00:14.791Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T23:00:14.791Z] 04944245beec: Pulling fs layer [2022-06-07T23:00:14.791Z] 699f458cf7ca: Pulling fs layer [2022-06-07T23:00:14.791Z] 765212b225bb: Pulling fs layer [2022-06-07T23:00:14.791Z] f23df028b6ca: Pulling fs layer [2022-06-07T23:00:14.791Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T23:00:14.791Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T23:00:14.791Z] 765212b225bb: Waiting [2022-06-07T23:00:14.791Z] f23df028b6ca: Waiting [2022-06-07T23:00:14.791Z] d65c8cfc05b1: Waiting [2022-06-07T23:00:14.791Z] 2437ff75d9bd: Waiting [2022-06-07T23:00:14.791Z] 04944245beec: Verifying Checksum [2022-06-07T23:00:14.791Z] 04944245beec: Download complete [2022-06-07T23:00:14.791Z] 765212b225bb: Verifying Checksum [2022-06-07T23:00:14.791Z] 765212b225bb: Download complete [2022-06-07T23:00:15.078Z] f23df028b6ca: Verifying Checksum [2022-06-07T23:00:15.078Z] f23df028b6ca: Download complete [2022-06-07T23:00:15.078Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T23:00:15.078Z] d65c8cfc05b1: Download complete [2022-06-07T23:00:15.078Z] 699f458cf7ca: Verifying Checksum [2022-06-07T23:00:15.078Z] 699f458cf7ca: Download complete [2022-06-07T23:00:15.736Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T23:00:15.736Z] 8998bd30e6a1: Download complete [2022-06-07T23:00:18.419Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T23:00:18.419Z] 2437ff75d9bd: Download complete [2022-06-07T23:00:20.406Z] 8998bd30e6a1: Pull complete [2022-06-07T23:00:20.681Z] 04944245beec: Pull complete [2022-06-07T23:00:22.116Z] 699f458cf7ca: Pull complete [2022-06-07T23:00:22.395Z] 765212b225bb: Pull complete [2022-06-07T23:00:23.375Z] f23df028b6ca: Pull complete [2022-06-07T23:00:23.375Z] d65c8cfc05b1: Pull complete [2022-06-07T23:00:38.481Z] 2437ff75d9bd: Pull complete [2022-06-07T23:00:38.481Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T23:00:38.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T23:00:38.481Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T23:00:38.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-1699 does not seem to be running inside a container [2022-06-07T23:00:38.838Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T23:00:41.178Z] $ docker top e82c36ba61bbe8c07588bd0ac31a86f07423dca229daf200f2d9f4e0f9b4d4f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:42.106Z] ---> job-cost.sh [2022-06-07T23:00:42.106Z] lf-activate-venv: SKIPPING [2022-06-07T23:00:42.106Z] INFO: No Stack... [2022-06-07T23:00:42.389Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T23:00:43.366Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T23:00:44.031Z] + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [2022-06-07T23:00:44.031Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T23:00:44.095Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [2022-06-07T23:00:44.102Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] did not exist. Created. [2022-06-07T23:00:44.102Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T23:00:44.769Z] /w/workspace/device-onvif-camera/9@tmp/durable-51584069/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T23:00:45.441Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T23:00:45.465Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T23:00:45.898Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T23:00:45.906Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T23:00:45.933Z] $ docker stop --time=1 e82c36ba61bbe8c07588bd0ac31a86f07423dca229daf200f2d9f4e0f9b4d4f8 [2022-06-07T23:00:47.379Z] $ docker rm -f e82c36ba61bbe8c07588bd0ac31a86f07423dca229daf200f2d9f4e0f9b4d4f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T23:00:47.702Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-07T23:00:48.489Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-07T23:00:48.489Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T23:00:48.489Z] total 16 [2022-06-07T23:00:48.489Z] drwxr-xr-x 3 root root 4096 Jun 7 22:55 . [2022-06-07T23:00:48.489Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:55 .. [2022-06-07T23:00:48.489Z] drwxr-xr-x 2 root root 4096 Jun 7 22:55 cost [2022-06-07T23:00:48.489Z] -rw-r--r-- 1 root root 89 Jun 7 22:55 cost.csv [2022-06-07T23:00:48.489Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T23:00:48.489Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T23:00:48.489Z] total 16 [2022-06-07T23:00:48.489Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:55 . [2022-06-07T23:00:48.489Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:55 .. [2022-06-07T23:00:48.489Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 22:55 cost [2022-06-07T23:00:48.489Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 7 22:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:48.781Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:49.651Z] ---> package-listing.sh [2022-06-07T23:00:49.651Z] ++ facter osfamily [2022-06-07T23:00:49.651Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T23:00:49.913Z] + OS_FAMILY=debian [2022-06-07T23:00:49.913Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T23:00:49.913Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T23:00:49.913Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T23:00:49.913Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T23:00:49.913Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T23:00:49.913Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T23:00:49.913Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T23:00:49.913Z] + case "${OS_FAMILY}" in [2022-06-07T23:00:49.913Z] + dpkg -l [2022-06-07T23:00:49.913Z] + grep '^ii' [2022-06-07T23:00:49.913Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T23:00:49.913Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T23:00:49.913Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T23:00:49.913Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T23:00:49.913Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-07T23:00:49.913Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-07T23:00:49.925Z] 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/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T23:00:50.213Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T23:00:50.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T23:00:50.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T23:00:50.860Z] prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container [2022-06-07T23:00:50.899Z] $ 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/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T23:00:51.176Z] $ docker top cf2e6a39ad327ced2c9c3e57b6e075fc716b9502551a5fef1d332989b092cba2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T23:00:51.633Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T23:00:51.927Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T23:00:52.220Z] + ls /var/log/sa-host [2022-06-07T23:00:52.220Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T23:00:52.296Z] provisioning config files... [2022-06-07T23:00:52.305Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7521619054845331307tmp [Pipeline] { [Pipeline] echo [2022-06-07T23:00:52.322Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:52.608Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T23:00:52.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:52.957Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T23:00:52.966Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:53.251Z] ---> sudo-logs.sh [2022-06-07T23:00:53.251Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T23:00:53.287Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:53.574Z] ---> job-cost.sh [2022-06-07T23:00:53.574Z] lf-activate-venv: SKIPPING [2022-06-07T23:00:53.574Z] DEBUG: total: 0.2199999988079071 [2022-06-07T23:00:53.574Z] INFO: Retrieving Stack Cost... [2022-06-07T23:00:53.835Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T23:00:54.406Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T23:00:54.416Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T23:00:54.716Z] ---> logs-deploy.sh [2022-06-07T23:00:54.716Z] lf-activate-venv: SKIPPING [2022-06-07T23:00:54.716Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/9 [2022-06-07T23:00:54.716Z] INFO: archiving workspace using pattern(s): [2022-06-07T23:00:55.662Z] Archives upload complete. [2022-06-07T23:00:55.924Z] INFO: archiving logs to Nexus