Pull request #90 opened 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 brianointel for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than 5ae8dd9ecedac467251da36a62b7ed44b21294f0 Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh2924230701674137025.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-ssh15745997949671156741.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10817100235190015276.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5398999409980241380.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9266150158425223410.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5072599962582988056.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15477 in /w/workspace/oundry_device-onvif-camera_PR-90 [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-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 5ae8dd9ecedac467251da36a62b7ed44b21294f0 Merge succeeded, producing 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 Checking out Revision 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 (PR-90) > 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/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae8dd9ecedac467251da36a62b7ed44b21294f0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:47:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:47:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:47:03 ========================================================= 20:47:03 EdgeX Global Pipelines Version Info 20:47:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:47:04 ------------------- 20:47:04 stable info: 20:47:04 ------------------- 20:47:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:47:04 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:47:04 Message: update stable to v1.0.234 20:47:04 ------------------- 20:47:04 experimental info: 20:47:04 ------------------- 20:47:04 Commited By: **** collab-it+edgex@linuxfoundation.org 20:47:04 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:47:04 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:47:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fff9a9 [Pipeline] echo 20:47:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:06 provisioning config files... 20:47:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2598198735367598960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:06 ---> docker-login.sh 20:47:06 nexus3.edgexfoundry.org:10001 20:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:07 Configure a credential helper to remove this warning. See 20:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:07 20:47:07 Login Succeeded 20:47:07 nexus3.edgexfoundry.org:10002 20:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:07 Configure a credential helper to remove this warning. See 20:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:07 20:47:07 Login Succeeded 20:47:07 nexus3.edgexfoundry.org:10003 20:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:07 Configure a credential helper to remove this warning. See 20:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:07 20:47:07 Login Succeeded 20:47:07 nexus3.edgexfoundry.org:10004 20:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:07 Configure a credential helper to remove this warning. See 20:47:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:07 20:47:07 Login Succeeded 20:47:07 docker.io 20:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:08 Configure a credential helper to remove this warning. See 20:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:08 20:47:08 Login Succeeded 20:47:08 ---> docker-login.sh ends [Pipeline] } 20:47:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:47:08 + git rev-list -1 --merges 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9~1..8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 [Pipeline] echo 20:47:08 -----------> git rev-list -1 --merges 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9~1..8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 20:47:08 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 [false] [Pipeline] sh 20:47:09 + git log --format=format:%s -1 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 [Pipeline] echo 20:47:09 ========================================================= 20:47:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:47:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:09 + git log --format=format:%s -1 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9 [Pipeline] echo 20:47:09 [semverPrep] GIT_COMMIT: 8fff9a975ca05191aa9ad52ffdc3db6af3da1ff9, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 20:47:09 [semverPrep] This is not a build commit. [Pipeline] sh 20:47:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:47:10 + grep -v github /etc/ssh/ssh_known_hosts 20:47:10 + [ -e /tmp/ssh_known_hosts ] 20:47:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:47:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:47:10 + sudo tee -a /etc/ssh/ssh_known_hosts 20:47:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:10 20:47:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:11 0.1.4: Pulling from edgex-devops/py-git-semver 20:47:11 42c077c10790: Pulling fs layer 20:47:11 f63e77b7563a: Pulling fs layer 20:47:11 bd5fdadae976: Pulling fs layer 20:47:11 205491f53016: Pulling fs layer 20:47:11 df18705c85c3: Pulling fs layer 20:47:11 bdb3f477010e: Pulling fs layer 20:47:11 c8a8fc8e1c8f: Pulling fs layer 20:47:11 2c6e9b1d212d: Pulling fs layer 20:47:11 bdb8f0575790: Pulling fs layer 20:47:11 386e3cb2ff24: Pulling fs layer 20:47:11 2343380bae48: Pulling fs layer 20:47:11 bdb8f0575790: Waiting 20:47:11 386e3cb2ff24: Waiting 20:47:11 c8a8fc8e1c8f: Waiting 20:47:11 2343380bae48: Waiting 20:47:11 2c6e9b1d212d: Waiting 20:47:11 df18705c85c3: Waiting 20:47:11 205491f53016: Waiting 20:47:11 bdb3f477010e: Waiting 20:47:11 f63e77b7563a: Download complete 20:47:11 205491f53016: Verifying Checksum 20:47:11 205491f53016: Download complete 20:47:11 df18705c85c3: Download complete 20:47:11 bdb3f477010e: Verifying Checksum 20:47:11 bdb3f477010e: Download complete 20:47:11 bd5fdadae976: Verifying Checksum 20:47:11 bd5fdadae976: Download complete 20:47:11 2c6e9b1d212d: Verifying Checksum 20:47:11 2c6e9b1d212d: Download complete 20:47:11 bdb8f0575790: Verifying Checksum 20:47:11 bdb8f0575790: Download complete 20:47:11 386e3cb2ff24: Verifying Checksum 20:47:11 386e3cb2ff24: Download complete 20:47:11 2343380bae48: Verifying Checksum 20:47:11 2343380bae48: Download complete 20:47:11 42c077c10790: Download complete 20:47:11 c8a8fc8e1c8f: Download complete 20:47:13 42c077c10790: Pull complete 20:47:13 f63e77b7563a: Pull complete 20:47:13 bd5fdadae976: Pull complete 20:47:13 205491f53016: Pull complete 20:47:14 df18705c85c3: Pull complete 20:47:14 bdb3f477010e: Pull complete 20:47:16 c8a8fc8e1c8f: Pull complete 20:47:16 2c6e9b1d212d: Pull complete 20:47:16 bdb8f0575790: Pull complete 20:47:16 386e3cb2ff24: Pull complete 20:47:16 2343380bae48: Pull complete 20:47:16 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 20:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:16 prd-ubuntu20.04-docker-8c-8g-15477 does not seem to be running inside a container 20:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:47:18 $ docker top 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 -eo pid,comm 20:47:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:47:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:18 [ssh-agent] Looking for ssh-agent implementation... 20:47:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:18 $ docker exec 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 ssh-agent 20:47:18 SSH_AUTH_SOCK=/tmp/ssh-6zZMqaAD5Ha8/agent.33 20:47:18 SSH_AGENT_PID=39 20:47:18 Running ssh-add (command line suppressed) 20:47:19 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_119251527795001850.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_119251527795001850.key) 20:47:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:19 + git tag --points-at HEAD [Pipeline] } 20:47:19 $ docker exec --env ******** --env ******** 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 ssh-agent -k 20:47:19 unset SSH_AUTH_SOCK; 20:47:19 unset SSH_AGENT_PID; 20:47:19 echo Agent pid 39 killed; 20:47:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:47:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:19 [ssh-agent] Looking for ssh-agent implementation... 20:47:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:19 $ docker exec 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 ssh-agent 20:47:19 SSH_AUTH_SOCK=/tmp/ssh-AlwCAYdrNbO4/agent.71 20:47:19 SSH_AGENT_PID=77 20:47:19 Running ssh-add (command line suppressed) 20:47:20 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_580340623748934894.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_580340623748934894.key) 20:47:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:20 + git semver init 20:47:20 2022-06-23 20:47:20,630 [run_init] DEBUG init version:0.0.0 force:False 20:47:20 2022-06-23 20:47:20,631 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 20:47:20 2022-06-23 20:47:20,631 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 20:47:20 2022-06-23 20:47:20,631 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-90/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90, universal_newlines=False, shell=None, istream=None) 20:47:21 2022-06-23 20:47:21,338 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 20:47:21 2022-06-23 20:47:21,339 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 20:47:21 2022-06-23 20:47:21,340 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 20:47:21 2022-06-23 20:47:21,347 [execute] INFO git cat-file --batch-check 20:47:21 2022-06-23 20:47:21,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 20:47:21 2022-06-23 20:47:21,353 [execute] INFO git cat-file --batch 20:47:21 2022-06-23 20:47:21,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 20:47:21 2022-06-23 20:47:21,359 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 20:47:21 0.0.0 [Pipeline] } 20:47:21 $ docker exec --env ******** --env ******** 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 ssh-agent -k 20:47:21 unset SSH_AUTH_SOCK; 20:47:21 unset SSH_AGENT_PID; 20:47:21 echo Agent pid 77 killed; 20:47:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:22 + git semver [Pipeline] } 20:47:22 $ docker stop --time=1 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 20:47:23 $ docker rm -f 00681213a2efc3e8a6573f5337571d42c7852020d39ed9044bdc6adcfcf99048 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:47:24 Stashed 1 file(s) [Pipeline] echo 20:47:24 [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 20:47:25 provisioning config files... 20:47:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config8086275403489610174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:25 ---> docker-login.sh 20:47:25 nexus3.edgexfoundry.org:10001 20:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:25 Configure a credential helper to remove this warning. See 20:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:25 20:47:25 Login Succeeded 20:47:25 nexus3.edgexfoundry.org:10002 20:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:25 Configure a credential helper to remove this warning. See 20:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:25 20:47:25 Login Succeeded 20:47:25 nexus3.edgexfoundry.org:10003 20:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:25 Configure a credential helper to remove this warning. See 20:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:25 20:47:25 Login Succeeded 20:47:25 nexus3.edgexfoundry.org:10004 20:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:25 Configure a credential helper to remove this warning. See 20:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:25 20:47:25 Login Succeeded 20:47:25 docker.io 20:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:26 Configure a credential helper to remove this warning. See 20:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:26 20:47:26 Login Succeeded 20:47:26 ---> docker-login.sh ends [Pipeline] } 20:47:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:47:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:47:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:47:26 ========================================================= 20:47:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:47:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:27 + 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 . 20:47:27 Sending build context to Docker daemon 8.836MB 20:47:27 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:47:27 Step 2/13 : FROM ${BASE} AS builder 20:47:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:47:27 59bf1c3509f3: Pulling fs layer 20:47:27 666ba61612fd: Pulling fs layer 20:47:27 8ed8ca486205: Pulling fs layer 20:47:27 cc1cd167ecdc: Pulling fs layer 20:47:27 c516ae0d96e1: Pulling fs layer 20:47:27 684cea983483: Pulling fs layer 20:47:27 dd3240ac7de5: Pulling fs layer 20:47:27 b1e948a4e11c: Pulling fs layer 20:47:27 a8fd76ee1af6: Pulling fs layer 20:47:27 646ad004c059: Pulling fs layer 20:47:27 684cea983483: Waiting 20:47:27 a8fd76ee1af6: Waiting 20:47:27 dd3240ac7de5: Waiting 20:47:27 b1e948a4e11c: Waiting 20:47:27 c516ae0d96e1: Waiting 20:47:27 666ba61612fd: Verifying Checksum 20:47:27 666ba61612fd: Download complete 20:47:27 c516ae0d96e1: Verifying Checksum 20:47:27 c516ae0d96e1: Download complete 20:47:27 684cea983483: Verifying Checksum 20:47:27 684cea983483: Download complete 20:47:27 59bf1c3509f3: Verifying Checksum 20:47:27 59bf1c3509f3: Download complete 20:47:27 dd3240ac7de5: Download complete 20:47:27 b1e948a4e11c: Verifying Checksum 20:47:27 b1e948a4e11c: Download complete 20:47:27 59bf1c3509f3: Pull complete 20:47:27 666ba61612fd: Pull complete 20:47:27 8ed8ca486205: Pull complete 20:47:27 646ad004c059: Verifying Checksum 20:47:27 646ad004c059: Download complete 20:47:27 a8fd76ee1af6: Verifying Checksum 20:47:27 a8fd76ee1af6: Download complete 20:47:28 cc1cd167ecdc: Verifying Checksum 20:47:28 cc1cd167ecdc: Download complete 20:47:32 cc1cd167ecdc: Pull complete 20:47:32 c516ae0d96e1: Pull complete 20:47:32 684cea983483: Pull complete 20:47:32 dd3240ac7de5: Pull complete 20:47:32 b1e948a4e11c: Pull complete 20:47:34 a8fd76ee1af6: Pull complete 20:47:35 646ad004c059: Pull complete 20:47:35 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 20:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:47:35 ---> 8f69c11f6b0c 20:47:35 Step 3/13 : ARG MAKE="make build" 20:47:37 ---> Running in cb3b85c5c36e 20:47:37 Removing intermediate container cb3b85c5c36e 20:47:37 ---> 121b9d7edf3b 20:47:37 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:47:37 ---> Running in fce0c3a95237 20:47:37 Removing intermediate container fce0c3a95237 20:47:37 ---> e02da5ec582a 20:47:37 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:47:37 ---> Running in c59c398c2db3 20:47:37 Removing intermediate container c59c398c2db3 20:47:37 ---> 03d018d6ef28 20:47:37 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:47:37 ---> Running in 24103602dd2e 20:47:37 Removing intermediate container 24103602dd2e 20:47:37 ---> b98112351669 20:47:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:37 ---> Running in f75c735adae9 20:47:38 Removing intermediate container f75c735adae9 20:47:38 ---> c948c8c4986f 20:47:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:38 ---> Running in b5c3ad2fb8cb 20:47:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:47:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:47:39 OK: 221 MiB in 52 packages 20:47:39 Still waiting to schedule task 20:47:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:47:40 Removing intermediate container b5c3ad2fb8cb 20:47:40 ---> 753993f8a35c 20:47:40 Step 9/13 : WORKDIR /device-onvif-camera 20:47:40 ---> Running in aec460874a32 20:47:40 Removing intermediate container aec460874a32 20:47:40 ---> 6ff4e6b0fa5b 20:47:40 Step 10/13 : COPY go.mod vendor* ./ 20:47:40 ---> 97158b128409 20:47:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:40 ---> Running in cca8b4196f82 20:48:02 Removing intermediate container cca8b4196f82 20:48:02 ---> 6998a85ef9b0 20:48:02 Step 12/13 : COPY . . 20:48:02 ---> b59d2fd7c9d3 20:48:02 Step 13/13 : RUN ${MAKE} 20:48:02 ---> Running in d197dd4ae9b9 20:48:02 noop 20:48:02 Removing intermediate container d197dd4ae9b9 20:48:02 ---> 399ddde577fe 20:48:02 Successfully built 399ddde577fe 20:48:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:02 + docker inspect -f . ci-base-image-x86_64 20:48:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:03 prd-ubuntu20.04-docker-8c-8g-15477 does not seem to be running inside a container 20:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 ******** ci-base-image-x86_64 cat 20:48:03 $ docker top 60dc1fc4c7663cf6d35be6e302709fa566cd6e3103f7a8811c437c9170b28cea -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:04 + go version 20:48:04 go version go1.17.7 linux/amd64 [Pipeline] } 20:48:04 $ docker stop --time=1 60dc1fc4c7663cf6d35be6e302709fa566cd6e3103f7a8811c437c9170b28cea 20:48:05 $ docker rm -f 60dc1fc4c7663cf6d35be6e302709fa566cd6e3103f7a8811c437c9170b28cea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:06 + docker inspect -f . ci-base-image-x86_64 20:48:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:06 prd-ubuntu20.04-docker-8c-8g-15477 does not seem to be running inside a container 20:48:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 ******** ci-base-image-x86_64 cat 20:48:06 $ docker top df9b8aab3742c1e41902c1fae73027998fea2b9a3374a72f6fc11a4f714cc728 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:48:07 + make test 20:48:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:48:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:48:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:48:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.4% of statements 20:48:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.501s coverage: 13.8% of statements 20:48:31 internal/driver/credentials.go:98:18: func `(*Driver).getCredentialsFromMac` is unused (unused) 20:48:31 func (d *Driver) getCredentialsFromMac(mac string) (Credentials, errors.EdgeX) { 20:48:31 ^ 20:48:31 make: *** [Makefile:52: lint] Error 1 [Pipeline] } 20:48:31 $ docker stop --time=1 df9b8aab3742c1e41902c1fae73027998fea2b9a3374a72f6fc11a4f714cc728 20:48:33 $ docker rm -f df9b8aab3742c1e41902c1fae73027998fea2b9a3374a72f6fc11a4f714cc728 [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 20:48:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:34 20:48:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:34 latest: Pulling from edgex-lftools-log-publisher 20:48:34 5eb5b503b376: Pulling fs layer 20:48:34 5c69ac0246d0: Pulling fs layer 20:48:34 ec43610c2a17: Pulling fs layer 20:48:34 3a2ae6a8a46f: Pulling fs layer 20:48:34 33b1e0a273af: Pulling fs layer 20:48:34 5d3b04190fa2: Pulling fs layer 20:48:34 2f39f015ded8: Pulling fs layer 20:48:34 5d3b04190fa2: Waiting 20:48:34 2f39f015ded8: Waiting 20:48:34 3a2ae6a8a46f: Waiting 20:48:34 5c69ac0246d0: Verifying Checksum 20:48:34 3a2ae6a8a46f: Download complete 20:48:35 33b1e0a273af: Verifying Checksum 20:48:35 33b1e0a273af: Download complete 20:48:35 5d3b04190fa2: Download complete 20:48:35 ec43610c2a17: Verifying Checksum 20:48:35 ec43610c2a17: Download complete 20:48:35 5eb5b503b376: Verifying Checksum 20:48:35 5eb5b503b376: Download complete 20:48:35 2f39f015ded8: Download complete 20:48:36 5eb5b503b376: Pull complete 20:48:36 5c69ac0246d0: Pull complete 20:48:37 ec43610c2a17: Pull complete 20:48:37 3a2ae6a8a46f: Pull complete 20:48:37 33b1e0a273af: Pull complete 20:48:37 5d3b04190fa2: Pull complete 20:48:42 2f39f015ded8: Pull complete 20:48:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:48:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:42 prd-ubuntu20.04-docker-8c-8g-15477 does not seem to be running inside a container 20:48:42 $ 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-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:48:44 $ docker top d7fec9f33a6c88409a654374e298513f059540eac3e48756dc471b1c22d41414 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:45 ---> job-cost.sh 20:48:45 lf-activate-venv: SKIPPING 20:48:45 INFO: No Stack... 20:48:45 INFO: Retrieving Pricing Info for: v3-standard-8 20:48:45 INFO: Archiving Costs [Pipeline] sh 20:48:46 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 20:48:46 + cut -d, -f6 [Pipeline] lock 20:48:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] 20:48:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] did not exist. Created. 20:48:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:48:46 + echo total: 0.2199999988079071 [Pipeline] stash 20:48:46 Stashed 1 file(s) [Pipeline] } 20:48:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:48:46 $ docker stop --time=1 d7fec9f33a6c88409a654374e298513f059540eac3e48756dc471b1c22d41414 20:48:47 $ docker rm -f d7fec9f33a6c88409a654374e298513f059540eac3e48756dc471b1c22d41414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:48:48 Failed in branch amd64 20:49:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15478 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 20:49:16 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 20:49:17 Selected Git installation does not exist. Using Default 20:49:17 The recommended git tool is: NONE 20:49:24 using credential edgex-jenkins-ssh 20:49:24 Cloning the remote Git repository 20:49:24 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:49:24 > git init /w/workspace/device-onvif-camera/1 # timeout=10 20:49:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:49:24 > git --version # timeout=10 20:49:24 > git --version # 'git version 2.25.1' 20:49:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:26 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 5ae8dd9ecedac467251da36a62b7ed44b21294f0 20:49:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:49:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:49:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:49:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:49:26 > git config core.sparsecheckout # timeout=10 20:49:26 > git checkout -f 5ae8dd9ecedac467251da36a62b7ed44b21294f0 # timeout=10 20:49:26 Merge succeeded, producing ba653d942f4e851b35912e0ae1e821c5b40ec06a 20:49:26 Checking out Revision ba653d942f4e851b35912e0ae1e821c5b40ec06a (PR-90) 20:49:26 > git remote # timeout=10 20:49:26 > git config --get remote.origin.url # timeout=10 20:49:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:26 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 20:49:26 > git rev-parse HEAD^{commit} # timeout=10 20:49:26 > git config core.sparsecheckout # timeout=10 20:49:26 > git checkout -f ba653d942f4e851b35912e0ae1e821c5b40ec06a # timeout=10 20:49:30 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 20:49:30 First time build. Skipping changelog. 20:49:30 > git --version # timeout=10 20:49:30 > git --version # 'git version 2.25.1' 20:49:30 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:49:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:49:31 Dload Upload Total Spent Left Speed 20:49:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 86288 [Pipeline] sh 20:49:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:49:33 + sudo tee /etc/docker/daemon.new 20:49:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:49:33 { 20:49:33 "registry-mirrors": [ 20:49:33 "https://nexus3.edgexfoundry.org:10001" 20:49:33 ], 20:49:33 "bip": "10.250.0.254/24", 20:49:33 "hosts": [ 20:49:33 "tcp://0.0.0.0:5555", 20:49:33 "unix:///var/run/docker.sock" 20:49:33 ], 20:49:33 "mtu": 1458, 20:49:33 "selinux-enabled": true, 20:49:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:49:33 } [Pipeline] sh 20:49:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:49:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:52 provisioning config files... 20:49:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5758170594870556493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:52 ---> docker-login.sh 20:49:52 nexus3.edgexfoundry.org:10001 20:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:53 Configure a credential helper to remove this warning. See 20:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:53 20:49:53 Login Succeeded 20:49:53 nexus3.edgexfoundry.org:10002 20:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 nexus3.edgexfoundry.org:10003 20:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 nexus3.edgexfoundry.org:10004 20:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 docker.io 20:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:55 Configure a credential helper to remove this warning. See 20:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:55 20:49:55 Login Succeeded 20:49:55 ---> docker-login.sh ends [Pipeline] } 20:49:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:49:56 ========================================================= 20:49:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:49:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:56 + 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 . 20:49:57 Sending build context to Docker daemon 6.044MB 20:49:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:49:57 Step 2/13 : FROM ${BASE} AS builder 20:49:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:49:57 9b3977197b4f: Pulling fs layer 20:49:57 1a89e8eeedd5: Pulling fs layer 20:49:57 94645a83ff95: Pulling fs layer 20:49:57 e6fb740bc735: Pulling fs layer 20:49:57 3a77bd46dcc9: Pulling fs layer 20:49:57 355e64cbe906: Pulling fs layer 20:49:57 63ab81a10011: Pulling fs layer 20:49:57 555d1d1c4555: Pulling fs layer 20:49:57 7d9057610161: Pulling fs layer 20:49:57 e6fb740bc735: Waiting 20:49:57 3a77bd46dcc9: Waiting 20:49:57 355e64cbe906: Waiting 20:49:57 63ab81a10011: Waiting 20:49:57 555d1d1c4555: Waiting 20:49:57 7d9057610161: Waiting 20:49:57 94645a83ff95: Verifying Checksum 20:49:57 1a89e8eeedd5: Verifying Checksum 20:49:57 1a89e8eeedd5: Download complete 20:49:57 3a77bd46dcc9: Verifying Checksum 20:49:57 3a77bd46dcc9: Download complete 20:49:57 355e64cbe906: Verifying Checksum 20:49:57 355e64cbe906: Download complete 20:49:57 9b3977197b4f: Verifying Checksum 20:49:57 9b3977197b4f: Download complete 20:49:57 63ab81a10011: Verifying Checksum 20:49:57 63ab81a10011: Download complete 20:49:58 9b3977197b4f: Pull complete 20:49:58 7d9057610161: Verifying Checksum 20:49:58 7d9057610161: Download complete 20:49:58 1a89e8eeedd5: Pull complete 20:49:59 94645a83ff95: Pull complete 20:49:59 555d1d1c4555: Download complete 20:50:00 e6fb740bc735: Verifying Checksum 20:50:00 e6fb740bc735: Download complete 20:50:12 e6fb740bc735: Pull complete 20:50:12 3a77bd46dcc9: Pull complete 20:50:12 355e64cbe906: Pull complete 20:50:12 63ab81a10011: Pull complete 20:50:19 555d1d1c4555: Pull complete 20:50:20 7d9057610161: Pull complete 20:50:20 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 20:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:50:20 ---> 819e984ddca1 20:50:20 Step 3/13 : ARG MAKE="make build" 20:50:22 ---> Running in ac6151403f1d 20:50:22 Removing intermediate container ac6151403f1d 20:50:22 ---> c27cf5b798df 20:50:22 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:50:22 ---> Running in a5e32c13af0f 20:50:23 Removing intermediate container a5e32c13af0f 20:50:23 ---> 463c5d5e90e2 20:50:23 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:50:23 ---> Running in d60fda442c2b 20:50:23 Removing intermediate container d60fda442c2b 20:50:23 ---> 825c151e7283 20:50:23 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:50:23 ---> Running in d6f3e8caf150 20:50:24 Removing intermediate container d6f3e8caf150 20:50:24 ---> eaeea6ac7a25 20:50:24 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:24 ---> Running in bdd88fdbb94e 20:50:27 Removing intermediate container bdd88fdbb94e 20:50:27 ---> 9e34584495a6 20:50:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:27 ---> Running in 0aa0a99e9b4d 20:50:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:50:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:50:29 OK: 220 MiB in 52 packages 20:50:30 Removing intermediate container 0aa0a99e9b4d 20:50:30 ---> 3f5b66926014 20:50:30 Step 9/13 : WORKDIR /device-onvif-camera 20:50:30 ---> Running in 048d8aa0a520 20:50:30 Removing intermediate container 048d8aa0a520 20:50:30 ---> 1dc057d1e4eb 20:50:30 Step 10/13 : COPY go.mod vendor* ./ 20:50:31 ---> 6aa09768bfd4 20:50:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:31 ---> Running in 2cce47a3f348 20:51:18 Removing intermediate container 2cce47a3f348 20:51:18 ---> 83fcc9f3aa3d 20:51:18 Step 12/13 : COPY . . 20:51:18 ---> a2e14005d1b7 20:51:18 Step 13/13 : RUN ${MAKE} 20:51:18 ---> Running in 6e7c8951e720 20:51:18 noop 20:51:19 Removing intermediate container 6e7c8951e720 20:51:19 ---> 1604c8af524f 20:51:19 Successfully built 1604c8af524f 20:51:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:19 + docker inspect -f . ci-base-image-arm64 20:51:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:19 prd-ubuntu20.04-docker-arm64-4c-16g-15478 does not seem to be running inside a container 20:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:51:21 $ docker top 47982a9f51ee7fa0d6dd1f071b610b2a348d5cdd3caf60372eab7a136957675f -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:22 + go version 20:51:22 go version go1.17.7 linux/arm64 [Pipeline] } 20:51:22 $ docker stop --time=1 47982a9f51ee7fa0d6dd1f071b610b2a348d5cdd3caf60372eab7a136957675f 20:51:23 $ docker rm -f 47982a9f51ee7fa0d6dd1f071b610b2a348d5cdd3caf60372eab7a136957675f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:24 + docker inspect -f . ci-base-image-arm64 20:51:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:25 prd-ubuntu20.04-docker-arm64-4c-16g-15478 does not seem to be running inside a container 20:51:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:51:26 $ docker top 988e0dfda4df6a4b43261e638735e2ebe3fa56b9beeac151dbbc25032aa0a535 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:51:27 + make test 20:51:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:51:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:53:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:53:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.076s coverage: 1.4% of statements 20:53:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.765s coverage: 13.8% of statements 20:53:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:53:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:53:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:53:44 ./internal/driver/macmapper.go 20:53:44 ./internal/driver/config.go 20:53:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:53:44 make: *** [Makefile:57: test] Error 1 [Pipeline] } 20:53:44 $ docker stop --time=1 988e0dfda4df6a4b43261e638735e2ebe3fa56b9beeac151dbbc25032aa0a535 20:53:46 $ docker rm -f 988e0dfda4df6a4b43261e638735e2ebe3fa56b9beeac151dbbc25032aa0a535 [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 20:53:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:53:48 20:53:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:53:48 arm64: Pulling from edgex-lftools-log-publisher 20:53:48 8998bd30e6a1: Pulling fs layer 20:53:48 04944245beec: Pulling fs layer 20:53:48 699f458cf7ca: Pulling fs layer 20:53:48 765212b225bb: Pulling fs layer 20:53:48 f23df028b6ca: Pulling fs layer 20:53:48 d65c8cfc05b1: Pulling fs layer 20:53:48 2437ff75d9bd: Pulling fs layer 20:53:48 f23df028b6ca: Waiting 20:53:48 765212b225bb: Waiting 20:53:48 2437ff75d9bd: Waiting 20:53:48 d65c8cfc05b1: Waiting 20:53:48 04944245beec: Verifying Checksum 20:53:48 04944245beec: Download complete 20:53:48 765212b225bb: Verifying Checksum 20:53:48 765212b225bb: Download complete 20:53:48 f23df028b6ca: Download complete 20:53:48 d65c8cfc05b1: Verifying Checksum 20:53:48 d65c8cfc05b1: Download complete 20:53:49 699f458cf7ca: Verifying Checksum 20:53:49 699f458cf7ca: Download complete 20:53:49 8998bd30e6a1: Verifying Checksum 20:53:49 8998bd30e6a1: Download complete 20:53:52 2437ff75d9bd: Verifying Checksum 20:53:52 2437ff75d9bd: Download complete 20:53:53 8998bd30e6a1: Pull complete 20:53:54 04944245beec: Pull complete 20:53:55 699f458cf7ca: Pull complete 20:53:55 765212b225bb: Pull complete 20:53:56 f23df028b6ca: Pull complete 20:53:56 d65c8cfc05b1: Pull complete 20:54:12 2437ff75d9bd: Pull complete 20:54:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:54:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:12 prd-ubuntu20.04-docker-arm64-4c-16g-15478 does not seem to be running inside a container 20:54:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:54:14 $ docker top 75235c332a4fffa1b00ea972b6e3e21bc9a047e7b1796d3177080ca3a31c7246 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:15 ---> job-cost.sh 20:54:15 lf-activate-venv: SKIPPING 20:54:15 INFO: No Stack... 20:54:16 INFO: Retrieving Pricing Info for: v3-standard-4 20:54:17 INFO: Archiving Costs [Pipeline] sh 20:54:17 + cut -d, -f6 20:54:17 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 20:54:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] 20:54:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] did not exist. Created. 20:54:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:18 /w/workspace/device-onvif-camera/1@tmp/durable-a002c30e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:54:19 + echo total: 0.10999999940395355 [Pipeline] stash 20:54:19 Warning: overwriting stash ‘stack-cost’ 20:54:19 Stashed 1 file(s) [Pipeline] } 20:54:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:19 $ docker stop --time=1 75235c332a4fffa1b00ea972b6e3e21bc9a047e7b1796d3177080ca3a31c7246 20:54:21 $ docker rm -f 75235c332a4fffa1b00ea972b6e3e21bc9a047e7b1796d3177080ca3a31c7246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:54:22 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 20:54:24 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 20:54:24 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:54:24 total 16 20:54:24 drwxr-xr-x 3 root root 4096 Jun 23 20:48 . 20:54:24 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 20:48 .. 20:54:24 drwxr-xr-x 2 root root 4096 Jun 23 20:48 cost 20:54:24 -rw-r--r-- 1 root root 89 Jun 23 20:48 cost.csv 20:54:24 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:54:24 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:54:24 total 16 20:54:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 20:48 . 20:54:24 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 20:48 .. 20:54:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 20:48 cost 20:54:24 -rw-r--r-- 1 jenkins jenkins 89 Jun 23 20:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:54:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:54:25 ---> package-listing.sh 20:54:25 ++ facter osfamily 20:54:25 ++ tr '[:upper:]' '[:lower:]' 20:54:25 + OS_FAMILY=debian 20:54:25 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 20:54:25 + START_PACKAGES=/tmp/packages_start.txt 20:54:25 + END_PACKAGES=/tmp/packages_end.txt 20:54:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:54:25 + PACKAGES=/tmp/packages_start.txt 20:54:25 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 20:54:25 + PACKAGES=/tmp/packages_end.txt 20:54:25 + case "${OS_FAMILY}" in 20:54:25 + dpkg -l 20:54:25 + grep '^ii' 20:54:25 + '[' -f /tmp/packages_start.txt ']' 20:54:25 + '[' -f /tmp/packages_end.txt ']' 20:54:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:54:25 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 20:54:25 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 20:54:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [Pipeline] echo 20:54:25 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-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:54:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:26 prd-ubuntu20.04-docker-8c-8g-15477 does not seem to be running inside a container 20:54:26 $ 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-90/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-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:54:27 $ docker top 53b6413cacf78a208c945cb9f3ef0a78f216a699cc76523a5bbfbbf179ba492f -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:27 + touch /tmp/pre-build-complete [Pipeline] sh 20:54:27 + mkdir -p /var/log/sysstat [Pipeline] sh 20:54:28 + ls /var/log/sa-host 20:54:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:28 provisioning config files... 20:54:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config3915302796175351813tmp [Pipeline] { [Pipeline] echo 20:54:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:54:28 ---> create-netrc.sh [Pipeline] } 20:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:54:29 ---> python-tools-install.sh [Pipeline] echo 20:54:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:54:29 ---> sudo-logs.sh 20:54:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:54:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:54:29 ---> job-cost.sh 20:54:29 lf-activate-venv: SKIPPING 20:54:29 DEBUG: total: 0.2199999988079071 20:54:29 INFO: Retrieving Stack Cost... 20:54:30 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:30 INFO: Archiving Costs [Pipeline] echo 20:54:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:54:31 ---> logs-deploy.sh 20:54:31 lf-activate-venv: SKIPPING 20:54:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/1 20:54:31 INFO: archiving workspace using pattern(s): 20:54:31 Archives upload complete. 20:54:31 INFO: archiving logs to Nexus