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 22:53:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:53:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:53:40 ========================================================= 22:53:40 EdgeX Global Pipelines Version Info 22:53:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d54ae050167479951db1a3abd57b43203adf0611 # timeout=10 22:53:40 ------------------- 22:53:40 stable info: 22:53:40 ------------------- 22:53:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:53:40 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:53:40 Message: update stable to v1.0.234 22:53:41 ------------------- 22:53:41 experimental info: 22:53:41 ------------------- 22:53:41 Commited By: **** collab-it+edgex@linuxfoundation.org 22:53:41 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:53:41 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = addab35 [Pipeline] echo 22:53:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:42 provisioning config files... 22:53:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1042634114098924356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:43 ---> docker-login.sh 22:53:43 nexus3.edgexfoundry.org:10001 22:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:43 Configure a credential helper to remove this warning. See 22:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:43 22:53:43 Login Succeeded 22:53:43 nexus3.edgexfoundry.org:10002 22:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:43 Configure a credential helper to remove this warning. See 22:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:43 22:53:43 Login Succeeded 22:53:43 nexus3.edgexfoundry.org:10003 22:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:44 Configure a credential helper to remove this warning. See 22:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:44 22:53:44 Login Succeeded 22:53:44 nexus3.edgexfoundry.org:10004 22:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:44 Configure a credential helper to remove this warning. See 22:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:44 22:53:44 Login Succeeded 22:53:44 docker.io 22:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:44 Configure a credential helper to remove this warning. See 22:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:44 22:53:44 Login Succeeded 22:53:44 ---> docker-login.sh ends [Pipeline] } 22:53:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:53:45 + git rev-list -1 --merges addab3554562446d6df94680a21b97ab912dfb4c~1..addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo 22:53:45 -----------> git rev-list -1 --merges addab3554562446d6df94680a21b97ab912dfb4c~1..addab3554562446d6df94680a21b97ab912dfb4c addab3554562446d6df94680a21b97ab912dfb4c 22:53:45 addab3554562446d6df94680a21b97ab912dfb4c [false] [Pipeline] sh 22:53:45 + git log --format=format:%s -1 addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo 22:53:45 ========================================================= 22:53:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:53:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:53:46 + git log --format=format:%s -1 addab3554562446d6df94680a21b97ab912dfb4c [Pipeline] echo 22:53:46 [semverPrep] GIT_COMMIT: addab3554562446d6df94680a21b97ab912dfb4c, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo 22:53:46 [semverPrep] This is not a build commit. [Pipeline] sh 22:53:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:53:46 + grep -v github /etc/ssh/ssh_known_hosts 22:53:46 + [ -e /tmp/ssh_known_hosts ] 22:53:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:53:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:53:46 + sudo tee -a /etc/ssh/ssh_known_hosts 22:53:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:53:46 22:53:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:53:47 0.1.4: Pulling from edgex-devops/py-git-semver 22:53:47 42c077c10790: Pulling fs layer 22:53:47 f63e77b7563a: Pulling fs layer 22:53:47 bd5fdadae976: Pulling fs layer 22:53:47 205491f53016: Pulling fs layer 22:53:47 df18705c85c3: Pulling fs layer 22:53:47 bdb3f477010e: Pulling fs layer 22:53:47 c8a8fc8e1c8f: Pulling fs layer 22:53:47 2c6e9b1d212d: Pulling fs layer 22:53:47 bdb8f0575790: Pulling fs layer 22:53:47 bdb3f477010e: Waiting 22:53:47 2c6e9b1d212d: Waiting 22:53:47 df18705c85c3: Waiting 22:53:47 386e3cb2ff24: Pulling fs layer 22:53:47 2343380bae48: Pulling fs layer 22:53:47 bdb8f0575790: Waiting 22:53:47 2343380bae48: Waiting 22:53:47 386e3cb2ff24: Waiting 22:53:47 f63e77b7563a: Verifying Checksum 22:53:47 f63e77b7563a: Download complete 22:53:47 205491f53016: Verifying Checksum 22:53:47 205491f53016: Download complete 22:53:47 df18705c85c3: Verifying Checksum 22:53:47 df18705c85c3: Download complete 22:53:47 bdb3f477010e: Verifying Checksum 22:53:47 bdb3f477010e: Download complete 22:53:47 bd5fdadae976: Verifying Checksum 22:53:47 bd5fdadae976: Download complete 22:53:47 2c6e9b1d212d: Verifying Checksum 22:53:47 2c6e9b1d212d: Download complete 22:53:47 bdb8f0575790: Verifying Checksum 22:53:47 bdb8f0575790: Download complete 22:53:47 386e3cb2ff24: Verifying Checksum 22:53:47 386e3cb2ff24: Download complete 22:53:47 42c077c10790: Verifying Checksum 22:53:47 42c077c10790: Download complete 22:53:47 2343380bae48: Verifying Checksum 22:53:47 2343380bae48: Download complete 22:53:48 c8a8fc8e1c8f: Verifying Checksum 22:53:48 c8a8fc8e1c8f: Download complete 22:53:49 42c077c10790: Pull complete 22:53:49 f63e77b7563a: Pull complete 22:53:49 bd5fdadae976: Pull complete 22:53:49 205491f53016: Pull complete 22:53:50 df18705c85c3: Pull complete 22:53:50 bdb3f477010e: Pull complete 22:53:52 c8a8fc8e1c8f: Pull complete 22:53:52 2c6e9b1d212d: Pull complete 22:53:52 bdb8f0575790: Pull complete 22:53:52 386e3cb2ff24: Pull complete 22:53:52 2343380bae48: Pull complete 22:53:52 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 22:53:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:53:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:52 prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container 22:53:52 $ 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 22:53:54 $ docker top 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:53:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:53:54 [ssh-agent] Looking for ssh-agent implementation... 22:53:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:53:54 $ docker exec 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent 22:53:54 SSH_AUTH_SOCK=/tmp/ssh-CqC0SQHL9zve/agent.33 22:53:54 SSH_AGENT_PID=40 22:53:54 Running ssh-add (command line suppressed) 22:53:54 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) 22:53:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:53:55 + git tag --points-at HEAD [Pipeline] } 22:53:55 $ docker exec --env ******** --env ******** 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent -k 22:53:55 unset SSH_AUTH_SOCK; 22:53:55 unset SSH_AGENT_PID; 22:53:55 echo Agent pid 40 killed; 22:53:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:53:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:53:55 [ssh-agent] Looking for ssh-agent implementation... 22:53:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:53:55 $ docker exec 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent 22:53:55 SSH_AUTH_SOCK=/tmp/ssh-7HtL0uXokltp/agent.72 22:53:55 SSH_AGENT_PID=78 22:53:55 Running ssh-add (command line suppressed) 22:53:55 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) 22:53:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:53:56 + git semver init 22:53:56 2022-06-07 22:53:56,308 [run_init] DEBUG init version:0.0.0 force:False 22:53:56 2022-06-07 22:53:56,309 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver 22:53:56 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 22:53:56 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) 22:53:57 2022-06-07 22:53:56,998 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude 22:53:57 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 22:53:57 2022-06-07 22:53:56,999 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 22:53:57 2022-06-07 22:53:57,004 [execute] INFO git cat-file --batch-check 22:53:57 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=) 22:53:57 2022-06-07 22:53:57,012 [execute] INFO git cat-file --batch 22:53:57 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=) 22:53:57 2022-06-07 22:53:57,018 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 22:53:57 0.0.0 [Pipeline] } 22:53:57 $ docker exec --env ******** --env ******** 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 ssh-agent -k 22:53:57 unset SSH_AUTH_SOCK; 22:53:57 unset SSH_AGENT_PID; 22:53:57 echo Agent pid 78 killed; 22:53:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:53:57 + git semver [Pipeline] } 22:53:58 $ docker stop --time=1 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 22:53:59 $ docker rm -f 311fdbd8e485a68dcd8e3b309b6c872e108ec895e83aeda8b4dc470c902f1553 [Pipeline] // withDockerContainer [Pipeline] sh 22:53:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:54:00 Stashed 1 file(s) [Pipeline] echo 22:54:00 [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 22:54:01 provisioning config files... 22:54:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config4279107691464067216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:01 ---> docker-login.sh 22:54:01 nexus3.edgexfoundry.org:10001 22:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:01 Configure a credential helper to remove this warning. See 22:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:01 22:54:01 Login Succeeded 22:54:01 nexus3.edgexfoundry.org:10002 22:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:01 Configure a credential helper to remove this warning. See 22:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:01 22:54:01 Login Succeeded 22:54:01 nexus3.edgexfoundry.org:10003 22:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:02 Configure a credential helper to remove this warning. See 22:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:02 22:54:02 Login Succeeded 22:54:02 nexus3.edgexfoundry.org:10004 22:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:02 Configure a credential helper to remove this warning. See 22:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:02 22:54:02 Login Succeeded 22:54:02 docker.io 22:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:02 Configure a credential helper to remove this warning. See 22:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:02 22:54:02 Login Succeeded 22:54:02 ---> docker-login.sh ends [Pipeline] } 22:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:02 ========================================================= 22:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:54:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:03 + 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 . 22:54:03 Sending build context to Docker daemon 8.953MB 22:54:03 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:54:03 Step 2/13 : FROM ${BASE} AS builder 22:54:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:54:03 59bf1c3509f3: Pulling fs layer 22:54:03 666ba61612fd: Pulling fs layer 22:54:03 8ed8ca486205: Pulling fs layer 22:54:03 cc1cd167ecdc: Pulling fs layer 22:54:03 c516ae0d96e1: Pulling fs layer 22:54:03 684cea983483: Pulling fs layer 22:54:03 dd3240ac7de5: Pulling fs layer 22:54:03 b1e948a4e11c: Pulling fs layer 22:54:03 a8fd76ee1af6: Pulling fs layer 22:54:03 646ad004c059: Pulling fs layer 22:54:03 c516ae0d96e1: Waiting 22:54:03 b1e948a4e11c: Waiting 22:54:03 a8fd76ee1af6: Waiting 22:54:03 684cea983483: Waiting 22:54:03 646ad004c059: Waiting 22:54:03 dd3240ac7de5: Waiting 22:54:03 8ed8ca486205: Verifying Checksum 22:54:03 8ed8ca486205: Download complete 22:54:03 666ba61612fd: Verifying Checksum 22:54:03 666ba61612fd: Download complete 22:54:03 c516ae0d96e1: Verifying Checksum 22:54:03 c516ae0d96e1: Download complete 22:54:03 684cea983483: Verifying Checksum 22:54:03 684cea983483: Download complete 22:54:03 59bf1c3509f3: Verifying Checksum 22:54:03 dd3240ac7de5: Verifying Checksum 22:54:03 dd3240ac7de5: Download complete 22:54:03 59bf1c3509f3: Pull complete 22:54:03 666ba61612fd: Pull complete 22:54:03 8ed8ca486205: Pull complete 22:54:04 b1e948a4e11c: Verifying Checksum 22:54:04 b1e948a4e11c: Download complete 22:54:04 cc1cd167ecdc: Verifying Checksum 22:54:04 cc1cd167ecdc: Download complete 22:54:05 a8fd76ee1af6: Verifying Checksum 22:54:05 a8fd76ee1af6: Download complete 22:54:05 646ad004c059: Verifying Checksum 22:54:05 646ad004c059: Download complete 22:54:09 cc1cd167ecdc: Pull complete 22:54:09 c516ae0d96e1: Pull complete 22:54:09 684cea983483: Pull complete 22:54:09 dd3240ac7de5: Pull complete 22:54:09 b1e948a4e11c: Pull complete 22:54:11 a8fd76ee1af6: Pull complete 22:54:11 646ad004c059: Pull complete 22:54:12 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 22:54:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:54:12 ---> 8f69c11f6b0c 22:54:12 Step 3/13 : ARG MAKE="make build" 22:54:13 ---> Running in 1d5dea91bdca 22:54:13 Removing intermediate container 1d5dea91bdca 22:54:13 ---> 347f370ca239 22:54:13 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:54:13 ---> Running in b5356fe1d696 22:54:13 Removing intermediate container b5356fe1d696 22:54:13 ---> 991ebda2dae6 22:54:13 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:54:13 ---> Running in b765f2e5c095 22:54:13 Removing intermediate container b765f2e5c095 22:54:13 ---> 93619befe740 22:54:13 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:54:13 ---> Running in b94204a1a957 22:54:13 Removing intermediate container b94204a1a957 22:54:13 ---> b8dacee4cd64 22:54:13 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:13 ---> Running in 1d8d904d26f0 22:54:14 Removing intermediate container 1d8d904d26f0 22:54:14 ---> a3fd82b5f2b0 22:54:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:14 ---> Running in bca3b9a8311c 22:54:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:54:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:54:15 OK: 221 MiB in 52 packages 22:54:15 Still waiting to schedule task 22:54:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:54:16 Removing intermediate container bca3b9a8311c 22:54:16 ---> b0b5852ef621 22:54:16 Step 9/13 : WORKDIR /device-onvif-camera 22:54:16 ---> Running in 0d4b3b2da6c8 22:54:16 Removing intermediate container 0d4b3b2da6c8 22:54:16 ---> 1b4613cf48f6 22:54:16 Step 10/13 : COPY go.mod vendor* ./ 22:54:16 ---> a7dc067bda4d 22:54:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:16 ---> Running in 52b7abafe352 22:54:31 Removing intermediate container 52b7abafe352 22:54:31 ---> 4603330f5cca 22:54:31 Step 12/13 : COPY . . 22:54:31 ---> dda36646a4ef 22:54:31 Step 13/13 : RUN ${MAKE} 22:54:31 ---> Running in 8eb11b388696 22:54:31 noop 22:54:31 Removing intermediate container 8eb11b388696 22:54:31 ---> d80cda522be2 22:54:31 Successfully built d80cda522be2 22:54:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:32 + docker inspect -f . ci-base-image-x86_64 22:54:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:32 prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container 22:54:32 $ 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 22:54:32 $ docker top bd0acf75b1565d333205c405e2363bc8cd37456a23187f6d3bc8b029efb2b7b0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:33 + go version 22:54:33 go version go1.17.7 linux/amd64 [Pipeline] } 22:54:33 $ docker stop --time=1 bd0acf75b1565d333205c405e2363bc8cd37456a23187f6d3bc8b029efb2b7b0 22:54:34 $ 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 22:54:35 + docker inspect -f . ci-base-image-x86_64 22:54:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:35 prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container 22:54:35 $ 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 22:54:35 $ docker top c7050608a27e5efc30702503c1cefd3767b1f446e6f83d5a878aa05d5d03292d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:54:36 + make test 22:54:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:54:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:54:46 # github.com/edgexfoundry/device-onvif-camera/internal/driver 22:54:46 internal/driver/onvifdiscovery.go:284:18: (*Driver).updateExistingDevice redeclared in this block 22:54:46 /w/workspace/oundry_device-onvif-camera_PR-81/internal/driver/driver.go:464:6: previous declaration 22:54:46 # github.com/edgexfoundry/device-onvif-camera/internal/driver [github.com/edgexfoundry/device-onvif-camera/internal/driver.test] 22:54:46 internal/driver/onvifdiscovery.go:284: (*Driver).updateExistingDevice redeclared in this block 22:54:46 /w/workspace/oundry_device-onvif-camera_PR-81/internal/driver/driver.go:464: previous declaration 22:54:46 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:54:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.562s coverage: 13.8% of statements 22:54:51 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 22:54:52 $ docker stop --time=1 c7050608a27e5efc30702503c1cefd3767b1f446e6f83d5a878aa05d5d03292d 22:54:53 $ 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 22:54:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:54 22:54:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:54 latest: Pulling from edgex-lftools-log-publisher 22:54:54 5eb5b503b376: Pulling fs layer 22:54:54 5c69ac0246d0: Pulling fs layer 22:54:54 ec43610c2a17: Pulling fs layer 22:54:54 3a2ae6a8a46f: Pulling fs layer 22:54:54 33b1e0a273af: Pulling fs layer 22:54:54 5d3b04190fa2: Pulling fs layer 22:54:54 2f39f015ded8: Pulling fs layer 22:54:54 3a2ae6a8a46f: Waiting 22:54:54 5d3b04190fa2: Waiting 22:54:54 33b1e0a273af: Waiting 22:54:54 2f39f015ded8: Waiting 22:54:54 5c69ac0246d0: Download complete 22:54:54 3a2ae6a8a46f: Verifying Checksum 22:54:54 3a2ae6a8a46f: Download complete 22:54:55 33b1e0a273af: Verifying Checksum 22:54:55 33b1e0a273af: Download complete 22:54:55 ec43610c2a17: Verifying Checksum 22:54:55 ec43610c2a17: Download complete 22:54:55 5d3b04190fa2: Download complete 22:54:55 5eb5b503b376: Verifying Checksum 22:54:55 5eb5b503b376: Download complete 22:54:55 2f39f015ded8: Download complete 22:54:56 5eb5b503b376: Pull complete 22:54:56 5c69ac0246d0: Pull complete 22:54:56 ec43610c2a17: Pull complete 22:54:57 3a2ae6a8a46f: Pull complete 22:54:57 33b1e0a273af: Pull complete 22:54:57 5d3b04190fa2: Pull complete 22:55:01 2f39f015ded8: Pull complete 22:55:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:55:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:01 prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container 22:55:01 $ 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 22:55:03 $ docker top 8d4bea8bd0d690297376f86b465f0c4f507054b87130d0aedb4610712a99b0f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:03 ---> job-cost.sh 22:55:03 lf-activate-venv: SKIPPING 22:55:03 INFO: No Stack... 22:55:03 INFO: Retrieving Pricing Info for: v3-standard-8 22:55:04 INFO: Archiving Costs [Pipeline] sh 22:55:04 + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv 22:55:04 + cut -d, -f6 [Pipeline] lock 22:55:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] 22:55:04 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] did not exist. Created. 22:55:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:05 + echo total: 0.2199999988079071 [Pipeline] stash 22:55:05 Stashed 1 file(s) [Pipeline] } 22:55:05 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] // lock [Pipeline] } 22:55:05 $ docker stop --time=1 8d4bea8bd0d690297376f86b465f0c4f507054b87130d0aedb4610712a99b0f3 22:55:06 $ docker rm -f 8d4bea8bd0d690297376f86b465f0c4f507054b87130d0aedb4610712a99b0f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:55:06 Failed in branch amd64 22:56:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1699 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws 22:56:01 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout 22:56:01 Selected Git installation does not exist. Using Default 22:56:01 The recommended git tool is: NONE 22:56:07 using credential edgex-jenkins-ssh 22:56:07 Cloning the remote Git repository 22:56:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:56:08 > git init /w/workspace/device-onvif-camera/9 # timeout=10 22:56:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:56:08 > git --version # timeout=10 22:56:08 > git --version # 'git version 2.25.1' 22:56:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:09 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:56:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:09 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:56:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:56:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:09 > 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 22:56:09 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 0f7a379e0a04160baced99646eb5b536d6a658c1 22:56:10 Merge succeeded, producing 1b10669f31f9b46a049ca2e99b6d9a4ca3d8ce0e 22:56:10 Checking out Revision 1b10669f31f9b46a049ca2e99b6d9a4ca3d8ce0e (PR-81) 22:56:09 > git config core.sparsecheckout # timeout=10 22:56:09 > git checkout -f 0f7a379e0a04160baced99646eb5b536d6a658c1 # timeout=10 22:56:09 > git remote # timeout=10 22:56:09 > git config --get remote.origin.url # timeout=10 22:56:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:09 > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 22:56:10 > git rev-parse HEAD^{commit} # timeout=10 22:56:10 > git config core.sparsecheckout # timeout=10 22:56:10 > git checkout -f 1b10669f31f9b46a049ca2e99b6d9a4ca3d8ce0e # timeout=10 22:56:14 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" 22:56:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:14 > git rev-list --no-walk d54ae050167479951db1a3abd57b43203adf0611 # timeout=10 22:56:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:56:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:56:15 Dload Upload Total Spent Left Speed 22:56:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94984 0 --:--:-- --:--:-- --:--:-- 94984 [Pipeline] sh 22:56:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:56:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:56:16 + sudo tee /etc/docker/daemon.new 22:56:16 { 22:56:16 "registry-mirrors": [ 22:56:16 "https://nexus3.edgexfoundry.org:10001" 22:56:16 ], 22:56:16 "bip": "10.250.0.254/24", 22:56:16 "hosts": [ 22:56:16 "tcp://0.0.0.0:5555", 22:56:16 "unix:///var/run/docker.sock" 22:56:16 ], 22:56:16 "mtu": 1458, 22:56:16 "selinux-enabled": true, 22:56:16 "seccomp-profile": "/etc/docker/seccomp.json" 22:56:16 } [Pipeline] sh 22:56:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:56:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:35 provisioning config files... 22:56:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config3353448754377256190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:36 ---> docker-login.sh 22:56:36 nexus3.edgexfoundry.org:10001 22:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:37 Configure a credential helper to remove this warning. See 22:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:37 22:56:37 Login Succeeded 22:56:37 nexus3.edgexfoundry.org:10002 22:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:37 Configure a credential helper to remove this warning. See 22:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:37 22:56:37 Login Succeeded 22:56:37 nexus3.edgexfoundry.org:10003 22:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:38 Configure a credential helper to remove this warning. See 22:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:38 22:56:38 Login Succeeded 22:56:38 nexus3.edgexfoundry.org:10004 22:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:38 Configure a credential helper to remove this warning. See 22:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:38 22:56:38 Login Succeeded 22:56:38 docker.io 22:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:39 Configure a credential helper to remove this warning. See 22:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:39 22:56:39 Login Succeeded 22:56:39 ---> docker-login.sh ends [Pipeline] } 22:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:56:39 ========================================================= 22:56:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:56:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:40 + 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 . 22:56:40 Sending build context to Docker daemon 6.172MB 22:56:40 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:56:40 Step 2/13 : FROM ${BASE} AS builder 22:56:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:56:40 9b3977197b4f: Pulling fs layer 22:56:40 1a89e8eeedd5: Pulling fs layer 22:56:40 94645a83ff95: Pulling fs layer 22:56:40 e6fb740bc735: Pulling fs layer 22:56:40 3a77bd46dcc9: Pulling fs layer 22:56:40 355e64cbe906: Pulling fs layer 22:56:40 63ab81a10011: Pulling fs layer 22:56:40 555d1d1c4555: Pulling fs layer 22:56:40 7d9057610161: Pulling fs layer 22:56:40 e6fb740bc735: Waiting 22:56:40 3a77bd46dcc9: Waiting 22:56:40 355e64cbe906: Waiting 22:56:40 555d1d1c4555: Waiting 22:56:40 63ab81a10011: Waiting 22:56:40 7d9057610161: Waiting 22:56:40 94645a83ff95: Verifying Checksum 22:56:40 94645a83ff95: Download complete 22:56:40 1a89e8eeedd5: Download complete 22:56:40 3a77bd46dcc9: Verifying Checksum 22:56:40 3a77bd46dcc9: Download complete 22:56:40 355e64cbe906: Verifying Checksum 22:56:40 355e64cbe906: Download complete 22:56:40 9b3977197b4f: Verifying Checksum 22:56:40 9b3977197b4f: Download complete 22:56:41 63ab81a10011: Verifying Checksum 22:56:41 63ab81a10011: Download complete 22:56:41 9b3977197b4f: Pull complete 22:56:42 7d9057610161: Verifying Checksum 22:56:42 7d9057610161: Download complete 22:56:42 1a89e8eeedd5: Pull complete 22:56:42 94645a83ff95: Pull complete 22:56:43 555d1d1c4555: Verifying Checksum 22:56:43 e6fb740bc735: Verifying Checksum 22:56:43 e6fb740bc735: Download complete 22:56:56 e6fb740bc735: Pull complete 22:56:56 3a77bd46dcc9: Pull complete 22:56:56 355e64cbe906: Pull complete 22:56:56 63ab81a10011: Pull complete 22:57:03 555d1d1c4555: Pull complete 22:57:04 7d9057610161: Pull complete 22:57:04 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 22:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:57:04 ---> 819e984ddca1 22:57:04 Step 3/13 : ARG MAKE="make build" 22:57:05 ---> Running in 2c4135d7a051 22:57:06 Removing intermediate container 2c4135d7a051 22:57:06 ---> 22498a433864 22:57:06 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:57:06 ---> Running in 9199f46b2a4c 22:57:07 Removing intermediate container 9199f46b2a4c 22:57:07 ---> 0e0e0ddcc936 22:57:07 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:57:07 ---> Running in dc896b5cdd0b 22:57:07 Removing intermediate container dc896b5cdd0b 22:57:07 ---> 34bb58d6d140 22:57:07 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:57:07 ---> Running in e8527bba62fe 22:57:08 Removing intermediate container e8527bba62fe 22:57:08 ---> 65f388156e54 22:57:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:08 ---> Running in 2eb13150e730 22:57:09 Removing intermediate container 2eb13150e730 22:57:09 ---> dc1acd4e9586 22:57:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:09 ---> Running in f7c9be82ccac 22:57:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:57:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:57:12 OK: 220 MiB in 52 packages 22:57:13 Removing intermediate container f7c9be82ccac 22:57:13 ---> c4116037516f 22:57:13 Step 9/13 : WORKDIR /device-onvif-camera 22:57:13 ---> Running in f3d52c83a5b1 22:57:13 Removing intermediate container f3d52c83a5b1 22:57:13 ---> 718c7ba48e45 22:57:13 Step 10/13 : COPY go.mod vendor* ./ 22:57:13 ---> 83a6cd654ce8 22:57:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:13 ---> Running in 66e5f8138d38 22:58:01 Removing intermediate container 66e5f8138d38 22:58:01 ---> 65f20e713cca 22:58:01 Step 12/13 : COPY . . 22:58:01 ---> 4b3574807f69 22:58:01 Step 13/13 : RUN ${MAKE} 22:58:01 ---> Running in e0c506ca4301 22:58:02 noop 22:58:02 Removing intermediate container e0c506ca4301 22:58:02 ---> 80aac381ea44 22:58:02 Successfully built 80aac381ea44 22:58:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:03 + docker inspect -f . ci-base-image-arm64 22:58:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:03 prd-ubuntu20.04-docker-arm64-4c-16g-1699 does not seem to be running inside a container 22:58:03 $ 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 22:58:04 $ docker top 54403a1a8586a463304d0a30bf82c6ba55350b7691c9388544ec874c703fa53e -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:05 + go version 22:58:05 go version go1.17.7 linux/arm64 [Pipeline] } 22:58:05 $ docker stop --time=1 54403a1a8586a463304d0a30bf82c6ba55350b7691c9388544ec874c703fa53e 22:58:07 $ 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 22:58:07 + docker inspect -f . ci-base-image-arm64 22:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:08 prd-ubuntu20.04-docker-arm64-4c-16g-1699 does not seem to be running inside a container 22:58:08 $ 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 22:58:09 $ docker top c405f25f6d6ea50159740935303bb8c83af25a2725723c5a42ec2bb4d964214a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:58:10 + make test 22:58:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:58:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:59:20 # github.com/edgexfoundry/device-onvif-camera/internal/driver 22:59:20 internal/driver/onvifdiscovery.go:284:18: (*Driver).updateExistingDevice redeclared in this block 22:59:20 /w/workspace/device-onvif-camera/9/internal/driver/driver.go:464:6: previous declaration 22:59:28 # github.com/edgexfoundry/device-onvif-camera/internal/driver [github.com/edgexfoundry/device-onvif-camera/internal/driver.test] 22:59:28 internal/driver/onvifdiscovery.go:284: (*Driver).updateExistingDevice redeclared in this block 22:59:28 /w/workspace/device-onvif-camera/9/internal/driver/driver.go:464: previous declaration 22:59:32 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 23:00:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 37.856s coverage: 13.8% of statements 23:00:11 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 23:00:11 $ docker stop --time=1 c405f25f6d6ea50159740935303bb8c83af25a2725723c5a42ec2bb4d964214a 23:00:13 $ 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 23:00:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:00:14 23:00:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:00:14 arm64: Pulling from edgex-lftools-log-publisher 23:00:14 8998bd30e6a1: Pulling fs layer 23:00:14 04944245beec: Pulling fs layer 23:00:14 699f458cf7ca: Pulling fs layer 23:00:14 765212b225bb: Pulling fs layer 23:00:14 f23df028b6ca: Pulling fs layer 23:00:14 d65c8cfc05b1: Pulling fs layer 23:00:14 2437ff75d9bd: Pulling fs layer 23:00:14 765212b225bb: Waiting 23:00:14 f23df028b6ca: Waiting 23:00:14 d65c8cfc05b1: Waiting 23:00:14 2437ff75d9bd: Waiting 23:00:14 04944245beec: Verifying Checksum 23:00:14 04944245beec: Download complete 23:00:14 765212b225bb: Verifying Checksum 23:00:14 765212b225bb: Download complete 23:00:15 f23df028b6ca: Verifying Checksum 23:00:15 f23df028b6ca: Download complete 23:00:15 d65c8cfc05b1: Verifying Checksum 23:00:15 d65c8cfc05b1: Download complete 23:00:15 699f458cf7ca: Verifying Checksum 23:00:15 699f458cf7ca: Download complete 23:00:15 8998bd30e6a1: Verifying Checksum 23:00:15 8998bd30e6a1: Download complete 23:00:18 2437ff75d9bd: Verifying Checksum 23:00:18 2437ff75d9bd: Download complete 23:00:20 8998bd30e6a1: Pull complete 23:00:20 04944245beec: Pull complete 23:00:22 699f458cf7ca: Pull complete 23:00:22 765212b225bb: Pull complete 23:00:23 f23df028b6ca: Pull complete 23:00:23 d65c8cfc05b1: Pull complete 23:00:38 2437ff75d9bd: Pull complete 23:00:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:00:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:00:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:38 prd-ubuntu20.04-docker-arm64-4c-16g-1699 does not seem to be running inside a container 23:00:38 $ 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 23:00:41 $ docker top e82c36ba61bbe8c07588bd0ac31a86f07423dca229daf200f2d9f4e0f9b4d4f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:42 ---> job-cost.sh 23:00:42 lf-activate-venv: SKIPPING 23:00:42 INFO: No Stack... 23:00:42 INFO: Retrieving Pricing Info for: v3-standard-4 23:00:43 INFO: Archiving Costs [Pipeline] sh 23:00:44 + cat /w/workspace/device-onvif-camera/9/archives/cost.csv 23:00:44 + cut -d, -f6 [Pipeline] lock 23:00:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] 23:00:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] did not exist. Created. 23:00:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:00:44 /w/workspace/device-onvif-camera/9@tmp/durable-51584069/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:00:45 + echo total: 0.10999999940395355 [Pipeline] stash 23:00:45 Warning: overwriting stash ‘stack-cost’ 23:00:45 Stashed 1 file(s) [Pipeline] } 23:00:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:00:45 $ docker stop --time=1 e82c36ba61bbe8c07588bd0ac31a86f07423dca229daf200f2d9f4e0f9b4d4f8 23:00:47 $ 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] } 23:00:47 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 23:00:48 + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] 23:00:48 + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives 23:00:48 total 16 23:00:48 drwxr-xr-x 3 root root 4096 Jun 7 22:55 . 23:00:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:55 .. 23:00:48 drwxr-xr-x 2 root root 4096 Jun 7 22:55 cost 23:00:48 -rw-r--r-- 1 root root 89 Jun 7 22:55 cost.csv 23:00:48 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives 23:00:48 + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives 23:00:48 total 16 23:00:48 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:55 . 23:00:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:55 .. 23:00:48 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 22:55 cost 23:00:48 -rw-r--r-- 1 jenkins jenkins 89 Jun 7 22:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:00:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:00:49 ---> package-listing.sh 23:00:49 ++ facter osfamily 23:00:49 ++ tr '[:upper:]' '[:lower:]' 23:00:49 + OS_FAMILY=debian 23:00:49 + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 23:00:49 + START_PACKAGES=/tmp/packages_start.txt 23:00:49 + END_PACKAGES=/tmp/packages_end.txt 23:00:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:00:49 + PACKAGES=/tmp/packages_start.txt 23:00:49 + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' 23:00:49 + PACKAGES=/tmp/packages_end.txt 23:00:49 + case "${OS_FAMILY}" in 23:00:49 + dpkg -l 23:00:49 + grep '^ii' 23:00:49 + '[' -f /tmp/packages_start.txt ']' 23:00:49 + '[' -f /tmp/packages_end.txt ']' 23:00:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:00:49 + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' 23:00:49 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ 23:00:49 + 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 23:00:49 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 23:00:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:50 prd-ubuntu20.04-docker-8c-8g-1698 does not seem to be running inside a container 23:00:50 $ 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 23:00:51 $ docker top cf2e6a39ad327ced2c9c3e57b6e075fc716b9502551a5fef1d332989b092cba2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:51 + touch /tmp/pre-build-complete [Pipeline] sh 23:00:51 + mkdir -p /var/log/sysstat [Pipeline] sh 23:00:52 + ls /var/log/sa-host 23:00:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:52 provisioning config files... 23:00:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7521619054845331307tmp [Pipeline] { [Pipeline] echo 23:00:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:00:52 ---> create-netrc.sh [Pipeline] } 23:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:00:52 ---> python-tools-install.sh [Pipeline] echo 23:00:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:00:53 ---> sudo-logs.sh 23:00:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:00:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:00:53 ---> job-cost.sh 23:00:53 lf-activate-venv: SKIPPING 23:00:53 DEBUG: total: 0.2199999988079071 23:00:53 INFO: Retrieving Stack Cost... 23:00:53 INFO: Retrieving Pricing Info for: v3-standard-8 23:00:54 INFO: Archiving Costs [Pipeline] echo 23:00:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:00:54 ---> logs-deploy.sh 23:00:54 lf-activate-venv: SKIPPING 23:00:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/9 23:00:54 INFO: archiving workspace using pattern(s): 23:00:55 Archives upload complete. 23:00:55 INFO: archiving logs to Nexus