Pull request #377 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from c06ff4470922e8689c0272a64c09e2f5548dd842+704ee13449308adf69c4899592c40628e88298f9 (d99162ba5e4cbdc18f6b03473143541edebd355c) 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-ssh7246855627909045391.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7043753168450146316.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17620492928207755407.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2231970799094952689.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6123894641914541243.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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/v3]] ========================================================= [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.20 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/v3 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-4534 in /w/workspace/undry_device-onvif-camera_PR-377 [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-377 # 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 704ee13449308adf69c4899592c40628e88298f9 into PR head commit c06ff4470922e8689c0272a64c09e2f5548dd842 Merge succeeded, producing c06ff4470922e8689c0272a64c09e2f5548dd842 Checking out Revision c06ff4470922e8689c0272a64c09e2f5548dd842 (PR-377) > 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/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c06ff4470922e8689c0272a64c09e2f5548dd842 # 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 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c06ff4470922e8689c0272a64c09e2f5548dd842 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:47:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:47:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:47:57 ========================================================= 07:47:57 EdgeX Global Pipelines Version Info 07:47:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 131e1ba592cbc0de98689506a097080705cc2a5e # timeout=10 07:47:58 ------------------- 07:47:58 stable info: 07:47:58 ------------------- 07:47:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:47:58 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:47:58 Message: update stable to v1.0.253 07:47:58 ------------------- 07:47:58 experimental info: 07:47:58 ------------------- 07:47:58 Commited By: **** collab-it+edgex@linuxfoundation.org 07:47:58 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:47:58 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c06ff4470922e8689c0272a64c09e2f5548dd842 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c06ff44 [Pipeline] echo 07:47:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:59 provisioning config files... 07:47:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config11947693387476953333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:59 ---> docker-login.sh 07:47:59 nexus3.edgexfoundry.org:10001 07:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:00 Configure a credential helper to remove this warning. See 07:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:00 07:48:00 Login Succeeded 07:48:00 nexus3.edgexfoundry.org:10002 07:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:00 Configure a credential helper to remove this warning. See 07:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:00 07:48:00 Login Succeeded 07:48:00 nexus3.edgexfoundry.org:10003 07:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:00 Configure a credential helper to remove this warning. See 07:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:00 07:48:00 Login Succeeded 07:48:00 nexus3.edgexfoundry.org:10004 07:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:00 Configure a credential helper to remove this warning. See 07:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:00 07:48:00 Login Succeeded 07:48:00 docker.io 07:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:00 Configure a credential helper to remove this warning. See 07:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:00 07:48:00 Login Succeeded 07:48:00 ---> docker-login.sh ends [Pipeline] } 07:48:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:48:01 + git rev-list -1 --merges c06ff4470922e8689c0272a64c09e2f5548dd842~1..c06ff4470922e8689c0272a64c09e2f5548dd842 [Pipeline] echo 07:48:01 -----------> git rev-list -1 --merges c06ff4470922e8689c0272a64c09e2f5548dd842~1..c06ff4470922e8689c0272a64c09e2f5548dd842 c06ff4470922e8689c0272a64c09e2f5548dd842 [false] [Pipeline] sh 07:48:01 + git log --format=format:%s -1 c06ff4470922e8689c0272a64c09e2f5548dd842 [Pipeline] echo 07:48:01 ========================================================= 07:48:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:48:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:48:01 + git log --format=format:%s -1 c06ff4470922e8689c0272a64c09e2f5548dd842 [Pipeline] echo 07:48:01 [semverPrep] GIT_COMMIT: c06ff4470922e8689c0272a64c09e2f5548dd842, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:48:01 [semverPrep] This is not a build commit. [Pipeline] sh 07:48:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:02 + grep -v github /etc/ssh/ssh_known_hosts 07:48:02 + [ -e /tmp/ssh_known_hosts ] 07:48:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:48:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 07:48:02 sudo tee -a /etc/ssh/ssh_known_hosts 07:48:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:02 07:48:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:02 0.1.4: Pulling from edgex-devops/py-git-semver 07:48:02 b85a868b505f: Pulling fs layer 07:48:02 e2be974225ed: Pulling fs layer 07:48:02 339a4e72a1f5: Pulling fs layer 07:48:02 988bab9f4d93: Pulling fs layer 07:48:02 1469e6f7b9e6: Pulling fs layer 07:48:02 eaf3925da568: Pulling fs layer 07:48:02 bab4dde63d76: Pulling fs layer 07:48:02 bde34c3a00c8: Pulling fs layer 07:48:02 b352a97aabf1: Pulling fs layer 07:48:02 4872d77fe225: Pulling fs layer 07:48:02 5851b861e8e6: Pulling fs layer 07:48:02 1469e6f7b9e6: Waiting 07:48:02 988bab9f4d93: Waiting 07:48:02 eaf3925da568: Waiting 07:48:02 bab4dde63d76: Waiting 07:48:02 b352a97aabf1: Waiting 07:48:02 4872d77fe225: Waiting 07:48:02 5851b861e8e6: Waiting 07:48:02 bde34c3a00c8: Waiting 07:48:02 e2be974225ed: Verifying Checksum 07:48:02 e2be974225ed: Download complete 07:48:02 988bab9f4d93: Verifying Checksum 07:48:02 988bab9f4d93: Download complete 07:48:02 1469e6f7b9e6: Verifying Checksum 07:48:02 1469e6f7b9e6: Download complete 07:48:03 eaf3925da568: Verifying Checksum 07:48:03 eaf3925da568: Download complete 07:48:03 339a4e72a1f5: Verifying Checksum 07:48:03 339a4e72a1f5: Download complete 07:48:03 bde34c3a00c8: Verifying Checksum 07:48:03 bde34c3a00c8: Download complete 07:48:03 b352a97aabf1: Download complete 07:48:03 4872d77fe225: Verifying Checksum 07:48:03 4872d77fe225: Download complete 07:48:03 5851b861e8e6: Verifying Checksum 07:48:03 5851b861e8e6: Download complete 07:48:03 b85a868b505f: Download complete 07:48:03 bab4dde63d76: Verifying Checksum 07:48:03 bab4dde63d76: Download complete 07:48:04 b85a868b505f: Pull complete 07:48:04 e2be974225ed: Pull complete 07:48:05 339a4e72a1f5: Pull complete 07:48:05 988bab9f4d93: Pull complete 07:48:05 1469e6f7b9e6: Pull complete 07:48:05 eaf3925da568: Pull complete 07:48:07 bab4dde63d76: Pull complete 07:48:07 bde34c3a00c8: Pull complete 07:48:07 b352a97aabf1: Pull complete 07:48:07 4872d77fe225: Pull complete 07:48:07 5851b861e8e6: Pull complete 07:48:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:48:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:08 prd-ubuntu20.04-docker-8c-8g-4534 does not seem to be running inside a container 07:48:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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-devops/py-git-semver:0.1.4 cat 07:48:09 $ docker top 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f -eo pid,comm 07:48:09 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). 07:48:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:09 [ssh-agent] Looking for ssh-agent implementation... 07:48:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:09 $ docker exec 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f ssh-agent 07:48:09 SSH_AUTH_SOCK=/tmp/ssh-w1GVaVmmNkNY/agent.33 07:48:09 SSH_AGENT_PID=39 07:48:09 Running ssh-add (command line suppressed) 07:48:09 Identity added: /w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_7745390021745553812.key (/w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_7745390021745553812.key) 07:48:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:10 + git tag --points-at HEAD [Pipeline] } 07:48:10 $ docker exec --env ******** --env ******** 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f ssh-agent -k 07:48:10 unset SSH_AUTH_SOCK; 07:48:10 unset SSH_AGENT_PID; 07:48:10 echo Agent pid 39 killed; 07:48:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:48:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:10 [ssh-agent] Looking for ssh-agent implementation... 07:48:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:10 $ docker exec 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f ssh-agent 07:48:10 SSH_AUTH_SOCK=/tmp/ssh-aI6FoZtRH6HT/agent.71 07:48:10 SSH_AGENT_PID=77 07:48:10 Running ssh-add (command line suppressed) 07:48:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_1862458607945459857.key (/w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_1862458607945459857.key) 07:48:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:10 + git semver init 07:48:11 2023-08-25 07:48:11,087 [run_init] DEBUG init version:0.0.0 force:False 07:48:11 2023-08-25 07:48:11,087 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-377/.semver 07:48:11 2023-08-25 07:48:11,088 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-377/.semver 07:48:11 2023-08-25 07:48:11,088 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-377/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-377, universal_newlines=False, shell=None, istream=None) 07:48:12 2023-08-25 07:48:12,126 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-377/.git/info/exclude 07:48:12 2023-08-25 07:48:12,127 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-377/.semver/PR-377 with force:False 07:48:12 2023-08-25 07:48:12,127 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-377/.semver/PR-377 07:48:12 2023-08-25 07:48:12,132 [execute] INFO git cat-file --batch-check 07:48:12 2023-08-25 07:48:12,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-377/.semver, universal_newlines=False, shell=None, istream=) 07:48:12 2023-08-25 07:48:12,139 [execute] INFO git cat-file --batch 07:48:12 2023-08-25 07:48:12,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-377/.semver, universal_newlines=False, shell=None, istream=) 07:48:12 2023-08-25 07:48:12,144 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-377/.semver/PR-377 07:48:12 0.0.0 [Pipeline] } 07:48:12 $ docker exec --env ******** --env ******** 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f ssh-agent -k 07:48:12 unset SSH_AUTH_SOCK; 07:48:12 unset SSH_AGENT_PID; 07:48:12 echo Agent pid 77 killed; 07:48:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:12 + git semver [Pipeline] } 07:48:13 $ docker stop --time=1 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f 07:48:14 $ docker rm -f --volumes 8952291e79061f78fa1ca67ec675460cd92a471f9d65771028de054bb01cc13f [Pipeline] // withDockerContainer [Pipeline] sh 07:48:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:48:15 Stashed 1 file(s) [Pipeline] echo 07:48:15 [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 07:48:15 provisioning config files... 07:48:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config9818806614542890185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:15 ---> docker-login.sh 07:48:15 nexus3.edgexfoundry.org:10001 07:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:15 Configure a credential helper to remove this warning. See 07:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:15 07:48:15 Login Succeeded 07:48:15 nexus3.edgexfoundry.org:10002 07:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:15 Configure a credential helper to remove this warning. See 07:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:15 07:48:15 Login Succeeded 07:48:15 nexus3.edgexfoundry.org:10003 07:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:15 Configure a credential helper to remove this warning. See 07:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:15 07:48:15 Login Succeeded 07:48:15 nexus3.edgexfoundry.org:10004 07:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:15 Configure a credential helper to remove this warning. See 07:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:15 07:48:15 Login Succeeded 07:48:15 docker.io 07:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:15 Configure a credential helper to remove this warning. See 07:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:15 07:48:15 Login Succeeded 07:48:15 ---> docker-login.sh ends [Pipeline] } 07:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:48:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:16 ========================================================= 07:48:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:48:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:48:16 Sending build context to Docker daemon 21.67MB 07:48:16 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 07:48:16 Step 2/13 : FROM ${BASE} AS builder 07:48:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:48:16 4db1b89c0bd1: Pulling fs layer 07:48:16 6911f1a30b25: Pulling fs layer 07:48:16 e194b8c5c2a9: Pulling fs layer 07:48:16 6863d3e3a2b1: Pulling fs layer 07:48:16 ec0bb842ea78: Pulling fs layer 07:48:16 40a00589a448: Pulling fs layer 07:48:16 6c08303d61cc: Pulling fs layer 07:48:16 798269fcf238: Pulling fs layer 07:48:16 ec0bb842ea78: Waiting 07:48:16 40a00589a448: Waiting 07:48:16 6c08303d61cc: Waiting 07:48:16 798269fcf238: Waiting 07:48:16 6863d3e3a2b1: Waiting 07:48:16 6911f1a30b25: Verifying Checksum 07:48:16 6911f1a30b25: Download complete 07:48:16 6863d3e3a2b1: Verifying Checksum 07:48:16 6863d3e3a2b1: Download complete 07:48:16 ec0bb842ea78: Verifying Checksum 07:48:16 ec0bb842ea78: Download complete 07:48:16 4db1b89c0bd1: Verifying Checksum 07:48:16 4db1b89c0bd1: Download complete 07:48:16 40a00589a448: Verifying Checksum 07:48:16 40a00589a448: Download complete 07:48:16 4db1b89c0bd1: Pull complete 07:48:16 6911f1a30b25: Pull complete 07:48:17 798269fcf238: Verifying Checksum 07:48:17 798269fcf238: Download complete 07:48:17 e194b8c5c2a9: Verifying Checksum 07:48:17 e194b8c5c2a9: Download complete 07:48:17 6c08303d61cc: Verifying Checksum 07:48:17 6c08303d61cc: Download complete 07:48:21 e194b8c5c2a9: Pull complete 07:48:21 6863d3e3a2b1: Pull complete 07:48:21 ec0bb842ea78: Pull complete 07:48:21 40a00589a448: Pull complete 07:48:24 6c08303d61cc: Pull complete 07:48:24 798269fcf238: Pull complete 07:48:24 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:48:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:48:24 ---> ec979cd7f677 07:48:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:48:26 ---> Running in d7d7bd225fb7 07:48:26 Removing intermediate container d7d7bd225fb7 07:48:26 ---> cef3de239db3 07:48:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:26 ---> Running in 1f112edbb454 07:48:26 Removing intermediate container 1f112edbb454 07:48:26 ---> f319ef9e70ba 07:48:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:48:26 ---> Running in 5d40641fb944 07:48:26 Removing intermediate container 5d40641fb944 07:48:26 ---> 108cdc667f94 07:48:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:48:26 ---> Running in 85d9169f1a79 07:48:26 Removing intermediate container 85d9169f1a79 07:48:26 ---> f8abad942cc2 07:48:26 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:48:26 ---> Running in 5866350b3031 07:48:26 Removing intermediate container 5866350b3031 07:48:26 ---> bff81916a245 07:48:26 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:26 ---> Running in e927b17065f1 07:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:48:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:48:27 OK: 265 MiB in 53 packages 07:48:28 Removing intermediate container e927b17065f1 07:48:28 ---> 8c9249909d21 07:48:28 Step 9/13 : WORKDIR /device-onvif-camera 07:48:28 ---> Running in 01b5d7bd9a7b 07:48:28 Removing intermediate container 01b5d7bd9a7b 07:48:28 ---> 7f34569a28af 07:48:28 Step 10/13 : COPY go.mod vendor* ./ 07:48:28 ---> ef0c8fa0cdf7 07:48:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:28 ---> Running in 53a4a148a257 07:48:30 Still waiting to schedule task 07:48:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:48:50 Removing intermediate container 53a4a148a257 07:48:50 ---> 3edc58043468 07:48:50 Step 12/13 : COPY . . 07:48:50 ---> c894015febd9 07:48:50 Step 13/13 : RUN ${MAKE} 07:48:50 ---> Running in 35fec1b21912 07:48:50 noop 07:48:50 Removing intermediate container 35fec1b21912 07:48:50 ---> f261232c9b16 07:48:50 Successfully built f261232c9b16 07:48:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:51 + docker inspect -f . ci-base-image-x86_64 07:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:51 prd-ubuntu20.04-docker-8c-8g-4534 does not seem to be running inside a container 07:48:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:48:51 $ docker top c65e7d37db1c032b47ac4ac7e2f753d465d06d0327f1e3d4991ea7727e1e9654 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:51 + go version 07:48:51 go version go1.20.6 linux/amd64 [Pipeline] } 07:48:51 $ docker stop --time=1 c65e7d37db1c032b47ac4ac7e2f753d465d06d0327f1e3d4991ea7727e1e9654 07:48:53 $ docker rm -f --volumes c65e7d37db1c032b47ac4ac7e2f753d465d06d0327f1e3d4991ea7727e1e9654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:53 + docker inspect -f . ci-base-image-x86_64 07:48:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:53 prd-ubuntu20.04-docker-8c-8g-4534 does not seem to be running inside a container 07:48:53 $ 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-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:48:53 $ docker top 5c7c9374f39c4f46abff577b21752ffb3bfc0b16bf0db0a1af5a76a051d2a740 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:54 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-377 [Pipeline] fileExists [Pipeline] sh 07:48:54 + make test 07:48:54 go test ./... -coverprofile=coverage.out ./... 07:48:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:49:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:49:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:49:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.071s coverage: 31.4% of statements 07:49:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.959s coverage: 86.5% of statements 07:49:23 go vet ./... 07:49:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:49:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:49:27 ./bin/test-attribution-txt.sh [Pipeline] echo 07:49:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:49:27 $ docker stop --time=1 5c7c9374f39c4f46abff577b21752ffb3bfc0b16bf0db0a1af5a76a051d2a740 07:49:29 $ docker rm -f --volumes 5c7c9374f39c4f46abff577b21752ffb3bfc0b16bf0db0a1af5a76a051d2a740 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:49:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:49:31 + ls -al . 07:49:31 total 244 07:49:31 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:48 . 07:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:49 .. 07:49:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:48 .git 07:49:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:47 .github 07:49:31 -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 07:47 .gitignore 07:49:31 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 07:47 .golangci.yml 07:49:31 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:48 .semver 07:49:31 -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 07:47 Attribution.txt 07:49:31 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 07:47 CHANGELOG.md 07:49:31 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 07:47 Dockerfile 07:49:31 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:47 GOVERNANCE.md 07:49:31 -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 07:47 Jenkinsfile 07:49:31 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 07:47 LICENSE 07:49:31 -rw-rw-r-- 1 jenkins jenkins 2877 Aug 25 07:47 Makefile 07:49:31 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 07:47 OWNERS.md 07:49:31 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 07:47 README.md 07:49:31 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:48 VERSION 07:49:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:47 bin 07:49:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:47 cmd 07:49:31 -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 07:49 coverage.out 07:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:47 doc 07:49:31 -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 07:47 go.mod 07:49:31 -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 07:47 go.sum 07:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:47 internal 07:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:47 snap 07:49:31 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:31 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c06ff4470922e8689c0272a64c09e2f5548dd842 --label arch=amd64 --label version=0.0.0 . 07:49:31 Sending build context to Docker daemon 21.75MB 07:49:31 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 07:49:31 Step 2/26 : FROM ${BASE} AS builder 07:49:31 ---> f261232c9b16 07:49:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:49:31 ---> Running in 29c2dbcbeb1c 07:49:31 Removing intermediate container 29c2dbcbeb1c 07:49:31 ---> b061fc58b1cf 07:49:31 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:49:31 ---> Running in 251d0467aef3 07:49:31 Removing intermediate container 251d0467aef3 07:49:31 ---> 517075b608dd 07:49:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 07:49:31 ---> Running in 07d8f68d1a81 07:49:32 Removing intermediate container 07d8f68d1a81 07:49:32 ---> 100830503066 07:49:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:49:32 ---> Running in 2937d629569b 07:49:32 Removing intermediate container 2937d629569b 07:49:32 ---> e62add03ddd5 07:49:32 Step 7/26 : LABEL Name=edgex-device-onvif-camera 07:49:32 ---> Running in 1b3cf2586415 07:49:32 Removing intermediate container 1b3cf2586415 07:49:32 ---> 88656e258980 07:49:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:49:32 ---> Running in 654c016fe437 07:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:49:32 OK: 265 MiB in 53 packages 07:49:33 Removing intermediate container 654c016fe437 07:49:33 ---> 8994daa33f2d 07:49:33 Step 9/26 : WORKDIR /device-onvif-camera 07:49:33 ---> Running in ff4e2743803f 07:49:33 Removing intermediate container ff4e2743803f 07:49:33 ---> 58a9c879400a 07:49:33 Step 10/26 : COPY go.mod vendor* ./ 07:49:33 ---> 1a68fe05936d 07:49:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:33 ---> Running in bfeb102652fc 07:49:34 Removing intermediate container bfeb102652fc 07:49:34 ---> 5ece62084444 07:49:34 Step 12/26 : COPY . . 07:49:34 ---> 01eca4963b99 07:49:34 Step 13/26 : RUN ${MAKE} 07:49:34 ---> Running in fb11c678a3af 07:49:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 07:49:57 Removing intermediate container fb11c678a3af 07:49:57 ---> bf7c0fe79915 07:49:57 Step 14/26 : FROM alpine:3.17 07:49:57 3.17: Pulling from library/alpine 07:49:57 9398808236ff: Pulling fs layer 07:49:57 9398808236ff: Verifying Checksum 07:49:57 9398808236ff: Download complete 07:49:57 9398808236ff: Pull complete 07:49:57 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:49:57 Status: Downloaded newer image for alpine:3.17 07:49:57 ---> 1e0b8b5322fc 07:49:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:49:57 ---> Running in dd84013f624b 07:49:57 Removing intermediate container dd84013f624b 07:49:57 ---> 961de0a68b96 07:49:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:49:57 ---> Running in dac35947b615 07:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:49:57 (1/1) Installing dumb-init (1.2.5-r2) 07:49:57 Executing busybox-1.35.0-r29.trigger 07:49:57 OK: 7 MiB in 16 packages 07:49:57 Removing intermediate container dac35947b615 07:49:57 ---> 4b4a4ce32c6f 07:49:57 Step 17/26 : WORKDIR / 07:49:57 ---> Running in 6154b1a825b9 07:49:57 Removing intermediate container 6154b1a825b9 07:49:57 ---> 8b454ceabbaf 07:49:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 07:49:57 ---> 253bad1b6b8c 07:49:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 07:49:57 ---> 242a2ea551f5 07:49:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:49:57 ---> a2c5a01f3b2a 07:49:57 Step 21/26 : EXPOSE 59984 07:49:57 ---> Running in f56100d4cd7a 07:49:57 Removing intermediate container f56100d4cd7a 07:49:57 ---> 2e953e9a8fe2 07:49:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 07:49:57 ---> Running in f9c595536bb4 07:49:57 Removing intermediate container f9c595536bb4 07:49:57 ---> bb4f52ca6a8d 07:49:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:49:57 ---> Running in 428a505d21fa 07:49:57 Removing intermediate container 428a505d21fa 07:49:57 ---> aec7a3d7b937 07:49:57 Step 24/26 : LABEL arch=amd64 07:49:57 ---> Running in e626316cbdcd 07:49:57 Removing intermediate container e626316cbdcd 07:49:57 ---> b3ecfb7439b4 07:49:57 Step 25/26 : LABEL git_sha=c06ff4470922e8689c0272a64c09e2f5548dd842 07:49:57 ---> Running in 22f4a810585e 07:49:57 Removing intermediate container 22f4a810585e 07:49:57 ---> 09b1d938c1ff 07:49:57 Step 26/26 : LABEL version=0.0.0 07:49:57 ---> Running in 764b56e49c1a 07:49:57 Removing intermediate container 764b56e49c1a 07:49:57 ---> a4844c4bc35b 07:49:57 [Warning] One or more build-args [ARCH] were not consumed 07:49:57 Successfully built a4844c4bc35b 07:49:57 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:57 07:49:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:58 latest: Pulling from edgex-lftools-log-publisher 07:49:58 5eb5b503b376: Pulling fs layer 07:49:58 5c69ac0246d0: Pulling fs layer 07:49:58 ec43610c2a17: Pulling fs layer 07:49:58 3a2ae6a8a46f: Pulling fs layer 07:49:58 33b1e0a273af: Pulling fs layer 07:49:58 5d3b04190fa2: Pulling fs layer 07:49:58 2f39f015ded8: Pulling fs layer 07:49:58 3a2ae6a8a46f: Waiting 07:49:58 33b1e0a273af: Waiting 07:49:58 5d3b04190fa2: Waiting 07:49:58 2f39f015ded8: Waiting 07:49:58 5c69ac0246d0: Download complete 07:49:58 3a2ae6a8a46f: Verifying Checksum 07:49:58 3a2ae6a8a46f: Download complete 07:49:58 ec43610c2a17: Verifying Checksum 07:49:58 ec43610c2a17: Download complete 07:49:58 5d3b04190fa2: Verifying Checksum 07:49:58 5d3b04190fa2: Download complete 07:49:58 33b1e0a273af: Verifying Checksum 07:49:58 33b1e0a273af: Download complete 07:49:58 5eb5b503b376: Verifying Checksum 07:49:58 5eb5b503b376: Download complete 07:49:59 2f39f015ded8: Download complete 07:49:59 5eb5b503b376: Pull complete 07:49:59 5c69ac0246d0: Pull complete 07:50:00 ec43610c2a17: Pull complete 07:50:00 3a2ae6a8a46f: Pull complete 07:50:00 33b1e0a273af: Pull complete 07:50:00 5d3b04190fa2: Pull complete 07:50:04 2f39f015ded8: Pull complete 07:50:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:50:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:05 prd-ubuntu20.04-docker-8c-8g-4534 does not seem to be running inside a container 07:50:05 $ 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-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:50:06 $ docker top 629e1444fe55133cab298600a377f5926e2512c579c4a4f1382a02ded061ddd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:06 ---> job-cost.sh 07:50:06 lf-activate-venv: SKIPPING 07:50:06 INFO: No Stack... 07:50:06 INFO: Retrieving Pricing Info for: v3-standard-8 07:50:06 INFO: Archiving Costs [Pipeline] sh 07:50:07 + cat /w/workspace/undry_device-onvif-camera_PR-377/archives/cost.csv 07:50:07 + cut -d, -f6 [Pipeline] lock 07:50:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] 07:50:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] did not exist. Created. 07:50:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:50:07 + echo total: 0.2199999988079071 [Pipeline] stash 07:50:07 Stashed 1 file(s) [Pipeline] } 07:50:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:50:07 $ docker stop --time=1 629e1444fe55133cab298600a377f5926e2512c579c4a4f1382a02ded061ddd8 07:50:08 $ docker rm -f --volumes 629e1444fe55133cab298600a377f5926e2512c579c4a4f1382a02ded061ddd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:51:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4537 in /w/workspace/undry_device-onvif-camera_PR-377 [Pipeline] { [Pipeline] ws 07:51:24 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 07:51:24 The recommended git tool is: git 07:51:31 using credential edgex-jenkins-ssh 07:51:31 Cloning the remote Git repository 07:51:31 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:51:31 > git init /w/workspace/device-onvif-camera/3 # timeout=10 07:51:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:51:31 > git --version # timeout=10 07:51:31 > git --version # 'git version 2.25.1' 07:51:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:51:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:35 Merging remotes/origin/main commit 704ee13449308adf69c4899592c40628e88298f9 into PR head commit c06ff4470922e8689c0272a64c09e2f5548dd842 07:51:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:51:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:51:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:51:35 > git config core.sparsecheckout # timeout=10 07:51:35 Merge succeeded, producing c06ff4470922e8689c0272a64c09e2f5548dd842 07:51:35 Checking out Revision c06ff4470922e8689c0272a64c09e2f5548dd842 (PR-377) 07:51:35 > git checkout -f c06ff4470922e8689c0272a64c09e2f5548dd842 # timeout=10 07:51:35 > git remote # timeout=10 07:51:35 > git config --get remote.origin.url # timeout=10 07:51:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:35 > git merge 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 07:51:35 > git rev-parse HEAD^{commit} # timeout=10 07:51:35 > git config core.sparsecheckout # timeout=10 07:51:35 > git checkout -f c06ff4470922e8689c0272a64c09e2f5548dd842 # timeout=10 07:51:39 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:51:40 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:40 Dload Upload Total Spent Left Speed 07:51:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 07:51:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:51:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:51:41 + sudo tee /etc/docker/daemon.new 07:51:41 { 07:51:41 "registry-mirrors": [ 07:51:41 "https://nexus3.edgexfoundry.org:10001" 07:51:41 ], 07:51:41 "bip": "10.250.0.254/24", 07:51:41 "hosts": [ 07:51:41 "tcp://0.0.0.0:5555", 07:51:41 "unix:///var/run/docker.sock" 07:51:41 ], 07:51:41 "mtu": 1458, 07:51:41 "selinux-enabled": true, 07:51:41 "seccomp-profile": "/etc/docker/seccomp.json" 07:51:41 } [Pipeline] sh 07:51:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:51:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:00 provisioning config files... 07:52:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config9307841487646573282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:00 ---> docker-login.sh 07:52:00 nexus3.edgexfoundry.org:10001 07:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:01 Configure a credential helper to remove this warning. See 07:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:01 07:52:01 Login Succeeded 07:52:01 nexus3.edgexfoundry.org:10002 07:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:01 Configure a credential helper to remove this warning. See 07:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:01 07:52:01 Login Succeeded 07:52:01 nexus3.edgexfoundry.org:10003 07:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:01 Configure a credential helper to remove this warning. See 07:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:01 07:52:01 Login Succeeded 07:52:01 nexus3.edgexfoundry.org:10004 07:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:02 Configure a credential helper to remove this warning. See 07:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:02 07:52:02 Login Succeeded 07:52:02 docker.io 07:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:02 Configure a credential helper to remove this warning. See 07:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:02 07:52:02 Login Succeeded 07:52:02 ---> docker-login.sh ends [Pipeline] } 07:52:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:52:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:52:03 ========================================================= 07:52:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:52:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:52:03 Sending build context to Docker daemon 14.21MB 07:52:04 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 07:52:04 Step 2/13 : FROM ${BASE} AS builder 07:52:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:52:04 edb6bdbacee9: Pulling fs layer 07:52:04 5f9638ab2659: Pulling fs layer 07:52:04 8d51d6327a98: Pulling fs layer 07:52:04 8b374f2dd631: Pulling fs layer 07:52:04 ec14aa9079de: Pulling fs layer 07:52:04 2f466654f4bb: Pulling fs layer 07:52:04 554e91adad29: Pulling fs layer 07:52:04 ec14aa9079de: Waiting 07:52:04 8b374f2dd631: Waiting 07:52:04 2f466654f4bb: Waiting 07:52:04 554e91adad29: Waiting 07:52:04 5f9638ab2659: Verifying Checksum 07:52:04 5f9638ab2659: Download complete 07:52:04 8b374f2dd631: Verifying Checksum 07:52:04 8b374f2dd631: Download complete 07:52:04 edb6bdbacee9: Verifying Checksum 07:52:04 edb6bdbacee9: Download complete 07:52:04 ec14aa9079de: Verifying Checksum 07:52:04 ec14aa9079de: Download complete 07:52:05 edb6bdbacee9: Pull complete 07:52:05 554e91adad29: Verifying Checksum 07:52:05 554e91adad29: Download complete 07:52:05 5f9638ab2659: Pull complete 07:52:07 8d51d6327a98: Verifying Checksum 07:52:07 8d51d6327a98: Download complete 07:52:07 2f466654f4bb: Verifying Checksum 07:52:07 2f466654f4bb: Download complete 07:52:19 8d51d6327a98: Pull complete 07:52:19 8b374f2dd631: Pull complete 07:52:19 ec14aa9079de: Pull complete 07:52:25 2f466654f4bb: Pull complete 07:52:27 554e91adad29: Pull complete 07:52:27 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:52:27 ---> 1e15ea492957 07:52:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:52:29 ---> Running in 3aa44f684517 07:52:29 Removing intermediate container 3aa44f684517 07:52:29 ---> 9934db966c88 07:52:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:29 ---> Running in 59edc614a2fc 07:52:30 Removing intermediate container 59edc614a2fc 07:52:30 ---> dfea6a3f0eeb 07:52:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:52:30 ---> Running in 819d679b5e43 07:52:30 Removing intermediate container 819d679b5e43 07:52:30 ---> 2290a0cfca14 07:52:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:52:30 ---> Running in 18a7a599a989 07:52:31 Removing intermediate container 18a7a599a989 07:52:31 ---> 0ad1cfadbaac 07:52:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:52:31 ---> Running in 57eb721d4376 07:52:31 Removing intermediate container 57eb721d4376 07:52:31 ---> 0f5ba2db73d7 07:52:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:52:31 ---> Running in e2eb5a6d4e04 07:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:52:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:52:34 OK: 263 MiB in 53 packages 07:52:34 Removing intermediate container e2eb5a6d4e04 07:52:34 ---> 61c2d4698672 07:52:34 Step 9/13 : WORKDIR /device-onvif-camera 07:52:35 ---> Running in 1c351cb52b3a 07:52:35 Removing intermediate container 1c351cb52b3a 07:52:35 ---> 257ab7587e39 07:52:35 Step 10/13 : COPY go.mod vendor* ./ 07:52:35 ---> 986cf838567f 07:52:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:35 ---> Running in d9d6260742b7 07:53:43 Removing intermediate container d9d6260742b7 07:53:43 ---> 6d46a5eec04b 07:53:43 Step 12/13 : COPY . . 07:53:43 ---> efb22a3ac43b 07:53:43 Step 13/13 : RUN ${MAKE} 07:53:43 ---> Running in c942f75d835a 07:53:43 noop 07:53:44 Removing intermediate container c942f75d835a 07:53:44 ---> 0f5dc9a5e091 07:53:44 Successfully built 0f5dc9a5e091 07:53:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:44 + docker inspect -f . ci-base-image-arm64 07:53:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:45 prd-ubuntu20.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container 07:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:53:46 $ docker top 5554b7f6db1e7b9a4b179cd3a8d52b001cb94eb7c6cda428a14928f6d3a220e8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:47 + go version 07:53:47 go version go1.20.6 linux/arm64 [Pipeline] } 07:53:47 $ docker stop --time=1 5554b7f6db1e7b9a4b179cd3a8d52b001cb94eb7c6cda428a14928f6d3a220e8 07:53:48 $ docker rm -f --volumes 5554b7f6db1e7b9a4b179cd3a8d52b001cb94eb7c6cda428a14928f6d3a220e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:49 + docker inspect -f . ci-base-image-arm64 07:53:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:49 prd-ubuntu20.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container 07:53:49 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:53:50 $ docker top c7e6ff2a3aa395a85e828e632ada4d1d50e874fdcd2baf640bdb9920ab32e0aa -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:51 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 07:53:52 + make test 07:53:52 go test ./... -coverprofile=coverage.out ./... 07:54:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:57:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:57:08 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:57:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 31.4% of statements 07:57:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.495s coverage: 86.5% of statements 07:57:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:57:27 go vet ./... 07:57:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:57:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:57:59 ./bin/test-attribution-txt.sh [Pipeline] echo 07:58:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:58:00 $ docker stop --time=1 c7e6ff2a3aa395a85e828e632ada4d1d50e874fdcd2baf640bdb9920ab32e0aa 07:58:02 $ docker rm -f --volumes c7e6ff2a3aa395a85e828e632ada4d1d50e874fdcd2baf640bdb9920ab32e0aa [Pipeline] // withDockerContainer [Pipeline] sh 07:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:58:03 Warning: overwriting stash ‘coverage-report’ 07:58:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:58:05 + ls -al . 07:58:05 total 240 07:58:05 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:53 . 07:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:51 .. 07:58:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:51 .git 07:58:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:51 .github 07:58:05 -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 07:51 .gitignore 07:58:05 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 07:51 .golangci.yml 07:58:05 -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 07:51 Attribution.txt 07:58:05 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 07:51 CHANGELOG.md 07:58:05 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 07:51 Dockerfile 07:58:05 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:51 GOVERNANCE.md 07:58:05 -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 07:51 Jenkinsfile 07:58:05 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 07:51 LICENSE 07:58:05 -rw-rw-r-- 1 jenkins jenkins 2877 Aug 25 07:51 Makefile 07:58:05 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 07:51 OWNERS.md 07:58:05 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 07:51 README.md 07:58:05 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:48 VERSION 07:58:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:51 bin 07:58:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:51 cmd 07:58:05 -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 07:57 coverage.out 07:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:51 doc 07:58:05 -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 07:51 go.mod 07:58:05 -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 07:51 go.sum 07:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:51 internal 07:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:51 snap 07:58:05 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 07:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:05 + 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=c06ff4470922e8689c0272a64c09e2f5548dd842 --label arch=arm64 --label version=0.0.0 . 07:58:05 Sending build context to Docker daemon 14.29MB 07:58:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 07:58:05 Step 2/26 : FROM ${BASE} AS builder 07:58:05 ---> 0f5dc9a5e091 07:58:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:58:05 ---> Running in 9204873cbd97 07:58:06 Removing intermediate container 9204873cbd97 07:58:06 ---> a22b73c36dc6 07:58:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:58:06 ---> Running in 941b9bbdeb51 07:58:06 Removing intermediate container 941b9bbdeb51 07:58:06 ---> ef019dd27412 07:58:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 07:58:06 ---> Running in 5dea02ac21a6 07:58:07 Removing intermediate container 5dea02ac21a6 07:58:07 ---> 1b8747c188d6 07:58:07 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:58:07 ---> Running in 8f7527929fa8 07:58:07 Removing intermediate container 8f7527929fa8 07:58:07 ---> 08b4bc6582cf 07:58:07 Step 7/26 : LABEL Name=edgex-device-onvif-camera 07:58:07 ---> Running in 964582218f32 07:58:07 Removing intermediate container 964582218f32 07:58:07 ---> 75d4a58a8b97 07:58:07 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:08 ---> Running in 7af2e0fdca9b 07:58:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:58:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:58:11 OK: 263 MiB in 53 packages 07:58:13 Removing intermediate container 7af2e0fdca9b 07:58:13 ---> 8e6e84a8605d 07:58:13 Step 9/26 : WORKDIR /device-onvif-camera 07:58:13 ---> Running in d1f894302a53 07:58:13 Removing intermediate container d1f894302a53 07:58:13 ---> 736ee0e6a35c 07:58:13 Step 10/26 : COPY go.mod vendor* ./ 07:58:14 ---> 8c8d8a5a07e6 07:58:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:14 ---> Running in 216b6417bca5 07:58:18 Removing intermediate container 216b6417bca5 07:58:18 ---> 83c87f26a430 07:58:18 Step 12/26 : COPY . . 07:58:18 ---> c91e6f0b3626 07:58:18 Step 13/26 : RUN ${MAKE} 07:58:18 ---> Running in 8ebd4d192b72 07:58:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 08:01:11 Removing intermediate container 8ebd4d192b72 08:01:11 ---> faae9712078e 08:01:11 Step 14/26 : FROM alpine:3.17 08:01:11 3.17: Pulling from library/alpine 08:01:11 4060ece20d7a: Pulling fs layer 08:01:11 4060ece20d7a: Verifying Checksum 08:01:11 4060ece20d7a: Download complete 08:01:11 4060ece20d7a: Pull complete 08:01:11 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:01:11 Status: Downloaded newer image for alpine:3.17 08:01:11 ---> 8650cd65339b 08:01:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:01:11 ---> Running in dc1a4e8d1d80 08:01:11 Removing intermediate container dc1a4e8d1d80 08:01:11 ---> 06b885312632 08:01:11 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:01:11 ---> Running in bb97ac623bd3 08:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:01:11 (1/1) Installing dumb-init (1.2.5-r2) 08:01:11 Executing busybox-1.35.0-r29.trigger 08:01:11 OK: 8 MiB in 16 packages 08:01:11 Removing intermediate container bb97ac623bd3 08:01:11 ---> 57cc91ee130e 08:01:11 Step 17/26 : WORKDIR / 08:01:11 ---> Running in 1e3df1462462 08:01:11 Removing intermediate container 1e3df1462462 08:01:11 ---> 3223be16fbca 08:01:11 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:01:11 ---> c55d92a45d36 08:01:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:01:11 ---> 42742170a7d5 08:01:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:01:11 ---> 124b0d6b8415 08:01:11 Step 21/26 : EXPOSE 59984 08:01:11 ---> Running in b3ca115bfe1f 08:01:11 Removing intermediate container b3ca115bfe1f 08:01:11 ---> 39f214d94d7d 08:01:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:01:11 ---> Running in d3029fcf07de 08:01:11 Removing intermediate container d3029fcf07de 08:01:11 ---> 862a68a3e02f 08:01:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:01:11 ---> Running in 90e014832334 08:01:11 Removing intermediate container 90e014832334 08:01:11 ---> 8ba7049d3da4 08:01:11 Step 24/26 : LABEL arch=arm64 08:01:11 ---> Running in 5742233dfb38 08:01:11 Removing intermediate container 5742233dfb38 08:01:11 ---> ec3395a69971 08:01:11 Step 25/26 : LABEL git_sha=c06ff4470922e8689c0272a64c09e2f5548dd842 08:01:11 ---> Running in 2356c3386822 08:01:11 Removing intermediate container 2356c3386822 08:01:11 ---> 869c880a5ba0 08:01:11 Step 26/26 : LABEL version=0.0.0 08:01:11 ---> Running in 38977f813aee 08:01:11 Removing intermediate container 38977f813aee 08:01:11 ---> f1c6e6343828 08:01:11 [Warning] One or more build-args [ARCH] were not consumed 08:01:11 Successfully built f1c6e6343828 08:01:11 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 08:01:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:01:12 08:01:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:01:12 arm64: Pulling from edgex-lftools-log-publisher 08:01:12 8998bd30e6a1: Pulling fs layer 08:01:12 04944245beec: Pulling fs layer 08:01:12 699f458cf7ca: Pulling fs layer 08:01:12 765212b225bb: Pulling fs layer 08:01:12 f23df028b6ca: Pulling fs layer 08:01:12 d65c8cfc05b1: Pulling fs layer 08:01:12 2437ff75d9bd: Pulling fs layer 08:01:12 765212b225bb: Waiting 08:01:12 f23df028b6ca: Waiting 08:01:12 d65c8cfc05b1: Waiting 08:01:12 2437ff75d9bd: Waiting 08:01:12 04944245beec: Verifying Checksum 08:01:12 04944245beec: Download complete 08:01:12 765212b225bb: Verifying Checksum 08:01:12 765212b225bb: Download complete 08:01:12 f23df028b6ca: Verifying Checksum 08:01:12 f23df028b6ca: Download complete 08:01:12 d65c8cfc05b1: Verifying Checksum 08:01:12 d65c8cfc05b1: Download complete 08:01:12 699f458cf7ca: Verifying Checksum 08:01:12 699f458cf7ca: Download complete 08:01:13 8998bd30e6a1: Verifying Checksum 08:01:13 8998bd30e6a1: Download complete 08:01:16 2437ff75d9bd: Verifying Checksum 08:01:16 2437ff75d9bd: Download complete 08:01:17 8998bd30e6a1: Pull complete 08:01:18 04944245beec: Pull complete 08:01:19 699f458cf7ca: Pull complete 08:01:19 765212b225bb: Pull complete 08:01:20 f23df028b6ca: Pull complete 08:01:20 d65c8cfc05b1: Pull complete 08:01:38 2437ff75d9bd: Pull complete 08:01:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:01:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:39 prd-ubuntu20.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container 08:01:39 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:01:42 $ docker top ec25715c7ecb5d737476699c7d7965de75f4b2bd17800d28f325a4a39e79a333 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:42 ---> job-cost.sh 08:01:42 lf-activate-venv: SKIPPING 08:01:42 INFO: No Stack... 08:01:43 INFO: Retrieving Pricing Info for: v3-standard-4 08:01:44 INFO: Archiving Costs [Pipeline] sh 08:01:44 + cut -d, -f6 08:01:44 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 08:01:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] 08:01:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] did not exist. Created. 08:01:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:01:45 /w/workspace/device-onvif-camera/3@tmp/durable-2caaad63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:01:46 + echo total: 0.10999999940395355 [Pipeline] stash 08:01:46 Warning: overwriting stash ‘stack-cost’ 08:01:46 Stashed 1 file(s) [Pipeline] } 08:01:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:01:46 $ docker stop --time=1 ec25715c7ecb5d737476699c7d7965de75f4b2bd17800d28f325a4a39e79a333 08:01:48 $ docker rm -f --volumes ec25715c7ecb5d737476699c7d7965de75f4b2bd17800d28f325a4a39e79a333 [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) [Pipeline] unstash [Pipeline] configFileProvider 08:01:48 provisioning config files... 08:01:48 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config16690594968919978909tmp [Pipeline] { [Pipeline] sh 08:01:48 + set +x 08:01:48 + curl -s https://codecov.io/bash 08:01:48 + bash -s -- 08:01:48 08:01:48 _____ _ 08:01:48 / ____| | | 08:01:48 | | ___ __| | ___ ___ _____ __ 08:01:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:01:48 | |___| (_) | (_| | __/ (_| (_) \ V / 08:01:48 \_____\___/ \__,_|\___|\___\___/ \_/ 08:01:48 Bash-1.0.6 08:01:48 08:01:48 08:01:48 ==> git version 2.25.1 found 08:01:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:01:48 Release-Date: 2020-01-08 08:01:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:01:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:01:48 ==> Jenkins CI detected. 08:01:48 current dir:  /w/workspace/undry_device-onvif-camera_PR-377 08:01:48 project root: . 08:01:48 --> token set from env 08:01:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:01:48 ==> Running gcov in . (disable via -X gcov) 08:01:48 ==> Python coveragepy not found 08:01:48 ==> Searching for coverage reports in: 08:01:48 + . 08:01:48 -> Found 1 reports 08:01:48 ==> Detecting git/mercurial file structure 08:01:48 ==> Reading reports 08:01:48 + ./coverage.out bytes=78459 08:01:48 ==> Appending adjustments 08:01:48 https://docs.codecov.io/docs/fixing-reports 08:01:48 + Found adjustments 08:01:48 ==> Gzipping contents 08:01:48 12K /tmp/codecov.nVLTTw.gz 08:01:48 ==> Uploading reports 08:01:48 url: https://codecov.io 08:01:48 query: branch=PR-377&commit=c06ff4470922e8689c0272a64c09e2f5548dd842&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-377%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=377&job=&cmd_args= 08:01:48 -> Pinging Codecov 08:01:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-377&commit=c06ff4470922e8689c0272a64c09e2f5548dd842&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-377%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=377&job=&cmd_args= 08:01:49 -> Uploading to 08:01:49 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/F29A59C45E3A92E06B3E522C9905F8EF/c06ff4470922e8689c0272a64c09e2f5548dd842/677c29b7-a2d7-4b3a-9c06-bcbf1b746399.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T080149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab80e6c4a7285721b76fa4d9064be8ab4320d9c3719f514cd49e647e55897fc8 08:01:49 % Total % Received % Xferd Average Speed Time Time Time Current 08:01:49 Dload Upload Total Spent Left Speed 08:01:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 52601 --:--:-- --:--:-- --:--:-- 52601 08:01:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c06ff4470922e8689c0272a64c09e2f5548dd842 [Pipeline] } 08:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:01:50 + [ -d /w/workspace/undry_device-onvif-camera_PR-377/archives ] 08:01:50 + ls -al /w/workspace/undry_device-onvif-camera_PR-377/archives 08:01:50 total 16 08:01:50 drwxr-xr-x 3 root root 4096 Aug 25 07:50 . 08:01:50 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:50 .. 08:01:50 drwxr-xr-x 2 root root 4096 Aug 25 07:50 cost 08:01:50 -rw-r--r-- 1 root root 91 Aug 25 07:50 cost.csv 08:01:50 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-377/archives 08:01:50 + ls -al /w/workspace/undry_device-onvif-camera_PR-377/archives 08:01:50 total 16 08:01:50 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:50 . 08:01:50 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:50 .. 08:01:50 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:50 cost 08:01:50 -rw-r--r-- 1 jenkins jenkins 91 Aug 25 07:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:01:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:01:51 ---> package-listing.sh 08:01:51 ++ facter osfamily 08:01:51 ++ tr '[:upper:]' '[:lower:]' 08:01:51 + OS_FAMILY=debian 08:01:51 + workspace=/w/workspace/undry_device-onvif-camera_PR-377 08:01:51 + START_PACKAGES=/tmp/packages_start.txt 08:01:51 + END_PACKAGES=/tmp/packages_end.txt 08:01:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:01:51 + PACKAGES=/tmp/packages_start.txt 08:01:51 + '[' /w/workspace/undry_device-onvif-camera_PR-377 ']' 08:01:51 + PACKAGES=/tmp/packages_end.txt 08:01:51 + case "${OS_FAMILY}" in 08:01:51 + dpkg -l 08:01:51 + grep '^ii' 08:01:51 + '[' -f /tmp/packages_start.txt ']' 08:01:51 + '[' -f /tmp/packages_end.txt ']' 08:01:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:01:51 + '[' /w/workspace/undry_device-onvif-camera_PR-377 ']' 08:01:51 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-377/archives/ 08:01:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-377/archives/ [Pipeline] echo 08:01:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:01:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:01:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:52 prd-ubuntu20.04-docker-8c-8g-4534 does not seem to be running inside a container 08:01:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-377/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-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:01:52 $ docker top 51bbf5fdbebcb117f6ab885a7f46109179896815c9e5df07ae24abc87d1e99c1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:53 + touch /tmp/pre-build-complete [Pipeline] sh 08:01:53 + mkdir -p /var/log/sysstat [Pipeline] sh 08:01:53 + ls /var/log/sa-host 08:01:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:53 provisioning config files... 08:01:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config2299384768772537981tmp [Pipeline] { [Pipeline] echo 08:01:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:01:54 ---> create-netrc.sh [Pipeline] } 08:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:01:54 ---> python-tools-install.sh [Pipeline] echo 08:01:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:01:54 ---> sudo-logs.sh 08:01:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:01:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:01:55 ---> job-cost.sh 08:01:55 lf-activate-venv: SKIPPING 08:01:55 DEBUG: total: 0.2199999988079071 08:01:55 INFO: Retrieving Stack Cost... 08:01:55 INFO: Retrieving Pricing Info for: v3-standard-8 08:01:55 INFO: Archiving Costs [Pipeline] echo 08:01:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:01:56 ---> logs-deploy.sh 08:01:56 lf-activate-venv: SKIPPING 08:01:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-377/3 08:01:56 INFO: archiving workspace using pattern(s): 08:01:57 Archives upload complete. 08:01:57 INFO: archiving logs to Nexus 08:01:58 ---> uname -a: 08:01:58 Linux prd-ubuntu20-04-docker-8c-8g-4534 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 08:01:58 08:01:58