Pull request #210 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from f6eb3024e45870f228bada2f7b48045a500ee5d4+ac647965ab1b942a087d699135cd6fee27db47f4 (e9430d4f62b37e731022b1ae608a5b4ee4a20fc9) 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-ssh13345238607324451725.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13403692429350906771.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2625251725134011617.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14861592511839736257.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17169934352855471547.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6377485722637043854.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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-1780 in /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-210 # 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 > 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/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ac647965ab1b942a087d699135cd6fee27db47f4 into PR head commit f6eb3024e45870f228bada2f7b48045a500ee5d4 Merge succeeded, producing f6eb3024e45870f228bada2f7b48045a500ee5d4 Checking out Revision f6eb3024e45870f228bada2f7b48045a500ee5d4 (PR-210) > git config core.sparsecheckout # timeout=10 > git checkout -f f6eb3024e45870f228bada2f7b48045a500ee5d4 # 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 ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6eb3024e45870f228bada2f7b48045a500ee5d4 # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:30:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:08 ========================================================= 00:30:08 EdgeX Global Pipelines Version Info 00:30:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:30:09 ------------------- 00:30:09 stable info: 00:30:09 ------------------- 00:30:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:30:09 Message: update stable to v1.0.244 00:30:10 ------------------- 00:30:10 experimental info: 00:30:10 ------------------- 00:30:10 Commited By: **** collab-it+edgex@linuxfoundation.org 00:30:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:30:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:30:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:30:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo 00:30:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo 00:30:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo 00:30:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6eb3024e45870f228bada2f7b48045a500ee5d4 [Pipeline] echo 00:30:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6eb302 [Pipeline] echo 00:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:12 provisioning config files... 00:30:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config13608088863646367952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:12 ---> docker-login.sh 00:30:12 nexus3.edgexfoundry.org:10001 00:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:12 Configure a credential helper to remove this warning. See 00:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:12 00:30:12 Login Succeeded 00:30:12 nexus3.edgexfoundry.org:10002 00:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:13 Configure a credential helper to remove this warning. See 00:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:13 00:30:13 Login Succeeded 00:30:13 nexus3.edgexfoundry.org:10003 00:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:13 Configure a credential helper to remove this warning. See 00:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:13 00:30:13 Login Succeeded 00:30:13 nexus3.edgexfoundry.org:10004 00:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:13 Configure a credential helper to remove this warning. See 00:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:13 00:30:13 Login Succeeded 00:30:13 docker.io 00:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:13 Configure a credential helper to remove this warning. See 00:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:13 00:30:13 Login Succeeded 00:30:13 ---> docker-login.sh ends [Pipeline] } 00:30:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:30:14 + git rev-list -1 --merges f6eb3024e45870f228bada2f7b48045a500ee5d4~1..f6eb3024e45870f228bada2f7b48045a500ee5d4 [Pipeline] echo 00:30:14 -----------> git rev-list -1 --merges f6eb3024e45870f228bada2f7b48045a500ee5d4~1..f6eb3024e45870f228bada2f7b48045a500ee5d4 f6eb3024e45870f228bada2f7b48045a500ee5d4 [false] [Pipeline] sh 00:30:14 + git log --format=format:%s -1 f6eb3024e45870f228bada2f7b48045a500ee5d4 [Pipeline] echo 00:30:14 ========================================================= 00:30:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:30:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:15 + git log --format=format:%s -1 f6eb3024e45870f228bada2f7b48045a500ee5d4 [Pipeline] echo 00:30:15 [semverPrep] GIT_COMMIT: f6eb3024e45870f228bada2f7b48045a500ee5d4, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo 00:30:15 [semverPrep] This is not a build commit. [Pipeline] sh 00:30:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:30:15 + grep -v github /etc/ssh/ssh_known_hosts 00:30:15 + [ -e /tmp/ssh_known_hosts ] 00:30:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:30:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:30:15 + sudo tee -a /etc/ssh/ssh_known_hosts 00:30:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:16 00:30:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:16 0.1.4: Pulling from edgex-devops/py-git-semver 00:30:16 b85a868b505f: Pulling fs layer 00:30:16 e2be974225ed: Pulling fs layer 00:30:16 339a4e72a1f5: Pulling fs layer 00:30:16 988bab9f4d93: Pulling fs layer 00:30:16 1469e6f7b9e6: Pulling fs layer 00:30:16 eaf3925da568: Pulling fs layer 00:30:16 bab4dde63d76: Pulling fs layer 00:30:16 bde34c3a00c8: Pulling fs layer 00:30:16 b352a97aabf1: Pulling fs layer 00:30:16 4872d77fe225: Pulling fs layer 00:30:16 5851b861e8e6: Pulling fs layer 00:30:16 988bab9f4d93: Waiting 00:30:16 1469e6f7b9e6: Waiting 00:30:16 bab4dde63d76: Waiting 00:30:16 4872d77fe225: Waiting 00:30:16 bde34c3a00c8: Waiting 00:30:16 5851b861e8e6: Waiting 00:30:16 eaf3925da568: Waiting 00:30:16 b352a97aabf1: Waiting 00:30:16 e2be974225ed: Verifying Checksum 00:30:16 e2be974225ed: Download complete 00:30:16 988bab9f4d93: Verifying Checksum 00:30:16 988bab9f4d93: Download complete 00:30:16 1469e6f7b9e6: Verifying Checksum 00:30:16 1469e6f7b9e6: Download complete 00:30:16 339a4e72a1f5: Download complete 00:30:16 eaf3925da568: Verifying Checksum 00:30:16 eaf3925da568: Download complete 00:30:16 bde34c3a00c8: Download complete 00:30:16 4872d77fe225: Verifying Checksum 00:30:16 4872d77fe225: Download complete 00:30:16 5851b861e8e6: Verifying Checksum 00:30:16 5851b861e8e6: Download complete 00:30:16 b85a868b505f: Verifying Checksum 00:30:16 b85a868b505f: Download complete 00:30:17 bab4dde63d76: Verifying Checksum 00:30:17 bab4dde63d76: Download complete 00:30:18 b85a868b505f: Pull complete 00:30:18 e2be974225ed: Pull complete 00:30:18 339a4e72a1f5: Pull complete 00:30:18 988bab9f4d93: Pull complete 00:30:19 1469e6f7b9e6: Pull complete 00:30:19 eaf3925da568: Pull complete 00:30:20 bab4dde63d76: Pull complete 00:30:20 bde34c3a00c8: Pull complete 00:30:20 b352a97aabf1: Pull complete 00:30:20 4872d77fe225: Pull complete 00:30:20 5851b861e8e6: Pull complete 00:30:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:21 prd-ubuntu20.04-docker-8c-8g-1780 does not seem to be running inside a container 00:30:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 00:30:23 $ docker top 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 -eo pid,comm 00:30:23 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). 00:30:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:24 [ssh-agent] Looking for ssh-agent implementation... 00:30:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:24 $ docker exec 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 ssh-agent 00:30:24 SSH_AUTH_SOCK=/tmp/ssh-NnoOZbjZFE6u/agent.32 00:30:24 SSH_AGENT_PID=38 00:30:24 Running ssh-add (command line suppressed) 00:30:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_1127637686168091768.key (/w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_1127637686168091768.key) 00:30:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:24 + git tag --points-at HEAD [Pipeline] } 00:30:24 $ docker exec --env ******** --env ******** 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 ssh-agent -k 00:30:24 unset SSH_AUTH_SOCK; 00:30:24 unset SSH_AGENT_PID; 00:30:24 echo Agent pid 38 killed; 00:30:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:24 [ssh-agent] Looking for ssh-agent implementation... 00:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:25 $ docker exec 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 ssh-agent 00:30:25 SSH_AUTH_SOCK=/tmp/ssh-aphHfnPihkVM/agent.70 00:30:25 SSH_AGENT_PID=76 00:30:25 Running ssh-add (command line suppressed) 00:30:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_6419123558079117442.key (/w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_6419123558079117442.key) 00:30:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:25 + git semver init 00:30:25 2023-01-11 00:30:25,761 [run_init] DEBUG init version:0.0.0 force:False 00:30:25 2023-01-11 00:30:25,762 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-210/.semver 00:30:25 2023-01-11 00:30:25,762 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-210/.semver 00:30:25 2023-01-11 00:30:25,764 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-210/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-210, universal_newlines=False, shell=None, istream=None) 00:30:26 2023-01-11 00:30:26,641 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-210/.git/info/exclude 00:30:26 2023-01-11 00:30:26,642 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 with force:False 00:30:26 2023-01-11 00:30:26,642 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 00:30:26 2023-01-11 00:30:26,646 [execute] INFO git cat-file --batch-check 00:30:26 2023-01-11 00:30:26,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-210/.semver, universal_newlines=False, shell=None, istream=) 00:30:26 2023-01-11 00:30:26,653 [execute] INFO git cat-file --batch 00:30:26 2023-01-11 00:30:26,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-210/.semver, universal_newlines=False, shell=None, istream=) 00:30:26 2023-01-11 00:30:26,659 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 00:30:26 0.0.0 [Pipeline] } 00:30:26 $ docker exec --env ******** --env ******** 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 ssh-agent -k 00:30:26 unset SSH_AUTH_SOCK; 00:30:26 unset SSH_AGENT_PID; 00:30:26 echo Agent pid 76 killed; 00:30:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:27 + git semver [Pipeline] } 00:30:27 $ docker stop --time=1 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 00:30:28 $ docker rm -f --volumes 8540e25bee43375b00bf063061daad1ab9386410fef70c485741d3fff8a1c212 [Pipeline] // withDockerContainer [Pipeline] sh 00:30:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:29 Stashed 1 file(s) [Pipeline] echo 00:30:29 [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 00:30:30 provisioning config files... 00:30:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config7511506218976276664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:30 ---> docker-login.sh 00:30:30 nexus3.edgexfoundry.org:10001 00:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:30 Configure a credential helper to remove this warning. See 00:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:30 00:30:30 Login Succeeded 00:30:30 nexus3.edgexfoundry.org:10002 00:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:30 Configure a credential helper to remove this warning. See 00:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:30 00:30:30 Login Succeeded 00:30:30 nexus3.edgexfoundry.org:10003 00:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:30 Configure a credential helper to remove this warning. See 00:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:30 00:30:30 Login Succeeded 00:30:30 nexus3.edgexfoundry.org:10004 00:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:30 Configure a credential helper to remove this warning. See 00:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:30 00:30:30 Login Succeeded 00:30:30 docker.io 00:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:31 Configure a credential helper to remove this warning. See 00:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:31 00:30:31 Login Succeeded 00:30:31 ---> docker-login.sh ends [Pipeline] } 00:30:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:30:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:31 ========================================================= 00:30:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:30:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:30:31 Sending build context to Docker daemon 27.67MB 00:30:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:30:31 Step 2/13 : FROM ${BASE} AS builder 00:30:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:30:32 213ec9aee27d: Pulling fs layer 00:30:32 4583459ba037: Pulling fs layer 00:30:32 93c1e223e6f2: Pulling fs layer 00:30:32 53926ce57604: Pulling fs layer 00:30:32 21b2b0c7a3f4: Pulling fs layer 00:30:32 22ff95d597cd: Pulling fs layer 00:30:32 12d6caf4c0d1: Pulling fs layer 00:30:32 96b7cbca73a9: Pulling fs layer 00:30:32 a7acece74701: Pulling fs layer 00:30:32 12d6caf4c0d1: Waiting 00:30:32 53926ce57604: Waiting 00:30:32 96b7cbca73a9: Waiting 00:30:32 21b2b0c7a3f4: Waiting 00:30:32 a7acece74701: Waiting 00:30:32 93c1e223e6f2: Verifying Checksum 00:30:32 93c1e223e6f2: Download complete 00:30:32 4583459ba037: Verifying Checksum 00:30:32 4583459ba037: Download complete 00:30:32 21b2b0c7a3f4: Verifying Checksum 00:30:32 21b2b0c7a3f4: Download complete 00:30:32 22ff95d597cd: Download complete 00:30:32 213ec9aee27d: Download complete 00:30:32 12d6caf4c0d1: Verifying Checksum 00:30:32 12d6caf4c0d1: Download complete 00:30:32 213ec9aee27d: Pull complete 00:30:32 4583459ba037: Pull complete 00:30:32 93c1e223e6f2: Pull complete 00:30:32 a7acece74701: Download complete 00:30:32 96b7cbca73a9: Verifying Checksum 00:30:32 96b7cbca73a9: Download complete 00:30:32 53926ce57604: Verifying Checksum 00:30:32 53926ce57604: Download complete 00:30:37 53926ce57604: Pull complete 00:30:37 21b2b0c7a3f4: Pull complete 00:30:37 22ff95d597cd: Pull complete 00:30:37 12d6caf4c0d1: Pull complete 00:30:39 96b7cbca73a9: Pull complete 00:30:40 a7acece74701: Pull complete 00:30:40 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:30:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:30:40 ---> db6d94c90886 00:30:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:30:44 ---> Running in f5ef4e7f6ad1 00:30:44 Removing intermediate container f5ef4e7f6ad1 00:30:44 ---> 5cfe3b873e6a 00:30:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:30:44 ---> Running in 01f4a8de63ee 00:30:44 Removing intermediate container 01f4a8de63ee 00:30:44 ---> 59888fa33e35 00:30:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:30:44 ---> Running in a222e20622f6 00:30:44 Removing intermediate container a222e20622f6 00:30:44 ---> a48293c3884f 00:30:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:30:44 ---> Running in fa6312e57a4e 00:30:44 Removing intermediate container fa6312e57a4e 00:30:44 ---> 79457521d57e 00:30:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:30:44 ---> Running in ea3a3c6662c9 00:30:44 Removing intermediate container ea3a3c6662c9 00:30:44 ---> d452453a94de 00:30:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:30:44 ---> Running in 2e1c14025e73 00:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:30:44 OK: 211 MiB in 51 packages 00:30:45 Still waiting to schedule task 00:30:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:30:45 Removing intermediate container 2e1c14025e73 00:30:45 ---> 59c13d56db72 00:30:45 Step 9/13 : WORKDIR /device-onvif-camera 00:30:45 ---> Running in 8ffdf9747700 00:30:45 Removing intermediate container 8ffdf9747700 00:30:45 ---> 564e7b3514f5 00:30:45 Step 10/13 : COPY go.mod vendor* ./ 00:30:45 ---> 47da1f32b981 00:30:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:30:45 ---> Running in 3c39d7b0c1cb 00:30:55 go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 00:30:55 skipping... 00:31:14 Removing intermediate container 3c39d7b0c1cb 00:31:14 ---> 3236dec1a869 00:31:14 Step 12/13 : COPY . . 00:31:14 ---> 4bb7fbe84284 00:31:14 Step 13/13 : RUN ${MAKE} 00:31:14 ---> Running in 51f93140c60d 00:31:14 noop 00:31:14 Removing intermediate container 51f93140c60d 00:31:14 ---> d3be7e13a7d1 00:31:14 Successfully built d3be7e13a7d1 00:31:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:14 + docker inspect -f . ci-base-image-x86_64 00:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:14 prd-ubuntu20.04-docker-8c-8g-1780 does not seem to be running inside a container 00:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 00:31:15 $ docker top b885be38813f4ac744d047c3fced554cea0680dcfeca18d8e4c3fa4d08a247f3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:31:15 + go version 00:31:15 go version go1.18.7 linux/amd64 [Pipeline] } 00:31:15 $ docker stop --time=1 b885be38813f4ac744d047c3fced554cea0680dcfeca18d8e4c3fa4d08a247f3 00:31:16 $ docker rm -f --volumes b885be38813f4ac744d047c3fced554cea0680dcfeca18d8e4c3fa4d08a247f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:17 + docker inspect -f . ci-base-image-x86_64 00:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:17 prd-ubuntu20.04-docker-8c-8g-1780 does not seem to be running inside a container 00:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 00:31:17 $ docker top 8ae5af9d45fb8a0d3a50519271a526e2f6dada1510c0691fbf870a28873c9441 -eo pid,comm [Pipeline] { [Pipeline] sh 00:31:18 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] fileExists [Pipeline] sh 00:31:18 + make test 00:31:18 go test ./... -coverprofile=coverage.out ./... 00:31:18 internal/driver/basenotificationresthandler.go:12:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:31:18 internal/netscan/discover.go:14:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:31:18 internal/driver/driver.go:24:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:31:18 cmd/main.go:10:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:31:18 make: *** [Makefile:53: unittest] Error 1 [Pipeline] } 00:31:18 $ docker stop --time=1 8ae5af9d45fb8a0d3a50519271a526e2f6dada1510c0691fbf870a28873c9441 00:31:20 $ docker rm -f --volumes 8ae5af9d45fb8a0d3a50519271a526e2f6dada1510c0691fbf870a28873c9441 [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 00:31:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:31:21 00:31:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:31:21 latest: Pulling from edgex-lftools-log-publisher 00:31:21 5eb5b503b376: Pulling fs layer 00:31:21 5c69ac0246d0: Pulling fs layer 00:31:21 ec43610c2a17: Pulling fs layer 00:31:21 3a2ae6a8a46f: Pulling fs layer 00:31:21 33b1e0a273af: Pulling fs layer 00:31:21 5d3b04190fa2: Pulling fs layer 00:31:21 2f39f015ded8: Pulling fs layer 00:31:21 3a2ae6a8a46f: Waiting 00:31:21 33b1e0a273af: Waiting 00:31:21 5d3b04190fa2: Waiting 00:31:21 2f39f015ded8: Waiting 00:31:21 5c69ac0246d0: Download complete 00:31:21 3a2ae6a8a46f: Verifying Checksum 00:31:21 3a2ae6a8a46f: Download complete 00:31:21 33b1e0a273af: Verifying Checksum 00:31:21 33b1e0a273af: Download complete 00:31:21 5d3b04190fa2: Download complete 00:31:21 ec43610c2a17: Verifying Checksum 00:31:21 ec43610c2a17: Download complete 00:31:21 5eb5b503b376: Verifying Checksum 00:31:21 5eb5b503b376: Download complete 00:31:22 2f39f015ded8: Download complete 00:31:22 5eb5b503b376: Pull complete 00:31:23 5c69ac0246d0: Pull complete 00:31:23 ec43610c2a17: Pull complete 00:31:23 3a2ae6a8a46f: Pull complete 00:31:24 33b1e0a273af: Pull complete 00:31:24 5d3b04190fa2: Pull complete 00:31:28 2f39f015ded8: Pull complete 00:31:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:31:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:28 prd-ubuntu20.04-docker-8c-8g-1780 does not seem to be running inside a container 00:31:28 $ 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/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 00:31:31 $ docker top f34c43411be691811d9852de4ed074b9e1241ed1d7b5dd273eaff6bde6862ad3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:32 ---> job-cost.sh 00:31:32 lf-activate-venv: SKIPPING 00:31:32 INFO: No Stack... 00:31:32 INFO: Retrieving Pricing Info for: v3-standard-8 00:31:33 INFO: Archiving Costs [Pipeline] sh 00:31:33 + cat /w/workspace/undry_device-onvif-camera_PR-210/archives/cost.csv 00:31:33 + cut -d, -f6 [Pipeline] lock 00:31:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] 00:31:33 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] did not exist. Created. 00:31:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:31:33 + echo total: 0.2199999988079071 [Pipeline] stash 00:31:33 Stashed 1 file(s) [Pipeline] } 00:31:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:31:33 $ docker stop --time=1 f34c43411be691811d9852de4ed074b9e1241ed1d7b5dd273eaff6bde6862ad3 00:31:35 $ docker rm -f --volumes f34c43411be691811d9852de4ed074b9e1241ed1d7b5dd273eaff6bde6862ad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:31:35 Failed in branch amd64 00:34:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1782 in /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] { [Pipeline] ws 00:34:17 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 00:34:17 The recommended git tool is: git 00:34:22 using credential edgex-jenkins-ssh 00:34:22 Cloning the remote Git repository 00:34:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:34:22 > git init /w/workspace/device-onvif-camera/1 # timeout=10 00:34:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:34:22 > git --version # timeout=10 00:34:22 > git --version # 'git version 2.25.1' 00:34:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:34:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:25 Merging remotes/origin/main commit ac647965ab1b942a087d699135cd6fee27db47f4 into PR head commit f6eb3024e45870f228bada2f7b48045a500ee5d4 00:34:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:34:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:34:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:34:25 > git config core.sparsecheckout # timeout=10 00:34:25 > git checkout -f f6eb3024e45870f228bada2f7b48045a500ee5d4 # timeout=10 00:34:26 Merge succeeded, producing f6eb3024e45870f228bada2f7b48045a500ee5d4 00:34:26 Checking out Revision f6eb3024e45870f228bada2f7b48045a500ee5d4 (PR-210) 00:34:26 > git remote # timeout=10 00:34:26 > git config --get remote.origin.url # timeout=10 00:34:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:26 > git merge ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 00:34:26 > git rev-parse HEAD^{commit} # timeout=10 00:34:26 > git config core.sparsecheckout # timeout=10 00:34:26 > git checkout -f f6eb3024e45870f228bada2f7b48045a500ee5d4 # timeout=10 00:34:30 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" 00:34:30 > git --version # timeout=10 00:34:30 > git --version # 'git version 2.25.1' 00:34:30 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:34:31 % Total % Received % Xferd Average Speed Time Time Time Current 00:34:31 Dload Upload Total Spent Left Speed 00:34:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 00:34:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:34:32 + sudo tee /etc/docker/daemon.new 00:34:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:34:32 { 00:34:32 "registry-mirrors": [ 00:34:32 "https://nexus3.edgexfoundry.org:10001" 00:34:32 ], 00:34:32 "bip": "10.250.0.254/24", 00:34:32 "hosts": [ 00:34:32 "tcp://0.0.0.0:5555", 00:34:32 "unix:///var/run/docker.sock" 00:34:32 ], 00:34:32 "mtu": 1458, 00:34:32 "selinux-enabled": true, 00:34:32 "seccomp-profile": "/etc/docker/seccomp.json" 00:34:32 } [Pipeline] sh 00:34:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:34:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:51 provisioning config files... 00:34:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7132252567976883829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:51 ---> docker-login.sh 00:34:51 nexus3.edgexfoundry.org:10001 00:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:52 Configure a credential helper to remove this warning. See 00:34:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:52 00:34:52 Login Succeeded 00:34:52 nexus3.edgexfoundry.org:10002 00:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:53 Configure a credential helper to remove this warning. See 00:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:53 00:34:53 Login Succeeded 00:34:53 nexus3.edgexfoundry.org:10003 00:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:53 Configure a credential helper to remove this warning. See 00:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:53 00:34:53 Login Succeeded 00:34:53 nexus3.edgexfoundry.org:10004 00:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:53 Configure a credential helper to remove this warning. See 00:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:53 00:34:53 Login Succeeded 00:34:53 docker.io 00:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:54 Configure a credential helper to remove this warning. See 00:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:54 00:34:54 Login Succeeded 00:34:54 ---> docker-login.sh ends [Pipeline] } 00:34:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:34:54 ========================================================= 00:34:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:34:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:34:55 Sending build context to Docker daemon 20.55MB 00:34:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:34:55 Step 2/13 : FROM ${BASE} AS builder 00:34:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:55 9b18e9b68314: Pulling fs layer 00:34:55 35d82f9e3411: Pulling fs layer 00:34:55 e16973657156: Pulling fs layer 00:34:55 fc693d55d65f: Pulling fs layer 00:34:55 7e9fc2657dce: Pulling fs layer 00:34:55 dda99020689f: Pulling fs layer 00:34:55 db1c61fa0a46: Pulling fs layer 00:34:55 891c053d2c06: Pulling fs layer 00:34:55 fc693d55d65f: Waiting 00:34:55 7e9fc2657dce: Waiting 00:34:55 dda99020689f: Waiting 00:34:55 db1c61fa0a46: Waiting 00:34:55 891c053d2c06: Waiting 00:34:55 e16973657156: Verifying Checksum 00:34:55 e16973657156: Download complete 00:34:55 35d82f9e3411: Verifying Checksum 00:34:55 35d82f9e3411: Download complete 00:34:55 7e9fc2657dce: Download complete 00:34:55 dda99020689f: Verifying Checksum 00:34:55 dda99020689f: Download complete 00:34:56 9b18e9b68314: Download complete 00:34:57 9b18e9b68314: Pull complete 00:34:57 891c053d2c06: Verifying Checksum 00:34:57 891c053d2c06: Download complete 00:34:57 35d82f9e3411: Pull complete 00:34:57 e16973657156: Pull complete 00:34:58 db1c61fa0a46: Verifying Checksum 00:34:58 db1c61fa0a46: Download complete 00:34:58 fc693d55d65f: Verifying Checksum 00:34:58 fc693d55d65f: Download complete 00:35:10 fc693d55d65f: Pull complete 00:35:10 7e9fc2657dce: Pull complete 00:35:10 dda99020689f: Pull complete 00:35:14 db1c61fa0a46: Pull complete 00:35:16 891c053d2c06: Pull complete 00:35:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:35:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:35:16 ---> f96f9c87975a 00:35:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:35:17 ---> Running in bd327d5b43e0 00:35:18 Removing intermediate container bd327d5b43e0 00:35:18 ---> b7f0dec08bd9 00:35:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:35:18 ---> Running in 80d62ddcffaa 00:35:18 Removing intermediate container 80d62ddcffaa 00:35:18 ---> 538acaee3899 00:35:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:35:18 ---> Running in 1b0b7623d4bd 00:35:20 Removing intermediate container 1b0b7623d4bd 00:35:20 ---> 4dd98c8cfcd7 00:35:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:35:20 ---> Running in aad9e2a5a43a 00:35:20 Removing intermediate container aad9e2a5a43a 00:35:20 ---> 2308bb81e367 00:35:20 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:35:20 ---> Running in aad3f08148bb 00:35:20 Removing intermediate container aad3f08148bb 00:35:20 ---> 4d1cfa2788e5 00:35:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:35:20 ---> Running in b42d8961bea3 00:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:35:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:35:23 OK: 221 MiB in 51 packages 00:35:24 Removing intermediate container b42d8961bea3 00:35:24 ---> afed6f01450f 00:35:24 Step 9/13 : WORKDIR /device-onvif-camera 00:35:24 ---> Running in 4d2cfce03a80 00:35:24 Removing intermediate container 4d2cfce03a80 00:35:24 ---> a47aeb57d67a 00:35:24 Step 10/13 : COPY go.mod vendor* ./ 00:35:24 ---> f3f6ddc30017 00:35:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:35:24 ---> Running in e2f0b5b9dbfd 00:35:47 go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 00:35:47 skipping... 00:36:19 Removing intermediate container e2f0b5b9dbfd 00:36:19 ---> 0b38348f3ffa 00:36:19 Step 12/13 : COPY . . 00:36:19 ---> 1a3e840332ef 00:36:19 Step 13/13 : RUN ${MAKE} 00:36:19 ---> Running in 3508cd7c9990 00:36:19 noop 00:36:20 Removing intermediate container 3508cd7c9990 00:36:20 ---> 68f6c58f7707 00:36:20 Successfully built 68f6c58f7707 00:36:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:20 + docker inspect -f . ci-base-image-arm64 00:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:21 prd-ubuntu20.04-docker-arm64-4c-16g-1782 does not seem to be running inside a container 00:36:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:22 $ docker top 91ebc59ccf44c1451889d3a2d7db6ebe2b0b614b8b0811f4659cc14734db5135 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:23 + go version 00:36:23 go version go1.18.7 linux/arm64 [Pipeline] } 00:36:23 $ docker stop --time=1 91ebc59ccf44c1451889d3a2d7db6ebe2b0b614b8b0811f4659cc14734db5135 00:36:25 $ docker rm -f --volumes 91ebc59ccf44c1451889d3a2d7db6ebe2b0b614b8b0811f4659cc14734db5135 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:25 + docker inspect -f . ci-base-image-arm64 00:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:26 prd-ubuntu20.04-docker-arm64-4c-16g-1782 does not seem to be running inside a container 00:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:27 $ docker top a950135c124085b1196d64de90fa04eaa079dee7600bcb1614c7c2c66b4509a0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:28 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 00:36:28 + make test 00:36:28 go test ./... -coverprofile=coverage.out ./... 00:36:29 internal/driver/basenotificationresthandler.go:12:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:36:29 internal/netscan/discover.go:14:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:36:29 internal/driver/driver.go:24:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:36:29 cmd/main.go:10:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:36:29 make: *** [Makefile:53: unittest] Error 1 [Pipeline] } 00:36:29 $ docker stop --time=1 a950135c124085b1196d64de90fa04eaa079dee7600bcb1614c7c2c66b4509a0 00:36:31 $ docker rm -f --volumes a950135c124085b1196d64de90fa04eaa079dee7600bcb1614c7c2c66b4509a0 [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 00:36:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:32 00:36:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:33 arm64: Pulling from edgex-lftools-log-publisher 00:36:33 8998bd30e6a1: Pulling fs layer 00:36:33 04944245beec: Pulling fs layer 00:36:33 699f458cf7ca: Pulling fs layer 00:36:33 765212b225bb: Pulling fs layer 00:36:33 f23df028b6ca: Pulling fs layer 00:36:33 765212b225bb: Waiting 00:36:33 d65c8cfc05b1: Pulling fs layer 00:36:33 2437ff75d9bd: Pulling fs layer 00:36:33 f23df028b6ca: Waiting 00:36:33 d65c8cfc05b1: Waiting 00:36:33 2437ff75d9bd: Waiting 00:36:33 04944245beec: Verifying Checksum 00:36:33 04944245beec: Download complete 00:36:33 765212b225bb: Verifying Checksum 00:36:33 765212b225bb: Download complete 00:36:33 f23df028b6ca: Verifying Checksum 00:36:33 f23df028b6ca: Download complete 00:36:33 d65c8cfc05b1: Verifying Checksum 00:36:33 d65c8cfc05b1: Download complete 00:36:33 699f458cf7ca: Verifying Checksum 00:36:33 699f458cf7ca: Download complete 00:36:34 8998bd30e6a1: Verifying Checksum 00:36:34 8998bd30e6a1: Download complete 00:36:36 2437ff75d9bd: Verifying Checksum 00:36:36 2437ff75d9bd: Download complete 00:36:38 8998bd30e6a1: Pull complete 00:36:38 04944245beec: Pull complete 00:36:39 699f458cf7ca: Pull complete 00:36:39 765212b225bb: Pull complete 00:36:40 f23df028b6ca: Pull complete 00:36:40 d65c8cfc05b1: Pull complete 00:36:55 2437ff75d9bd: Pull complete 00:36:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:36:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:56 prd-ubuntu20.04-docker-arm64-4c-16g-1782 does not seem to be running inside a container 00:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:36:58 $ docker top cfdb1f4b2fe25403bcfe52bf550030962d0126042df8e5f41d57ac504635318e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:59 ---> job-cost.sh 00:36:59 lf-activate-venv: SKIPPING 00:36:59 INFO: No Stack... 00:36:59 INFO: Retrieving Pricing Info for: v3-standard-4 00:37:00 INFO: Archiving Costs [Pipeline] sh 00:37:01 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 00:37:01 + cut -d, -f6 [Pipeline] lock 00:37:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] 00:37:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] did not exist. Created. 00:37:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:02 /w/workspace/device-onvif-camera/1@tmp/durable-2b1a7279/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:37:02 + echo total: 0.10999999940395355 [Pipeline] stash 00:37:02 Warning: overwriting stash ‘stack-cost’ 00:37:03 Stashed 1 file(s) [Pipeline] } 00:37:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:37:03 $ docker stop --time=1 cfdb1f4b2fe25403bcfe52bf550030962d0126042df8e5f41d57ac504635318e 00:37:04 $ docker rm -f --volumes cfdb1f4b2fe25403bcfe52bf550030962d0126042df8e5f41d57ac504635318e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:37:05 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 00:37:07 + [ -d /w/workspace/undry_device-onvif-camera_PR-210/archives ] 00:37:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-210/archives 00:37:07 total 16 00:37:07 drwxr-xr-x 3 root root 4096 Jan 11 00:31 . 00:37:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 00:31 .. 00:37:07 drwxr-xr-x 2 root root 4096 Jan 11 00:31 cost 00:37:07 -rw-r--r-- 1 root root 91 Jan 11 00:31 cost.csv 00:37:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-210/archives 00:37:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-210/archives 00:37:07 total 16 00:37:07 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:31 . 00:37:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 00:31 .. 00:37:07 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 00:31 cost 00:37:07 -rw-r--r-- 1 jenkins jenkins 91 Jan 11 00:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:37:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:37:08 ---> package-listing.sh 00:37:08 ++ facter osfamily 00:37:08 ++ tr '[:upper:]' '[:lower:]' 00:37:08 + OS_FAMILY=debian 00:37:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-210 00:37:08 + START_PACKAGES=/tmp/packages_start.txt 00:37:08 + END_PACKAGES=/tmp/packages_end.txt 00:37:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:37:08 + PACKAGES=/tmp/packages_start.txt 00:37:08 + '[' /w/workspace/undry_device-onvif-camera_PR-210 ']' 00:37:08 + PACKAGES=/tmp/packages_end.txt 00:37:08 + case "${OS_FAMILY}" in 00:37:08 + dpkg -l 00:37:08 + grep '^ii' 00:37:08 + '[' -f /tmp/packages_start.txt ']' 00:37:08 + '[' -f /tmp/packages_end.txt ']' 00:37:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:37:08 + '[' /w/workspace/undry_device-onvif-camera_PR-210 ']' 00:37:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-210/archives/ 00:37:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-210/archives/ [Pipeline] echo 00:37:08 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/undry_device-onvif-camera_PR-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:37:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:10 prd-ubuntu20.04-docker-8c-8g-1780 does not seem to be running inside a container 00:37:10 $ 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/undry_device-onvif-camera_PR-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 00:37:10 $ docker top 009afdeb2360e100b76010ae9d76b652cd4a576de82c3f6de32f7166182ce4de -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:10 + touch /tmp/pre-build-complete [Pipeline] sh 00:37:10 + mkdir -p /var/log/sysstat [Pipeline] sh 00:37:11 + ls /var/log/sa-host 00:37:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:37:11 provisioning config files... 00:37:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config822223254412501825tmp [Pipeline] { [Pipeline] echo 00:37:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:37:11 ---> create-netrc.sh [Pipeline] } 00:37:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:37:12 ---> python-tools-install.sh [Pipeline] echo 00:37:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:37:12 ---> sudo-logs.sh 00:37:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:37:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:37:12 ---> job-cost.sh 00:37:12 lf-activate-venv: SKIPPING 00:37:12 DEBUG: total: 0.2199999988079071 00:37:12 INFO: Retrieving Stack Cost... 00:37:13 INFO: Retrieving Pricing Info for: v3-standard-8 00:37:13 INFO: Archiving Costs [Pipeline] echo 00:37:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:37:14 ---> logs-deploy.sh 00:37:14 lf-activate-venv: SKIPPING 00:37:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-210/1 00:37:14 INFO: archiving workspace using pattern(s): 00:37:15 Archives upload complete. 00:37:15 INFO: archiving logs to Nexus