Pull request #153 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 87f15e26a71a8026a682f6867a4ab9a3284585c9 rather than 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Obtained Jenkinsfile from 87f15e26a71a8026a682f6867a4ab9a3284585c9 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-ssh3238266720010171991.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5184622815867871157.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-153/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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13921948516647307417.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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6168474994687012163.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh10016086856077542469.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-153/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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17080984946303574842.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-centos7-blackbox-4c-2g-23657’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-23658’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-24374’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24375’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24376’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24377 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Checking out Revision 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # 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 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 Commit message: "feat: remove control-plane-device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:28 ========================================================= 00:12:28 EdgeX Global Pipelines Version Info 00:12:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:29 ------------------- 00:12:29 stable info: 00:12:29 ------------------- 00:12:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:12:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:12:29 Message: update stable to v1.0.239 00:12:29 ------------------- 00:12:29 experimental info: 00:12:29 ------------------- 00:12:29 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:12:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3226209 [Pipeline] echo 00:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:31 provisioning config files... 00:12:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config7195068147074173662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:32 ---> docker-login.sh 00:12:32 nexus3.edgexfoundry.org:10001 00:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:32 Configure a credential helper to remove this warning. See 00:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:32 00:12:32 Login Succeeded 00:12:32 nexus3.edgexfoundry.org:10002 00:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:32 Configure a credential helper to remove this warning. See 00:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:32 00:12:32 Login Succeeded 00:12:32 nexus3.edgexfoundry.org:10003 00:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:32 Configure a credential helper to remove this warning. See 00:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:32 00:12:32 Login Succeeded 00:12:32 nexus3.edgexfoundry.org:10004 00:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:32 Configure a credential helper to remove this warning. See 00:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:32 00:12:32 Login Succeeded 00:12:32 docker.io 00:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:33 Configure a credential helper to remove this warning. See 00:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:33 00:12:33 Login Succeeded 00:12:33 ---> docker-login.sh ends [Pipeline] } 00:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:12:34 + git rev-list -1 --merges 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3~1..3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo 00:12:34 -----------> git rev-list -1 --merges 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3~1..3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [false] [Pipeline] sh 00:12:34 + git log --format=format:%s -1 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo 00:12:34 ========================================================= 00:12:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:12:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:35 + git log --format=format:%s -1 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo 00:12:35 [semverPrep] GIT_COMMIT: 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3, Commit Message: feat: remove control-plane-device [Pipeline] echo 00:12:35 [semverPrep] This is not a build commit. [Pipeline] sh 00:12:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:35 + grep -v github /etc/ssh/ssh_known_hosts 00:12:35 + [ -e /tmp/ssh_known_hosts ] 00:12:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:12:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:12:35 + sudo tee -a /etc/ssh/ssh_known_hosts 00:12:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:36 00:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:36 0.1.4: Pulling from edgex-devops/py-git-semver 00:12:36 b85a868b505f: Pulling fs layer 00:12:36 e2be974225ed: Pulling fs layer 00:12:36 339a4e72a1f5: Pulling fs layer 00:12:36 988bab9f4d93: Pulling fs layer 00:12:36 1469e6f7b9e6: Pulling fs layer 00:12:36 eaf3925da568: Pulling fs layer 00:12:36 bab4dde63d76: Pulling fs layer 00:12:36 bde34c3a00c8: Pulling fs layer 00:12:36 b352a97aabf1: Pulling fs layer 00:12:36 4872d77fe225: Pulling fs layer 00:12:36 5851b861e8e6: Pulling fs layer 00:12:36 988bab9f4d93: Waiting 00:12:36 1469e6f7b9e6: Waiting 00:12:36 eaf3925da568: Waiting 00:12:36 bab4dde63d76: Waiting 00:12:36 bde34c3a00c8: Waiting 00:12:36 b352a97aabf1: Waiting 00:12:36 4872d77fe225: Waiting 00:12:36 5851b861e8e6: Waiting 00:12:36 e2be974225ed: Verifying Checksum 00:12:36 e2be974225ed: Download complete 00:12:36 988bab9f4d93: Download complete 00:12:36 1469e6f7b9e6: Verifying Checksum 00:12:36 1469e6f7b9e6: Download complete 00:12:36 eaf3925da568: Verifying Checksum 00:12:36 eaf3925da568: Download complete 00:12:36 339a4e72a1f5: Verifying Checksum 00:12:36 339a4e72a1f5: Download complete 00:12:36 bde34c3a00c8: Verifying Checksum 00:12:36 bde34c3a00c8: Download complete 00:12:36 b352a97aabf1: Verifying Checksum 00:12:36 b352a97aabf1: Download complete 00:12:36 4872d77fe225: Verifying Checksum 00:12:36 4872d77fe225: Download complete 00:12:36 5851b861e8e6: Verifying Checksum 00:12:36 5851b861e8e6: Download complete 00:12:36 b85a868b505f: Verifying Checksum 00:12:36 b85a868b505f: Download complete 00:12:36 bab4dde63d76: Verifying Checksum 00:12:36 bab4dde63d76: Download complete 00:12:38 b85a868b505f: Pull complete 00:12:38 e2be974225ed: Pull complete 00:12:38 339a4e72a1f5: Pull complete 00:12:38 988bab9f4d93: Pull complete 00:12:39 1469e6f7b9e6: Pull complete 00:12:39 eaf3925da568: Pull complete 00:12:41 bab4dde63d76: Pull complete 00:12:41 bde34c3a00c8: Pull complete 00:12:41 b352a97aabf1: Pull complete 00:12:41 4872d77fe225: Pull complete 00:12:41 5851b861e8e6: Pull complete 00:12:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:42 prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container 00:12:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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:12:43 $ docker top 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 -eo pid,comm 00:12:43 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:12:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:43 [ssh-agent] Looking for ssh-agent implementation... 00:12:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:44 $ docker exec 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent 00:12:44 SSH_AUTH_SOCK=/tmp/ssh-XFJg3YdW5Xxx/agent.32 00:12:44 SSH_AGENT_PID=39 00:12:44 Running ssh-add (command line suppressed) 00:12:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4197831360877104195.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4197831360877104195.key) 00:12:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:44 + git tag --points-at HEAD [Pipeline] } 00:12:44 $ docker exec --env ******** --env ******** 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent -k 00:12:44 unset SSH_AUTH_SOCK; 00:12:44 unset SSH_AGENT_PID; 00:12:44 echo Agent pid 39 killed; 00:12:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:12:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:44 [ssh-agent] Looking for ssh-agent implementation... 00:12:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:45 $ docker exec 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent 00:12:45 SSH_AUTH_SOCK=/tmp/ssh-yiGjY4SzSdOo/agent.72 00:12:45 SSH_AGENT_PID=78 00:12:45 Running ssh-add (command line suppressed) 00:12:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_2157595684166837439.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_2157595684166837439.key) 00:12:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:45 + git semver init 00:12:45 2022-09-02 00:12:45,896 [run_init] DEBUG init version:0.0.0 force:False 00:12:45 2022-09-02 00:12:45,897 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver 00:12:45 2022-09-02 00:12:45,897 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver 00:12:45 2022-09-02 00:12:45,897 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) 00:12:46 2022-09-02 00:12:46,674 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude 00:12:46 2022-09-02 00:12:46,674 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False 00:12:46 2022-09-02 00:12:46,675 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 00:12:46 2022-09-02 00:12:46,678 [execute] INFO git cat-file --batch-check 00:12:46 2022-09-02 00:12:46,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 00:12:46 2022-09-02 00:12:46,686 [execute] INFO git cat-file --batch 00:12:46 2022-09-02 00:12:46,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 00:12:46 2022-09-02 00:12:46,692 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 00:12:46 0.0.0 [Pipeline] } 00:12:46 $ docker exec --env ******** --env ******** 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent -k 00:12:47 unset SSH_AUTH_SOCK; 00:12:47 unset SSH_AGENT_PID; 00:12:47 echo Agent pid 78 killed; 00:12:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:47 + git semver [Pipeline] } 00:12:47 $ docker stop --time=1 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 00:12:49 $ docker rm -f 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:12:49 Stashed 1 file(s) [Pipeline] echo 00:12:49 [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:12:50 provisioning config files... 00:12:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config2326858758507091490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:50 ---> docker-login.sh 00:12:50 nexus3.edgexfoundry.org:10001 00:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:50 Configure a credential helper to remove this warning. See 00:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:50 00:12:50 Login Succeeded 00:12:50 nexus3.edgexfoundry.org:10002 00:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 nexus3.edgexfoundry.org:10003 00:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 nexus3.edgexfoundry.org:10004 00:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 docker.io 00:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 ---> docker-login.sh ends [Pipeline] } 00:12:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:52 ========================================================= 00:12:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:12:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:52 + 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:12:52 Sending build context to Docker daemon 20.66MB 00:12:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:12:52 Step 2/13 : FROM ${BASE} AS builder 00:12:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:12:53 2408cc74d12b: Pulling fs layer 00:12:53 ea60b727a1ce: Pulling fs layer 00:12:53 30c4a7721957: Pulling fs layer 00:12:53 370296b7ddb6: Pulling fs layer 00:12:53 7c6cee850709: Pulling fs layer 00:12:53 39a5fcdaea64: Pulling fs layer 00:12:53 d94ebbe4e438: Pulling fs layer 00:12:53 bcfd1f05c69d: Pulling fs layer 00:12:53 59ccb84bbe0f: Pulling fs layer 00:12:53 39a5fcdaea64: Waiting 00:12:53 d94ebbe4e438: Waiting 00:12:53 bcfd1f05c69d: Waiting 00:12:53 370296b7ddb6: Waiting 00:12:53 59ccb84bbe0f: Waiting 00:12:53 7c6cee850709: Waiting 00:12:53 30c4a7721957: Verifying Checksum 00:12:53 30c4a7721957: Download complete 00:12:53 ea60b727a1ce: Verifying Checksum 00:12:53 ea60b727a1ce: Download complete 00:12:53 7c6cee850709: Download complete 00:12:53 39a5fcdaea64: Verifying Checksum 00:12:53 39a5fcdaea64: Download complete 00:12:53 2408cc74d12b: Verifying Checksum 00:12:53 2408cc74d12b: Download complete 00:12:53 d94ebbe4e438: Download complete 00:12:53 2408cc74d12b: Pull complete 00:12:53 ea60b727a1ce: Pull complete 00:12:53 30c4a7721957: Pull complete 00:12:53 59ccb84bbe0f: Verifying Checksum 00:12:53 59ccb84bbe0f: Download complete 00:12:53 bcfd1f05c69d: Verifying Checksum 00:12:53 bcfd1f05c69d: Download complete 00:12:53 370296b7ddb6: Verifying Checksum 00:12:53 370296b7ddb6: Download complete 00:12:59 370296b7ddb6: Pull complete 00:12:59 7c6cee850709: Pull complete 00:12:59 39a5fcdaea64: Pull complete 00:12:59 d94ebbe4e438: Pull complete 00:13:00 bcfd1f05c69d: Pull complete 00:13:01 59ccb84bbe0f: Pull complete 00:13:01 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:13:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:13:01 ---> a4fb48ad2a94 00:13:01 Step 3/13 : ARG MAKE="make build" 00:13:03 ---> Running in 8566450846b9 00:13:03 Removing intermediate container 8566450846b9 00:13:03 ---> fcdb5e6a99cc 00:13:03 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:13:03 ---> Running in b7b89242e8c7 00:13:03 Removing intermediate container b7b89242e8c7 00:13:03 ---> 97e2eb481f08 00:13:03 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:13:03 ---> Running in 15db09572739 00:13:03 Removing intermediate container 15db09572739 00:13:03 ---> 441d235bdecc 00:13:03 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:13:03 ---> Running in 7c843a55b255 00:13:03 Removing intermediate container 7c843a55b255 00:13:03 ---> 4b91f5bd6d57 00:13:03 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:13:03 ---> Running in cce284ca4ad7 00:13:04 Removing intermediate container cce284ca4ad7 00:13:04 ---> 2fd6b48f6776 00:13:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:04 ---> Running in 0b554218eead 00:13:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:13:05 Still waiting to schedule task 00:13:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24373’ 00:13:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:13:05 OK: 211 MiB in 51 packages 00:13:06 Removing intermediate container 0b554218eead 00:13:06 ---> 931cbd91ad31 00:13:06 Step 9/13 : WORKDIR /device-onvif-camera 00:13:06 ---> Running in 6c6293e13b8e 00:13:06 Removing intermediate container 6c6293e13b8e 00:13:06 ---> 4273764e58f8 00:13:06 Step 10/13 : COPY go.mod vendor* ./ 00:13:06 ---> 411a0479f0d9 00:13:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:06 ---> Running in 93d2b86d28bd 00:13:21 Removing intermediate container 93d2b86d28bd 00:13:21 ---> fe9fb515683b 00:13:21 Step 12/13 : COPY . . 00:13:22 ---> f8a50546e7ee 00:13:22 Step 13/13 : RUN ${MAKE} 00:13:22 ---> Running in 52c8557f04bf 00:13:22 noop 00:13:23 Removing intermediate container 52c8557f04bf 00:13:23 ---> b441d08309a4 00:13:23 Successfully built b441d08309a4 00:13:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:23 + docker inspect -f . ci-base-image-x86_64 00:13:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:23 prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container 00:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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:13:24 $ docker top 5dbe42c4674d97cde824412f7efce958a1705156036af64b8b9bbc51b36743a7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:24 + go version 00:13:24 go version go1.18.3 linux/amd64 [Pipeline] } 00:13:24 $ docker stop --time=1 5dbe42c4674d97cde824412f7efce958a1705156036af64b8b9bbc51b36743a7 00:13:25 $ docker rm -f 5dbe42c4674d97cde824412f7efce958a1705156036af64b8b9bbc51b36743a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:26 + docker inspect -f . ci-base-image-x86_64 00:13:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:26 prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container 00:13:26 $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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:13:27 $ docker top 346223f987fdc321af40470c66ba60197883c15130771530141b8b811aa7f52c -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:27 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh 00:13:28 + make test 00:13:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:13:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:13:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:13:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements 00:13:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:13:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.049s coverage: 13.8% of statements 00:13:48 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:13:48 internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) 00:13:48 uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" 00:13:48 ^ 00:13:48 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 00:13:48 $ docker stop --time=1 346223f987fdc321af40470c66ba60197883c15130771530141b8b811aa7f52c 00:13:50 $ docker rm -f 346223f987fdc321af40470c66ba60197883c15130771530141b8b811aa7f52c [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:13:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:51 00:13:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:51 latest: Pulling from edgex-lftools-log-publisher 00:13:51 5eb5b503b376: Pulling fs layer 00:13:51 5c69ac0246d0: Pulling fs layer 00:13:51 ec43610c2a17: Pulling fs layer 00:13:51 3a2ae6a8a46f: Pulling fs layer 00:13:51 33b1e0a273af: Pulling fs layer 00:13:51 5d3b04190fa2: Pulling fs layer 00:13:51 2f39f015ded8: Pulling fs layer 00:13:51 3a2ae6a8a46f: Waiting 00:13:51 33b1e0a273af: Waiting 00:13:51 5d3b04190fa2: Waiting 00:13:51 5c69ac0246d0: Verifying Checksum 00:13:51 5c69ac0246d0: Download complete 00:13:51 3a2ae6a8a46f: Verifying Checksum 00:13:51 3a2ae6a8a46f: Download complete 00:13:52 33b1e0a273af: Verifying Checksum 00:13:52 33b1e0a273af: Download complete 00:13:52 5d3b04190fa2: Verifying Checksum 00:13:52 5d3b04190fa2: Download complete 00:13:52 ec43610c2a17: Verifying Checksum 00:13:52 ec43610c2a17: Download complete 00:13:52 5eb5b503b376: Verifying Checksum 00:13:52 5eb5b503b376: Download complete 00:13:52 2f39f015ded8: Download complete 00:13:53 5eb5b503b376: Pull complete 00:13:53 5c69ac0246d0: Pull complete 00:13:54 ec43610c2a17: Pull complete 00:13:54 3a2ae6a8a46f: Pull complete 00:13:54 33b1e0a273af: Pull complete 00:13:54 5d3b04190fa2: Pull complete 00:13:58 2f39f015ded8: Pull complete 00:13:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:58 prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container 00:13:58 $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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:14:00 $ docker top a3a31e7a5fc81524b9a7fede601c9ea605493ffc00475bca4df1003c73dccc5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:01 ---> job-cost.sh 00:14:01 lf-activate-venv: SKIPPING 00:14:01 INFO: No Stack... 00:14:01 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:01 INFO: Archiving Costs [Pipeline] sh 00:14:02 + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv 00:14:02 + cut -d, -f6 [Pipeline] lock 00:14:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] 00:14:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] did not exist. Created. 00:14:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:02 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:02 Stashed 1 file(s) [Pipeline] } 00:14:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:02 $ docker stop --time=1 a3a31e7a5fc81524b9a7fede601c9ea605493ffc00475bca4df1003c73dccc5d 00:14:04 $ docker rm -f a3a31e7a5fc81524b9a7fede601c9ea605493ffc00475bca4df1003c73dccc5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:14:04 Failed in branch amd64 00:16:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24381 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws 00:16:17 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 00:16:17 Selected Git installation does not exist. Using Default 00:16:17 The recommended git tool is: NONE 00:16:23 using credential edgex-jenkins-ssh 00:16:23 Cloning the remote Git repository 00:16:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:16:23 > git init /w/workspace/device-onvif-camera/1 # timeout=10 00:16:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:16:23 > git --version # timeout=10 00:16:23 > git --version # 'git version 2.25.1' 00:16:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:16:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:16:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:16:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:16:25 Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 00:16:26 Merge succeeded, producing 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 00:16:26 Checking out Revision 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 (PR-153) 00:16:25 > git config core.sparsecheckout # timeout=10 00:16:25 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 00:16:26 > git remote # timeout=10 00:16:26 > git config --get remote.origin.url # timeout=10 00:16:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:26 > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 00:16:26 > git rev-parse HEAD^{commit} # timeout=10 00:16:26 > git config core.sparsecheckout # timeout=10 00:16:26 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 00:16:30 Commit message: "feat: remove control-plane-device" 00:16:30 > git --version # timeout=10 00:16:31 > git --version # 'git version 2.25.1' 00:16:31 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:16:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:16:32 Dload Upload Total Spent Left Speed 00:16:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 153k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh 00:16:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:16:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:16:33 + sudo tee /etc/docker/daemon.new 00:16:33 { 00:16:33 "registry-mirrors": [ 00:16:33 "https://nexus3.edgexfoundry.org:10001" 00:16:33 ], 00:16:33 "bip": "10.250.0.254/24", 00:16:33 "hosts": [ 00:16:33 "tcp://0.0.0.0:5555", 00:16:33 "unix:///var/run/docker.sock" 00:16:33 ], 00:16:33 "mtu": 1458, 00:16:33 "selinux-enabled": true, 00:16:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:16:33 } [Pipeline] sh 00:16:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:16:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:52 provisioning config files... 00:16:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1017883660069046202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:53 ---> docker-login.sh 00:16:53 nexus3.edgexfoundry.org:10001 00:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:54 Configure a credential helper to remove this warning. See 00:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:54 00:16:54 Login Succeeded 00:16:54 nexus3.edgexfoundry.org:10002 00:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:54 Configure a credential helper to remove this warning. See 00:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:54 00:16:54 Login Succeeded 00:16:54 nexus3.edgexfoundry.org:10003 00:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:55 Configure a credential helper to remove this warning. See 00:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:55 00:16:55 Login Succeeded 00:16:55 nexus3.edgexfoundry.org:10004 00:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:55 Configure a credential helper to remove this warning. See 00:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:55 00:16:55 Login Succeeded 00:16:55 docker.io 00:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:56 Configure a credential helper to remove this warning. See 00:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:56 00:16:56 Login Succeeded 00:16:56 ---> docker-login.sh ends [Pipeline] } 00:16:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:57 ========================================================= 00:16:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:16:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:57 + 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:16:58 Sending build context to Docker daemon 14.15MB 00:16:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:16:58 Step 2/13 : FROM ${BASE} AS builder 00:16:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:58 b3c136eddcbf: Pulling fs layer 00:16:58 c0a3192eca97: Pulling fs layer 00:16:58 a050256f5b6f: Pulling fs layer 00:16:58 656be50a0ddc: Pulling fs layer 00:16:58 2bbca73fdf42: Pulling fs layer 00:16:58 656be50a0ddc: Waiting 00:16:58 46d945488cbd: Pulling fs layer 00:16:58 2bbca73fdf42: Waiting 00:16:58 8a5474983e97: Pulling fs layer 00:16:58 46d945488cbd: Waiting 00:16:58 329c88fbcd65: Pulling fs layer 00:16:58 8a5474983e97: Waiting 00:16:58 a050256f5b6f: Verifying Checksum 00:16:58 a050256f5b6f: Download complete 00:16:58 c0a3192eca97: Verifying Checksum 00:16:58 c0a3192eca97: Download complete 00:16:58 2bbca73fdf42: Verifying Checksum 00:16:58 2bbca73fdf42: Download complete 00:16:58 46d945488cbd: Verifying Checksum 00:16:58 46d945488cbd: Download complete 00:16:58 b3c136eddcbf: Verifying Checksum 00:16:59 b3c136eddcbf: Pull complete 00:16:59 329c88fbcd65: Verifying Checksum 00:16:59 329c88fbcd65: Download complete 00:17:00 c0a3192eca97: Pull complete 00:17:00 a050256f5b6f: Pull complete 00:17:01 8a5474983e97: Verifying Checksum 00:17:01 8a5474983e97: Download complete 00:17:01 656be50a0ddc: Verifying Checksum 00:17:01 656be50a0ddc: Download complete 00:17:14 656be50a0ddc: Pull complete 00:17:14 2bbca73fdf42: Pull complete 00:17:14 46d945488cbd: Pull complete 00:17:22 8a5474983e97: Pull complete 00:17:23 329c88fbcd65: Pull complete 00:17:23 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:17:23 ---> ff4287adb874 00:17:23 Step 3/13 : ARG MAKE="make build" 00:17:26 ---> Running in 6a4a9579f9d5 00:17:26 Removing intermediate container 6a4a9579f9d5 00:17:26 ---> 82ec6c9c976a 00:17:26 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:17:26 ---> Running in fd7eb5be9709 00:17:26 Removing intermediate container fd7eb5be9709 00:17:26 ---> 6eabe84a8a22 00:17:26 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:17:26 ---> Running in 57166fda32bc 00:17:27 Removing intermediate container 57166fda32bc 00:17:27 ---> d4665326e8df 00:17:27 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:17:27 ---> Running in 1eca1372409c 00:17:27 Removing intermediate container 1eca1372409c 00:17:27 ---> 255e6a1a7b9e 00:17:27 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:27 ---> Running in a8012c825da5 00:17:29 Removing intermediate container a8012c825da5 00:17:29 ---> e74498ad56c7 00:17:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:29 ---> Running in 89d09bfcde66 00:17:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:17:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:17:33 OK: 221 MiB in 51 packages 00:17:33 Removing intermediate container 89d09bfcde66 00:17:33 ---> 9d6c916b51ab 00:17:33 Step 9/13 : WORKDIR /device-onvif-camera 00:17:33 ---> Running in 56c2e56a5fc4 00:17:34 Removing intermediate container 56c2e56a5fc4 00:17:34 ---> ff97a6f96470 00:17:34 Step 10/13 : COPY go.mod vendor* ./ 00:17:35 ---> a2443483c3c9 00:17:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:35 ---> Running in 421f7dbd04e9 00:18:31 Removing intermediate container 421f7dbd04e9 00:18:31 ---> 4a56b29ff485 00:18:31 Step 12/13 : COPY . . 00:18:31 ---> b2c470e79759 00:18:31 Step 13/13 : RUN ${MAKE} 00:18:31 ---> Running in 282ec61039f8 00:18:31 noop 00:18:31 Removing intermediate container 282ec61039f8 00:18:31 ---> f63db003cf6f 00:18:31 Successfully built f63db003cf6f 00:18:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:32 + docker inspect -f . ci-base-image-arm64 00:18:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:32 prd-ubuntu20.04-docker-arm64-4c-16g-24381 does not seem to be running inside a container 00:18:32 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:18:34 $ docker top 4e8fb0729fc8f4e056d97088a763e2d03dde5f1e5d7a880ed1dd99425259cac9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:35 + go version 00:18:35 go version go1.18.3 linux/arm64 [Pipeline] } 00:18:35 $ docker stop --time=1 4e8fb0729fc8f4e056d97088a763e2d03dde5f1e5d7a880ed1dd99425259cac9 00:18:36 $ docker rm -f 4e8fb0729fc8f4e056d97088a763e2d03dde5f1e5d7a880ed1dd99425259cac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:37 + docker inspect -f . ci-base-image-arm64 00:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:38 prd-ubuntu20.04-docker-arm64-4c-16g-24381 does not seem to be running inside a container 00:18:38 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:18:39 $ docker top 13c79af92217722a27a13f49158637b1ce97e3de6b64f8ab1779dcc19d99dac4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:40 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 00:18:41 + make test 00:18:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:18:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:20:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:20:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 00:20:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:20:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.786s coverage: 13.8% of statements 00:20:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:21:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:14 ./bin/test-attribution-txt.sh [Pipeline] echo 00:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:21:14 $ docker stop --time=1 13c79af92217722a27a13f49158637b1ce97e3de6b64f8ab1779dcc19d99dac4 00:21:16 $ docker rm -f 13c79af92217722a27a13f49158637b1ce97e3de6b64f8ab1779dcc19d99dac4 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:19 + ls -al . 00:21:19 total 228 00:21:19 drwxrwxr-x 9 jenkins jenkins 4096 Sep 2 00:18 . 00:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 .. 00:21:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 00:16 .git 00:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 .github 00:21:19 -rw-rw-r-- 1 jenkins jenkins 418 Sep 2 00:16 .gitignore 00:21:19 -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 00:16 .golangci.yml 00:21:19 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 2 00:16 Attribution.txt 00:21:19 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 2 00:16 CHANGELOG.md 00:21:19 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 2 00:16 Dockerfile 00:21:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 00:16 GOVERNANCE.md 00:21:19 -rw-rw-r-- 1 jenkins jenkins 734 Sep 2 00:16 Jenkinsfile 00:21:19 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 2 00:16 LICENSE 00:21:19 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 2 00:16 Makefile 00:21:19 -rw-rw-r-- 1 jenkins jenkins 625 Sep 2 00:16 OWNERS.md 00:21:19 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 2 00:16 README.md 00:21:19 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 00:12 VERSION 00:21:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 00:16 bin 00:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 cmd 00:21:19 -rw-r--r-- 1 jenkins jenkins 75926 Sep 2 00:20 coverage.out 00:21:19 drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 00:16 doc 00:21:19 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 2 00:16 go.mod 00:21:19 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 2 00:16 go.sum 00:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 internal 00:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 snap 00:21:19 -rw-rw-r-- 1 jenkins jenkins 236 Sep 2 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:19 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 --label arch=arm64 --label version=0.0.0 . 00:21:20 Sending build context to Docker daemon 14.22MB 00:21:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:21:20 Step 2/26 : FROM ${BASE} AS builder 00:21:20 ---> f63db003cf6f 00:21:20 Step 3/26 : ARG MAKE="make build" 00:21:20 ---> Running in ac81e3434c43 00:21:20 Removing intermediate container ac81e3434c43 00:21:20 ---> 748ae6e0a697 00:21:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:21:20 ---> Running in be4618f229f7 00:21:20 Removing intermediate container be4618f229f7 00:21:20 ---> eb9925b3cfd6 00:21:20 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:21:21 ---> Running in 9677afb489fc 00:21:21 Removing intermediate container 9677afb489fc 00:21:21 ---> a5036aad1e76 00:21:21 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:21:21 ---> Running in 47642a2b313d 00:21:21 Removing intermediate container 47642a2b313d 00:21:21 ---> b48ab4aaeb16 00:21:21 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:21:22 ---> Running in 1fd4110c7246 00:21:23 Removing intermediate container 1fd4110c7246 00:21:23 ---> de94753b5920 00:21:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:24 ---> Running in 390a92c9a00e 00:21:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:21:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:21:26 OK: 221 MiB in 51 packages 00:21:27 Removing intermediate container 390a92c9a00e 00:21:27 ---> 064e8f791813 00:21:27 Step 9/26 : WORKDIR /device-onvif-camera 00:21:27 ---> Running in f99e389bf85b 00:21:27 Removing intermediate container f99e389bf85b 00:21:27 ---> 4a6d7c9f9bdc 00:21:27 Step 10/26 : COPY go.mod vendor* ./ 00:21:28 ---> 844b9af30c0b 00:21:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:28 ---> Running in 82b1a4c1c6cf 00:21:30 Removing intermediate container 82b1a4c1c6cf 00:21:30 ---> 7534c4a0a5a1 00:21:30 Step 12/26 : COPY . . 00:21:32 ---> 02e20bd16d49 00:21:32 Step 13/26 : RUN ${MAKE} 00:21:32 ---> Running in d5f5369739bd 00:21:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:24:10 Removing intermediate container d5f5369739bd 00:24:10 ---> 8a39b3ad3bdb 00:24:10 Step 14/26 : FROM alpine:3.16 00:24:10 3.16: Pulling from library/alpine 00:24:10 9b18e9b68314: Pulling fs layer 00:24:10 9b18e9b68314: Verifying Checksum 00:24:10 9b18e9b68314: Download complete 00:24:10 9b18e9b68314: Pull complete 00:24:10 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:24:10 Status: Downloaded newer image for alpine:3.16 00:24:10 ---> a6215f271958 00:24:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:24:10 ---> Running in 4b4fd65b5fdf 00:24:10 Removing intermediate container 4b4fd65b5fdf 00:24:10 ---> c03a00572e57 00:24:10 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:24:10 ---> Running in d545bf1178a4 00:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:24:10 (1/6) Installing dumb-init (1.2.5-r1) 00:24:10 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:24:10 (3/6) Installing libsodium (1.0.18-r0) 00:24:10 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:24:10 (5/6) Installing libzmq (4.3.4-r0) 00:24:10 (6/6) Installing zeromq (4.3.4-r0) 00:24:10 Executing busybox-1.35.0-r17.trigger 00:24:10 OK: 8 MiB in 20 packages 00:24:10 Removing intermediate container d545bf1178a4 00:24:10 ---> deb2c1ebb6e3 00:24:10 Step 17/26 : WORKDIR / 00:24:10 ---> Running in 5b663d1af8c3 00:24:10 Removing intermediate container 5b663d1af8c3 00:24:10 ---> d40a1ff84293 00:24:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:24:10 ---> 2c24a3ad391f 00:24:10 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:24:11 ---> e8f8178c2017 00:24:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:24:12 ---> 6ad7b84d6925 00:24:12 Step 21/26 : EXPOSE 59984 00:24:12 ---> Running in a35bdbf429ef 00:24:12 Removing intermediate container a35bdbf429ef 00:24:12 ---> 22d0295d18ff 00:24:12 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:24:12 ---> Running in aa17497582cf 00:24:12 Removing intermediate container aa17497582cf 00:24:12 ---> 1633510a5f1c 00:24:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:24:12 ---> Running in be48cf76ddb9 00:24:13 Removing intermediate container be48cf76ddb9 00:24:13 ---> 7d75f31a9a00 00:24:13 Step 24/26 : LABEL arch=arm64 00:24:13 ---> Running in dfbb40ee5dab 00:24:13 Removing intermediate container dfbb40ee5dab 00:24:13 ---> f5f8daefea90 00:24:13 Step 25/26 : LABEL git_sha=3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 00:24:13 ---> Running in 415da0b9270c 00:24:14 Removing intermediate container 415da0b9270c 00:24:14 ---> 72a6b1d736a7 00:24:14 Step 26/26 : LABEL version=0.0.0 00:24:14 ---> Running in 05dc8692a7ff 00:24:14 Removing intermediate container 05dc8692a7ff 00:24:14 ---> 2fd3884fab1a 00:24:14 [Warning] One or more build-args [ARCH] were not consumed 00:24:14 Successfully built 2fd3884fab1a 00:24:14 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:15 00:24:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:16 arm64: Pulling from edgex-lftools-log-publisher 00:24:16 8998bd30e6a1: Pulling fs layer 00:24:16 04944245beec: Pulling fs layer 00:24:16 699f458cf7ca: Pulling fs layer 00:24:16 765212b225bb: Pulling fs layer 00:24:16 f23df028b6ca: Pulling fs layer 00:24:16 d65c8cfc05b1: Pulling fs layer 00:24:16 2437ff75d9bd: Pulling fs layer 00:24:16 f23df028b6ca: Waiting 00:24:16 d65c8cfc05b1: Waiting 00:24:16 2437ff75d9bd: Waiting 00:24:16 765212b225bb: Waiting 00:24:16 04944245beec: Verifying Checksum 00:24:16 04944245beec: Download complete 00:24:16 765212b225bb: Verifying Checksum 00:24:16 765212b225bb: Download complete 00:24:16 f23df028b6ca: Verifying Checksum 00:24:16 f23df028b6ca: Download complete 00:24:16 d65c8cfc05b1: Verifying Checksum 00:24:16 d65c8cfc05b1: Download complete 00:24:16 699f458cf7ca: Verifying Checksum 00:24:16 699f458cf7ca: Download complete 00:24:16 8998bd30e6a1: Verifying Checksum 00:24:16 8998bd30e6a1: Download complete 00:24:19 2437ff75d9bd: Verifying Checksum 00:24:19 2437ff75d9bd: Download complete 00:24:22 8998bd30e6a1: Pull complete 00:24:22 04944245beec: Pull complete 00:24:23 699f458cf7ca: Pull complete 00:24:24 765212b225bb: Pull complete 00:24:25 f23df028b6ca: Pull complete 00:24:25 d65c8cfc05b1: Pull complete 00:24:40 2437ff75d9bd: Pull complete 00:24:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:40 prd-ubuntu20.04-docker-arm64-4c-16g-24381 does not seem to be running inside a container 00:24:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:24:43 $ docker top 7c6b593ef1fe86ac671d6f3d3e3c846c37a061edb65d0fe310a4dc5ee5ce622b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:44 ---> job-cost.sh 00:24:44 lf-activate-venv: SKIPPING 00:24:44 INFO: No Stack... 00:24:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:24:46 INFO: Archiving Costs [Pipeline] sh 00:24:47 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 00:24:47 + cut -d, -f6 [Pipeline] lock 00:24:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] 00:24:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] did not exist. Created. 00:24:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:48 /w/workspace/device-onvif-camera/1@tmp/durable-c696a324/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:24:48 + echo total: 0.10999999940395355 [Pipeline] stash 00:24:48 Warning: overwriting stash ‘stack-cost’ 00:24:48 Stashed 1 file(s) [Pipeline] } 00:24:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:24:48 $ docker stop --time=1 7c6b593ef1fe86ac671d6f3d3e3c846c37a061edb65d0fe310a4dc5ee5ce622b 00:24:50 $ docker rm -f 7c6b593ef1fe86ac671d6f3d3e3c846c37a061edb65d0fe310a4dc5ee5ce622b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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:24:53 + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] 00:24:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 00:24:53 total 16 00:24:53 drwxr-xr-x 3 root root 4096 Sep 2 00:14 . 00:24:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:14 .. 00:24:53 drwxr-xr-x 2 root root 4096 Sep 2 00:14 cost 00:24:53 -rw-r--r-- 1 root root 91 Sep 2 00:14 cost.csv 00:24:53 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives 00:24:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 00:24:53 total 16 00:24:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 00:14 . 00:24:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:14 .. 00:24:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 00:14 cost 00:24:53 -rw-r--r-- 1 jenkins jenkins 91 Sep 2 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:24:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:24:54 ---> package-listing.sh 00:24:54 ++ facter osfamily 00:24:54 ++ tr '[:upper:]' '[:lower:]' 00:24:54 + OS_FAMILY=debian 00:24:54 + workspace=/w/workspace/undry_device-onvif-camera_PR-153 00:24:54 + START_PACKAGES=/tmp/packages_start.txt 00:24:54 + END_PACKAGES=/tmp/packages_end.txt 00:24:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:24:54 + PACKAGES=/tmp/packages_start.txt 00:24:54 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 00:24:54 + PACKAGES=/tmp/packages_end.txt 00:24:54 + case "${OS_FAMILY}" in 00:24:54 + dpkg -l 00:24:54 + grep '^ii' 00:24:54 + '[' -f /tmp/packages_start.txt ']' 00:24:54 + '[' -f /tmp/packages_end.txt ']' 00:24:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:24:54 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 00:24:54 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ 00:24:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo 00:24:54 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:24:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:55 prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container 00:24:55 $ 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-153/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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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:24:55 $ docker top cdc9ab97c4fcfea3da9af099c82ccbb8a6294a7c411cdf58955bbcda233fcce0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:56 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:56 + mkdir -p /var/log/sysstat [Pipeline] sh 00:24:56 + ls /var/log/sa-host 00:24:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:57 provisioning config files... 00:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config5482494862045226398tmp [Pipeline] { [Pipeline] echo 00:24:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:57 ---> create-netrc.sh [Pipeline] } 00:24:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:57 ---> python-tools-install.sh [Pipeline] echo 00:24:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:58 ---> sudo-logs.sh 00:24:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:58 ---> job-cost.sh 00:24:58 lf-activate-venv: SKIPPING 00:24:58 DEBUG: total: 0.2199999988079071 00:24:58 INFO: Retrieving Stack Cost... 00:24:59 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:59 INFO: Archiving Costs [Pipeline] echo 00:24:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:59 ---> logs-deploy.sh 00:24:59 lf-activate-venv: SKIPPING 00:24:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/1 00:24:59 INFO: archiving workspace using pattern(s): 00:25:00 Archives upload complete. 00:25:00 INFO: archiving logs to Nexus