Pull request #90 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 brianointel for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 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-ssh1906889104401634664.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-ssh3721864559183224178.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-90/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-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8026871922018165734.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-ssh13501959602689171475.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-90/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-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6459620040942256480.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-16138’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16140 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 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 Merge succeeded, producing f4fc899c9c0cf47e28fb3935b18676daa7a04e6b Checking out Revision f4fc899c9c0cf47e28fb3935b18676daa7a04e6b (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 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 # 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 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:24:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:24:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:24:10 ========================================================= 20:24:10 EdgeX Global Pipelines Version Info 20:24:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a # timeout=10 20:24:11 ------------------- 20:24:11 stable info: 20:24:11 ------------------- 20:24:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:24:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:24:11 Message: update stable to v1.0.234 20:24:11 ------------------- 20:24:11 experimental info: 20:24:11 ------------------- 20:24:11 Commited By: **** collab-it+edgex@linuxfoundation.org 20:24:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:24:11 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4fc899 [Pipeline] echo 20:24:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:12 provisioning config files... 20:24:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5490791457100771742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:12 ---> docker-login.sh 20:24:12 nexus3.edgexfoundry.org:10001 20:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:12 Configure a credential helper to remove this warning. See 20:24:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:12 20:24:12 Login Succeeded 20:24:12 nexus3.edgexfoundry.org:10002 20:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:13 Configure a credential helper to remove this warning. See 20:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:13 20:24:13 Login Succeeded 20:24:13 nexus3.edgexfoundry.org:10003 20:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:13 Configure a credential helper to remove this warning. See 20:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:13 20:24:13 Login Succeeded 20:24:13 nexus3.edgexfoundry.org:10004 20:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:13 Configure a credential helper to remove this warning. See 20:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:13 20:24:13 Login Succeeded 20:24:13 docker.io 20:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:13 Configure a credential helper to remove this warning. See 20:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:13 20:24:13 Login Succeeded 20:24:13 ---> docker-login.sh ends [Pipeline] } 20:24:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:24:14 + git rev-list -1 --merges f4fc899c9c0cf47e28fb3935b18676daa7a04e6b~1..f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo 20:24:14 -----------> git rev-list -1 --merges f4fc899c9c0cf47e28fb3935b18676daa7a04e6b~1..f4fc899c9c0cf47e28fb3935b18676daa7a04e6b f4fc899c9c0cf47e28fb3935b18676daa7a04e6b 20:24:14 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [false] [Pipeline] sh 20:24:14 + git log --format=format:%s -1 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo 20:24:14 ========================================================= 20:24:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:24:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:15 + git log --format=format:%s -1 f4fc899c9c0cf47e28fb3935b18676daa7a04e6b [Pipeline] echo 20:24:15 [semverPrep] GIT_COMMIT: f4fc899c9c0cf47e28fb3935b18676daa7a04e6b, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 20:24:15 [semverPrep] This is not a build commit. [Pipeline] sh 20:24:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:24:15 + grep -v github /etc/ssh/ssh_known_hosts 20:24:15 + [ -e /tmp/ssh_known_hosts ] 20:24:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:24:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:24:15 + sudo tee -a /etc/ssh/ssh_known_hosts 20:24:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:15 20:24:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:16 0.1.4: Pulling from edgex-devops/py-git-semver 20:24:16 42c077c10790: Pulling fs layer 20:24:16 f63e77b7563a: Pulling fs layer 20:24:16 bd5fdadae976: Pulling fs layer 20:24:16 205491f53016: Pulling fs layer 20:24:16 df18705c85c3: Pulling fs layer 20:24:16 bdb3f477010e: Pulling fs layer 20:24:16 c8a8fc8e1c8f: Pulling fs layer 20:24:16 2c6e9b1d212d: Pulling fs layer 20:24:16 bdb8f0575790: Pulling fs layer 20:24:16 386e3cb2ff24: Pulling fs layer 20:24:16 2343380bae48: Pulling fs layer 20:24:16 205491f53016: Waiting 20:24:16 df18705c85c3: Waiting 20:24:16 bdb3f477010e: Waiting 20:24:16 2c6e9b1d212d: Waiting 20:24:16 386e3cb2ff24: Waiting 20:24:16 bdb8f0575790: Waiting 20:24:16 2343380bae48: Waiting 20:24:16 c8a8fc8e1c8f: Waiting 20:24:16 f63e77b7563a: Download complete 20:24:16 205491f53016: Verifying Checksum 20:24:16 205491f53016: Download complete 20:24:16 df18705c85c3: Verifying Checksum 20:24:16 df18705c85c3: Download complete 20:24:16 bdb3f477010e: Verifying Checksum 20:24:16 bdb3f477010e: Download complete 20:24:16 bd5fdadae976: Verifying Checksum 20:24:16 bd5fdadae976: Download complete 20:24:16 2c6e9b1d212d: Download complete 20:24:16 bdb8f0575790: Verifying Checksum 20:24:16 bdb8f0575790: Download complete 20:24:16 386e3cb2ff24: Verifying Checksum 20:24:16 386e3cb2ff24: Download complete 20:24:16 2343380bae48: Verifying Checksum 20:24:16 2343380bae48: Download complete 20:24:16 42c077c10790: Verifying Checksum 20:24:16 42c077c10790: Download complete 20:24:16 c8a8fc8e1c8f: Download complete 20:24:18 42c077c10790: Pull complete 20:24:18 f63e77b7563a: Pull complete 20:24:18 bd5fdadae976: Pull complete 20:24:18 205491f53016: Pull complete 20:24:18 df18705c85c3: Pull complete 20:24:18 bdb3f477010e: Pull complete 20:24:20 c8a8fc8e1c8f: Pull complete 20:24:21 2c6e9b1d212d: Pull complete 20:24:21 bdb8f0575790: Pull complete 20:24:21 386e3cb2ff24: Pull complete 20:24:21 2343380bae48: Pull complete 20:24:21 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 20:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:21 prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container 20:24:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:24:22 $ docker top 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 -eo pid,comm 20:24:22 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:24:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:22 [ssh-agent] Looking for ssh-agent implementation... 20:24:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:23 $ docker exec 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent 20:24:23 SSH_AUTH_SOCK=/tmp/ssh-dkNnkjsEGzG7/agent.33 20:24:23 SSH_AGENT_PID=39 20:24:23 Running ssh-add (command line suppressed) 20:24:23 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5442842064289855127.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5442842064289855127.key) 20:24:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:23 + git tag --points-at HEAD [Pipeline] } 20:24:23 $ docker exec --env ******** --env ******** 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent -k 20:24:23 unset SSH_AUTH_SOCK; 20:24:23 unset SSH_AGENT_PID; 20:24:23 echo Agent pid 39 killed; 20:24:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:24:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:23 [ssh-agent] Looking for ssh-agent implementation... 20:24:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:23 $ docker exec 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent 20:24:24 SSH_AUTH_SOCK=/tmp/ssh-Id88HTcCJgEm/agent.71 20:24:24 SSH_AGENT_PID=78 20:24:24 Running ssh-add (command line suppressed) 20:24:24 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_931168320273741436.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_931168320273741436.key) 20:24:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:24 + git semver init 20:24:25 2022-06-27 20:24:24,729 [run_init] DEBUG init version:0.0.0 force:False 20:24:25 2022-06-27 20:24:24,729 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 20:24:25 2022-06-27 20:24:24,730 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 20:24:25 2022-06-27 20:24:24,730 [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:24:25 2022-06-27 20:24:25,398 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 20:24:25 2022-06-27 20:24:25,399 [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:24:25 2022-06-27 20:24:25,399 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 20:24:25 2022-06-27 20:24:25,403 [execute] INFO git cat-file --batch-check 20:24:25 2022-06-27 20:24:25,404 [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:24:25 2022-06-27 20:24:25,410 [execute] INFO git cat-file --batch 20:24:25 2022-06-27 20:24:25,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 20:24:25 2022-06-27 20:24:25,418 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 20:24:25 0.0.0 [Pipeline] } 20:24:25 $ docker exec --env ******** --env ******** 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 ssh-agent -k 20:24:25 unset SSH_AUTH_SOCK; 20:24:25 unset SSH_AGENT_PID; 20:24:25 echo Agent pid 78 killed; 20:24:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:26 + git semver [Pipeline] } 20:24:26 $ docker stop --time=1 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 20:24:27 $ docker rm -f 18f4abae420bc018a2c20609476c9616256ef693778317697777e30e35345b12 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:24:28 Stashed 1 file(s) [Pipeline] echo 20:24:28 [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:24:28 provisioning config files... 20:24:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5983330124664599264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:28 ---> docker-login.sh 20:24:28 nexus3.edgexfoundry.org:10001 20:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:28 Configure a credential helper to remove this warning. See 20:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:28 20:24:28 Login Succeeded 20:24:28 nexus3.edgexfoundry.org:10002 20:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:28 Configure a credential helper to remove this warning. See 20:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:28 20:24:28 Login Succeeded 20:24:28 nexus3.edgexfoundry.org:10003 20:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:28 Configure a credential helper to remove this warning. See 20:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:28 20:24:28 Login Succeeded 20:24:28 nexus3.edgexfoundry.org:10004 20:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:29 Configure a credential helper to remove this warning. See 20:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:29 20:24:29 Login Succeeded 20:24:29 docker.io 20:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:29 Configure a credential helper to remove this warning. See 20:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:29 20:24:29 Login Succeeded 20:24:29 ---> docker-login.sh ends [Pipeline] } 20:24:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:29 ========================================================= 20:24:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:24:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:29 + 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:24:29 Sending build context to Docker daemon 8.85MB 20:24:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:24:29 Step 2/13 : FROM ${BASE} AS builder 20:24:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:24:29 59bf1c3509f3: Pulling fs layer 20:24:29 666ba61612fd: Pulling fs layer 20:24:29 8ed8ca486205: Pulling fs layer 20:24:29 cc1cd167ecdc: Pulling fs layer 20:24:29 c516ae0d96e1: Pulling fs layer 20:24:29 684cea983483: Pulling fs layer 20:24:29 dd3240ac7de5: Pulling fs layer 20:24:29 b1e948a4e11c: Pulling fs layer 20:24:29 a8fd76ee1af6: Pulling fs layer 20:24:29 646ad004c059: Pulling fs layer 20:24:29 c516ae0d96e1: Waiting 20:24:29 dd3240ac7de5: Waiting 20:24:29 684cea983483: Waiting 20:24:29 b1e948a4e11c: Waiting 20:24:29 a8fd76ee1af6: Waiting 20:24:29 646ad004c059: Waiting 20:24:29 cc1cd167ecdc: Waiting 20:24:29 8ed8ca486205: Verifying Checksum 20:24:29 8ed8ca486205: Download complete 20:24:29 666ba61612fd: Verifying Checksum 20:24:29 666ba61612fd: Download complete 20:24:30 c516ae0d96e1: Verifying Checksum 20:24:30 c516ae0d96e1: Download complete 20:24:30 684cea983483: Verifying Checksum 20:24:30 684cea983483: Download complete 20:24:30 59bf1c3509f3: Verifying Checksum 20:24:30 59bf1c3509f3: Download complete 20:24:30 dd3240ac7de5: Verifying Checksum 20:24:30 dd3240ac7de5: Download complete 20:24:30 b1e948a4e11c: Verifying Checksum 20:24:30 b1e948a4e11c: Download complete 20:24:30 59bf1c3509f3: Pull complete 20:24:30 666ba61612fd: Pull complete 20:24:30 8ed8ca486205: Pull complete 20:24:30 646ad004c059: Verifying Checksum 20:24:30 646ad004c059: Download complete 20:24:30 a8fd76ee1af6: Verifying Checksum 20:24:30 cc1cd167ecdc: Verifying Checksum 20:24:30 cc1cd167ecdc: Download complete 20:24:35 cc1cd167ecdc: Pull complete 20:24:35 c516ae0d96e1: Pull complete 20:24:35 684cea983483: Pull complete 20:24:35 dd3240ac7de5: Pull complete 20:24:35 b1e948a4e11c: Pull complete 20:24:37 a8fd76ee1af6: Pull complete 20:24:38 646ad004c059: Pull complete 20:24:38 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 20:24:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:24:38 ---> 8f69c11f6b0c 20:24:38 Step 3/13 : ARG MAKE="make build" 20:24:39 ---> Running in 5090a80f19db 20:24:39 Removing intermediate container 5090a80f19db 20:24:39 ---> 2e5af49c600f 20:24:39 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:24:39 ---> Running in 6d304ab11098 20:24:40 Removing intermediate container 6d304ab11098 20:24:40 ---> f149d68768a5 20:24:40 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:24:40 ---> Running in d76ca8a3811d 20:24:40 Removing intermediate container d76ca8a3811d 20:24:40 ---> 6646be2b4420 20:24:40 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:24:40 ---> Running in a9846badc461 20:24:40 Removing intermediate container a9846badc461 20:24:40 ---> 195cb52e191f 20:24:40 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:24:40 ---> Running in 06fa06ae3039 20:24:40 Removing intermediate container 06fa06ae3039 20:24:40 ---> cbb7b674c626 20:24:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:40 ---> Running in 67bccfb048cf 20:24:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:24:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:24:42 OK: 221 MiB in 52 packages 20:24:42 Removing intermediate container 67bccfb048cf 20:24:42 ---> 84e72dc075e2 20:24:42 Step 9/13 : WORKDIR /device-onvif-camera 20:24:42 ---> Running in 2d3cc5150f68 20:24:42 Removing intermediate container 2d3cc5150f68 20:24:42 ---> 0beeaef92b56 20:24:42 Step 10/13 : COPY go.mod vendor* ./ 20:24:42 ---> b5eb8c56c171 20:24:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:42 ---> Running in a45f4cd3f3ed 20:24:43 Still waiting to schedule task 20:24:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16139’ is offline 20:24:57 Removing intermediate container a45f4cd3f3ed 20:24:57 ---> 7815a0a33c34 20:24:57 Step 12/13 : COPY . . 20:24:57 ---> 8460ef17c020 20:24:57 Step 13/13 : RUN ${MAKE} 20:24:57 ---> Running in 79d1bc237008 20:24:57 noop 20:24:57 Removing intermediate container 79d1bc237008 20:24:57 ---> 64ca722ae9cc 20:24:57 Successfully built 64ca722ae9cc 20:24:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:58 + docker inspect -f . ci-base-image-x86_64 20:24:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:58 prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container 20:24:58 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:24:58 $ docker top a37c722b6b6f532afb223f2eeb7301679055e30b08263132e1164ff992d27854 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:59 + go version 20:24:59 go version go1.17.7 linux/amd64 [Pipeline] } 20:24:59 $ docker stop --time=1 a37c722b6b6f532afb223f2eeb7301679055e30b08263132e1164ff992d27854 20:25:00 $ docker rm -f a37c722b6b6f532afb223f2eeb7301679055e30b08263132e1164ff992d27854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:00 + docker inspect -f . ci-base-image-x86_64 20:25:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:00 prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container 20:25:00 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:25:01 $ docker top 478cc025e92ce4e44c5251bb7dca2a22c8d57494f1ac2aa438674d1e97d1b6fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:25:01 + make test 20:25:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:25:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:25:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:25:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.012s coverage: 1.4% of statements 20:25:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.404s coverage: 13.8% of statements 20:25:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:25:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:25:28 ./internal/driver/config.go 20:25:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:25:28 make: *** [Makefile:57: test] Error 1 [Pipeline] } 20:25:28 $ docker stop --time=1 478cc025e92ce4e44c5251bb7dca2a22c8d57494f1ac2aa438674d1e97d1b6fc 20:25:30 $ docker rm -f 478cc025e92ce4e44c5251bb7dca2a22c8d57494f1ac2aa438674d1e97d1b6fc [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:25:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:30 20:25:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:30 latest: Pulling from edgex-lftools-log-publisher 20:25:30 5eb5b503b376: Pulling fs layer 20:25:30 5c69ac0246d0: Pulling fs layer 20:25:30 ec43610c2a17: Pulling fs layer 20:25:30 3a2ae6a8a46f: Pulling fs layer 20:25:30 33b1e0a273af: Pulling fs layer 20:25:30 5d3b04190fa2: Pulling fs layer 20:25:30 2f39f015ded8: Pulling fs layer 20:25:30 33b1e0a273af: Waiting 20:25:30 5d3b04190fa2: Waiting 20:25:30 3a2ae6a8a46f: Waiting 20:25:30 2f39f015ded8: Waiting 20:25:30 5c69ac0246d0: Verifying Checksum 20:25:30 5c69ac0246d0: Download complete 20:25:30 3a2ae6a8a46f: Verifying Checksum 20:25:30 3a2ae6a8a46f: Download complete 20:25:30 33b1e0a273af: Verifying Checksum 20:25:30 33b1e0a273af: Download complete 20:25:30 5d3b04190fa2: Download complete 20:25:30 ec43610c2a17: Verifying Checksum 20:25:30 ec43610c2a17: Download complete 20:25:31 5eb5b503b376: Verifying Checksum 20:25:31 5eb5b503b376: Download complete 20:25:31 2f39f015ded8: Download complete 20:25:32 5eb5b503b376: Pull complete 20:25:32 5c69ac0246d0: Pull complete 20:25:32 ec43610c2a17: Pull complete 20:25:33 3a2ae6a8a46f: Pull complete 20:25:33 33b1e0a273af: Pull complete 20:25:33 5d3b04190fa2: Pull complete 20:25:37 2f39f015ded8: Pull complete 20:25:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:25:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:37 prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container 20:25:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:25:39 $ docker top e415afbaf85bec576bb9f925cedd591188cad587a457797c235f549d3cd57d8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:39 ---> job-cost.sh 20:25:39 lf-activate-venv: SKIPPING 20:25:39 INFO: No Stack... 20:25:40 INFO: Retrieving Pricing Info for: v3-standard-8 20:25:40 INFO: Archiving Costs [Pipeline] sh 20:25:40 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 20:25:40 + cut -d, -f6 [Pipeline] lock 20:25:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] 20:25:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] did not exist. Created. 20:25:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:25:40 + echo total: 0.2199999988079071 [Pipeline] stash 20:25:40 Stashed 1 file(s) [Pipeline] } 20:25:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] // lock [Pipeline] } 20:25:40 $ docker stop --time=1 e415afbaf85bec576bb9f925cedd591188cad587a457797c235f549d3cd57d8d 20:25:42 $ docker rm -f e415afbaf85bec576bb9f925cedd591188cad587a457797c235f549d3cd57d8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:25:42 Failed in branch amd64 20:26:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16141 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 20:26:20 Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout 20:26:20 Selected Git installation does not exist. Using Default 20:26:20 The recommended git tool is: NONE 20:26:26 using credential edgex-jenkins-ssh 20:26:26 Cloning the remote Git repository 20:26:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:26:27 > git init /w/workspace/device-onvif-camera/18 # timeout=10 20:26:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:26:27 > git --version # timeout=10 20:26:27 > git --version # 'git version 2.25.1' 20:26:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:26:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:26:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:28 > 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:26:28 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 20:26:29 Merge succeeded, producing 3c2f01796f7c679798e80d02541898615556f002 20:26:29 Checking out Revision 3c2f01796f7c679798e80d02541898615556f002 (PR-90) 20:26:28 > git config core.sparsecheckout # timeout=10 20:26:28 > git checkout -f 0d7e8d3797501fd6c84f8e8e92d2abb8d4fbc968 # timeout=10 20:26:28 > git remote # timeout=10 20:26:28 > git config --get remote.origin.url # timeout=10 20:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:28 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 20:26:29 > git rev-parse HEAD^{commit} # timeout=10 20:26:29 > git config core.sparsecheckout # timeout=10 20:26:29 > git checkout -f 3c2f01796f7c679798e80d02541898615556f002 # timeout=10 20:26:33 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 20:26:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:33 > git rev-list --no-walk 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a # timeout=10 20:26:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:26:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:26:34 Dload Upload Total Spent Left Speed 20:26:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 70017 0 --:--:-- --:--:-- --:--:-- 70017 [Pipeline] sh 20:26:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:26:35 + sudo tee /etc/docker/daemon.new 20:26:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:26:35 { 20:26:35 "registry-mirrors": [ 20:26:35 "https://nexus3.edgexfoundry.org:10001" 20:26:35 ], 20:26:35 "bip": "10.250.0.254/24", 20:26:35 "hosts": [ 20:26:35 "tcp://0.0.0.0:5555", 20:26:35 "unix:///var/run/docker.sock" 20:26:35 ], 20:26:35 "mtu": 1458, 20:26:35 "selinux-enabled": true, 20:26:35 "seccomp-profile": "/etc/docker/seccomp.json" 20:26:35 } [Pipeline] sh 20:26:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:26:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:54 provisioning config files... 20:26:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config8830098502406233742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:54 ---> docker-login.sh 20:26:54 nexus3.edgexfoundry.org:10001 20:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:55 Configure a credential helper to remove this warning. See 20:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:55 20:26:55 Login Succeeded 20:26:55 nexus3.edgexfoundry.org:10002 20:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:56 Configure a credential helper to remove this warning. See 20:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:56 20:26:56 Login Succeeded 20:26:56 nexus3.edgexfoundry.org:10003 20:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:56 Configure a credential helper to remove this warning. See 20:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:56 20:26:56 Login Succeeded 20:26:56 nexus3.edgexfoundry.org:10004 20:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:57 Configure a credential helper to remove this warning. See 20:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:57 20:26:57 Login Succeeded 20:26:57 docker.io 20:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:57 Configure a credential helper to remove this warning. See 20:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:57 20:26:57 Login Succeeded 20:26:57 ---> docker-login.sh ends [Pipeline] } 20:26:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:58 ========================================================= 20:26:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:26:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:58 + 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:26:59 Sending build context to Docker daemon 6.058MB 20:26:59 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:26:59 Step 2/13 : FROM ${BASE} AS builder 20:26:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:26:59 9b3977197b4f: Pulling fs layer 20:26:59 1a89e8eeedd5: Pulling fs layer 20:26:59 94645a83ff95: Pulling fs layer 20:26:59 e6fb740bc735: Pulling fs layer 20:26:59 3a77bd46dcc9: Pulling fs layer 20:26:59 355e64cbe906: Pulling fs layer 20:26:59 63ab81a10011: Pulling fs layer 20:26:59 555d1d1c4555: Pulling fs layer 20:26:59 7d9057610161: Pulling fs layer 20:26:59 e6fb740bc735: Waiting 20:26:59 555d1d1c4555: Waiting 20:26:59 355e64cbe906: Waiting 20:26:59 63ab81a10011: Waiting 20:26:59 7d9057610161: Waiting 20:26:59 3a77bd46dcc9: Waiting 20:26:59 94645a83ff95: Verifying Checksum 20:26:59 1a89e8eeedd5: Verifying Checksum 20:26:59 1a89e8eeedd5: Download complete 20:26:59 3a77bd46dcc9: Verifying Checksum 20:26:59 3a77bd46dcc9: Download complete 20:26:59 355e64cbe906: Verifying Checksum 20:26:59 355e64cbe906: Download complete 20:26:59 9b3977197b4f: Verifying Checksum 20:26:59 9b3977197b4f: Download complete 20:26:59 63ab81a10011: Verifying Checksum 20:26:59 63ab81a10011: Download complete 20:27:00 9b3977197b4f: Pull complete 20:27:00 7d9057610161: Verifying Checksum 20:27:00 7d9057610161: Download complete 20:27:01 1a89e8eeedd5: Pull complete 20:27:01 94645a83ff95: Pull complete 20:27:01 555d1d1c4555: Verifying Checksum 20:27:01 555d1d1c4555: Download complete 20:27:02 e6fb740bc735: Download complete 20:27:14 e6fb740bc735: Pull complete 20:27:14 3a77bd46dcc9: Pull complete 20:27:14 355e64cbe906: Pull complete 20:27:14 63ab81a10011: Pull complete 20:27:21 555d1d1c4555: Pull complete 20:27:23 7d9057610161: Pull complete 20:27:23 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 20:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:27:23 ---> 819e984ddca1 20:27:23 Step 3/13 : ARG MAKE="make build" 20:27:24 ---> Running in 981a263d1448 20:27:24 Removing intermediate container 981a263d1448 20:27:24 ---> 6cb7166117d8 20:27:24 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:27:24 ---> Running in b49675388771 20:27:24 Removing intermediate container b49675388771 20:27:24 ---> 6c652ec49aaa 20:27:24 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:27:25 ---> Running in 8b175019aa95 20:27:25 Removing intermediate container 8b175019aa95 20:27:25 ---> e200b23e683b 20:27:25 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:27:25 ---> Running in 1875d275dade 20:27:25 Removing intermediate container 1875d275dade 20:27:25 ---> c96bf8866b38 20:27:25 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:25 ---> Running in 65f25ccb0c07 20:27:28 Removing intermediate container 65f25ccb0c07 20:27:28 ---> 68328eb28fe1 20:27:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:28 ---> Running in 5c9b6c2f1473 20:27:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:27:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:27:31 OK: 220 MiB in 52 packages 20:27:32 Removing intermediate container 5c9b6c2f1473 20:27:32 ---> 335270f0662a 20:27:32 Step 9/13 : WORKDIR /device-onvif-camera 20:27:32 ---> Running in fb56ee507bb8 20:27:32 Removing intermediate container fb56ee507bb8 20:27:32 ---> 94c1bec8e1f4 20:27:32 Step 10/13 : COPY go.mod vendor* ./ 20:27:32 ---> 3a7bb71ae88a 20:27:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:32 ---> Running in df164a34401f 20:28:19 Removing intermediate container df164a34401f 20:28:19 ---> c4504fe3e6a3 20:28:19 Step 12/13 : COPY . . 20:28:19 ---> 0a55d0f3ead3 20:28:19 Step 13/13 : RUN ${MAKE} 20:28:19 ---> Running in 67bb5e437a48 20:28:19 noop 20:28:20 Removing intermediate container 67bb5e437a48 20:28:20 ---> 538047f9cc8d 20:28:20 Successfully built 538047f9cc8d 20:28:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:20 + docker inspect -f . ci-base-image-arm64 20:28:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:21 prd-ubuntu20.04-docker-arm64-4c-16g-16141 does not seem to be running inside a container 20:28:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-arm64 cat 20:28:22 $ docker top 9fe55016f52c44fb541fa0fb7704c948013c29950d7f4a45bf043c6aa6d36482 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:23 + go version 20:28:23 go version go1.17.7 linux/arm64 [Pipeline] } 20:28:23 $ docker stop --time=1 9fe55016f52c44fb541fa0fb7704c948013c29950d7f4a45bf043c6aa6d36482 20:28:25 $ docker rm -f 9fe55016f52c44fb541fa0fb7704c948013c29950d7f4a45bf043c6aa6d36482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:25 + docker inspect -f . ci-base-image-arm64 20:28:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:26 prd-ubuntu20.04-docker-arm64-4c-16g-16141 does not seem to be running inside a container 20:28:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-arm64 cat 20:28:27 $ docker top 184a963faa12e7300afea1f46380f3111e0682f6396d26fa0897e436a610b2cf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:28:28 + make test 20:28:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:28:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:30:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:30:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 1.4% of statements 20:30:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.083s coverage: 13.8% of statements 20:30:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:30:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:30:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:50 ./internal/driver/config.go 20:30:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:50 make: *** [Makefile:57: test] Error 1 [Pipeline] } 20:30:50 $ docker stop --time=1 184a963faa12e7300afea1f46380f3111e0682f6396d26fa0897e436a610b2cf 20:30:52 $ docker rm -f 184a963faa12e7300afea1f46380f3111e0682f6396d26fa0897e436a610b2cf [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:30:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:53 20:30:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:53 arm64: Pulling from edgex-lftools-log-publisher 20:30:53 8998bd30e6a1: Pulling fs layer 20:30:53 04944245beec: Pulling fs layer 20:30:53 699f458cf7ca: Pulling fs layer 20:30:53 765212b225bb: Pulling fs layer 20:30:53 f23df028b6ca: Pulling fs layer 20:30:53 d65c8cfc05b1: Pulling fs layer 20:30:53 2437ff75d9bd: Pulling fs layer 20:30:53 f23df028b6ca: Waiting 20:30:53 d65c8cfc05b1: Waiting 20:30:53 765212b225bb: Waiting 20:30:53 2437ff75d9bd: Waiting 20:30:53 04944245beec: Verifying Checksum 20:30:53 04944245beec: Download complete 20:30:53 765212b225bb: Verifying Checksum 20:30:53 765212b225bb: Download complete 20:30:53 f23df028b6ca: Download complete 20:30:54 d65c8cfc05b1: Verifying Checksum 20:30:54 d65c8cfc05b1: Download complete 20:30:54 699f458cf7ca: Verifying Checksum 20:30:54 699f458cf7ca: Download complete 20:30:54 8998bd30e6a1: Verifying Checksum 20:30:54 8998bd30e6a1: Download complete 20:30:57 2437ff75d9bd: Verifying Checksum 20:30:57 2437ff75d9bd: Download complete 20:30:59 8998bd30e6a1: Pull complete 20:30:59 04944245beec: Pull complete 20:31:00 699f458cf7ca: Pull complete 20:31:01 765212b225bb: Pull complete 20:31:02 f23df028b6ca: Pull complete 20:31:02 d65c8cfc05b1: Pull complete 20:31:17 2437ff75d9bd: Pull complete 20:31:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:31:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:17 prd-ubuntu20.04-docker-arm64-4c-16g-16141 does not seem to be running inside a container 20:31:17 $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:arm64 cat 20:31:19 $ docker top 200906dbd9dfc60f117f7fdf3ca96ab40cd4018c9050fca080958b4b28c3a445 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:20 ---> job-cost.sh 20:31:20 lf-activate-venv: SKIPPING 20:31:20 INFO: No Stack... 20:31:21 INFO: Retrieving Pricing Info for: v3-standard-4 20:31:22 INFO: Archiving Costs [Pipeline] sh 20:31:22 + cut -d, -f6 20:31:22 + cat /w/workspace/device-onvif-camera/18/archives/cost.csv [Pipeline] lock 20:31:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] 20:31:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] did not exist. Created. 20:31:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:23 /w/workspace/device-onvif-camera/18@tmp/durable-780551b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:31:24 + echo total: 0.10999999940395355 [Pipeline] stash 20:31:24 Warning: overwriting stash ‘stack-cost’ 20:31:24 Stashed 1 file(s) [Pipeline] } 20:31:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-18-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:24 $ docker stop --time=1 200906dbd9dfc60f117f7fdf3ca96ab40cd4018c9050fca080958b4b28c3a445 20:31:26 $ docker rm -f 200906dbd9dfc60f117f7fdf3ca96ab40cd4018c9050fca080958b4b28c3a445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:31:26 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:31:27 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 20:31:27 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:31:27 total 16 20:31:27 drwxr-xr-x 3 root root 4096 Jun 27 20:25 . 20:31:27 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:25 .. 20:31:27 drwxr-xr-x 2 root root 4096 Jun 27 20:25 cost 20:31:27 -rw-r--r-- 1 root root 90 Jun 27 20:25 cost.csv 20:31:27 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:31:27 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 20:31:27 total 16 20:31:27 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:25 . 20:31:27 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:25 .. 20:31:27 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:25 cost 20:31:27 -rw-r--r-- 1 jenkins jenkins 90 Jun 27 20:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:31:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:31:28 ---> package-listing.sh 20:31:28 ++ facter osfamily 20:31:28 ++ tr '[:upper:]' '[:lower:]' 20:31:28 + OS_FAMILY=debian 20:31:28 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 20:31:28 + START_PACKAGES=/tmp/packages_start.txt 20:31:28 + END_PACKAGES=/tmp/packages_end.txt 20:31:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:31:28 + PACKAGES=/tmp/packages_start.txt 20:31:28 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 20:31:28 + PACKAGES=/tmp/packages_end.txt 20:31:28 + case "${OS_FAMILY}" in 20:31:28 + dpkg -l 20:31:28 + grep '^ii' 20:31:28 + '[' -f /tmp/packages_start.txt ']' 20:31:28 + '[' -f /tmp/packages_end.txt ']' 20:31:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:31:28 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 20:31:28 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 20:31:28 + 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:31:28 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:31:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:29 prd-ubuntu20.04-docker-8c-8g-16140 does not seem to be running inside a container 20:31:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:31:30 $ docker top 41d2c710e9f20d85c4945a4928bb8059ba059606ff88ea66099018f43d3c9eae -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:30 + touch /tmp/pre-build-complete [Pipeline] sh 20:31:30 + mkdir -p /var/log/sysstat [Pipeline] sh 20:31:30 + ls /var/log/sa-host 20:31:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:31 provisioning config files... 20:31:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2915127417110011599tmp [Pipeline] { [Pipeline] echo 20:31:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:31:31 ---> create-netrc.sh [Pipeline] } 20:31:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:31:31 ---> python-tools-install.sh [Pipeline] echo 20:31:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:31:32 ---> sudo-logs.sh 20:31:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:31:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:31:32 ---> job-cost.sh 20:31:32 lf-activate-venv: SKIPPING 20:31:32 DEBUG: total: 0.2199999988079071 20:31:32 INFO: Retrieving Stack Cost... 20:31:32 INFO: Retrieving Pricing Info for: v3-standard-8 20:31:33 INFO: Archiving Costs [Pipeline] echo 20:31:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:31:33 ---> logs-deploy.sh 20:31:33 lf-activate-venv: SKIPPING 20:31:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/18 20:31:33 INFO: archiving workspace using pattern(s): 20:31:34 Archives upload complete. 20:31:34 INFO: archiving logs to Nexus