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 92a3a20187124c65fb188098f3a61f9e06eb5bea 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-ssh162784718592414901.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-ssh3077296307214418816.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-ssh7806403332659836324.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-ssh1152665491233198785.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-ssh16055585670146498229.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15538 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 92a3a20187124c65fb188098f3a61f9e06eb5bea Merge succeeded, producing 324f19b2f37f6222761bb6c2ecba80d462a2601b Checking out Revision 324f19b2f37f6222761bb6c2ecba80d462a2601b (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 92a3a20187124c65fb188098f3a61f9e06eb5bea # 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 324f19b2f37f6222761bb6c2ecba80d462a2601b # 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 16:24:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:24:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:24:59 ========================================================= 16:24:59 EdgeX Global Pipelines Version Info 16:24:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1b58f1314da33ec2d2cce30ce1e7bf83db9f21bf # timeout=10 16:24:59 ------------------- 16:24:59 stable info: 16:24:59 ------------------- 16:24:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:24:59 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:24:59 Message: update stable to v1.0.234 16:25:00 ------------------- 16:25:00 experimental info: 16:25:00 ------------------- 16:25:00 Commited By: **** collab-it+edgex@linuxfoundation.org 16:25:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:25:00 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 324f19b2f37f6222761bb6c2ecba80d462a2601b [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 324f19b [Pipeline] echo 16:25:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:01 provisioning config files... 16:25:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5453704365888527233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:01 ---> docker-login.sh 16:25:01 nexus3.edgexfoundry.org:10001 16:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:01 Configure a credential helper to remove this warning. See 16:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:01 16:25:01 Login Succeeded 16:25:01 nexus3.edgexfoundry.org:10002 16:25:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:02 Configure a credential helper to remove this warning. See 16:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:02 16:25:02 Login Succeeded 16:25:02 nexus3.edgexfoundry.org:10003 16:25:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:02 Configure a credential helper to remove this warning. See 16:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:02 16:25:02 Login Succeeded 16:25:02 nexus3.edgexfoundry.org:10004 16:25:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:02 Configure a credential helper to remove this warning. See 16:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:02 16:25:02 Login Succeeded 16:25:02 docker.io 16:25:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:02 Configure a credential helper to remove this warning. See 16:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:02 16:25:02 Login Succeeded 16:25:02 ---> docker-login.sh ends [Pipeline] } 16:25:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:25:03 + git rev-list -1 --merges 324f19b2f37f6222761bb6c2ecba80d462a2601b~1..324f19b2f37f6222761bb6c2ecba80d462a2601b [Pipeline] echo 16:25:03 -----------> git rev-list -1 --merges 324f19b2f37f6222761bb6c2ecba80d462a2601b~1..324f19b2f37f6222761bb6c2ecba80d462a2601b 324f19b2f37f6222761bb6c2ecba80d462a2601b 16:25:03 324f19b2f37f6222761bb6c2ecba80d462a2601b [false] [Pipeline] sh 16:25:03 + git log --format=format:%s -1 324f19b2f37f6222761bb6c2ecba80d462a2601b [Pipeline] echo 16:25:03 ========================================================= 16:25:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:25:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:03 + git log --format=format:%s -1 324f19b2f37f6222761bb6c2ecba80d462a2601b [Pipeline] echo 16:25:03 [semverPrep] GIT_COMMIT: 324f19b2f37f6222761bb6c2ecba80d462a2601b, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 16:25:03 [semverPrep] This is not a build commit. [Pipeline] sh 16:25:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:04 + grep -v github /etc/ssh/ssh_known_hosts 16:25:04 + [ -e /tmp/ssh_known_hosts ] 16:25:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:25:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:25:04 + sudo tee -a /etc/ssh/ssh_known_hosts 16:25:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:04 16:25:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:05 0.1.4: Pulling from edgex-devops/py-git-semver 16:25:05 42c077c10790: Pulling fs layer 16:25:05 f63e77b7563a: Pulling fs layer 16:25:05 bd5fdadae976: Pulling fs layer 16:25:05 205491f53016: Pulling fs layer 16:25:05 df18705c85c3: Pulling fs layer 16:25:05 bdb3f477010e: Pulling fs layer 16:25:05 c8a8fc8e1c8f: Pulling fs layer 16:25:05 2c6e9b1d212d: Pulling fs layer 16:25:05 bdb8f0575790: Pulling fs layer 16:25:05 386e3cb2ff24: Pulling fs layer 16:25:05 2343380bae48: Pulling fs layer 16:25:05 df18705c85c3: Waiting 16:25:05 bdb3f477010e: Waiting 16:25:05 c8a8fc8e1c8f: Waiting 16:25:05 386e3cb2ff24: Waiting 16:25:05 2343380bae48: Waiting 16:25:05 bdb8f0575790: Waiting 16:25:05 205491f53016: Waiting 16:25:05 2c6e9b1d212d: Waiting 16:25:05 f63e77b7563a: Verifying Checksum 16:25:05 f63e77b7563a: Download complete 16:25:05 205491f53016: Download complete 16:25:05 df18705c85c3: Verifying Checksum 16:25:05 df18705c85c3: Download complete 16:25:05 bd5fdadae976: Verifying Checksum 16:25:05 bd5fdadae976: Download complete 16:25:05 bdb3f477010e: Verifying Checksum 16:25:05 2c6e9b1d212d: Verifying Checksum 16:25:05 2c6e9b1d212d: Download complete 16:25:05 bdb8f0575790: Verifying Checksum 16:25:05 bdb8f0575790: Download complete 16:25:05 386e3cb2ff24: Verifying Checksum 16:25:05 386e3cb2ff24: Download complete 16:25:05 2343380bae48: Download complete 16:25:05 42c077c10790: Verifying Checksum 16:25:05 42c077c10790: Download complete 16:25:05 c8a8fc8e1c8f: Download complete 16:25:07 42c077c10790: Pull complete 16:25:07 f63e77b7563a: Pull complete 16:25:07 bd5fdadae976: Pull complete 16:25:07 205491f53016: Pull complete 16:25:07 df18705c85c3: Pull complete 16:25:08 bdb3f477010e: Pull complete 16:25:10 c8a8fc8e1c8f: Pull complete 16:25:10 2c6e9b1d212d: Pull complete 16:25:10 bdb8f0575790: Pull complete 16:25:10 386e3cb2ff24: Pull complete 16:25:10 2343380bae48: Pull complete 16:25:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:10 prd-ubuntu20.04-docker-8c-8g-15538 does not seem to be running inside a container 16:25:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:11 $ docker top 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b -eo pid,comm 16:25:11 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). 16:25:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:12 [ssh-agent] Looking for ssh-agent implementation... 16:25:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:12 $ docker exec 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b ssh-agent 16:25:12 SSH_AUTH_SOCK=/tmp/ssh-CGfLsiF26sYO/agent.33 16:25:12 SSH_AGENT_PID=39 16:25:12 Running ssh-add (command line suppressed) 16:25:12 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6626319581058382340.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6626319581058382340.key) 16:25:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:12 + git tag --points-at HEAD [Pipeline] } 16:25:12 $ docker exec --env ******** --env ******** 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b ssh-agent -k 16:25:12 unset SSH_AUTH_SOCK; 16:25:12 unset SSH_AGENT_PID; 16:25:12 echo Agent pid 39 killed; 16:25:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:25:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:12 [ssh-agent] Looking for ssh-agent implementation... 16:25:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:13 $ docker exec 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b ssh-agent 16:25:13 SSH_AUTH_SOCK=/tmp/ssh-LTqTZrWOwmz2/agent.71 16:25:13 SSH_AGENT_PID=77 16:25:13 Running ssh-add (command line suppressed) 16:25:13 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7533829999878015247.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7533829999878015247.key) 16:25:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:13 + git semver init 16:25:13 2022-06-24 16:25:13,818 [run_init] DEBUG init version:0.0.0 force:False 16:25:13 2022-06-24 16:25:13,819 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 16:25:13 2022-06-24 16:25:13,819 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 16:25:13 2022-06-24 16:25:13,819 [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) 16:25:14 2022-06-24 16:25:14,476 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 16:25:14 2022-06-24 16:25:14,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 16:25:14 2022-06-24 16:25:14,477 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 16:25:14 2022-06-24 16:25:14,481 [execute] INFO git cat-file --batch-check 16:25:14 2022-06-24 16:25:14,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 16:25:14 2022-06-24 16:25:14,489 [execute] INFO git cat-file --batch 16:25:14 2022-06-24 16:25:14,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 16:25:14 2022-06-24 16:25:14,493 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 16:25:14 0.0.0 [Pipeline] } 16:25:14 $ docker exec --env ******** --env ******** 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b ssh-agent -k 16:25:14 unset SSH_AUTH_SOCK; 16:25:14 unset SSH_AGENT_PID; 16:25:14 echo Agent pid 77 killed; 16:25:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:15 + git semver [Pipeline] } 16:25:15 $ docker stop --time=1 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b 16:25:16 $ docker rm -f 57530b22b83d94206ebe69f5fc41d5403ba4dd232f4bf39ebb94a6ab666e558b [Pipeline] // withDockerContainer [Pipeline] sh 16:25:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:25:17 Stashed 1 file(s) [Pipeline] echo 16:25:17 [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 16:25:17 provisioning config files... 16:25:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config7715935799174292540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:17 ---> docker-login.sh 16:25:17 nexus3.edgexfoundry.org:10001 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 nexus3.edgexfoundry.org:10002 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:18 Configure a credential helper to remove this warning. See 16:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:18 16:25:18 Login Succeeded 16:25:18 nexus3.edgexfoundry.org:10003 16:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:18 Configure a credential helper to remove this warning. See 16:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:18 16:25:18 Login Succeeded 16:25:18 nexus3.edgexfoundry.org:10004 16:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:18 Configure a credential helper to remove this warning. See 16:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:18 16:25:18 Login Succeeded 16:25:18 docker.io 16:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:18 Configure a credential helper to remove this warning. See 16:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:18 16:25:18 Login Succeeded 16:25:18 ---> docker-login.sh ends [Pipeline] } 16:25:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:18 ========================================================= 16:25:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:25:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:19 + 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 . 16:25:19 Sending build context to Docker daemon 8.941MB 16:25:19 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:25:19 Step 2/13 : FROM ${BASE} AS builder 16:25:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:25:19 59bf1c3509f3: Pulling fs layer 16:25:19 666ba61612fd: Pulling fs layer 16:25:19 8ed8ca486205: Pulling fs layer 16:25:19 cc1cd167ecdc: Pulling fs layer 16:25:19 c516ae0d96e1: Pulling fs layer 16:25:19 684cea983483: Pulling fs layer 16:25:19 dd3240ac7de5: Pulling fs layer 16:25:19 b1e948a4e11c: Pulling fs layer 16:25:19 a8fd76ee1af6: Pulling fs layer 16:25:19 646ad004c059: Pulling fs layer 16:25:19 c516ae0d96e1: Waiting 16:25:19 684cea983483: Waiting 16:25:19 dd3240ac7de5: Waiting 16:25:19 646ad004c059: Waiting 16:25:19 b1e948a4e11c: Waiting 16:25:19 cc1cd167ecdc: Waiting 16:25:19 8ed8ca486205: Verifying Checksum 16:25:19 8ed8ca486205: Download complete 16:25:19 666ba61612fd: Verifying Checksum 16:25:19 666ba61612fd: Download complete 16:25:19 c516ae0d96e1: Download complete 16:25:19 684cea983483: Download complete 16:25:19 59bf1c3509f3: Verifying Checksum 16:25:19 59bf1c3509f3: Download complete 16:25:19 dd3240ac7de5: Verifying Checksum 16:25:19 dd3240ac7de5: Download complete 16:25:19 b1e948a4e11c: Verifying Checksum 16:25:19 b1e948a4e11c: Download complete 16:25:19 59bf1c3509f3: Pull complete 16:25:19 666ba61612fd: Pull complete 16:25:19 8ed8ca486205: Pull complete 16:25:19 646ad004c059: Verifying Checksum 16:25:19 646ad004c059: Download complete 16:25:20 cc1cd167ecdc: Verifying Checksum 16:25:20 cc1cd167ecdc: Download complete 16:25:20 a8fd76ee1af6: Download complete 16:25:24 cc1cd167ecdc: Pull complete 16:25:24 c516ae0d96e1: Pull complete 16:25:24 684cea983483: Pull complete 16:25:24 dd3240ac7de5: Pull complete 16:25:24 b1e948a4e11c: Pull complete 16:25:26 a8fd76ee1af6: Pull complete 16:25:27 646ad004c059: Pull complete 16:25:27 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:25:27 ---> 8f69c11f6b0c 16:25:27 Step 3/13 : ARG MAKE="make build" 16:25:28 ---> Running in 59fa9b24f548 16:25:28 Removing intermediate container 59fa9b24f548 16:25:28 ---> 7763ae716442 16:25:28 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:25:28 ---> Running in 89f704461dca 16:25:28 Removing intermediate container 89f704461dca 16:25:28 ---> ac51b7c9f728 16:25:28 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:25:28 ---> Running in cd0ba36ea206 16:25:28 Removing intermediate container cd0ba36ea206 16:25:28 ---> 1343dd6b8b52 16:25:28 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:25:28 ---> Running in 27360ac05e8c 16:25:28 Removing intermediate container 27360ac05e8c 16:25:28 ---> e753093b37be 16:25:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:28 ---> Running in 5fd833b2210e 16:25:29 Removing intermediate container 5fd833b2210e 16:25:29 ---> fb23b1e82ceb 16:25:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:29 ---> Running in d36ed9edece3 16:25:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:25:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:25:31 OK: 221 MiB in 52 packages 16:25:31 Removing intermediate container d36ed9edece3 16:25:31 ---> e4ebcff1dece 16:25:31 Step 9/13 : WORKDIR /device-onvif-camera 16:25:31 ---> Running in 0e3afa605281 16:25:31 Removing intermediate container 0e3afa605281 16:25:31 ---> 759efdbea797 16:25:31 Step 10/13 : COPY go.mod vendor* ./ 16:25:31 ---> 2c83a4c136d3 16:25:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:31 ---> Running in 7567688c82e9 16:25:32 Still waiting to schedule task 16:25:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:25:49 Removing intermediate container 7567688c82e9 16:25:49 ---> dde4fb56c8b7 16:25:49 Step 12/13 : COPY . . 16:25:49 ---> a1400e92ff9d 16:25:49 Step 13/13 : RUN ${MAKE} 16:25:49 ---> Running in 53afbb43aa96 16:25:49 noop 16:25:49 Removing intermediate container 53afbb43aa96 16:25:49 ---> fa7d72fa36aa 16:25:49 Successfully built fa7d72fa36aa 16:25:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:50 + docker inspect -f . ci-base-image-x86_64 16:25:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:50 prd-ubuntu20.04-docker-8c-8g-15538 does not seem to be running inside a container 16:25:50 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:25:50 $ docker top bc6872e369b04fd58d825d892f499bbd338fc083e0c67842037aa7fb8afb8dbe -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:51 + go version 16:25:51 go version go1.17.7 linux/amd64 [Pipeline] } 16:25:51 $ docker stop --time=1 bc6872e369b04fd58d825d892f499bbd338fc083e0c67842037aa7fb8afb8dbe 16:25:52 $ docker rm -f bc6872e369b04fd58d825d892f499bbd338fc083e0c67842037aa7fb8afb8dbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:52 + docker inspect -f . ci-base-image-x86_64 16:25:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:52 prd-ubuntu20.04-docker-8c-8g-15538 does not seem to be running inside a container 16:25:53 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:25:53 $ docker top 016cf64c1f58d0721799c9fde6406443faa962b90a4162fd6323f7617ffad4f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:25:53 + make test 16:25:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:25:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:26:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:26:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.4% of statements 16:26:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.080s coverage: 13.8% of statements 16:26:15 internal/driver/credentials.go:98:18: func `(*Driver).getCredentialsFromMac` is unused (unused) 16:26:15 func (d *Driver) getCredentialsFromMac(mac string) (Credentials, errors.EdgeX) { 16:26:15 ^ 16:26:15 make: *** [Makefile:52: lint] Error 1 [Pipeline] } 16:26:15 $ docker stop --time=1 016cf64c1f58d0721799c9fde6406443faa962b90a4162fd6323f7617ffad4f9 16:26:16 $ docker rm -f 016cf64c1f58d0721799c9fde6406443faa962b90a4162fd6323f7617ffad4f9 [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 16:26:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:17 16:26:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:17 latest: Pulling from edgex-lftools-log-publisher 16:26:17 5eb5b503b376: Pulling fs layer 16:26:17 5c69ac0246d0: Pulling fs layer 16:26:17 ec43610c2a17: Pulling fs layer 16:26:17 3a2ae6a8a46f: Pulling fs layer 16:26:17 33b1e0a273af: Pulling fs layer 16:26:17 5d3b04190fa2: Pulling fs layer 16:26:17 2f39f015ded8: Pulling fs layer 16:26:17 3a2ae6a8a46f: Waiting 16:26:17 33b1e0a273af: Waiting 16:26:17 5d3b04190fa2: Waiting 16:26:17 2f39f015ded8: Waiting 16:26:17 5c69ac0246d0: Verifying Checksum 16:26:17 5c69ac0246d0: Download complete 16:26:17 3a2ae6a8a46f: Verifying Checksum 16:26:17 3a2ae6a8a46f: Download complete 16:26:17 33b1e0a273af: Verifying Checksum 16:26:17 33b1e0a273af: Download complete 16:26:17 ec43610c2a17: Verifying Checksum 16:26:17 ec43610c2a17: Download complete 16:26:17 5d3b04190fa2: Verifying Checksum 16:26:17 5d3b04190fa2: Download complete 16:26:17 5eb5b503b376: Verifying Checksum 16:26:17 5eb5b503b376: Download complete 16:26:18 2f39f015ded8: Download complete 16:26:19 5eb5b503b376: Pull complete 16:26:19 5c69ac0246d0: Pull complete 16:26:19 ec43610c2a17: Pull complete 16:26:19 3a2ae6a8a46f: Pull complete 16:26:20 33b1e0a273af: Pull complete 16:26:20 5d3b04190fa2: Pull complete 16:26:24 2f39f015ded8: Pull complete 16:26:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:26:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:24 prd-ubuntu20.04-docker-8c-8g-15538 does not seem to be running inside a container 16:26:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:26:25 $ docker top c53008ede9fe8ede81911d99ce7cdf3a625e2d827460c6080ebd7bbcab63ee66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:26 ---> job-cost.sh 16:26:26 lf-activate-venv: SKIPPING 16:26:26 INFO: No Stack... 16:26:26 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:27 INFO: Archiving Costs [Pipeline] sh 16:26:27 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 16:26:27 + cut -d, -f6 [Pipeline] lock 16:26:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] 16:26:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] did not exist. Created. 16:26:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:26:27 + echo total: 0.2199999988079071 [Pipeline] stash 16:26:27 Stashed 1 file(s) [Pipeline] } 16:26:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:26:27 $ docker stop --time=1 c53008ede9fe8ede81911d99ce7cdf3a625e2d827460c6080ebd7bbcab63ee66 16:26:29 $ docker rm -f c53008ede9fe8ede81911d99ce7cdf3a625e2d827460c6080ebd7bbcab63ee66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:29 Failed in branch amd64 16:27:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15539 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 16:27:08 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 16:27:08 Selected Git installation does not exist. Using Default 16:27:08 The recommended git tool is: NONE 16:27:15 using credential edgex-jenkins-ssh 16:27:15 Cloning the remote Git repository 16:27:15 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:27:15 > git init /w/workspace/device-onvif-camera/3 # timeout=10 16:27:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:27:15 > git --version # timeout=10 16:27:15 > git --version # 'git version 2.25.1' 16:27:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:27:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:27:17 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 92a3a20187124c65fb188098f3a61f9e06eb5bea 16:27:17 Merge succeeded, producing fb44308ec0ffd0915758383ee5449aef2d6b50d5 16:27:17 Checking out Revision fb44308ec0ffd0915758383ee5449aef2d6b50d5 (PR-90) 16:27:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:27:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:27:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:27:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:27:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:27:16 > 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 16:27:17 > git config core.sparsecheckout # timeout=10 16:27:17 > git checkout -f 92a3a20187124c65fb188098f3a61f9e06eb5bea # timeout=10 16:27:17 > git remote # timeout=10 16:27:17 > git config --get remote.origin.url # timeout=10 16:27:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:27:17 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 16:27:17 > git rev-parse HEAD^{commit} # timeout=10 16:27:17 > git config core.sparsecheckout # timeout=10 16:27:17 > git checkout -f fb44308ec0ffd0915758383ee5449aef2d6b50d5 # timeout=10 16:27:21 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 16:27:21 First time build. Skipping changelog. 16:27:21 > git rev-list --no-walk 1b58f1314da33ec2d2cce30ce1e7bf83db9f21bf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:27:22 % Total % Received % Xferd Average Speed Time Time Time Current 16:27:22 Dload Upload Total Spent Left Speed 16:27:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 16:27:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:27:23 + sudo tee /etc/docker/daemon.new 16:27:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:27:23 { 16:27:23 "registry-mirrors": [ 16:27:23 "https://nexus3.edgexfoundry.org:10001" 16:27:23 ], 16:27:23 "bip": "10.250.0.254/24", 16:27:23 "hosts": [ 16:27:23 "tcp://0.0.0.0:5555", 16:27:23 "unix:///var/run/docker.sock" 16:27:23 ], 16:27:23 "mtu": 1458, 16:27:23 "selinux-enabled": true, 16:27:23 "seccomp-profile": "/etc/docker/seccomp.json" 16:27:23 } [Pipeline] sh 16:27:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:27:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:42 provisioning config files... 16:27:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config7417652558751367049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:43 ---> docker-login.sh 16:27:43 nexus3.edgexfoundry.org:10001 16:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:44 Configure a credential helper to remove this warning. See 16:27:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:44 16:27:44 Login Succeeded 16:27:44 nexus3.edgexfoundry.org:10002 16:27:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:44 Configure a credential helper to remove this warning. See 16:27:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:44 16:27:44 Login Succeeded 16:27:44 nexus3.edgexfoundry.org:10003 16:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:45 Configure a credential helper to remove this warning. See 16:27:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:45 16:27:45 Login Succeeded 16:27:45 nexus3.edgexfoundry.org:10004 16:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:45 Configure a credential helper to remove this warning. See 16:27:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:45 16:27:45 Login Succeeded 16:27:45 docker.io 16:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:46 Configure a credential helper to remove this warning. See 16:27:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:46 16:27:46 Login Succeeded 16:27:46 ---> docker-login.sh ends [Pipeline] } 16:27:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:47 ========================================================= 16:27:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:27:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:47 + 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 . 16:27:48 Sending build context to Docker daemon 6.149MB 16:27:48 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:27:48 Step 2/13 : FROM ${BASE} AS builder 16:27:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:27:48 9b3977197b4f: Pulling fs layer 16:27:48 1a89e8eeedd5: Pulling fs layer 16:27:48 94645a83ff95: Pulling fs layer 16:27:48 e6fb740bc735: Pulling fs layer 16:27:48 3a77bd46dcc9: Pulling fs layer 16:27:48 355e64cbe906: Pulling fs layer 16:27:48 63ab81a10011: Pulling fs layer 16:27:48 555d1d1c4555: Pulling fs layer 16:27:48 7d9057610161: Pulling fs layer 16:27:48 e6fb740bc735: Waiting 16:27:48 3a77bd46dcc9: Waiting 16:27:48 355e64cbe906: Waiting 16:27:48 63ab81a10011: Waiting 16:27:48 555d1d1c4555: Waiting 16:27:48 7d9057610161: Waiting 16:27:48 94645a83ff95: Download complete 16:27:48 1a89e8eeedd5: Download complete 16:27:48 3a77bd46dcc9: Download complete 16:27:48 355e64cbe906: Verifying Checksum 16:27:48 355e64cbe906: Download complete 16:27:48 9b3977197b4f: Download complete 16:27:48 63ab81a10011: Verifying Checksum 16:27:48 63ab81a10011: Download complete 16:27:49 9b3977197b4f: Pull complete 16:27:49 7d9057610161: Verifying Checksum 16:27:49 7d9057610161: Download complete 16:27:49 1a89e8eeedd5: Pull complete 16:27:50 94645a83ff95: Pull complete 16:27:50 555d1d1c4555: Verifying Checksum 16:27:50 555d1d1c4555: Download complete 16:27:51 e6fb740bc735: Verifying Checksum 16:27:51 e6fb740bc735: Download complete 16:28:03 e6fb740bc735: Pull complete 16:28:03 3a77bd46dcc9: Pull complete 16:28:03 355e64cbe906: Pull complete 16:28:03 63ab81a10011: Pull complete 16:28:10 555d1d1c4555: Pull complete 16:28:12 7d9057610161: Pull complete 16:28:12 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:28:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:28:12 ---> 819e984ddca1 16:28:12 Step 3/13 : ARG MAKE="make build" 16:28:13 ---> Running in 689c591be6f2 16:28:13 Removing intermediate container 689c591be6f2 16:28:13 ---> 43d765d1baff 16:28:13 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:28:13 ---> Running in e481d2e03cd0 16:28:13 Removing intermediate container e481d2e03cd0 16:28:13 ---> aad58550ef1a 16:28:13 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:28:13 ---> Running in c5d7ff6b0f56 16:28:14 Removing intermediate container c5d7ff6b0f56 16:28:14 ---> a604d0eacd04 16:28:14 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:28:14 ---> Running in 62bf8386c863 16:28:14 Removing intermediate container 62bf8386c863 16:28:14 ---> 07b6f14e1026 16:28:14 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:28:14 ---> Running in 7bf41976a2e1 16:28:16 Removing intermediate container 7bf41976a2e1 16:28:16 ---> d099db52fe49 16:28:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:28:16 ---> Running in f36aa000d055 16:28:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:28:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:28:19 OK: 220 MiB in 52 packages 16:28:20 Removing intermediate container f36aa000d055 16:28:20 ---> 51242e790ed1 16:28:20 Step 9/13 : WORKDIR /device-onvif-camera 16:28:20 ---> Running in 93610a0a11d5 16:28:20 Removing intermediate container 93610a0a11d5 16:28:20 ---> 9833afffd80e 16:28:20 Step 10/13 : COPY go.mod vendor* ./ 16:28:20 ---> ad7c7fd5164e 16:28:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:20 ---> Running in 665af60000f7 16:29:07 Removing intermediate container 665af60000f7 16:29:07 ---> 0b69180bb338 16:29:07 Step 12/13 : COPY . . 16:29:07 ---> 29459d2450b9 16:29:07 Step 13/13 : RUN ${MAKE} 16:29:07 ---> Running in e49b5006b35d 16:29:08 noop 16:29:09 Removing intermediate container e49b5006b35d 16:29:09 ---> 86e910837115 16:29:09 Successfully built 86e910837115 16:29:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:09 + docker inspect -f . ci-base-image-arm64 16:29:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:09 prd-ubuntu20.04-docker-arm64-4c-16g-15539 does not seem to be running inside a container 16:29:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 16:29:11 $ docker top f4f4c3bc36826dcdfa2b85b5b65555d8f3f9bd5a5e31ce45032c7c68baa26706 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:12 + go version 16:29:12 go version go1.17.7 linux/arm64 [Pipeline] } 16:29:12 $ docker stop --time=1 f4f4c3bc36826dcdfa2b85b5b65555d8f3f9bd5a5e31ce45032c7c68baa26706 16:29:13 $ docker rm -f f4f4c3bc36826dcdfa2b85b5b65555d8f3f9bd5a5e31ce45032c7c68baa26706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:14 + docker inspect -f . ci-base-image-arm64 16:29:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:14 prd-ubuntu20.04-docker-arm64-4c-16g-15539 does not seem to be running inside a container 16:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 16:29:15 $ docker top 156827a79d8993f17fed4b09d185f6665ecae88b572d4ad568321b1cc4d797a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:29:16 + make test 16:29:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:29:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:30:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:30:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 1.4% of statements 16:31:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.382s coverage: 13.8% of statements 16:31:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:31:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:31:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:32 ./internal/driver/macmapper.go 16:31:32 ./internal/driver/config.go 16:31:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:32 make: *** [Makefile:57: test] Error 1 [Pipeline] } 16:31:32 $ docker stop --time=1 156827a79d8993f17fed4b09d185f6665ecae88b572d4ad568321b1cc4d797a2 16:31:34 $ docker rm -f 156827a79d8993f17fed4b09d185f6665ecae88b572d4ad568321b1cc4d797a2 [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 16:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:35 16:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:36 arm64: Pulling from edgex-lftools-log-publisher 16:31:36 8998bd30e6a1: Pulling fs layer 16:31:36 04944245beec: Pulling fs layer 16:31:36 699f458cf7ca: Pulling fs layer 16:31:36 765212b225bb: Pulling fs layer 16:31:36 f23df028b6ca: Pulling fs layer 16:31:36 d65c8cfc05b1: Pulling fs layer 16:31:36 2437ff75d9bd: Pulling fs layer 16:31:36 d65c8cfc05b1: Waiting 16:31:36 765212b225bb: Waiting 16:31:36 f23df028b6ca: Waiting 16:31:36 04944245beec: Verifying Checksum 16:31:36 04944245beec: Download complete 16:31:36 765212b225bb: Verifying Checksum 16:31:36 765212b225bb: Download complete 16:31:36 f23df028b6ca: Verifying Checksum 16:31:36 f23df028b6ca: Download complete 16:31:36 d65c8cfc05b1: Verifying Checksum 16:31:36 d65c8cfc05b1: Download complete 16:31:36 699f458cf7ca: Verifying Checksum 16:31:36 699f458cf7ca: Download complete 16:31:36 8998bd30e6a1: Verifying Checksum 16:31:36 8998bd30e6a1: Download complete 16:31:39 2437ff75d9bd: Verifying Checksum 16:31:39 2437ff75d9bd: Download complete 16:31:41 8998bd30e6a1: Pull complete 16:31:41 04944245beec: Pull complete 16:31:43 699f458cf7ca: Pull complete 16:31:43 765212b225bb: Pull complete 16:31:44 f23df028b6ca: Pull complete 16:31:44 d65c8cfc05b1: Pull complete 16:31:59 2437ff75d9bd: Pull complete 16:31:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:31:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:59 prd-ubuntu20.04-docker-arm64-4c-16g-15539 does not seem to be running inside a container 16:31:59 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 16:32:02 $ docker top a90ac913fc023089faf4035569274923ee143cc817709fe50b1fb62f0de9ce31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:03 ---> job-cost.sh 16:32:03 lf-activate-venv: SKIPPING 16:32:03 INFO: No Stack... 16:32:03 INFO: Retrieving Pricing Info for: v3-standard-4 16:32:04 INFO: Archiving Costs [Pipeline] sh 16:32:05 + cut -d, -f6 16:32:05 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 16:32:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] 16:32:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] did not exist. Created. 16:32:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:32:05 /w/workspace/device-onvif-camera/3@tmp/durable-996e99d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:32:06 + echo total: 0.10999999940395355 [Pipeline] stash 16:32:06 Warning: overwriting stash ‘stack-cost’ 16:32:06 Stashed 1 file(s) [Pipeline] } 16:32:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:32:06 $ docker stop --time=1 a90ac913fc023089faf4035569274923ee143cc817709fe50b1fb62f0de9ce31 16:32:08 $ docker rm -f a90ac913fc023089faf4035569274923ee143cc817709fe50b1fb62f0de9ce31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:32:08 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 16:32:09 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 16:32:09 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 16:32:09 total 16 16:32:09 drwxr-xr-x 3 root root 4096 Jun 24 16:26 . 16:32:09 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 16:26 .. 16:32:09 drwxr-xr-x 2 root root 4096 Jun 24 16:26 cost 16:32:09 -rw-r--r-- 1 root root 89 Jun 24 16:26 cost.csv 16:32:09 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 16:32:09 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 16:32:09 total 16 16:32:09 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 16:26 . 16:32:09 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 16:26 .. 16:32:09 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 16:26 cost 16:32:09 -rw-r--r-- 1 jenkins jenkins 89 Jun 24 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:32:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:32:10 ---> package-listing.sh 16:32:10 ++ facter osfamily 16:32:10 ++ tr '[:upper:]' '[:lower:]' 16:32:10 + OS_FAMILY=debian 16:32:10 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 16:32:10 + START_PACKAGES=/tmp/packages_start.txt 16:32:10 + END_PACKAGES=/tmp/packages_end.txt 16:32:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:32:10 + PACKAGES=/tmp/packages_start.txt 16:32:10 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 16:32:10 + PACKAGES=/tmp/packages_end.txt 16:32:10 + case "${OS_FAMILY}" in 16:32:10 + grep '^ii' 16:32:10 + dpkg -l 16:32:10 + '[' -f /tmp/packages_start.txt ']' 16:32:10 + '[' -f /tmp/packages_end.txt ']' 16:32:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:32:10 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 16:32:10 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 16:32:10 + 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 16:32:10 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 16:32:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:11 prd-ubuntu20.04-docker-8c-8g-15538 does not seem to be running inside a container 16:32:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:32:12 $ docker top c7f561e2dfe3eb5a8c065ffe5badc40de3239ecc71efe035519a07bfd900faa3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:12 + touch /tmp/pre-build-complete [Pipeline] sh 16:32:12 + mkdir -p /var/log/sysstat [Pipeline] sh 16:32:12 + ls /var/log/sa-host 16:32:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:13 provisioning config files... 16:32:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1592793485091461513tmp [Pipeline] { [Pipeline] echo 16:32:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:32:13 ---> create-netrc.sh [Pipeline] } 16:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:32:13 ---> python-tools-install.sh [Pipeline] echo 16:32:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:32:14 ---> sudo-logs.sh 16:32:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:32:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:32:14 ---> job-cost.sh 16:32:14 lf-activate-venv: SKIPPING 16:32:14 DEBUG: total: 0.2199999988079071 16:32:14 INFO: Retrieving Stack Cost... 16:32:14 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:15 INFO: Archiving Costs [Pipeline] echo 16:32:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:32:15 ---> logs-deploy.sh 16:32:15 lf-activate-venv: SKIPPING 16:32:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/3 16:32:15 INFO: archiving workspace using pattern(s): 16:32:16 Archives upload complete. 16:32:16 INFO: archiving logs to Nexus