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 c4303a3ff7b197d9c8a582dc0963b7953f4c60ef 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-ssh8087372160035605632.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-ssh14177629479545550949.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-ssh6835674302889681168.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-ssh2583207216492403668.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-ssh5245589322021531120.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16112 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 c4303a3ff7b197d9c8a582dc0963b7953f4c60ef Merge succeeded, producing 5a56323d0f1826789cf7b5400d1d2ba39933aec6 Checking out Revision 5a56323d0f1826789cf7b5400d1d2ba39933aec6 (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 c4303a3ff7b197d9c8a582dc0963b7953f4c60ef # 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 5a56323d0f1826789cf7b5400d1d2ba39933aec6 # 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 15:51:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f # timeout=10 [Pipeline] withCredentials 15:51:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:51:30 ========================================================= 15:51:30 EdgeX Global Pipelines Version Info 15:51:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:51:30 ------------------- 15:51:30 stable info: 15:51:30 ------------------- 15:51:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:51:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:51:30 Message: update stable to v1.0.234 15:51:31 ------------------- 15:51:31 experimental info: 15:51:31 ------------------- 15:51:31 Commited By: **** collab-it+edgex@linuxfoundation.org 15:51:31 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:51:31 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:51:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a56323 [Pipeline] echo 15:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:51:32 provisioning config files... 15:51:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1887393376002045626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:32 ---> docker-login.sh 15:51:32 nexus3.edgexfoundry.org:10001 15:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:32 Configure a credential helper to remove this warning. See 15:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:32 15:51:32 Login Succeeded 15:51:32 nexus3.edgexfoundry.org:10002 15:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:32 Configure a credential helper to remove this warning. See 15:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:32 15:51:32 Login Succeeded 15:51:32 nexus3.edgexfoundry.org:10003 15:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:32 Configure a credential helper to remove this warning. See 15:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:32 15:51:32 Login Succeeded 15:51:32 nexus3.edgexfoundry.org:10004 15:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:33 Configure a credential helper to remove this warning. See 15:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:33 15:51:33 Login Succeeded 15:51:33 docker.io 15:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:33 Configure a credential helper to remove this warning. See 15:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:33 15:51:33 Login Succeeded 15:51:33 ---> docker-login.sh ends [Pipeline] } 15:51:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:51:33 + git rev-list -1 --merges 5a56323d0f1826789cf7b5400d1d2ba39933aec6~1..5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo 15:51:33 -----------> git rev-list -1 --merges 5a56323d0f1826789cf7b5400d1d2ba39933aec6~1..5a56323d0f1826789cf7b5400d1d2ba39933aec6 5a56323d0f1826789cf7b5400d1d2ba39933aec6 15:51:33 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [false] [Pipeline] sh 15:51:34 + git log --format=format:%s -1 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo 15:51:34 ========================================================= 15:51:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:51:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:34 + git log --format=format:%s -1 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo 15:51:34 [semverPrep] GIT_COMMIT: 5a56323d0f1826789cf7b5400d1d2ba39933aec6, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 15:51:34 [semverPrep] This is not a build commit. [Pipeline] sh 15:51:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:51:34 + grep -v github /etc/ssh/ssh_known_hosts 15:51:34 + [ -e /tmp/ssh_known_hosts ] 15:51:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:51:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:51:34 + sudo tee -a /etc/ssh/ssh_known_hosts 15:51:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:51:35 15:51:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:51:35 0.1.4: Pulling from edgex-devops/py-git-semver 15:51:35 42c077c10790: Pulling fs layer 15:51:35 f63e77b7563a: Pulling fs layer 15:51:35 bd5fdadae976: Pulling fs layer 15:51:35 205491f53016: Pulling fs layer 15:51:35 df18705c85c3: Pulling fs layer 15:51:35 bdb3f477010e: Pulling fs layer 15:51:35 c8a8fc8e1c8f: Pulling fs layer 15:51:35 2c6e9b1d212d: Pulling fs layer 15:51:35 bdb8f0575790: Pulling fs layer 15:51:35 386e3cb2ff24: Pulling fs layer 15:51:35 2343380bae48: Pulling fs layer 15:51:35 c8a8fc8e1c8f: Waiting 15:51:35 bdb8f0575790: Waiting 15:51:35 386e3cb2ff24: Waiting 15:51:35 2343380bae48: Waiting 15:51:35 df18705c85c3: Waiting 15:51:35 bdb3f477010e: Waiting 15:51:35 f63e77b7563a: Download complete 15:51:35 205491f53016: Verifying Checksum 15:51:35 205491f53016: Download complete 15:51:35 bd5fdadae976: Verifying Checksum 15:51:35 bd5fdadae976: Download complete 15:51:35 df18705c85c3: Verifying Checksum 15:51:35 df18705c85c3: Download complete 15:51:35 bdb3f477010e: Verifying Checksum 15:51:35 bdb3f477010e: Download complete 15:51:35 2c6e9b1d212d: Download complete 15:51:35 bdb8f0575790: Download complete 15:51:35 386e3cb2ff24: Verifying Checksum 15:51:35 386e3cb2ff24: Download complete 15:51:35 2343380bae48: Verifying Checksum 15:51:35 2343380bae48: Download complete 15:51:35 42c077c10790: Verifying Checksum 15:51:35 42c077c10790: Download complete 15:51:36 c8a8fc8e1c8f: Verifying Checksum 15:51:36 c8a8fc8e1c8f: Download complete 15:51:37 42c077c10790: Pull complete 15:51:37 f63e77b7563a: Pull complete 15:51:38 bd5fdadae976: Pull complete 15:51:38 205491f53016: Pull complete 15:51:38 df18705c85c3: Pull complete 15:51:38 bdb3f477010e: Pull complete 15:51:40 c8a8fc8e1c8f: Pull complete 15:51:40 2c6e9b1d212d: Pull complete 15:51:40 bdb8f0575790: Pull complete 15:51:40 386e3cb2ff24: Pull complete 15:51:40 2343380bae48: Pull complete 15:51:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:51:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:40 prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container 15:51:40 $ 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 15:51:42 $ docker top 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 -eo pid,comm 15:51:42 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). 15:51:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:51:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:51:42 [ssh-agent] Looking for ssh-agent implementation... 15:51:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:51:42 $ docker exec 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent 15:51:42 SSH_AUTH_SOCK=/tmp/ssh-tQFmxmcgXZjh/agent.32 15:51:42 SSH_AGENT_PID=39 15:51:42 Running ssh-add (command line suppressed) 15:51:42 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1144287396034523127.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1144287396034523127.key) 15:51:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:51:42 + git tag --points-at HEAD [Pipeline] } 15:51:42 $ docker exec --env ******** --env ******** 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent -k 15:51:43 unset SSH_AUTH_SOCK; 15:51:43 unset SSH_AGENT_PID; 15:51:43 echo Agent pid 39 killed; 15:51:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:51:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:51:43 [ssh-agent] Looking for ssh-agent implementation... 15:51:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:51:43 $ docker exec 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent 15:51:43 SSH_AUTH_SOCK=/tmp/ssh-uC0dBoy6hazU/agent.73 15:51:43 SSH_AGENT_PID=79 15:51:43 Running ssh-add (command line suppressed) 15:51:43 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4485207142741560226.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4485207142741560226.key) 15:51:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:51:43 + git semver init 15:51:44 2022-06-27 15:51:44,066 [run_init] DEBUG init version:0.0.0 force:False 15:51:44 2022-06-27 15:51:44,067 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 15:51:44 2022-06-27 15:51:44,067 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 15:51:44 2022-06-27 15:51:44,067 [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) 15:51:45 2022-06-27 15:51:44,779 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 15:51:45 2022-06-27 15:51:44,779 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 15:51:45 2022-06-27 15:51:44,779 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 15:51:45 2022-06-27 15:51:44,784 [execute] INFO git cat-file --batch-check 15:51:45 2022-06-27 15:51:44,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 15:51:45 2022-06-27 15:51:44,791 [execute] INFO git cat-file --batch 15:51:45 2022-06-27 15:51:44,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 15:51:45 2022-06-27 15:51:44,797 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 15:51:45 0.0.0 [Pipeline] } 15:51:45 $ docker exec --env ******** --env ******** 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent -k 15:51:45 unset SSH_AUTH_SOCK; 15:51:45 unset SSH_AGENT_PID; 15:51:45 echo Agent pid 79 killed; 15:51:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:51:45 + git semver [Pipeline] } 15:51:45 $ docker stop --time=1 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 15:51:47 $ docker rm -f 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:51:47 Stashed 1 file(s) [Pipeline] echo 15:51:47 [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 15:51:47 provisioning config files... 15:51:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config3964855659937750490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:48 ---> docker-login.sh 15:51:48 nexus3.edgexfoundry.org:10001 15:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:48 Configure a credential helper to remove this warning. See 15:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:48 15:51:48 Login Succeeded 15:51:48 nexus3.edgexfoundry.org:10002 15:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:48 Configure a credential helper to remove this warning. See 15:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:48 15:51:48 Login Succeeded 15:51:48 nexus3.edgexfoundry.org:10003 15:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:48 Configure a credential helper to remove this warning. See 15:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:48 15:51:48 Login Succeeded 15:51:48 nexus3.edgexfoundry.org:10004 15:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:48 Configure a credential helper to remove this warning. See 15:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:48 15:51:48 Login Succeeded 15:51:48 docker.io 15:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:48 Configure a credential helper to remove this warning. See 15:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:48 15:51:48 Login Succeeded 15:51:48 ---> docker-login.sh ends [Pipeline] } 15:51:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:51:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:51:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:51:49 ========================================================= 15:51:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:51:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:49 + 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 . 15:51:49 Sending build context to Docker daemon 8.849MB 15:51:49 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:51:49 Step 2/13 : FROM ${BASE} AS builder 15:51:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:51:49 59bf1c3509f3: Pulling fs layer 15:51:49 666ba61612fd: Pulling fs layer 15:51:49 8ed8ca486205: Pulling fs layer 15:51:49 cc1cd167ecdc: Pulling fs layer 15:51:49 c516ae0d96e1: Pulling fs layer 15:51:49 684cea983483: Pulling fs layer 15:51:49 dd3240ac7de5: Pulling fs layer 15:51:49 b1e948a4e11c: Pulling fs layer 15:51:49 a8fd76ee1af6: Pulling fs layer 15:51:49 646ad004c059: Pulling fs layer 15:51:49 cc1cd167ecdc: Waiting 15:51:49 c516ae0d96e1: Waiting 15:51:49 684cea983483: Waiting 15:51:49 dd3240ac7de5: Waiting 15:51:49 b1e948a4e11c: Waiting 15:51:49 a8fd76ee1af6: Waiting 15:51:49 646ad004c059: Waiting 15:51:49 8ed8ca486205: Verifying Checksum 15:51:49 8ed8ca486205: Download complete 15:51:49 666ba61612fd: Download complete 15:51:49 c516ae0d96e1: Download complete 15:51:49 684cea983483: Download complete 15:51:49 dd3240ac7de5: Verifying Checksum 15:51:49 dd3240ac7de5: Download complete 15:51:49 59bf1c3509f3: Download complete 15:51:49 b1e948a4e11c: Verifying Checksum 15:51:49 b1e948a4e11c: Download complete 15:51:49 59bf1c3509f3: Pull complete 15:51:49 666ba61612fd: Pull complete 15:51:49 8ed8ca486205: Pull complete 15:51:50 646ad004c059: Verifying Checksum 15:51:50 646ad004c059: Download complete 15:51:50 a8fd76ee1af6: Verifying Checksum 15:51:50 a8fd76ee1af6: Download complete 15:51:50 cc1cd167ecdc: Verifying Checksum 15:51:50 cc1cd167ecdc: Download complete 15:51:53 cc1cd167ecdc: Pull complete 15:51:53 c516ae0d96e1: Pull complete 15:51:53 684cea983483: Pull complete 15:51:53 dd3240ac7de5: Pull complete 15:51:54 b1e948a4e11c: Pull complete 15:51:56 a8fd76ee1af6: Pull complete 15:51:57 646ad004c059: Pull complete 15:51:57 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:51:57 ---> 8f69c11f6b0c 15:51:57 Step 3/13 : ARG MAKE="make build" 15:51:58 ---> Running in 26ff2ad57ac6 15:51:58 Removing intermediate container 26ff2ad57ac6 15:51:58 ---> 4d280878c861 15:51:58 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:51:58 ---> Running in e05671394ecd 15:51:58 Removing intermediate container e05671394ecd 15:51:58 ---> 9b02fd12951f 15:51:58 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:51:58 ---> Running in 6cbb75ba323b 15:51:58 Removing intermediate container 6cbb75ba323b 15:51:58 ---> f01140fa91c4 15:51:58 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:51:58 ---> Running in 1744cd51117f 15:51:58 Removing intermediate container 1744cd51117f 15:51:58 ---> 939879a4f3b6 15:51:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:58 ---> Running in 4b2150163f54 15:51:59 Removing intermediate container 4b2150163f54 15:51:59 ---> 5f01b9fb93d0 15:51:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:51:59 ---> Running in c86ad73e6764 15:51:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:52:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:52:00 OK: 221 MiB in 52 packages 15:52:00 Removing intermediate container c86ad73e6764 15:52:00 ---> b693569de4d7 15:52:00 Step 9/13 : WORKDIR /device-onvif-camera 15:52:00 ---> Running in 0ef4e3f884a2 15:52:00 Removing intermediate container 0ef4e3f884a2 15:52:00 ---> 49dd230fb4be 15:52:00 Step 10/13 : COPY go.mod vendor* ./ 15:52:01 ---> 7c0acb2d2181 15:52:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:01 ---> Running in 0108d691ec9b 15:52:02 Still waiting to schedule task 15:52:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:52:19 Removing intermediate container 0108d691ec9b 15:52:19 ---> 4ec684da23e0 15:52:19 Step 12/13 : COPY . . 15:52:19 ---> 80f18ccdf27b 15:52:19 Step 13/13 : RUN ${MAKE} 15:52:19 ---> Running in 87ce57bf5e33 15:52:19 noop 15:52:19 Removing intermediate container 87ce57bf5e33 15:52:19 ---> f82cf70c15db 15:52:19 Successfully built f82cf70c15db 15:52:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:19 + docker inspect -f . ci-base-image-x86_64 15:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:19 prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container 15:52:19 $ 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 15:52:20 $ docker top 3ee41668300c5a63e74cce4fe06446b976698fd9a21e196692cb081461a36f34 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:20 + go version 15:52:20 go version go1.17.7 linux/amd64 [Pipeline] } 15:52:20 $ docker stop --time=1 3ee41668300c5a63e74cce4fe06446b976698fd9a21e196692cb081461a36f34 15:52:21 $ docker rm -f 3ee41668300c5a63e74cce4fe06446b976698fd9a21e196692cb081461a36f34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:22 + docker inspect -f . ci-base-image-x86_64 15:52:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:22 prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container 15:52:22 $ 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 15:52:22 $ docker top fac0d6b94dd5b7ccd888e2904ea625b1566a3efb1f2e697abce82303f70609a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:52:23 + make test 15:52:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:52:23 # github.com/edgexfoundry/device-onvif-camera/internal/driver 15:52:23 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 15:52:23 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 15:52:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:52:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:52:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.314s coverage: 13.8% of statements 15:52:37 FAIL 15:52:37 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 15:52:37 $ docker stop --time=1 fac0d6b94dd5b7ccd888e2904ea625b1566a3efb1f2e697abce82303f70609a0 15:52:39 $ docker rm -f fac0d6b94dd5b7ccd888e2904ea625b1566a3efb1f2e697abce82303f70609a0 [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 15:52:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:40 15:52:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:40 latest: Pulling from edgex-lftools-log-publisher 15:52:40 5eb5b503b376: Pulling fs layer 15:52:40 5c69ac0246d0: Pulling fs layer 15:52:40 ec43610c2a17: Pulling fs layer 15:52:40 3a2ae6a8a46f: Pulling fs layer 15:52:40 33b1e0a273af: Pulling fs layer 15:52:40 5d3b04190fa2: Pulling fs layer 15:52:40 2f39f015ded8: Pulling fs layer 15:52:40 33b1e0a273af: Waiting 15:52:40 5d3b04190fa2: Waiting 15:52:40 2f39f015ded8: Waiting 15:52:40 3a2ae6a8a46f: Waiting 15:52:40 5c69ac0246d0: Verifying Checksum 15:52:40 5c69ac0246d0: Download complete 15:52:40 3a2ae6a8a46f: Download complete 15:52:40 33b1e0a273af: Verifying Checksum 15:52:40 33b1e0a273af: Download complete 15:52:40 ec43610c2a17: Verifying Checksum 15:52:40 ec43610c2a17: Download complete 15:52:40 5d3b04190fa2: Verifying Checksum 15:52:40 5d3b04190fa2: Download complete 15:52:40 5eb5b503b376: Download complete 15:52:41 2f39f015ded8: Download complete 15:52:42 5eb5b503b376: Pull complete 15:52:42 5c69ac0246d0: Pull complete 15:52:42 ec43610c2a17: Pull complete 15:52:42 3a2ae6a8a46f: Pull complete 15:52:42 33b1e0a273af: Pull complete 15:52:42 5d3b04190fa2: Pull complete 15:52:48 2f39f015ded8: Pull complete 15:52:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:48 prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container 15:52:48 $ 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 15:52:49 $ docker top 9df0f2f75b7f130091b6d5c97521f7488674d343455fa4132c39123148680cc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:50 ---> job-cost.sh 15:52:50 lf-activate-venv: SKIPPING 15:52:50 INFO: No Stack... 15:52:50 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:51 INFO: Archiving Costs [Pipeline] sh 15:52:51 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 15:52:51 + cut -d, -f6 [Pipeline] lock 15:52:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] 15:52:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] did not exist. Created. 15:52:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:51 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:51 Stashed 1 file(s) [Pipeline] } 15:52:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:51 $ docker stop --time=1 9df0f2f75b7f130091b6d5c97521f7488674d343455fa4132c39123148680cc2 15:52:53 $ docker rm -f 9df0f2f75b7f130091b6d5c97521f7488674d343455fa4132c39123148680cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:53 Failed in branch amd64 15:56:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16113 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 15:56:13 Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout 15:56:14 Selected Git installation does not exist. Using Default 15:56:14 The recommended git tool is: NONE 15:56:19 using credential edgex-jenkins-ssh 15:56:19 Cloning the remote Git repository 15:56:19 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:56:19 > git init /w/workspace/device-onvif-camera/14 # timeout=10 15:56:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:56:19 > git --version # timeout=10 15:56:20 > git --version # 'git version 2.25.1' 15:56:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:56:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:56:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:56:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:21 > 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 15:56:21 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit c4303a3ff7b197d9c8a582dc0963b7953f4c60ef 15:56:22 Merge succeeded, producing 7ea83c088e0b977c86d1de7328a233a4b9bbadfe 15:56:22 Checking out Revision 7ea83c088e0b977c86d1de7328a233a4b9bbadfe (PR-90) 15:56:21 > git config core.sparsecheckout # timeout=10 15:56:21 > git checkout -f c4303a3ff7b197d9c8a582dc0963b7953f4c60ef # timeout=10 15:56:21 > git remote # timeout=10 15:56:21 > git config --get remote.origin.url # timeout=10 15:56:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:21 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 15:56:22 > git rev-parse HEAD^{commit} # timeout=10 15:56:22 > git config core.sparsecheckout # timeout=10 15:56:22 > git checkout -f 7ea83c088e0b977c86d1de7328a233a4b9bbadfe # timeout=10 15:56:26 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 15:56:26 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:56:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:27 Dload Upload Total Spent Left Speed 15:56:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 87521 0 --:--:-- --:--:-- --:--:-- 88151 15:56:26 > git rev-list --no-walk e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f # timeout=10 [Pipeline] sh 15:56:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:56:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 15:56:28 sudo tee /etc/docker/daemon.new 15:56:28 { 15:56:28 "registry-mirrors": [ 15:56:28 "https://nexus3.edgexfoundry.org:10001" 15:56:28 ], 15:56:28 "bip": "10.250.0.254/24", 15:56:28 "hosts": [ 15:56:28 "tcp://0.0.0.0:5555", 15:56:28 "unix:///var/run/docker.sock" 15:56:28 ], 15:56:28 "mtu": 1458, 15:56:28 "selinux-enabled": true, 15:56:28 "seccomp-profile": "/etc/docker/seccomp.json" 15:56:28 } [Pipeline] sh 15:56:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:56:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:47 provisioning config files... 15:56:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config2115912628472940880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:47 ---> docker-login.sh 15:56:47 nexus3.edgexfoundry.org:10001 15:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:48 Configure a credential helper to remove this warning. See 15:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:48 15:56:48 Login Succeeded 15:56:48 nexus3.edgexfoundry.org:10002 15:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:49 Configure a credential helper to remove this warning. See 15:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:49 15:56:49 Login Succeeded 15:56:49 nexus3.edgexfoundry.org:10003 15:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:49 Configure a credential helper to remove this warning. See 15:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:49 15:56:49 Login Succeeded 15:56:49 nexus3.edgexfoundry.org:10004 15:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:50 Configure a credential helper to remove this warning. See 15:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:50 15:56:50 Login Succeeded 15:56:50 docker.io 15:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:51 Configure a credential helper to remove this warning. See 15:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:51 15:56:51 Login Succeeded 15:56:51 ---> docker-login.sh ends [Pipeline] } 15:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:51 ========================================================= 15:56:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:56:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:52 + 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 . 15:56:52 Sending build context to Docker daemon 6.057MB 15:56:52 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:56:52 Step 2/13 : FROM ${BASE} AS builder 15:56:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:56:52 9b3977197b4f: Pulling fs layer 15:56:52 1a89e8eeedd5: Pulling fs layer 15:56:52 94645a83ff95: Pulling fs layer 15:56:52 e6fb740bc735: Pulling fs layer 15:56:52 3a77bd46dcc9: Pulling fs layer 15:56:52 355e64cbe906: Pulling fs layer 15:56:52 63ab81a10011: Pulling fs layer 15:56:52 555d1d1c4555: Pulling fs layer 15:56:52 7d9057610161: Pulling fs layer 15:56:52 e6fb740bc735: Waiting 15:56:52 3a77bd46dcc9: Waiting 15:56:52 355e64cbe906: Waiting 15:56:52 63ab81a10011: Waiting 15:56:52 555d1d1c4555: Waiting 15:56:52 7d9057610161: Waiting 15:56:52 94645a83ff95: Verifying Checksum 15:56:52 94645a83ff95: Download complete 15:56:52 1a89e8eeedd5: Verifying Checksum 15:56:52 1a89e8eeedd5: Download complete 15:56:52 3a77bd46dcc9: Verifying Checksum 15:56:52 3a77bd46dcc9: Download complete 15:56:52 355e64cbe906: Verifying Checksum 15:56:52 355e64cbe906: Download complete 15:56:52 9b3977197b4f: Download complete 15:56:52 63ab81a10011: Verifying Checksum 15:56:52 63ab81a10011: Download complete 15:56:53 9b3977197b4f: Pull complete 15:56:53 7d9057610161: Verifying Checksum 15:56:53 7d9057610161: Download complete 15:56:54 1a89e8eeedd5: Pull complete 15:56:54 94645a83ff95: Pull complete 15:56:55 555d1d1c4555: Verifying Checksum 15:56:55 555d1d1c4555: Download complete 15:56:55 e6fb740bc735: Download complete 15:57:08 e6fb740bc735: Pull complete 15:57:08 3a77bd46dcc9: Pull complete 15:57:08 355e64cbe906: Pull complete 15:57:08 63ab81a10011: Pull complete 15:57:15 555d1d1c4555: Pull complete 15:57:17 7d9057610161: Pull complete 15:57:17 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 15:57:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:57:17 ---> 819e984ddca1 15:57:17 Step 3/13 : ARG MAKE="make build" 15:57:19 ---> Running in 361047a24579 15:57:19 Removing intermediate container 361047a24579 15:57:19 ---> 66f110e24a08 15:57:19 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:57:20 ---> Running in aae1fc470f40 15:57:20 Removing intermediate container aae1fc470f40 15:57:20 ---> 1d59d6c0f20d 15:57:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:57:20 ---> Running in 715900edb5ee 15:57:20 Removing intermediate container 715900edb5ee 15:57:20 ---> eab39ca69cc2 15:57:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:57:20 ---> Running in f41a1c68f3da 15:57:21 Removing intermediate container f41a1c68f3da 15:57:21 ---> 5e205024f51c 15:57:21 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:57:21 ---> Running in 5a362f775f3e 15:57:23 Removing intermediate container 5a362f775f3e 15:57:23 ---> 2b9f55115d56 15:57:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:23 ---> Running in 26bbd110f8f9 15:57:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:57:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:57:26 OK: 220 MiB in 52 packages 15:57:27 Removing intermediate container 26bbd110f8f9 15:57:27 ---> d978df6e67b8 15:57:27 Step 9/13 : WORKDIR /device-onvif-camera 15:57:27 ---> Running in af68bd020d22 15:57:27 Removing intermediate container af68bd020d22 15:57:27 ---> e1b7f59c5b92 15:57:27 Step 10/13 : COPY go.mod vendor* ./ 15:57:28 ---> 6a299d286351 15:57:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:28 ---> Running in f4b2c0bff464 15:58:15 Removing intermediate container f4b2c0bff464 15:58:15 ---> 99ba4ec3cae3 15:58:15 Step 12/13 : COPY . . 15:58:15 ---> 522642b53405 15:58:15 Step 13/13 : RUN ${MAKE} 15:58:15 ---> Running in 338347fa5835 15:58:16 noop 15:58:16 Removing intermediate container 338347fa5835 15:58:16 ---> 96f670dd894c 15:58:16 Successfully built 96f670dd894c 15:58:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:17 + docker inspect -f . ci-base-image-arm64 15:58:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:17 prd-ubuntu20.04-docker-arm64-4c-16g-16113 does not seem to be running inside a container 15:58:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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 15:58:18 $ docker top f3c62cc258a65e133ccee1cb53d7aae731d939a7b3b480ae11b1803ee682131b -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:19 + go version 15:58:19 go version go1.17.7 linux/arm64 [Pipeline] } 15:58:19 $ docker stop --time=1 f3c62cc258a65e133ccee1cb53d7aae731d939a7b3b480ae11b1803ee682131b 15:58:21 $ docker rm -f f3c62cc258a65e133ccee1cb53d7aae731d939a7b3b480ae11b1803ee682131b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:21 + docker inspect -f . ci-base-image-arm64 15:58:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:22 prd-ubuntu20.04-docker-arm64-4c-16g-16113 does not seem to be running inside a container 15:58:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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 15:58:23 $ docker top 7b87aeb1b800e1220651457c3b83f2efeef78a17412db9ca30eb6d8aac1a2bab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:58:24 + make test 15:58:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:58:25 # github.com/edgexfoundry/device-onvif-camera/internal/driver 15:58:25 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 15:58:25 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 15:58:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:00:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:00:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.435s coverage: 13.8% of statements 16:00:13 FAIL 16:00:13 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 16:00:13 $ docker stop --time=1 7b87aeb1b800e1220651457c3b83f2efeef78a17412db9ca30eb6d8aac1a2bab 16:00:15 $ docker rm -f 7b87aeb1b800e1220651457c3b83f2efeef78a17412db9ca30eb6d8aac1a2bab [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:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:00:16 16:00:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:00:16 arm64: Pulling from edgex-lftools-log-publisher 16:00:16 8998bd30e6a1: Pulling fs layer 16:00:16 04944245beec: Pulling fs layer 16:00:16 699f458cf7ca: Pulling fs layer 16:00:16 765212b225bb: Pulling fs layer 16:00:16 f23df028b6ca: Pulling fs layer 16:00:16 d65c8cfc05b1: Pulling fs layer 16:00:16 2437ff75d9bd: Pulling fs layer 16:00:16 765212b225bb: Waiting 16:00:16 d65c8cfc05b1: Waiting 16:00:16 f23df028b6ca: Waiting 16:00:16 2437ff75d9bd: Waiting 16:00:16 04944245beec: Verifying Checksum 16:00:16 04944245beec: Download complete 16:00:16 765212b225bb: Verifying Checksum 16:00:16 765212b225bb: Download complete 16:00:16 f23df028b6ca: Verifying Checksum 16:00:16 f23df028b6ca: Download complete 16:00:16 d65c8cfc05b1: Download complete 16:00:17 699f458cf7ca: Verifying Checksum 16:00:17 699f458cf7ca: Download complete 16:00:17 8998bd30e6a1: Verifying Checksum 16:00:17 8998bd30e6a1: Download complete 16:00:19 2437ff75d9bd: Verifying Checksum 16:00:19 2437ff75d9bd: Download complete 16:00:21 8998bd30e6a1: Pull complete 16:00:22 04944245beec: Pull complete 16:00:23 699f458cf7ca: Pull complete 16:00:23 765212b225bb: Pull complete 16:00:24 f23df028b6ca: Pull complete 16:00:24 d65c8cfc05b1: Pull complete 16:00:39 2437ff75d9bd: Pull complete 16:00:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:00:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:40 prd-ubuntu20.04-docker-arm64-4c-16g-16113 does not seem to be running inside a container 16:00:40 $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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:00:42 $ docker top ef715b7a2a9b4a55a67469a445ad6d472c6217deac3847a6a30e75e077394b3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:43 ---> job-cost.sh 16:00:43 lf-activate-venv: SKIPPING 16:00:43 INFO: No Stack... 16:00:44 INFO: Retrieving Pricing Info for: v3-standard-4 16:00:45 INFO: Archiving Costs [Pipeline] sh 16:00:45 + cat /w/workspace/device-onvif-camera/14/archives/cost.csv 16:00:45 + cut -d, -f6 [Pipeline] lock 16:00:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] 16:00:45 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] did not exist. Created. 16:00:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:46 /w/workspace/device-onvif-camera/14@tmp/durable-288cbd55/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:00:47 + echo total: 0.10999999940395355 [Pipeline] stash 16:00:47 Warning: overwriting stash ‘stack-cost’ 16:00:47 Stashed 1 file(s) [Pipeline] } 16:00:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:47 $ docker stop --time=1 ef715b7a2a9b4a55a67469a445ad6d472c6217deac3847a6a30e75e077394b3e 16:00:49 $ docker rm -f ef715b7a2a9b4a55a67469a445ad6d472c6217deac3847a6a30e75e077394b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:00:49 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:00:50 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 16:00:50 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 16:00:50 total 16 16:00:50 drwxr-xr-x 3 root root 4096 Jun 27 15:52 . 16:00:50 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:52 .. 16:00:50 drwxr-xr-x 2 root root 4096 Jun 27 15:52 cost 16:00:50 -rw-r--r-- 1 root root 90 Jun 27 15:52 cost.csv 16:00:50 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 16:00:50 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 16:00:50 total 16 16:00:50 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 15:52 . 16:00:50 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:52 .. 16:00:50 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 15:52 cost 16:00:50 -rw-r--r-- 1 jenkins jenkins 90 Jun 27 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:00:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:00:51 ---> package-listing.sh 16:00:51 ++ facter osfamily 16:00:51 ++ tr '[:upper:]' '[:lower:]' 16:00:51 + OS_FAMILY=debian 16:00:51 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 16:00:51 + START_PACKAGES=/tmp/packages_start.txt 16:00:51 + END_PACKAGES=/tmp/packages_end.txt 16:00:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:00:51 + PACKAGES=/tmp/packages_start.txt 16:00:51 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 16:00:51 + PACKAGES=/tmp/packages_end.txt 16:00:51 + case "${OS_FAMILY}" in 16:00:51 + dpkg -l 16:00:51 + grep '^ii' 16:00:51 + '[' -f /tmp/packages_start.txt ']' 16:00:51 + '[' -f /tmp/packages_end.txt ']' 16:00:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:00:51 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 16:00:51 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 16:00:51 + 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:00:51 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:00:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:52 prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container 16:00:52 $ 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:00:52 $ docker top e310a3c28251bb8e2547b744a2d0ddf8fefeb76bc0b48e26bfdca14823e0cb70 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:53 + touch /tmp/pre-build-complete [Pipeline] sh 16:00:53 + mkdir -p /var/log/sysstat [Pipeline] sh 16:00:53 + ls /var/log/sa-host 16:00:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:54 provisioning config files... 16:00:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config8294962361790329126tmp [Pipeline] { [Pipeline] echo 16:00:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:00:54 ---> create-netrc.sh [Pipeline] } 16:00:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:00:54 ---> python-tools-install.sh [Pipeline] echo 16:00:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:00:55 ---> sudo-logs.sh 16:00:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:00:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:00:55 ---> job-cost.sh 16:00:55 lf-activate-venv: SKIPPING 16:00:55 DEBUG: total: 0.2199999988079071 16:00:55 INFO: Retrieving Stack Cost... 16:00:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:00:56 INFO: Archiving Costs [Pipeline] echo 16:00:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:00:56 ---> logs-deploy.sh 16:00:56 lf-activate-venv: SKIPPING 16:00:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/14 16:00:56 INFO: archiving workspace using pattern(s): 16:00:57 Archives upload complete. 16:00:57 INFO: archiving logs to Nexus