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 48f025dff2f2ff238476ea74f4e3869ed791b589 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-ssh881887376084333314.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-ssh14016461677796057018.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-ssh5584718622394688990.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-ssh16770755719251144930.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-ssh16599880281289388697.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-16106 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 48f025dff2f2ff238476ea74f4e3869ed791b589 Merge succeeded, producing bc5b9d838b6a9b25d31832896b2c140f22c57010 Checking out Revision bc5b9d838b6a9b25d31832896b2c140f22c57010 (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 48f025dff2f2ff238476ea74f4e3869ed791b589 # 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 bc5b9d838b6a9b25d31832896b2c140f22c57010 # 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:38:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:38:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:38:59 ========================================================= 15:38:59 EdgeX Global Pipelines Version Info 15:38:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 16ab54abe7bff73a40740f858a070dcccd827bfc # timeout=10 15:39:00 ------------------- 15:39:00 stable info: 15:39:00 ------------------- 15:39:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:39:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:39:00 Message: update stable to v1.0.234 15:39:01 ------------------- 15:39:01 experimental info: 15:39:01 ------------------- 15:39:01 Commited By: **** collab-it+edgex@linuxfoundation.org 15:39:01 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:39:01 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc5b9d8 [Pipeline] echo 15:39:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:39:01 provisioning config files... 15:39:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5445251539822196053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:02 ---> docker-login.sh 15:39:02 nexus3.edgexfoundry.org:10001 15:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:02 Configure a credential helper to remove this warning. See 15:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:02 15:39:02 Login Succeeded 15:39:02 nexus3.edgexfoundry.org:10002 15:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:02 Configure a credential helper to remove this warning. See 15:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:02 15:39:02 Login Succeeded 15:39:02 nexus3.edgexfoundry.org:10003 15:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:02 Configure a credential helper to remove this warning. See 15:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:02 15:39:02 Login Succeeded 15:39:02 nexus3.edgexfoundry.org:10004 15:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:03 Configure a credential helper to remove this warning. See 15:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:03 15:39:03 Login Succeeded 15:39:03 docker.io 15:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:03 Configure a credential helper to remove this warning. See 15:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:03 15:39:03 Login Succeeded 15:39:03 ---> docker-login.sh ends [Pipeline] } 15:39:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:39:03 + git rev-list -1 --merges bc5b9d838b6a9b25d31832896b2c140f22c57010~1..bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo 15:39:04 -----------> git rev-list -1 --merges bc5b9d838b6a9b25d31832896b2c140f22c57010~1..bc5b9d838b6a9b25d31832896b2c140f22c57010 bc5b9d838b6a9b25d31832896b2c140f22c57010 15:39:04 bc5b9d838b6a9b25d31832896b2c140f22c57010 [false] [Pipeline] sh 15:39:04 + git log --format=format:%s -1 bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo 15:39:04 ========================================================= 15:39:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:39:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:39:04 + git log --format=format:%s -1 bc5b9d838b6a9b25d31832896b2c140f22c57010 [Pipeline] echo 15:39:04 [semverPrep] GIT_COMMIT: bc5b9d838b6a9b25d31832896b2c140f22c57010, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo 15:39:04 [semverPrep] This is not a build commit. [Pipeline] sh 15:39:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:39:05 + grep -v github /etc/ssh/ssh_known_hosts 15:39:05 + [ -e /tmp/ssh_known_hosts ] 15:39:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:39:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:39:05 + sudo tee -a /etc/ssh/ssh_known_hosts 15:39:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:39:05 15:39:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:39:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:39:05 42c077c10790: Pulling fs layer 15:39:05 f63e77b7563a: Pulling fs layer 15:39:05 bd5fdadae976: Pulling fs layer 15:39:05 205491f53016: Pulling fs layer 15:39:05 df18705c85c3: Pulling fs layer 15:39:05 bdb3f477010e: Pulling fs layer 15:39:05 c8a8fc8e1c8f: Pulling fs layer 15:39:05 2c6e9b1d212d: Pulling fs layer 15:39:05 bdb8f0575790: Pulling fs layer 15:39:05 386e3cb2ff24: Pulling fs layer 15:39:05 2343380bae48: Pulling fs layer 15:39:05 205491f53016: Waiting 15:39:05 bdb8f0575790: Waiting 15:39:05 bdb3f477010e: Waiting 15:39:05 386e3cb2ff24: Waiting 15:39:05 c8a8fc8e1c8f: Waiting 15:39:05 2343380bae48: Waiting 15:39:05 2c6e9b1d212d: Waiting 15:39:05 df18705c85c3: Waiting 15:39:05 f63e77b7563a: Download complete 15:39:05 205491f53016: Verifying Checksum 15:39:05 205491f53016: Download complete 15:39:06 df18705c85c3: Verifying Checksum 15:39:06 df18705c85c3: Download complete 15:39:06 bd5fdadae976: Verifying Checksum 15:39:06 bd5fdadae976: Download complete 15:39:06 bdb3f477010e: Verifying Checksum 15:39:06 bdb3f477010e: Download complete 15:39:06 2c6e9b1d212d: Verifying Checksum 15:39:06 2c6e9b1d212d: Download complete 15:39:06 bdb8f0575790: Verifying Checksum 15:39:06 bdb8f0575790: Download complete 15:39:06 386e3cb2ff24: Download complete 15:39:06 2343380bae48: Verifying Checksum 15:39:06 2343380bae48: Download complete 15:39:06 42c077c10790: Download complete 15:39:06 c8a8fc8e1c8f: Download complete 15:39:07 42c077c10790: Pull complete 15:39:07 f63e77b7563a: Pull complete 15:39:07 bd5fdadae976: Pull complete 15:39:07 205491f53016: Pull complete 15:39:08 df18705c85c3: Pull complete 15:39:08 bdb3f477010e: Pull complete 15:39:10 c8a8fc8e1c8f: Pull complete 15:39:10 2c6e9b1d212d: Pull complete 15:39:10 bdb8f0575790: Pull complete 15:39:10 386e3cb2ff24: Pull complete 15:39:10 2343380bae48: Pull complete 15:39:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:39:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:10 prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container 15:39: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 15:39:11 $ docker top 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c -eo pid,comm 15:39: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). 15:39:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:39:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:12 [ssh-agent] Looking for ssh-agent implementation... 15:39:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:12 $ docker exec 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent 15:39:12 SSH_AUTH_SOCK=/tmp/ssh-ZZBWrxmavfxu/agent.32 15:39:12 SSH_AGENT_PID=38 15:39:12 Running ssh-add (command line suppressed) 15:39:12 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4364413998542671422.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4364413998542671422.key) 15:39:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:12 + git tag --points-at HEAD [Pipeline] } 15:39:12 $ docker exec --env ******** --env ******** 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent -k 15:39:12 unset SSH_AUTH_SOCK; 15:39:12 unset SSH_AGENT_PID; 15:39:12 echo Agent pid 38 killed; 15:39:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:39:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:12 [ssh-agent] Looking for ssh-agent implementation... 15:39:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:13 $ docker exec 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent 15:39:13 SSH_AUTH_SOCK=/tmp/ssh-8IUrLU6PFVyI/agent.71 15:39:13 SSH_AGENT_PID=78 15:39:13 Running ssh-add (command line suppressed) 15:39:13 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2856380908257645581.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_2856380908257645581.key) 15:39:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:13 + git semver init 15:39:13 2022-06-27 15:39:13,825 [run_init] DEBUG init version:0.0.0 force:False 15:39:13 2022-06-27 15:39:13,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 15:39:13 2022-06-27 15:39:13,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 15:39:13 2022-06-27 15:39:13,826 [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:39:14 2022-06-27 15:39:14,507 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 15:39:14 2022-06-27 15:39:14,508 [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:39:14 2022-06-27 15:39:14,508 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 15:39:14 2022-06-27 15:39:14,513 [execute] INFO git cat-file --batch-check 15:39:14 2022-06-27 15:39:14,514 [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:39:14 2022-06-27 15:39:14,521 [execute] INFO git cat-file --batch 15:39:14 2022-06-27 15:39:14,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 15:39:14 2022-06-27 15:39:14,527 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 15:39:14 0.0.0 [Pipeline] } 15:39:14 $ docker exec --env ******** --env ******** 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c ssh-agent -k 15:39:14 unset SSH_AUTH_SOCK; 15:39:14 unset SSH_AGENT_PID; 15:39:14 echo Agent pid 78 killed; 15:39:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:39:15 + git semver [Pipeline] } 15:39:15 $ docker stop --time=1 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c 15:39:16 $ docker rm -f 21f02e406d3c5fcdc9c40de1226d7f71668c4d805cf6ac32bd8d3646c77f861c [Pipeline] // withDockerContainer [Pipeline] sh 15:39:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:39:17 Stashed 1 file(s) [Pipeline] echo 15:39: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 15:39:17 provisioning config files... 15:39:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5978000965858335808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:17 ---> docker-login.sh 15:39:17 nexus3.edgexfoundry.org:10001 15:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:17 Configure a credential helper to remove this warning. See 15:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:17 15:39:17 Login Succeeded 15:39:17 nexus3.edgexfoundry.org:10002 15:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:18 Configure a credential helper to remove this warning. See 15:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:18 15:39:18 Login Succeeded 15:39:18 nexus3.edgexfoundry.org:10003 15:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:18 Configure a credential helper to remove this warning. See 15:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:18 15:39:18 Login Succeeded 15:39:18 nexus3.edgexfoundry.org:10004 15:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:18 Configure a credential helper to remove this warning. See 15:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:18 15:39:18 Login Succeeded 15:39:18 docker.io 15:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:18 Configure a credential helper to remove this warning. See 15:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:18 15:39:18 Login Succeeded 15:39:18 ---> docker-login.sh ends [Pipeline] } 15:39:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:39:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:39:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:39:18 ========================================================= 15:39:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:39:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39: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 . 15:39:19 Sending build context to Docker daemon 8.852MB 15:39:19 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:39:19 Step 2/13 : FROM ${BASE} AS builder 15:39:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:39:19 59bf1c3509f3: Pulling fs layer 15:39:19 666ba61612fd: Pulling fs layer 15:39:19 8ed8ca486205: Pulling fs layer 15:39:19 cc1cd167ecdc: Pulling fs layer 15:39:19 c516ae0d96e1: Pulling fs layer 15:39:19 684cea983483: Pulling fs layer 15:39:19 dd3240ac7de5: Pulling fs layer 15:39:19 b1e948a4e11c: Pulling fs layer 15:39:19 a8fd76ee1af6: Pulling fs layer 15:39:19 646ad004c059: Pulling fs layer 15:39:19 cc1cd167ecdc: Waiting 15:39:19 c516ae0d96e1: Waiting 15:39:19 684cea983483: Waiting 15:39:19 dd3240ac7de5: Waiting 15:39:19 b1e948a4e11c: Waiting 15:39:19 a8fd76ee1af6: Waiting 15:39:19 646ad004c059: Waiting 15:39:19 8ed8ca486205: Download complete 15:39:19 666ba61612fd: Verifying Checksum 15:39:19 666ba61612fd: Download complete 15:39:19 c516ae0d96e1: Download complete 15:39:19 684cea983483: Verifying Checksum 15:39:19 684cea983483: Download complete 15:39:19 dd3240ac7de5: Download complete 15:39:19 59bf1c3509f3: Verifying Checksum 15:39:19 59bf1c3509f3: Download complete 15:39:19 b1e948a4e11c: Verifying Checksum 15:39:19 b1e948a4e11c: Download complete 15:39:19 59bf1c3509f3: Pull complete 15:39:19 666ba61612fd: Pull complete 15:39:19 8ed8ca486205: Pull complete 15:39:19 646ad004c059: Verifying Checksum 15:39:19 646ad004c059: Download complete 15:39:19 a8fd76ee1af6: Verifying Checksum 15:39:19 a8fd76ee1af6: Download complete 15:39:20 cc1cd167ecdc: Verifying Checksum 15:39:20 cc1cd167ecdc: Download complete 15:39:23 cc1cd167ecdc: Pull complete 15:39:23 c516ae0d96e1: Pull complete 15:39:23 684cea983483: Pull complete 15:39:23 dd3240ac7de5: Pull complete 15:39:23 b1e948a4e11c: Pull complete 15:39:25 a8fd76ee1af6: Pull complete 15:39:26 646ad004c059: Pull complete 15:39:26 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:39:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:39:26 ---> 8f69c11f6b0c 15:39:26 Step 3/13 : ARG MAKE="make build" 15:39:28 ---> Running in 8cde1fc5aec9 15:39:28 Removing intermediate container 8cde1fc5aec9 15:39:28 ---> f5e2d881de87 15:39:28 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:39:28 ---> Running in cc55e7a35f15 15:39:28 Removing intermediate container cc55e7a35f15 15:39:28 ---> 56d23b42999c 15:39:28 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:39:28 ---> Running in bb623f6b8c2e 15:39:28 Removing intermediate container bb623f6b8c2e 15:39:28 ---> 44988f1b4554 15:39:28 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:39:28 ---> Running in 8ac8c2cd26f9 15:39:28 Removing intermediate container 8ac8c2cd26f9 15:39:28 ---> cc536f7a6fa9 15:39:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:39:28 ---> Running in dac026dd1c60 15:39:29 Removing intermediate container dac026dd1c60 15:39:29 ---> 53cb795e03cc 15:39:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:39:29 ---> Running in 48bd74d9c57d 15:39:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:39:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:39:30 OK: 221 MiB in 52 packages 15:39:31 Removing intermediate container 48bd74d9c57d 15:39:31 ---> d0d96a7b0c8a 15:39:31 Step 9/13 : WORKDIR /device-onvif-camera 15:39:31 ---> Running in ebe957e55ae7 15:39:31 Removing intermediate container ebe957e55ae7 15:39:31 ---> 875d2bd7e446 15:39:31 Step 10/13 : COPY go.mod vendor* ./ 15:39:31 ---> 13b85e7d8671 15:39:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:31 ---> Running in 72834c6e88b1 15:39:32 Still waiting to schedule task 15:39:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:39:46 Removing intermediate container 72834c6e88b1 15:39:46 ---> 014d315328cc 15:39:46 Step 12/13 : COPY . . 15:39:46 ---> 59caf67a9586 15:39:46 Step 13/13 : RUN ${MAKE} 15:39:46 ---> Running in aab985f51c6e 15:39:47 noop 15:39:47 Removing intermediate container aab985f51c6e 15:39:47 ---> 5edf69d5da84 15:39:47 Successfully built 5edf69d5da84 15:39:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:47 + docker inspect -f . ci-base-image-x86_64 15:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:47 prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container 15:39:47 $ 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:39:48 $ docker top aee4e3102e273958854dc326b0a6bd4981c08bd8e9d389f579e2dad3c0b38ed3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:48 + go version 15:39:48 go version go1.17.7 linux/amd64 [Pipeline] } 15:39:48 $ docker stop --time=1 aee4e3102e273958854dc326b0a6bd4981c08bd8e9d389f579e2dad3c0b38ed3 15:39:49 $ docker rm -f aee4e3102e273958854dc326b0a6bd4981c08bd8e9d389f579e2dad3c0b38ed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:50 + docker inspect -f . ci-base-image-x86_64 15:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:50 prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container 15:39: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 15:39:50 $ docker top f62ed1e443b983717aba59db19498ab5493d1011b996054880ce34b4406d777c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:39:51 + make test 15:39:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:39:51 # github.com/edgexfoundry/device-onvif-camera/internal/driver 15:39:51 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 15:39:51 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 15:39:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:40:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:40:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.807s coverage: 13.8% of statements 15:40:04 FAIL 15:40:05 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 15:40:05 $ docker stop --time=1 f62ed1e443b983717aba59db19498ab5493d1011b996054880ce34b4406d777c 15:40:06 $ docker rm -f f62ed1e443b983717aba59db19498ab5493d1011b996054880ce34b4406d777c [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:40:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:07 15:40:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:07 latest: Pulling from edgex-lftools-log-publisher 15:40:07 5eb5b503b376: Pulling fs layer 15:40:07 5c69ac0246d0: Pulling fs layer 15:40:07 ec43610c2a17: Pulling fs layer 15:40:07 3a2ae6a8a46f: Pulling fs layer 15:40:07 33b1e0a273af: Pulling fs layer 15:40:07 5d3b04190fa2: Pulling fs layer 15:40:07 2f39f015ded8: Pulling fs layer 15:40:07 33b1e0a273af: Waiting 15:40:07 5d3b04190fa2: Waiting 15:40:07 2f39f015ded8: Waiting 15:40:07 3a2ae6a8a46f: Waiting 15:40:07 5c69ac0246d0: Verifying Checksum 15:40:07 5c69ac0246d0: Download complete 15:40:07 3a2ae6a8a46f: Verifying Checksum 15:40:07 3a2ae6a8a46f: Download complete 15:40:07 33b1e0a273af: Verifying Checksum 15:40:07 33b1e0a273af: Download complete 15:40:07 5d3b04190fa2: Verifying Checksum 15:40:07 5d3b04190fa2: Download complete 15:40:07 ec43610c2a17: Verifying Checksum 15:40:07 ec43610c2a17: Download complete 15:40:07 5eb5b503b376: Verifying Checksum 15:40:07 5eb5b503b376: Download complete 15:40:08 2f39f015ded8: Download complete 15:40:09 5eb5b503b376: Pull complete 15:40:09 5c69ac0246d0: Pull complete 15:40:09 ec43610c2a17: Pull complete 15:40:10 3a2ae6a8a46f: Pull complete 15:40:10 33b1e0a273af: Pull complete 15:40:10 5d3b04190fa2: Pull complete 15:40:14 2f39f015ded8: Pull complete 15:40:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:40:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:14 prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container 15:40:14 $ 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:40:16 $ docker top 62ec152662fed087c026b178205ad7193b975edd34d778e859a726e81993d1fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:16 ---> job-cost.sh 15:40:16 lf-activate-venv: SKIPPING 15:40:16 INFO: No Stack... 15:40:17 INFO: Retrieving Pricing Info for: v3-standard-8 15:40:17 INFO: Archiving Costs [Pipeline] sh 15:40:17 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 15:40:17 + cut -d, -f6 [Pipeline] lock 15:40:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] 15:40:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] did not exist. Created. 15:40:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:40:18 + echo total: 0.2199999988079071 [Pipeline] stash 15:40:18 Stashed 1 file(s) [Pipeline] } 15:40:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] // lock [Pipeline] } 15:40:18 $ docker stop --time=1 62ec152662fed087c026b178205ad7193b975edd34d778e859a726e81993d1fb 15:40:19 $ docker rm -f 62ec152662fed087c026b178205ad7193b975edd34d778e859a726e81993d1fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:40:19 Failed in branch amd64 15:41:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16107 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 15:41:08 Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout 15:41:08 Selected Git installation does not exist. Using Default 15:41:08 The recommended git tool is: NONE 15:41:14 using credential edgex-jenkins-ssh 15:41:14 Cloning the remote Git repository 15:41:14 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:41:14 > git init /w/workspace/device-onvif-camera/13 # timeout=10 15:41:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:41:14 > git --version # timeout=10 15:41:14 > git --version # 'git version 2.25.1' 15:41:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:41:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:41:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:41:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:41:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:41:16 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41: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 15:41:16 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 48f025dff2f2ff238476ea74f4e3869ed791b589 15:41:16 Merge succeeded, producing e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f 15:41:16 Checking out Revision e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f (PR-90) 15:41:16 > git config core.sparsecheckout # timeout=10 15:41:16 > git checkout -f 48f025dff2f2ff238476ea74f4e3869ed791b589 # timeout=10 15:41:16 > git remote # timeout=10 15:41:16 > git config --get remote.origin.url # timeout=10 15:41:16 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:16 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 15:41:16 > git rev-parse HEAD^{commit} # timeout=10 15:41:16 > git config core.sparsecheckout # timeout=10 15:41:16 > git checkout -f e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f # timeout=10 15:41:21 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" 15:41:21 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:21 > git rev-list --no-walk 16ab54abe7bff73a40740f858a070dcccd827bfc # timeout=10 15:41:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:41:22 % Total % Received % Xferd Average Speed Time Time Time Current 15:41:22 Dload Upload Total Spent Left Speed 15:41:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 15:41:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:41:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:41:23 + sudo tee /etc/docker/daemon.new 15:41:23 { 15:41:23 "registry-mirrors": [ 15:41:23 "https://nexus3.edgexfoundry.org:10001" 15:41:23 ], 15:41:23 "bip": "10.250.0.254/24", 15:41:23 "hosts": [ 15:41:23 "tcp://0.0.0.0:5555", 15:41:23 "unix:///var/run/docker.sock" 15:41:23 ], 15:41:23 "mtu": 1458, 15:41:23 "selinux-enabled": true, 15:41:23 "seccomp-profile": "/etc/docker/seccomp.json" 15:41:23 } [Pipeline] sh 15:41:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:41:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:42 provisioning config files... 15:41:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config4661454831358287333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:42 ---> docker-login.sh 15:41:42 nexus3.edgexfoundry.org:10001 15:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:43 Configure a credential helper to remove this warning. See 15:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:43 15:41:43 Login Succeeded 15:41:43 nexus3.edgexfoundry.org:10002 15:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:43 Configure a credential helper to remove this warning. See 15:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:43 15:41:43 Login Succeeded 15:41:43 nexus3.edgexfoundry.org:10003 15:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:44 Configure a credential helper to remove this warning. See 15:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:44 15:41:44 Login Succeeded 15:41:44 nexus3.edgexfoundry.org:10004 15:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:44 Configure a credential helper to remove this warning. See 15:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:44 15:41:44 Login Succeeded 15:41:44 docker.io 15:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:45 Configure a credential helper to remove this warning. See 15:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:45 15:41:45 Login Succeeded 15:41:45 ---> docker-login.sh ends [Pipeline] } 15:41:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:41:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:45 ========================================================= 15:41:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:41:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:46 + 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:41:46 Sending build context to Docker daemon 6.054MB 15:41:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:41:46 Step 2/13 : FROM ${BASE} AS builder 15:41:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:41:46 9b3977197b4f: Pulling fs layer 15:41:46 1a89e8eeedd5: Pulling fs layer 15:41:46 94645a83ff95: Pulling fs layer 15:41:46 e6fb740bc735: Pulling fs layer 15:41:46 3a77bd46dcc9: Pulling fs layer 15:41:46 355e64cbe906: Pulling fs layer 15:41:46 63ab81a10011: Pulling fs layer 15:41:46 555d1d1c4555: Pulling fs layer 15:41:46 7d9057610161: Pulling fs layer 15:41:46 e6fb740bc735: Waiting 15:41:46 3a77bd46dcc9: Waiting 15:41:46 355e64cbe906: Waiting 15:41:46 63ab81a10011: Waiting 15:41:46 555d1d1c4555: Waiting 15:41:46 7d9057610161: Waiting 15:41:46 94645a83ff95: Verifying Checksum 15:41:46 94645a83ff95: Download complete 15:41:46 1a89e8eeedd5: Download complete 15:41:46 3a77bd46dcc9: Verifying Checksum 15:41:46 3a77bd46dcc9: Download complete 15:41:46 355e64cbe906: Verifying Checksum 15:41:46 355e64cbe906: Download complete 15:41:46 9b3977197b4f: Download complete 15:41:46 63ab81a10011: Verifying Checksum 15:41:46 63ab81a10011: Download complete 15:41:47 9b3977197b4f: Pull complete 15:41:47 7d9057610161: Verifying Checksum 15:41:47 7d9057610161: Download complete 15:41:48 1a89e8eeedd5: Pull complete 15:41:48 94645a83ff95: Pull complete 15:41:48 555d1d1c4555: Download complete 15:41:49 e6fb740bc735: Verifying Checksum 15:41:49 e6fb740bc735: Download complete 15:42:02 e6fb740bc735: Pull complete 15:42:02 3a77bd46dcc9: Pull complete 15:42:02 355e64cbe906: Pull complete 15:42:02 63ab81a10011: Pull complete 15:42:09 555d1d1c4555: Pull complete 15:42:10 7d9057610161: Pull complete 15:42:10 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 15:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:42:10 ---> 819e984ddca1 15:42:10 Step 3/13 : ARG MAKE="make build" 15:42:11 ---> Running in 6bb769b1bda0 15:42:11 Removing intermediate container 6bb769b1bda0 15:42:11 ---> be2e08af8287 15:42:11 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:42:12 ---> Running in e3c167690a28 15:42:12 Removing intermediate container e3c167690a28 15:42:12 ---> 0ba105397d53 15:42:12 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:42:12 ---> Running in 900dcf7874ea 15:42:12 Removing intermediate container 900dcf7874ea 15:42:12 ---> bf2961b8aa5a 15:42:12 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:42:12 ---> Running in dabb8a9ed0ae 15:42:12 Removing intermediate container dabb8a9ed0ae 15:42:12 ---> 3a439d9a57fa 15:42:12 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:12 ---> Running in e8b472fe8163 15:42:15 Removing intermediate container e8b472fe8163 15:42:15 ---> 0b9e0c82c930 15:42:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:15 ---> Running in 5cda4de5f68a 15:42:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:42:18 OK: 220 MiB in 52 packages 15:42:19 Removing intermediate container 5cda4de5f68a 15:42:19 ---> 13df1b279452 15:42:19 Step 9/13 : WORKDIR /device-onvif-camera 15:42:19 ---> Running in dee5ba37d3a5 15:42:19 Removing intermediate container dee5ba37d3a5 15:42:19 ---> 26dd6b7d7fad 15:42:19 Step 10/13 : COPY go.mod vendor* ./ 15:42:20 ---> cd6a3eda0475 15:42:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:20 ---> Running in 39306986d317 15:43:07 Removing intermediate container 39306986d317 15:43:07 ---> ec4afc6901b3 15:43:07 Step 12/13 : COPY . . 15:43:07 ---> 2200d74b37e6 15:43:07 Step 13/13 : RUN ${MAKE} 15:43:07 ---> Running in 88b6fa38707f 15:43:07 noop 15:43:07 Removing intermediate container 88b6fa38707f 15:43:07 ---> 76cd7919c075 15:43:07 Successfully built 76cd7919c075 15:43:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:08 + docker inspect -f . ci-base-image-arm64 15:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-16107 does not seem to be running inside a container 15:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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:43:10 $ docker top f83226e7862757ab808527d8bf2bd8c66f3822893e33f2c904c689e3c7549c85 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:11 + go version 15:43:11 go version go1.17.7 linux/arm64 [Pipeline] } 15:43:11 $ docker stop --time=1 f83226e7862757ab808527d8bf2bd8c66f3822893e33f2c904c689e3c7549c85 15:43:12 $ docker rm -f f83226e7862757ab808527d8bf2bd8c66f3822893e33f2c904c689e3c7549c85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:13 + docker inspect -f . ci-base-image-arm64 15:43:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:13 prd-ubuntu20.04-docker-arm64-4c-16g-16107 does not seem to be running inside a container 15:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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:43:14 $ docker top f17ec06b6f713caea55ac9133f2b0f40d60d04941d8366e21a7bbb47a41b8df1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:43:15 + make test 15:43:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:43:17 # github.com/edgexfoundry/device-onvif-camera/internal/driver 15:43:17 internal/driver/macmapper_test.go:54:4: expected statement, found ')' 15:43:17 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] 15:43:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:44:39 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:45:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.856s coverage: 13.8% of statements 15:45:06 FAIL 15:45:06 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 15:45:06 $ docker stop --time=1 f17ec06b6f713caea55ac9133f2b0f40d60d04941d8366e21a7bbb47a41b8df1 15:45:07 $ docker rm -f f17ec06b6f713caea55ac9133f2b0f40d60d04941d8366e21a7bbb47a41b8df1 [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 15:45:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:08 15:45:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:09 arm64: Pulling from edgex-lftools-log-publisher 15:45:09 8998bd30e6a1: Pulling fs layer 15:45:09 04944245beec: Pulling fs layer 15:45:09 699f458cf7ca: Pulling fs layer 15:45:09 765212b225bb: Pulling fs layer 15:45:09 f23df028b6ca: Pulling fs layer 15:45:09 d65c8cfc05b1: Pulling fs layer 15:45:09 2437ff75d9bd: Pulling fs layer 15:45:09 765212b225bb: Waiting 15:45:09 f23df028b6ca: Waiting 15:45:09 d65c8cfc05b1: Waiting 15:45:09 2437ff75d9bd: Waiting 15:45:09 04944245beec: Verifying Checksum 15:45:09 04944245beec: Download complete 15:45:09 765212b225bb: Verifying Checksum 15:45:09 765212b225bb: Download complete 15:45:09 f23df028b6ca: Verifying Checksum 15:45:09 f23df028b6ca: Download complete 15:45:09 d65c8cfc05b1: Verifying Checksum 15:45:09 d65c8cfc05b1: Download complete 15:45:09 699f458cf7ca: Verifying Checksum 15:45:09 699f458cf7ca: Download complete 15:45:10 8998bd30e6a1: Verifying Checksum 15:45:10 8998bd30e6a1: Download complete 15:45:12 2437ff75d9bd: Verifying Checksum 15:45:12 2437ff75d9bd: Download complete 15:45:14 8998bd30e6a1: Pull complete 15:45:14 04944245beec: Pull complete 15:45:16 699f458cf7ca: Pull complete 15:45:16 765212b225bb: Pull complete 15:45:17 f23df028b6ca: Pull complete 15:45:17 d65c8cfc05b1: Pull complete 15:45:32 2437ff75d9bd: Pull complete 15:45:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:45:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:32 prd-ubuntu20.04-docker-arm64-4c-16g-16107 does not seem to be running inside a container 15:45:32 $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 15:45:35 $ docker top a17d74e26167a858dbd12cf13755d070a5def9c770a94cc812ac8dd17d0d77c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:36 ---> job-cost.sh 15:45:36 lf-activate-venv: SKIPPING 15:45:36 INFO: No Stack... 15:45:36 INFO: Retrieving Pricing Info for: v3-standard-4 15:45:37 INFO: Archiving Costs [Pipeline] sh 15:45:38 + cat /w/workspace/device-onvif-camera/13/archives/cost.csv 15:45:38 + cut -d, -f6 [Pipeline] lock 15:45:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] 15:45:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] did not exist. Created. 15:45:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:38 /w/workspace/device-onvif-camera/13@tmp/durable-d083efca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:45:39 + echo total: 0.10999999940395355 [Pipeline] stash 15:45:39 Warning: overwriting stash ‘stack-cost’ 15:45:40 Stashed 1 file(s) [Pipeline] } 15:45:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-13-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:40 $ docker stop --time=1 a17d74e26167a858dbd12cf13755d070a5def9c770a94cc812ac8dd17d0d77c2 15:45:41 $ docker rm -f a17d74e26167a858dbd12cf13755d070a5def9c770a94cc812ac8dd17d0d77c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:45:41 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 15:45:42 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 15:45:42 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 15:45:42 total 16 15:45:42 drwxr-xr-x 3 root root 4096 Jun 27 15:40 . 15:45:42 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:40 .. 15:45:42 drwxr-xr-x 2 root root 4096 Jun 27 15:40 cost 15:45:42 -rw-r--r-- 1 root root 90 Jun 27 15:40 cost.csv 15:45:42 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 15:45:42 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 15:45:42 total 16 15:45:42 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 15:40 . 15:45:42 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:40 .. 15:45:42 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 15:40 cost 15:45:42 -rw-r--r-- 1 jenkins jenkins 90 Jun 27 15:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:45:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:45:43 ---> package-listing.sh 15:45:43 ++ facter osfamily 15:45:43 ++ tr '[:upper:]' '[:lower:]' 15:45:44 + OS_FAMILY=debian 15:45:44 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 15:45:44 + START_PACKAGES=/tmp/packages_start.txt 15:45:44 + END_PACKAGES=/tmp/packages_end.txt 15:45:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:45:44 + PACKAGES=/tmp/packages_start.txt 15:45:44 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 15:45:44 + PACKAGES=/tmp/packages_end.txt 15:45:44 + case "${OS_FAMILY}" in 15:45:44 + dpkg -l 15:45:44 + grep '^ii' 15:45:44 + '[' -f /tmp/packages_start.txt ']' 15:45:44 + '[' -f /tmp/packages_end.txt ']' 15:45:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:45:44 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 15:45:44 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 15:45:44 + 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 15:45:44 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 15:45:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:44 prd-ubuntu20.04-docker-8c-8g-16106 does not seem to be running inside a container 15:45:44 $ 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 15:45:45 $ docker top 4eb2aba3bffc2666138aa918b63d8778e24f3c51282e1b1e4f50561ea6712ba3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:45 + touch /tmp/pre-build-complete [Pipeline] sh 15:45:45 + mkdir -p /var/log/sysstat [Pipeline] sh 15:45:46 + ls /var/log/sa-host 15:45:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:46 provisioning config files... 15:45:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config6240163480808379294tmp [Pipeline] { [Pipeline] echo 15:45:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:45:46 ---> create-netrc.sh [Pipeline] } 15:45:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:45:47 ---> python-tools-install.sh [Pipeline] echo 15:45:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:45:47 ---> sudo-logs.sh 15:45:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:45:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:45:47 ---> job-cost.sh 15:45:47 lf-activate-venv: SKIPPING 15:45:47 DEBUG: total: 0.2199999988079071 15:45:47 INFO: Retrieving Stack Cost... 15:45:47 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:48 INFO: Archiving Costs [Pipeline] echo 15:45:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:45:48 ---> logs-deploy.sh 15:45:48 lf-activate-venv: SKIPPING 15:45:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/13 15:45:48 INFO: archiving workspace using pattern(s): 15:45:49 Archives upload complete. 15:45:49 INFO: archiving logs to Nexus