Pull request #232 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from edc0738a55fbc1b1250fe0b17dd7a21488aac359+ce7fe079461b7505b319433b3b229be05385591d (04462efb4dc1a86e332f3de00aa178818361828b) 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-ssh536989939700308445.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-ssh9331863415161261046.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-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh247908191098215976.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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18232262463691865884.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-ssh11416090639773672392.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-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7519479020539742262.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-5956 in /w/workspace/undry_device-onvif-camera_PR-232 [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-232 # 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/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ce7fe079461b7505b319433b3b229be05385591d into PR head commit edc0738a55fbc1b1250fe0b17dd7a21488aac359 Merge succeeded, producing edc0738a55fbc1b1250fe0b17dd7a21488aac359 Checking out Revision edc0738a55fbc1b1250fe0b17dd7a21488aac359 (PR-232) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # 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 ce7fe079461b7505b319433b3b229be05385591d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:43:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:43:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:43:46 ========================================================= 00:43:46 EdgeX Global Pipelines Version Info 00:43:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:43:47 ------------------- 00:43:47 stable info: 00:43:47 ------------------- 00:43:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:43:47 Message: update stable to v1.0.244 00:43:47 ------------------- 00:43:47 experimental info: 00:43:47 ------------------- 00:43:47 Commited By: **** collab-it+edgex@linuxfoundation.org 00:43:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:43:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edc0738 [Pipeline] echo 00:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:49 provisioning config files... 00:43:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config16788455491994652826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:49 ---> docker-login.sh 00:43:49 nexus3.edgexfoundry.org:10001 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:51 Configure a credential helper to remove this warning. See 00:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:51 00:43:51 Login Succeeded 00:43:51 nexus3.edgexfoundry.org:10002 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:51 Configure a credential helper to remove this warning. See 00:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:51 00:43:51 Login Succeeded 00:43:51 nexus3.edgexfoundry.org:10003 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:51 Configure a credential helper to remove this warning. See 00:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:51 00:43:51 Login Succeeded 00:43:51 nexus3.edgexfoundry.org:10004 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:51 Configure a credential helper to remove this warning. See 00:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:51 00:43:51 Login Succeeded 00:43:51 docker.io 00:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:52 Configure a credential helper to remove this warning. See 00:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:52 00:43:52 Login Succeeded 00:43:52 ---> docker-login.sh ends [Pipeline] } 00:43:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:43:52 + git rev-list -1 --merges edc0738a55fbc1b1250fe0b17dd7a21488aac359~1..edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo 00:43:52 -----------> git rev-list -1 --merges edc0738a55fbc1b1250fe0b17dd7a21488aac359~1..edc0738a55fbc1b1250fe0b17dd7a21488aac359 edc0738a55fbc1b1250fe0b17dd7a21488aac359 [false] [Pipeline] sh 00:43:53 + git log --format=format:%s -1 edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo 00:43:53 ========================================================= 00:43:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:43:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:53 + git log --format=format:%s -1 edc0738a55fbc1b1250fe0b17dd7a21488aac359 [Pipeline] echo 00:43:53 [semverPrep] GIT_COMMIT: edc0738a55fbc1b1250fe0b17dd7a21488aac359, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 00:43:53 [semverPrep] This is not a build commit. [Pipeline] sh 00:43:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:54 + grep -v github /etc/ssh/ssh_known_hosts 00:43:54 + [ -e /tmp/ssh_known_hosts ] 00:43:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:43:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:43:54 + sudo tee -a /etc/ssh/ssh_known_hosts 00:43:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:54 00:43:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:55 0.1.4: Pulling from edgex-devops/py-git-semver 00:43:55 b85a868b505f: Pulling fs layer 00:43:55 e2be974225ed: Pulling fs layer 00:43:55 339a4e72a1f5: Pulling fs layer 00:43:55 988bab9f4d93: Pulling fs layer 00:43:55 1469e6f7b9e6: Pulling fs layer 00:43:55 eaf3925da568: Pulling fs layer 00:43:55 bab4dde63d76: Pulling fs layer 00:43:55 bde34c3a00c8: Pulling fs layer 00:43:55 b352a97aabf1: Pulling fs layer 00:43:55 4872d77fe225: Pulling fs layer 00:43:55 5851b861e8e6: Pulling fs layer 00:43:55 988bab9f4d93: Waiting 00:43:55 1469e6f7b9e6: Waiting 00:43:55 eaf3925da568: Waiting 00:43:55 bab4dde63d76: Waiting 00:43:55 bde34c3a00c8: Waiting 00:43:55 b352a97aabf1: Waiting 00:43:55 4872d77fe225: Waiting 00:43:55 5851b861e8e6: Waiting 00:43:55 e2be974225ed: Verifying Checksum 00:43:55 e2be974225ed: Download complete 00:43:55 988bab9f4d93: Download complete 00:43:55 1469e6f7b9e6: Verifying Checksum 00:43:55 1469e6f7b9e6: Download complete 00:43:55 eaf3925da568: Verifying Checksum 00:43:55 eaf3925da568: Download complete 00:43:55 339a4e72a1f5: Verifying Checksum 00:43:55 339a4e72a1f5: Download complete 00:43:55 bde34c3a00c8: Verifying Checksum 00:43:55 bde34c3a00c8: Download complete 00:43:55 b352a97aabf1: Verifying Checksum 00:43:55 b352a97aabf1: Download complete 00:43:55 4872d77fe225: Verifying Checksum 00:43:55 4872d77fe225: Download complete 00:43:55 5851b861e8e6: Verifying Checksum 00:43:55 5851b861e8e6: Download complete 00:43:56 b85a868b505f: Verifying Checksum 00:43:56 b85a868b505f: Download complete 00:43:57 b85a868b505f: Pull complete 00:43:57 e2be974225ed: Pull complete 00:43:57 bab4dde63d76: Verifying Checksum 00:43:57 bab4dde63d76: Download complete 00:43:57 339a4e72a1f5: Pull complete 00:43:57 988bab9f4d93: Pull complete 00:43:58 1469e6f7b9e6: Pull complete 00:43:58 eaf3925da568: Pull complete 00:44:00 bab4dde63d76: Pull complete 00:44:00 bde34c3a00c8: Pull complete 00:44:00 b352a97aabf1: Pull complete 00:44:00 4872d77fe225: Pull complete 00:44:00 5851b861e8e6: Pull complete 00:44:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:44:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:00 prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container 00:44:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:44:02 $ docker top bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 -eo pid,comm 00:44:02 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:44:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:44:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:44:02 [ssh-agent] Looking for ssh-agent implementation... 00:44:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:44:02 $ docker exec bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent 00:44:02 SSH_AUTH_SOCK=/tmp/ssh-o5TjZMMRvWWY/agent.33 00:44:02 SSH_AGENT_PID=39 00:44:02 Running ssh-add (command line suppressed) 00:44:02 Identity added: /w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_9201678769121223616.key (/w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_9201678769121223616.key) 00:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:44:02 + git tag --points-at HEAD [Pipeline] } 00:44:02 $ docker exec --env ******** --env ******** bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent -k 00:44:03 unset SSH_AUTH_SOCK; 00:44:03 unset SSH_AGENT_PID; 00:44:03 echo Agent pid 39 killed; 00:44:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:44:03 [ssh-agent] Looking for ssh-agent implementation... 00:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:44:03 $ docker exec bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent 00:44:03 SSH_AUTH_SOCK=/tmp/ssh-9qGwwUU92EBd/agent.71 00:44:03 SSH_AGENT_PID=77 00:44:03 Running ssh-add (command line suppressed) 00:44:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_16355738230531168467.key (/w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_16355738230531168467.key) 00:44:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:44:03 + git semver init 00:44:04 2023-02-15 00:44:04,074 [run_init] DEBUG init version:0.0.0 force:False 00:44:04 2023-02-15 00:44:04,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-232/.semver 00:44:04 2023-02-15 00:44:04,075 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-232/.semver 00:44:04 2023-02-15 00:44:04,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-232/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-232, universal_newlines=False, shell=None, istream=None) 00:44:05 2023-02-15 00:44:05,229 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-232/.git/info/exclude 00:44:05 2023-02-15 00:44:05,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 with force:False 00:44:05 2023-02-15 00:44:05,230 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 00:44:05 2023-02-15 00:44:05,234 [execute] INFO git cat-file --batch-check 00:44:05 2023-02-15 00:44:05,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) 00:44:05 2023-02-15 00:44:05,242 [execute] INFO git cat-file --batch 00:44:05 2023-02-15 00:44:05,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) 00:44:05 2023-02-15 00:44:05,246 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 00:44:05 0.0.0 [Pipeline] } 00:44:05 $ docker exec --env ******** --env ******** bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 ssh-agent -k 00:44:05 unset SSH_AUTH_SOCK; 00:44:05 unset SSH_AGENT_PID; 00:44:05 echo Agent pid 77 killed; 00:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:44:06 + git semver [Pipeline] } 00:44:06 $ docker stop --time=1 bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 00:44:07 $ docker rm -f --volumes bfb0595c6fb108e00beeaa55215bad3725065ca15899cf9b66c3839e452b0e36 [Pipeline] // withDockerContainer [Pipeline] sh 00:44:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:44:08 Stashed 1 file(s) [Pipeline] echo 00:44:08 [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:44:08 provisioning config files... 00:44:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config4413931921379887121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:09 ---> docker-login.sh 00:44:09 nexus3.edgexfoundry.org:10001 00:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:09 Configure a credential helper to remove this warning. See 00:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:09 00:44:09 Login Succeeded 00:44:09 nexus3.edgexfoundry.org:10002 00:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:09 Configure a credential helper to remove this warning. See 00:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:09 00:44:09 Login Succeeded 00:44:09 nexus3.edgexfoundry.org:10003 00:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:09 Configure a credential helper to remove this warning. See 00:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:09 00:44:09 Login Succeeded 00:44:09 nexus3.edgexfoundry.org:10004 00:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:09 Configure a credential helper to remove this warning. See 00:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:09 00:44:09 Login Succeeded 00:44:09 docker.io 00:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:09 Configure a credential helper to remove this warning. See 00:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:09 00:44:09 Login Succeeded 00:44:10 ---> docker-login.sh ends [Pipeline] } 00:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:44:10 ========================================================= 00:44:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:44:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:10 + 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:44:10 Sending build context to Docker daemon 27.7MB 00:44:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:44:10 Step 2/13 : FROM ${BASE} AS builder 00:44:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:44:11 213ec9aee27d: Pulling fs layer 00:44:11 4583459ba037: Pulling fs layer 00:44:11 93c1e223e6f2: Pulling fs layer 00:44:11 53926ce57604: Pulling fs layer 00:44:11 21b2b0c7a3f4: Pulling fs layer 00:44:11 22ff95d597cd: Pulling fs layer 00:44:11 12d6caf4c0d1: Pulling fs layer 00:44:11 96b7cbca73a9: Pulling fs layer 00:44:11 a7acece74701: Pulling fs layer 00:44:11 21b2b0c7a3f4: Waiting 00:44:11 22ff95d597cd: Waiting 00:44:11 12d6caf4c0d1: Waiting 00:44:11 a7acece74701: Waiting 00:44:11 96b7cbca73a9: Waiting 00:44:11 53926ce57604: Waiting 00:44:11 93c1e223e6f2: Verifying Checksum 00:44:11 93c1e223e6f2: Download complete 00:44:11 4583459ba037: Verifying Checksum 00:44:11 4583459ba037: Download complete 00:44:11 213ec9aee27d: Verifying Checksum 00:44:11 213ec9aee27d: Download complete 00:44:11 22ff95d597cd: Verifying Checksum 00:44:11 22ff95d597cd: Download complete 00:44:11 12d6caf4c0d1: Download complete 00:44:11 213ec9aee27d: Pull complete 00:44:11 4583459ba037: Pull complete 00:44:11 93c1e223e6f2: Pull complete 00:44:12 21b2b0c7a3f4: Download complete 00:44:13 53926ce57604: Verifying Checksum 00:44:13 53926ce57604: Download complete 00:44:14 a7acece74701: Download complete 00:44:14 96b7cbca73a9: Verifying Checksum 00:44:14 96b7cbca73a9: Download complete 00:44:16 53926ce57604: Pull complete 00:44:17 21b2b0c7a3f4: Pull complete 00:44:17 22ff95d597cd: Pull complete 00:44:17 12d6caf4c0d1: Pull complete 00:44:18 96b7cbca73a9: Pull complete 00:44:19 a7acece74701: Pull complete 00:44:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:44:20 ---> db6d94c90886 00:44:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:44:23 Still waiting to schedule task 00:44:23 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:23 ‘prd-ubuntu20.04-docker-8c-8g-5948’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:23 ‘prd-ubuntu20.04-docker-8c-8g-5959’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:23 ‘prd-ubuntu20.04-docker-8c-8g-5960’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5957’ is offline 00:44:26 ---> Running in bc1074afe6af 00:44:26 Removing intermediate container bc1074afe6af 00:44:26 ---> b125ad70d12f 00:44:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:26 ---> Running in 747d6832a03c 00:44:27 Removing intermediate container 747d6832a03c 00:44:27 ---> 591c5ab0272f 00:44:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:44:27 ---> Running in 94aec7080447 00:44:27 Removing intermediate container 94aec7080447 00:44:27 ---> c97ae814f630 00:44:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:44:28 ---> Running in 726f8b593ca3 00:44:28 Removing intermediate container 726f8b593ca3 00:44:28 ---> b29fccec1395 00:44:28 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:44:28 ---> Running in e2fcc3c5ca78 00:44:29 Removing intermediate container e2fcc3c5ca78 00:44:29 ---> 90ec46412784 00:44:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:29 ---> Running in 91219f23c0c5 00:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:44:30 OK: 211 MiB in 51 packages 00:44:31 Removing intermediate container 91219f23c0c5 00:44:31 ---> 1e85c804c811 00:44:31 Step 9/13 : WORKDIR /device-onvif-camera 00:44:32 ---> Running in aa3440010f2e 00:44:32 Removing intermediate container aa3440010f2e 00:44:32 ---> 95dc73be2056 00:44:32 Step 10/13 : COPY go.mod vendor* ./ 00:44:33 ---> 68faa33d9165 00:44:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:33 ---> Running in f69fb91c8ef3 00:45:30 Removing intermediate container f69fb91c8ef3 00:45:30 ---> ccef7b6e1b1c 00:45:30 Step 12/13 : COPY . . 00:45:30 ---> 70436e6e242e 00:45:30 Step 13/13 : RUN ${MAKE} 00:45:30 ---> Running in 8591e65fe11d 00:45:31 noop 00:45:32 Removing intermediate container 8591e65fe11d 00:45:32 ---> a77d23fe8783 00:45:32 Successfully built a77d23fe8783 00:45:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:32 + docker inspect -f . ci-base-image-x86_64 00:45:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:33 prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container 00:45:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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 ******** ci-base-image-x86_64 cat 00:45:34 $ docker top a9fded64c26417d815d1a7735e3506ac638d2949e77c30d95fad8c9ea32e2953 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:34 + go version 00:45:34 go version go1.18.7 linux/amd64 [Pipeline] } 00:45:34 $ docker stop --time=1 a9fded64c26417d815d1a7735e3506ac638d2949e77c30d95fad8c9ea32e2953 00:45:36 $ docker rm -f --volumes a9fded64c26417d815d1a7735e3506ac638d2949e77c30d95fad8c9ea32e2953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:36 + docker inspect -f . ci-base-image-x86_64 00:45:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:37 prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container 00:45:37 $ 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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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 ******** ci-base-image-x86_64 cat 00:45:37 $ docker top 9510bbf82502cffec573d3c92640679568a6f56cbfc26090426496a413791221 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-232 [Pipeline] fileExists [Pipeline] sh 00:45:38 + make test 00:45:38 go test ./... -coverprofile=coverage.out ./... 00:45:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:45:51 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 00:45:51 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) 00:45:51 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 00:45:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.493s coverage: 86.5% of statements 00:45:51 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 00:45:51 $ docker stop --time=1 9510bbf82502cffec573d3c92640679568a6f56cbfc26090426496a413791221 00:45:55 $ docker rm -f --volumes 9510bbf82502cffec573d3c92640679568a6f56cbfc26090426496a413791221 [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:45:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:56 00:45:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:57 latest: Pulling from edgex-lftools-log-publisher 00:45:57 5eb5b503b376: Pulling fs layer 00:45:57 5c69ac0246d0: Pulling fs layer 00:45:57 ec43610c2a17: Pulling fs layer 00:45:57 3a2ae6a8a46f: Pulling fs layer 00:45:57 33b1e0a273af: Pulling fs layer 00:45:57 5d3b04190fa2: Pulling fs layer 00:45:57 2f39f015ded8: Pulling fs layer 00:45:57 3a2ae6a8a46f: Waiting 00:45:57 33b1e0a273af: Waiting 00:45:57 5d3b04190fa2: Waiting 00:45:57 2f39f015ded8: Waiting 00:45:57 5c69ac0246d0: Verifying Checksum 00:45:57 5c69ac0246d0: Download complete 00:45:57 3a2ae6a8a46f: Verifying Checksum 00:45:57 3a2ae6a8a46f: Download complete 00:45:58 33b1e0a273af: Verifying Checksum 00:45:58 33b1e0a273af: Download complete 00:45:58 ec43610c2a17: Verifying Checksum 00:45:58 ec43610c2a17: Download complete 00:45:58 5eb5b503b376: Verifying Checksum 00:45:58 5eb5b503b376: Download complete 00:45:59 2f39f015ded8: Download complete 00:46:00 5eb5b503b376: Pull complete 00:46:00 5c69ac0246d0: Pull complete 00:46:01 ec43610c2a17: Pull complete 00:46:01 3a2ae6a8a46f: Pull complete 00:46:01 33b1e0a273af: Pull complete 00:46:01 5d3b04190fa2: Pull complete 00:46:07 2f39f015ded8: Pull complete 00:46:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:46:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:07 prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container 00:46:07 $ 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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-lftools-log-publisher:latest cat 00:46:13 $ docker top 822f2eacaf741f7efdacd69bd7c73c104897db453ea9b23bf6c60ac7c64e5de0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:13 ---> job-cost.sh 00:46:13 lf-activate-venv: SKIPPING 00:46:13 INFO: No Stack... 00:46:13 INFO: Retrieving Pricing Info for: v3-standard-8 00:46:14 INFO: Archiving Costs [Pipeline] sh 00:46:14 + cat /w/workspace/undry_device-onvif-camera_PR-232/archives/cost.csv 00:46:14 + cut -d, -f6 [Pipeline] lock 00:46:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] 00:46:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] did not exist. Created. 00:46:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:46:14 + echo total: 0.2199999988079071 [Pipeline] stash 00:46:15 Stashed 1 file(s) [Pipeline] } 00:46:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:46:15 $ docker stop --time=1 822f2eacaf741f7efdacd69bd7c73c104897db453ea9b23bf6c60ac7c64e5de0 00:46:16 $ docker rm -f --volumes 822f2eacaf741f7efdacd69bd7c73c104897db453ea9b23bf6c60ac7c64e5de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:16 Failed in branch amd64 00:50:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5979 in /w/workspace/undry_device-onvif-camera_PR-232 [Pipeline] { [Pipeline] ws 00:50:49 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 00:50:49 The recommended git tool is: git 00:50:56 using credential edgex-jenkins-ssh 00:50:56 Cloning the remote Git repository 00:50:56 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:50:56 > git init /w/workspace/device-onvif-camera/1 # timeout=10 00:50:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:50:56 > git --version # timeout=10 00:50:56 > git --version # 'git version 2.25.1' 00:50:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:50:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:00 Merging remotes/origin/main commit ce7fe079461b7505b319433b3b229be05385591d into PR head commit edc0738a55fbc1b1250fe0b17dd7a21488aac359 00:51:00 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:51:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:51:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:51:01 Merge succeeded, producing edc0738a55fbc1b1250fe0b17dd7a21488aac359 00:51:01 Checking out Revision edc0738a55fbc1b1250fe0b17dd7a21488aac359 (PR-232) 00:51:00 > git config core.sparsecheckout # timeout=10 00:51:01 > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 00:51:01 > git remote # timeout=10 00:51:01 > git config --get remote.origin.url # timeout=10 00:51:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:01 > git merge ce7fe079461b7505b319433b3b229be05385591d # timeout=10 00:51:01 > git rev-parse HEAD^{commit} # timeout=10 00:51:01 > git config core.sparsecheckout # timeout=10 00:51:01 > git checkout -f edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 00:51:02 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 00:51:02 > git --version # timeout=10 00:51:02 > git --version # 'git version 2.25.1' 00:51:03 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:51:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:51:04 Dload Upload Total Spent Left Speed 00:51:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh 00:51:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:51:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:51:05 + sudo tee /etc/docker/daemon.new 00:51:05 { 00:51:05 "registry-mirrors": [ 00:51:05 "https://nexus3.edgexfoundry.org:10001" 00:51:05 ], 00:51:05 "bip": "10.250.0.254/24", 00:51:05 "hosts": [ 00:51:05 "tcp://0.0.0.0:5555", 00:51:05 "unix:///var/run/docker.sock" 00:51:05 ], 00:51:05 "mtu": 1458, 00:51:05 "selinux-enabled": true, 00:51:05 "seccomp-profile": "/etc/docker/seccomp.json" 00:51:05 } [Pipeline] sh 00:51:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:51:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:24 provisioning config files... 00:51:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1056987762076948690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:25 ---> docker-login.sh 00:51:25 nexus3.edgexfoundry.org:10001 00:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:25 Configure a credential helper to remove this warning. See 00:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:25 00:51:25 Login Succeeded 00:51:25 nexus3.edgexfoundry.org:10002 00:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:26 Configure a credential helper to remove this warning. See 00:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:26 00:51:26 Login Succeeded 00:51:26 nexus3.edgexfoundry.org:10003 00:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:26 Configure a credential helper to remove this warning. See 00:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:26 00:51:26 Login Succeeded 00:51:26 nexus3.edgexfoundry.org:10004 00:51:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:27 Configure a credential helper to remove this warning. See 00:51:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:27 00:51:27 Login Succeeded 00:51:27 docker.io 00:51:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:27 Configure a credential helper to remove this warning. See 00:51:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:27 00:51:27 Login Succeeded 00:51:27 ---> docker-login.sh ends [Pipeline] } 00:51:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:51:28 ========================================================= 00:51:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:51:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:29 + 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:51:29 Sending build context to Docker daemon 20.53MB 00:51:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:51:29 Step 2/13 : FROM ${BASE} AS builder 00:51:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:51:29 9b18e9b68314: Pulling fs layer 00:51:29 35d82f9e3411: Pulling fs layer 00:51:29 e16973657156: Pulling fs layer 00:51:29 fc693d55d65f: Pulling fs layer 00:51:29 7e9fc2657dce: Pulling fs layer 00:51:29 dda99020689f: Pulling fs layer 00:51:29 db1c61fa0a46: Pulling fs layer 00:51:29 891c053d2c06: Pulling fs layer 00:51:29 fc693d55d65f: Waiting 00:51:29 7e9fc2657dce: Waiting 00:51:29 dda99020689f: Waiting 00:51:29 db1c61fa0a46: Waiting 00:51:29 891c053d2c06: Waiting 00:51:29 e16973657156: Verifying Checksum 00:51:29 e16973657156: Download complete 00:51:29 35d82f9e3411: Verifying Checksum 00:51:29 35d82f9e3411: Download complete 00:51:29 7e9fc2657dce: Verifying Checksum 00:51:29 7e9fc2657dce: Download complete 00:51:30 dda99020689f: Verifying Checksum 00:51:30 dda99020689f: Download complete 00:51:30 9b18e9b68314: Verifying Checksum 00:51:30 9b18e9b68314: Download complete 00:51:31 9b18e9b68314: Pull complete 00:51:31 891c053d2c06: Verifying Checksum 00:51:31 891c053d2c06: Download complete 00:51:31 35d82f9e3411: Pull complete 00:51:32 e16973657156: Pull complete 00:51:32 db1c61fa0a46: Verifying Checksum 00:51:32 db1c61fa0a46: Download complete 00:51:33 fc693d55d65f: Verifying Checksum 00:51:33 fc693d55d65f: Download complete 00:51:45 fc693d55d65f: Pull complete 00:51:45 7e9fc2657dce: Pull complete 00:51:45 dda99020689f: Pull complete 00:51:51 db1c61fa0a46: Pull complete 00:51:54 891c053d2c06: Pull complete 00:51:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:51:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:51:54 ---> f96f9c87975a 00:51:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:51:56 ---> Running in 3cdd828dc308 00:51:56 Removing intermediate container 3cdd828dc308 00:51:56 ---> d1811566ef66 00:51:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:56 ---> Running in 4684043467a1 00:51:56 Removing intermediate container 4684043467a1 00:51:56 ---> 8cfe1406107d 00:51:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:51:57 ---> Running in f2f86854c529 00:51:57 Removing intermediate container f2f86854c529 00:51:57 ---> 782a8f4bc1b4 00:51:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:51:57 ---> Running in 25ff2e25a57e 00:51:58 Removing intermediate container 25ff2e25a57e 00:51:58 ---> 38be11e508f9 00:51:58 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:51:58 ---> Running in 787feeb5212a 00:51:58 Removing intermediate container 787feeb5212a 00:51:58 ---> fcabca67959b 00:51:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:58 ---> Running in 02beedad509d 00:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:52:01 OK: 221 MiB in 51 packages 00:52:02 Removing intermediate container 02beedad509d 00:52:02 ---> d65e0e8adcd7 00:52:02 Step 9/13 : WORKDIR /device-onvif-camera 00:52:02 ---> Running in c42ebc5a5665 00:52:03 Removing intermediate container c42ebc5a5665 00:52:03 ---> 66e512d9114b 00:52:03 Step 10/13 : COPY go.mod vendor* ./ 00:52:03 ---> cdf1b0bd4084 00:52:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:52:04 ---> Running in 368a3892b85f 00:53:25 Removing intermediate container 368a3892b85f 00:53:25 ---> 3f2c98a655cc 00:53:25 Step 12/13 : COPY . . 00:53:25 ---> fce32efd4229 00:53:25 Step 13/13 : RUN ${MAKE} 00:53:25 ---> Running in 790dfcf624c8 00:53:25 noop 00:53:25 Removing intermediate container 790dfcf624c8 00:53:25 ---> e997e5e97c8d 00:53:25 Successfully built e997e5e97c8d 00:53:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:26 + docker inspect -f . ci-base-image-arm64 00:53:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:26 prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container 00:53:26 $ 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 ******** ci-base-image-arm64 cat 00:53:30 $ docker top 9041b606597c52027717024bcf6b3ef316ada7a2de3ef1b9bcdfbe835a548693 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:31 + go version 00:53:31 go version go1.18.7 linux/arm64 [Pipeline] } 00:53:31 $ docker stop --time=1 9041b606597c52027717024bcf6b3ef316ada7a2de3ef1b9bcdfbe835a548693 00:53:33 $ docker rm -f --volumes 9041b606597c52027717024bcf6b3ef316ada7a2de3ef1b9bcdfbe835a548693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:34 + docker inspect -f . ci-base-image-arm64 00:53:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:34 prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container 00:53:34 $ 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 ******** ci-base-image-arm64 cat 00:53:36 $ docker top 0a79edf48dd72030c546ecea53b564a5e29589eccc2c07fb0a13ec3af21920a7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:37 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 00:53:37 + make test 00:53:37 go test ./... -coverprofile=coverage.out ./... 00:53:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:55:32 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 00:55:32 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) 00:55:34 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 00:56:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.460s coverage: 86.5% of statements 00:56:01 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 00:56:01 $ docker stop --time=1 0a79edf48dd72030c546ecea53b564a5e29589eccc2c07fb0a13ec3af21920a7 00:56:03 $ docker rm -f --volumes 0a79edf48dd72030c546ecea53b564a5e29589eccc2c07fb0a13ec3af21920a7 [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:56:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:05 00:56:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:05 arm64: Pulling from edgex-lftools-log-publisher 00:56:05 8998bd30e6a1: Pulling fs layer 00:56:05 04944245beec: Pulling fs layer 00:56:05 699f458cf7ca: Pulling fs layer 00:56:05 765212b225bb: Pulling fs layer 00:56:05 f23df028b6ca: Pulling fs layer 00:56:05 d65c8cfc05b1: Pulling fs layer 00:56:05 2437ff75d9bd: Pulling fs layer 00:56:05 d65c8cfc05b1: Waiting 00:56:05 f23df028b6ca: Waiting 00:56:05 765212b225bb: Waiting 00:56:05 2437ff75d9bd: Waiting 00:56:05 04944245beec: Verifying Checksum 00:56:05 04944245beec: Download complete 00:56:05 765212b225bb: Verifying Checksum 00:56:05 765212b225bb: Download complete 00:56:05 f23df028b6ca: Verifying Checksum 00:56:05 f23df028b6ca: Download complete 00:56:06 d65c8cfc05b1: Verifying Checksum 00:56:06 d65c8cfc05b1: Download complete 00:56:06 699f458cf7ca: Verifying Checksum 00:56:06 699f458cf7ca: Download complete 00:56:06 8998bd30e6a1: Verifying Checksum 00:56:06 8998bd30e6a1: Download complete 00:56:08 2437ff75d9bd: Verifying Checksum 00:56:08 2437ff75d9bd: Download complete 00:56:10 8998bd30e6a1: Pull complete 00:56:10 04944245beec: Pull complete 00:56:12 699f458cf7ca: Pull complete 00:56:12 765212b225bb: Pull complete 00:56:13 f23df028b6ca: Pull complete 00:56:13 d65c8cfc05b1: Pull complete 00:56:28 2437ff75d9bd: Pull complete 00:56:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:56:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:28 prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container 00:56: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/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:56:31 $ docker top e148832e2656893c8e67bbab2702b3be8e3491972a8ec41bfd6a4e94c5d47aba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:32 ---> job-cost.sh 00:56:32 lf-activate-venv: SKIPPING 00:56:32 INFO: No Stack... 00:56:32 INFO: Retrieving Pricing Info for: v3-standard-4 00:56:33 INFO: Archiving Costs [Pipeline] sh 00:56:34 + cut+ -d, -f6 00:56:34 cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 00:56:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] 00:56:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] did not exist. Created. 00:56:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:35 /w/workspace/device-onvif-camera/1@tmp/durable-2f616ee8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:56:35 + echo total: 0.10999999940395355 [Pipeline] stash 00:56:35 Warning: overwriting stash ‘stack-cost’ 00:56:36 Stashed 1 file(s) [Pipeline] } 00:56:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:36 $ docker stop --time=1 e148832e2656893c8e67bbab2702b3be8e3491972a8ec41bfd6a4e94c5d47aba 00:56:37 $ docker rm -f --volumes e148832e2656893c8e67bbab2702b3be8e3491972a8ec41bfd6a4e94c5d47aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:56:38 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:56:40 + [ -d /w/workspace/undry_device-onvif-camera_PR-232/archives ] 00:56:40 + ls -al /w/workspace/undry_device-onvif-camera_PR-232/archives 00:56:40 total 16 00:56:40 drwxr-xr-x 3 root root 4096 Feb 15 00:46 . 00:56:40 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:46 .. 00:56:40 drwxr-xr-x 2 root root 4096 Feb 15 00:46 cost 00:56:40 -rw-r--r-- 1 root root 91 Feb 15 00:46 cost.csv 00:56:40 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-232/archives 00:56:40 + ls -al /w/workspace/undry_device-onvif-camera_PR-232/archives 00:56:40 total 16 00:56:40 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:46 . 00:56:40 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:46 .. 00:56:40 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:46 cost 00:56:40 -rw-r--r-- 1 jenkins jenkins 91 Feb 15 00:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:56:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:56:41 ---> package-listing.sh 00:56:41 ++ facter osfamily 00:56:41 ++ tr '[:upper:]' '[:lower:]' 00:56:42 + OS_FAMILY=debian 00:56:42 + workspace=/w/workspace/undry_device-onvif-camera_PR-232 00:56:42 + START_PACKAGES=/tmp/packages_start.txt 00:56:42 + END_PACKAGES=/tmp/packages_end.txt 00:56:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:56:42 + PACKAGES=/tmp/packages_start.txt 00:56:42 + '[' /w/workspace/undry_device-onvif-camera_PR-232 ']' 00:56:42 + PACKAGES=/tmp/packages_end.txt 00:56:42 + case "${OS_FAMILY}" in 00:56:42 + dpkg -l 00:56:42 + grep '^ii' 00:56:42 + '[' -f /tmp/packages_start.txt ']' 00:56:42 + '[' -f /tmp/packages_end.txt ']' 00:56:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:56:42 + '[' /w/workspace/undry_device-onvif-camera_PR-232 ']' 00:56:42 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-232/archives/ 00:56:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-232/archives/ [Pipeline] echo 00:56:42 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:56:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:43 prd-ubuntu20.04-docker-8c-8g-5956 does not seem to be running inside a container 00:56:43 $ 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-232/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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:43 $ docker top e3aad03c08542b85892f94756b70521f00a2a8b31292342aa6c78e991abeaeae -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:43 + touch /tmp/pre-build-complete [Pipeline] sh 00:56:44 + mkdir -p /var/log/sysstat [Pipeline] sh 00:56:44 + ls /var/log/sa-host 00:56:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:44 provisioning config files... 00:56:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config12036349343661655010tmp [Pipeline] { [Pipeline] echo 00:56:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:56:44 ---> create-netrc.sh [Pipeline] } 00:56:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:56:45 ---> python-tools-install.sh [Pipeline] echo 00:56:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:56:45 ---> sudo-logs.sh 00:56:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:56:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:56:46 ---> job-cost.sh 00:56:46 lf-activate-venv: SKIPPING 00:56:46 DEBUG: total: 0.2199999988079071 00:56:46 INFO: Retrieving Stack Cost... 00:56:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:46 INFO: Archiving Costs [Pipeline] echo 00:56:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:56:47 ---> logs-deploy.sh 00:56:47 lf-activate-venv: SKIPPING 00:56:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-232/1 00:56:47 INFO: archiving workspace using pattern(s): 00:56:48 Archives upload complete. 00:56:48 INFO: archiving logs to Nexus