Pull request #357 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea rather than e61dac18dabb6db14a20819fe9dd5d100533ca4a Obtained Jenkinsfile from 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 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-ssh14487597428930829622.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12151191901192307592.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-357/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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5549543197330744245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh18060816951208751062.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-357/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-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10115869488086592118.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15145 in /w/workspace/undry_device-onvif-camera_PR-357 [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-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit e61dac18dabb6db14a20819fe9dd5d100533ca4a Merge succeeded, producing e61dac18dabb6db14a20819fe9dd5d100533ca4a Checking out Revision e61dac18dabb6db14a20819fe9dd5d100533ca4a (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f e61dac18dabb6db14a20819fe9dd5d100533ca4a # 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 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e61dac18dabb6db14a20819fe9dd5d100533ca4a # timeout=10 Commit message: "fix: change port in postman collection" > git rev-list --no-walk 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:41:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:41:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:41:04 ========================================================= 01:41:04 EdgeX Global Pipelines Version Info 01:41:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:41:05 ------------------- 01:41:05 stable info: 01:41:05 ------------------- 01:41:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:41:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:41:05 Message: update stable to v1.0.249 01:41:06 ------------------- 01:41:06 experimental info: 01:41:06 ------------------- 01:41:06 Commited By: **** collab-it+edgex@linuxfoundation.org 01:41:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:41:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e61dac18dabb6db14a20819fe9dd5d100533ca4a [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e61dac1 [Pipeline] echo 01:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:06 provisioning config files... 01:41:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config14735164369883285683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:07 ---> docker-login.sh 01:41:07 nexus3.edgexfoundry.org:10001 01:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:07 Configure a credential helper to remove this warning. See 01:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:07 01:41:07 Login Succeeded 01:41:07 nexus3.edgexfoundry.org:10002 01:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:07 Configure a credential helper to remove this warning. See 01:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:07 01:41:07 Login Succeeded 01:41:07 nexus3.edgexfoundry.org:10003 01:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:07 Configure a credential helper to remove this warning. See 01:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:07 01:41:07 Login Succeeded 01:41:07 nexus3.edgexfoundry.org:10004 01:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:07 Configure a credential helper to remove this warning. See 01:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:07 01:41:07 Login Succeeded 01:41:07 docker.io 01:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:08 Configure a credential helper to remove this warning. See 01:41:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:08 01:41:08 Login Succeeded 01:41:08 ---> docker-login.sh ends [Pipeline] } 01:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:41:08 + git rev-list -1 --merges e61dac18dabb6db14a20819fe9dd5d100533ca4a~1..e61dac18dabb6db14a20819fe9dd5d100533ca4a [Pipeline] echo 01:41:08 -----------> git rev-list -1 --merges e61dac18dabb6db14a20819fe9dd5d100533ca4a~1..e61dac18dabb6db14a20819fe9dd5d100533ca4a e61dac18dabb6db14a20819fe9dd5d100533ca4a [false] [Pipeline] sh 01:41:08 + git log --format=format:%s -1 e61dac18dabb6db14a20819fe9dd5d100533ca4a [Pipeline] echo 01:41:08 ========================================================= 01:41:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:41:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:09 + git log --format=format:%s -1 e61dac18dabb6db14a20819fe9dd5d100533ca4a [Pipeline] echo 01:41:09 [semverPrep] GIT_COMMIT: e61dac18dabb6db14a20819fe9dd5d100533ca4a, Commit Message: fix: change port in postman collection [Pipeline] echo 01:41:09 [semverPrep] This is not a build commit. [Pipeline] sh 01:41:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:41:09 + grep -v github /etc/ssh/ssh_known_hosts 01:41:09 + [ -e /tmp/ssh_known_hosts ] 01:41:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:41:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:41:09 + sudo tee -a /etc/ssh/ssh_known_hosts 01:41:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:41:10 01:41:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:41:10 0.1.4: Pulling from edgex-devops/py-git-semver 01:41:10 b85a868b505f: Pulling fs layer 01:41:10 e2be974225ed: Pulling fs layer 01:41:10 339a4e72a1f5: Pulling fs layer 01:41:10 988bab9f4d93: Pulling fs layer 01:41:10 1469e6f7b9e6: Pulling fs layer 01:41:10 eaf3925da568: Pulling fs layer 01:41:10 bab4dde63d76: Pulling fs layer 01:41:10 bde34c3a00c8: Pulling fs layer 01:41:10 b352a97aabf1: Pulling fs layer 01:41:10 4872d77fe225: Pulling fs layer 01:41:10 5851b861e8e6: Pulling fs layer 01:41:10 eaf3925da568: Waiting 01:41:10 bab4dde63d76: Waiting 01:41:10 b352a97aabf1: Waiting 01:41:10 4872d77fe225: Waiting 01:41:10 bde34c3a00c8: Waiting 01:41:10 988bab9f4d93: Waiting 01:41:10 1469e6f7b9e6: Waiting 01:41:10 e2be974225ed: Verifying Checksum 01:41:10 e2be974225ed: Download complete 01:41:10 988bab9f4d93: Download complete 01:41:10 1469e6f7b9e6: Verifying Checksum 01:41:10 1469e6f7b9e6: Download complete 01:41:10 339a4e72a1f5: Verifying Checksum 01:41:10 eaf3925da568: Verifying Checksum 01:41:10 339a4e72a1f5: Download complete 01:41:10 eaf3925da568: Download complete 01:41:10 bde34c3a00c8: Download complete 01:41:10 b352a97aabf1: Verifying Checksum 01:41:10 b352a97aabf1: Download complete 01:41:10 4872d77fe225: Verifying Checksum 01:41:10 4872d77fe225: Download complete 01:41:10 5851b861e8e6: Verifying Checksum 01:41:10 5851b861e8e6: Download complete 01:41:10 b85a868b505f: Verifying Checksum 01:41:10 b85a868b505f: Download complete 01:41:11 bab4dde63d76: Verifying Checksum 01:41:11 bab4dde63d76: Download complete 01:41:11 b85a868b505f: Pull complete 01:41:11 e2be974225ed: Pull complete 01:41:12 339a4e72a1f5: Pull complete 01:41:12 988bab9f4d93: Pull complete 01:41:12 1469e6f7b9e6: Pull complete 01:41:12 eaf3925da568: Pull complete 01:41:14 bab4dde63d76: Pull complete 01:41:14 bde34c3a00c8: Pull complete 01:41:14 b352a97aabf1: Pull complete 01:41:14 4872d77fe225: Pull complete 01:41:14 5851b861e8e6: Pull complete 01:41:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:41:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:41:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:14 prd-ubuntu20.04-docker-8c-8g-15145 does not seem to be running inside a container 01:41:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:41:17 $ docker top 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 -eo pid,comm 01:41:17 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). 01:41:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:41:17 [ssh-agent] Looking for ssh-agent implementation... 01:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:41:17 $ docker exec 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 ssh-agent 01:41:18 SSH_AUTH_SOCK=/tmp/ssh-WZS4rua6VTAz/agent.33 01:41:18 SSH_AGENT_PID=39 01:41:18 Running ssh-add (command line suppressed) 01:41:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_1729599240269517950.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_1729599240269517950.key) 01:41:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:41:18 + git tag --points-at HEAD [Pipeline] } 01:41:18 $ docker exec --env ******** --env ******** 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 ssh-agent -k 01:41:18 unset SSH_AUTH_SOCK; 01:41:18 unset SSH_AGENT_PID; 01:41:18 echo Agent pid 39 killed; 01:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:41:18 [ssh-agent] Looking for ssh-agent implementation... 01:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:41:18 $ docker exec 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 ssh-agent 01:41:18 SSH_AUTH_SOCK=/tmp/ssh-7ef8QC9SGR0o/agent.71 01:41:18 SSH_AGENT_PID=78 01:41:18 Running ssh-add (command line suppressed) 01:41:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_16938492563538865954.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_16938492563538865954.key) 01:41:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:41:19 + git semver init 01:41:19 2023-05-11 01:41:19,410 [run_init] DEBUG init version:0.0.0 force:False 01:41:19 2023-05-11 01:41:19,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-357/.semver 01:41:19 2023-05-11 01:41:19,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-357/.semver 01:41:19 2023-05-11 01:41:19,411 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-357/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-357, universal_newlines=False, shell=None, istream=None) 01:41:20 2023-05-11 01:41:20,299 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-357/.git/info/exclude 01:41:20 2023-05-11 01:41:20,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 with force:False 01:41:20 2023-05-11 01:41:20,299 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 01:41:20 2023-05-11 01:41:20,303 [execute] INFO git cat-file --batch-check 01:41:20 2023-05-11 01:41:20,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) 01:41:20 2023-05-11 01:41:20,310 [execute] INFO git cat-file --batch 01:41:20 2023-05-11 01:41:20,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) 01:41:20 2023-05-11 01:41:20,315 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 01:41:20 0.0.0 [Pipeline] } 01:41:20 $ docker exec --env ******** --env ******** 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 ssh-agent -k 01:41:20 unset SSH_AUTH_SOCK; 01:41:20 unset SSH_AGENT_PID; 01:41:20 echo Agent pid 78 killed; 01:41:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:41:20 + git semver [Pipeline] } 01:41:21 $ docker stop --time=1 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 01:41:22 $ docker rm -f --volumes 527f0aef0c0a1202889b27d15c868ae360fa04651a867fe287c608bca88cb820 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:41:23 Stashed 1 file(s) [Pipeline] echo 01:41:23 [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 01:41:23 provisioning config files... 01:41:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config9613974276231419464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:23 ---> docker-login.sh 01:41:23 nexus3.edgexfoundry.org:10001 01:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:23 Configure a credential helper to remove this warning. See 01:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:23 01:41:23 Login Succeeded 01:41:23 nexus3.edgexfoundry.org:10002 01:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:23 Configure a credential helper to remove this warning. See 01:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:23 01:41:23 Login Succeeded 01:41:23 nexus3.edgexfoundry.org:10003 01:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:23 Configure a credential helper to remove this warning. See 01:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:23 01:41:23 Login Succeeded 01:41:23 nexus3.edgexfoundry.org:10004 01:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:23 Configure a credential helper to remove this warning. See 01:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:23 01:41:23 Login Succeeded 01:41:23 docker.io 01:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:24 Configure a credential helper to remove this warning. See 01:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:24 01:41:24 Login Succeeded 01:41:24 ---> docker-login.sh ends [Pipeline] } 01:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:24 ========================================================= 01:41:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:41:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:24 + 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 . 01:41:24 Sending build context to Docker daemon 22.21MB 01:41:24 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:41:24 Step 2/13 : FROM ${BASE} AS builder 01:41:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:41:24 f56be85fc22e: Pulling fs layer 01:41:24 85791d961cd3: Pulling fs layer 01:41:24 d694b5ae8c79: Pulling fs layer 01:41:24 9f32a84ed3da: Pulling fs layer 01:41:24 4d19c01a9841: Pulling fs layer 01:41:24 9325e15d5711: Pulling fs layer 01:41:24 556b6ee489ea: Pulling fs layer 01:41:24 c5a4b2cf53e6: Pulling fs layer 01:41:24 9f32a84ed3da: Waiting 01:41:24 4d19c01a9841: Waiting 01:41:24 9325e15d5711: Waiting 01:41:24 c5a4b2cf53e6: Waiting 01:41:24 556b6ee489ea: Waiting 01:41:24 85791d961cd3: Verifying Checksum 01:41:24 85791d961cd3: Download complete 01:41:24 9f32a84ed3da: Download complete 01:41:24 4d19c01a9841: Verifying Checksum 01:41:24 4d19c01a9841: Download complete 01:41:24 f56be85fc22e: Verifying Checksum 01:41:24 f56be85fc22e: Download complete 01:41:24 9325e15d5711: Verifying Checksum 01:41:24 9325e15d5711: Download complete 01:41:24 f56be85fc22e: Pull complete 01:41:25 85791d961cd3: Pull complete 01:41:25 c5a4b2cf53e6: Download complete 01:41:25 d694b5ae8c79: Verifying Checksum 01:41:25 d694b5ae8c79: Download complete 01:41:25 556b6ee489ea: Verifying Checksum 01:41:25 556b6ee489ea: Download complete 01:41:28 d694b5ae8c79: Pull complete 01:41:28 9f32a84ed3da: Pull complete 01:41:28 4d19c01a9841: Pull complete 01:41:28 9325e15d5711: Pull complete 01:41:31 556b6ee489ea: Pull complete 01:41:31 c5a4b2cf53e6: Pull complete 01:41:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:41:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:41:31 ---> c4be618373d6 01:41:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:41:35 ---> Running in 2008b213cc2f 01:41:35 Removing intermediate container 2008b213cc2f 01:41:35 ---> a03e32e24900 01:41:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:35 ---> Running in 08424da4331c 01:41:36 Removing intermediate container 08424da4331c 01:41:36 ---> 2e5343ec1491 01:41:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 01:41:36 ---> Running in 19d785c3eb7f 01:41:36 Removing intermediate container 19d785c3eb7f 01:41:36 ---> a9138cfaeb16 01:41:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:41:36 ---> Running in 600963be7fe5 01:41:36 Removing intermediate container 600963be7fe5 01:41:36 ---> 382ca1bcb74e 01:41:36 Step 7/13 : LABEL Name=edgex-device-onvif-camera 01:41:36 ---> Running in 9f041ce1b41a 01:41:36 Removing intermediate container 9f041ce1b41a 01:41:36 ---> 444688388762 01:41:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:36 ---> Running in 80f6cb736c69 01:41:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:41:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:41:36 OK: 265 MiB in 53 packages 01:41:37 Removing intermediate container 80f6cb736c69 01:41:37 ---> 1c19316c8e28 01:41:37 Step 9/13 : WORKDIR /device-onvif-camera 01:41:37 ---> Running in 29b353467c66 01:41:37 Removing intermediate container 29b353467c66 01:41:37 ---> f8bb56e6b550 01:41:37 Step 10/13 : COPY go.mod vendor* ./ 01:41:37 ---> 670bb52f4649 01:41:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:37 ---> Running in ba76f8f057b5 01:41:38 Still waiting to schedule task 01:41:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:42:16 Removing intermediate container ba76f8f057b5 01:42:16 ---> 77601f9199a7 01:42:16 Step 12/13 : COPY . . 01:42:16 ---> ee6bd0e446d9 01:42:16 Step 13/13 : RUN ${MAKE} 01:42:16 ---> Running in ec0ac34a0f4f 01:42:16 noop 01:42:16 Removing intermediate container ec0ac34a0f4f 01:42:16 ---> db621e40b1e6 01:42:16 Successfully built db621e40b1e6 01:42:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:16 + docker inspect -f . ci-base-image-x86_64 01:42:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:16 prd-ubuntu20.04-docker-8c-8g-15145 does not seem to be running inside a container 01:42:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 ******** -e ******** ci-base-image-x86_64 cat 01:42:17 $ docker top 2a5858a83b15be6de0dbbb20f55e529c25959615f72e53606da1e5851784807a -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:17 + go version 01:42:17 go version go1.20.2 linux/amd64 [Pipeline] } 01:42:17 $ docker stop --time=1 2a5858a83b15be6de0dbbb20f55e529c25959615f72e53606da1e5851784807a 01:42:18 $ docker rm -f --volumes 2a5858a83b15be6de0dbbb20f55e529c25959615f72e53606da1e5851784807a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:19 + docker inspect -f . ci-base-image-x86_64 01:42:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:19 prd-ubuntu20.04-docker-8c-8g-15145 does not seem to be running inside a container 01:42:19 $ 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-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 ******** -e ******** ci-base-image-x86_64 cat 01:42:19 $ docker top f83e5971ba65fe99a5f6a8a7a6ac110d2c1118a98630ab6a9f6719bcbe63d3f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:20 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] fileExists [Pipeline] sh 01:42:20 + make test 01:42:20 go test ./... -coverprofile=coverage.out ./... 01:42:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:42:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:42:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:42:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements 01:42:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.107s coverage: 86.5% of statements 01:42:43 go vet ./... 01:42:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:46 ./bin/test-attribution-txt.sh [Pipeline] echo 01:42:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:42:46 $ docker stop --time=1 f83e5971ba65fe99a5f6a8a7a6ac110d2c1118a98630ab6a9f6719bcbe63d3f0 01:42:50 $ docker rm -f --volumes f83e5971ba65fe99a5f6a8a7a6ac110d2c1118a98630ab6a9f6719bcbe63d3f0 [Pipeline] // withDockerContainer [Pipeline] sh 01:42:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:42:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:51 + ls -al . 01:42:51 total 232 01:42:51 drwxrwxr-x 10 jenkins jenkins 4096 May 11 01:42 . 01:42:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:40 .. 01:42:51 drwxrwxr-x 8 jenkins jenkins 4096 May 11 01:41 .git 01:42:51 drwxrwxr-x 3 jenkins jenkins 4096 May 11 01:41 .github 01:42:51 -rw-rw-r-- 1 jenkins jenkins 496 May 11 01:41 .gitignore 01:42:51 -rw-rw-r-- 1 jenkins jenkins 42 May 11 01:41 .golangci.yml 01:42:51 drwxr-xr-x 3 jenkins jenkins 4096 May 11 01:41 .semver 01:42:51 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 01:41 Attribution.txt 01:42:51 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 01:41 CHANGELOG.md 01:42:51 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 01:41 Dockerfile 01:42:51 -rw-rw-r-- 1 jenkins jenkins 677 May 11 01:41 GOVERNANCE.md 01:42:51 -rw-rw-r-- 1 jenkins jenkins 734 May 11 01:41 Jenkinsfile 01:42:51 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 01:41 LICENSE 01:42:51 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 01:41 Makefile 01:42:51 -rw-rw-r-- 1 jenkins jenkins 625 May 11 01:41 OWNERS.md 01:42:51 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 01:41 README.md 01:42:51 -rw-rw-r-- 1 jenkins jenkins 5 May 11 01:41 VERSION 01:42:51 drwxrwxr-x 2 jenkins jenkins 4096 May 11 01:41 bin 01:42:51 drwxrwxr-x 3 jenkins jenkins 4096 May 11 01:41 cmd 01:42:51 -rw-r--r-- 1 jenkins jenkins 78459 May 11 01:42 coverage.out 01:42:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:41 doc 01:42:51 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 01:41 go.mod 01:42:51 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 01:41 go.sum 01:42:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:41 internal 01:42:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:41 snap 01:42:51 -rw-rw-r-- 1 jenkins jenkins 236 May 11 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:51 + 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=e61dac18dabb6db14a20819fe9dd5d100533ca4a --label arch=amd64 --label version=0.0.0 . 01:42:51 Sending build context to Docker daemon 22.29MB 01:42:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:42:51 Step 2/26 : FROM ${BASE} AS builder 01:42:51 ---> db621e40b1e6 01:42:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:42:52 ---> Running in d7c6fdc1e1ce 01:42:52 Removing intermediate container d7c6fdc1e1ce 01:42:52 ---> 6a72e626f498 01:42:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:52 ---> Running in 97f81d6d4e9c 01:42:52 Removing intermediate container 97f81d6d4e9c 01:42:52 ---> 72630ae40bd0 01:42:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 01:42:52 ---> Running in bd1b03694b33 01:42:52 Removing intermediate container bd1b03694b33 01:42:52 ---> e205d7b00133 01:42:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:42:52 ---> Running in e131930619de 01:42:52 Removing intermediate container e131930619de 01:42:52 ---> 9428e7602c82 01:42:52 Step 7/26 : LABEL Name=edgex-device-onvif-camera 01:42:52 ---> Running in c58b7d331fc5 01:42:52 Removing intermediate container c58b7d331fc5 01:42:52 ---> 40d425d723bc 01:42:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:52 ---> Running in 2311c1b361ab 01:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:42:53 OK: 265 MiB in 53 packages 01:42:53 Removing intermediate container 2311c1b361ab 01:42:53 ---> 8cdccf35e184 01:42:53 Step 9/26 : WORKDIR /device-onvif-camera 01:42:53 ---> Running in 65b4c2a886f5 01:42:53 Removing intermediate container 65b4c2a886f5 01:42:53 ---> 8a4533434bde 01:42:53 Step 10/26 : COPY go.mod vendor* ./ 01:42:53 ---> e64772385b20 01:42:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:53 ---> Running in ec5f6db853b0 01:42:54 Removing intermediate container ec5f6db853b0 01:42:54 ---> 16cc5b9687b4 01:42:54 Step 12/26 : COPY . . 01:42:55 ---> b848fcd5b531 01:42:55 Step 13/26 : RUN ${MAKE} 01:42:55 ---> Running in bdf26edde5b5 01:42:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 01:43:13 Removing intermediate container bdf26edde5b5 01:43:13 ---> de713032d373 01:43:13 Step 14/26 : FROM alpine:3.17 01:43:13 3.17: Pulling from library/alpine 01:43:13 f56be85fc22e: Already exists 01:43:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:43:13 Status: Downloaded newer image for alpine:3.17 01:43:13 ---> 9ed4aefc74f6 01:43:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:43:13 ---> Running in a122a9453383 01:43:13 Removing intermediate container a122a9453383 01:43:13 ---> 10df9db48444 01:43:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:43:13 ---> Running in 4d1422c931fa 01:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:43:14 (1/1) Installing dumb-init (1.2.5-r2) 01:43:14 Executing busybox-1.35.0-r29.trigger 01:43:14 OK: 7 MiB in 16 packages 01:43:14 Removing intermediate container 4d1422c931fa 01:43:14 ---> 9eebe9bb1278 01:43:14 Step 17/26 : WORKDIR / 01:43:14 ---> Running in 5c87f6e44b31 01:43:14 Removing intermediate container 5c87f6e44b31 01:43:14 ---> 2c2fba5a3a50 01:43:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:43:15 ---> a782a5ba6cd8 01:43:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:43:15 ---> 344dfb7a50ee 01:43:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:43:15 ---> 0d6770f46f65 01:43:15 Step 21/26 : EXPOSE 59984 01:43:15 ---> Running in f446a5925e01 01:43:15 Removing intermediate container f446a5925e01 01:43:15 ---> 10e8a27a3102 01:43:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:43:15 ---> Running in 19c9c3aa0aaa 01:43:16 Removing intermediate container 19c9c3aa0aaa 01:43:16 ---> 6bfef24ce330 01:43:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:43:16 ---> Running in 4cd5c2181ca1 01:43:16 Removing intermediate container 4cd5c2181ca1 01:43:16 ---> ad9681ae0521 01:43:16 Step 24/26 : LABEL arch=amd64 01:43:16 ---> Running in 21453ad6b533 01:43:16 Removing intermediate container 21453ad6b533 01:43:16 ---> 74f9761675d7 01:43:16 Step 25/26 : LABEL git_sha=e61dac18dabb6db14a20819fe9dd5d100533ca4a 01:43:16 ---> Running in 2a6f51c94da4 01:43:16 Removing intermediate container 2a6f51c94da4 01:43:16 ---> da72db452a83 01:43:16 Step 26/26 : LABEL version=0.0.0 01:43:16 ---> Running in 59b0ca4304a8 01:43:16 Removing intermediate container 59b0ca4304a8 01:43:16 ---> de5453a3fdd4 01:43:16 [Warning] One or more build-args [ARCH] were not consumed 01:43:16 Successfully built de5453a3fdd4 01:43:16 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 01:43:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:16 01:43:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:17 latest: Pulling from edgex-lftools-log-publisher 01:43:17 5eb5b503b376: Pulling fs layer 01:43:17 5c69ac0246d0: Pulling fs layer 01:43:17 ec43610c2a17: Pulling fs layer 01:43:17 3a2ae6a8a46f: Pulling fs layer 01:43:17 33b1e0a273af: Pulling fs layer 01:43:17 5d3b04190fa2: Pulling fs layer 01:43:17 2f39f015ded8: Pulling fs layer 01:43:17 33b1e0a273af: Waiting 01:43:17 5d3b04190fa2: Waiting 01:43:17 2f39f015ded8: Waiting 01:43:17 3a2ae6a8a46f: Waiting 01:43:17 5c69ac0246d0: Download complete 01:43:17 3a2ae6a8a46f: Download complete 01:43:17 33b1e0a273af: Verifying Checksum 01:43:17 33b1e0a273af: Download complete 01:43:17 5d3b04190fa2: Verifying Checksum 01:43:17 5d3b04190fa2: Download complete 01:43:17 ec43610c2a17: Verifying Checksum 01:43:17 ec43610c2a17: Download complete 01:43:17 5eb5b503b376: Verifying Checksum 01:43:17 5eb5b503b376: Download complete 01:43:17 2f39f015ded8: Download complete 01:43:18 5eb5b503b376: Pull complete 01:43:18 5c69ac0246d0: Pull complete 01:43:19 ec43610c2a17: Pull complete 01:43:19 3a2ae6a8a46f: Pull complete 01:43:19 33b1e0a273af: Pull complete 01:43:19 5d3b04190fa2: Pull complete 01:43:23 2f39f015ded8: Pull complete 01:43:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:43:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:23 prd-ubuntu20.04-docker-8c-8g-15145 does not seem to be running inside a container 01:43:23 $ 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-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:43:26 $ docker top 8a6695a2516adccc54d9f29b414bcd68e569b46ef2f4f08e1af8b0935a1f2303 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:26 ---> job-cost.sh 01:43:26 lf-activate-venv: SKIPPING 01:43:26 INFO: No Stack... 01:43:27 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:27 INFO: Archiving Costs [Pipeline] sh 01:43:28 + + cut -d, -f6 01:43:28 cat /w/workspace/undry_device-onvif-camera_PR-357/archives/cost.csv [Pipeline] lock 01:43:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] 01:43:28 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] did not exist. Created. 01:43:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:28 + echo total: 0.2199999988079071 [Pipeline] stash 01:43:28 Stashed 1 file(s) [Pipeline] } 01:43:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:28 $ docker stop --time=1 8a6695a2516adccc54d9f29b414bcd68e569b46ef2f4f08e1af8b0935a1f2303 01:43:29 $ docker rm -f --volumes 8a6695a2516adccc54d9f29b414bcd68e569b46ef2f4f08e1af8b0935a1f2303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:45:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15146 in /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] { [Pipeline] ws 01:45:07 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 01:45:07 The recommended git tool is: git 01:45:13 using credential edgex-jenkins-ssh 01:45:13 Cloning the remote Git repository 01:45:13 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 01:45:14 > git init /w/workspace/device-onvif-camera/3 # timeout=10 01:45:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:45:14 > git --version # timeout=10 01:45:14 > git --version # 'git version 2.25.1' 01:45:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:45:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:17 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:45:17 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:45:17 Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit e61dac18dabb6db14a20819fe9dd5d100533ca4a 01:45:18 Merge succeeded, producing e61dac18dabb6db14a20819fe9dd5d100533ca4a 01:45:18 Checking out Revision e61dac18dabb6db14a20819fe9dd5d100533ca4a (PR-357) 01:45:17 > git config core.sparsecheckout # timeout=10 01:45:18 > git checkout -f e61dac18dabb6db14a20819fe9dd5d100533ca4a # timeout=10 01:45:18 > git remote # timeout=10 01:45:18 > git config --get remote.origin.url # timeout=10 01:45:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:18 > git merge 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 01:45:18 > git rev-parse HEAD^{commit} # timeout=10 01:45:18 > git config core.sparsecheckout # timeout=10 01:45:18 > git checkout -f e61dac18dabb6db14a20819fe9dd5d100533ca4a # timeout=10 01:45:22 Commit message: "fix: change port in postman collection" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:45:23 % Total % Received % Xferd Average Speed Time Time Time Current 01:45:23 Dload Upload Total Spent Left Speed 01:45:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 01:45:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:45:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:45:24 + sudo tee /etc/docker/daemon.new 01:45:24 { 01:45:24 "registry-mirrors": [ 01:45:24 "https://nexus3.edgexfoundry.org:10001" 01:45:24 ], 01:45:24 "bip": "10.250.0.254/24", 01:45:24 "hosts": [ 01:45:24 "tcp://0.0.0.0:5555", 01:45:24 "unix:///var/run/docker.sock" 01:45:24 ], 01:45:24 "mtu": 1458, 01:45:24 "selinux-enabled": true, 01:45:24 "seccomp-profile": "/etc/docker/seccomp.json" 01:45:24 } [Pipeline] sh 01:45:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:45:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:43 provisioning config files... 01:45:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config11032743484885163893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:43 ---> docker-login.sh 01:45:43 nexus3.edgexfoundry.org:10001 01:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:44 Configure a credential helper to remove this warning. See 01:45:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:44 01:45:44 Login Succeeded 01:45:44 nexus3.edgexfoundry.org:10002 01:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:45 Configure a credential helper to remove this warning. See 01:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:45 01:45:45 Login Succeeded 01:45:45 nexus3.edgexfoundry.org:10003 01:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:45 Configure a credential helper to remove this warning. See 01:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:45 01:45:45 Login Succeeded 01:45:45 nexus3.edgexfoundry.org:10004 01:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:45 Configure a credential helper to remove this warning. See 01:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:45 01:45:45 Login Succeeded 01:45:45 docker.io 01:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:46 Configure a credential helper to remove this warning. See 01:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:46 01:45:46 Login Succeeded 01:45:46 ---> docker-login.sh ends [Pipeline] } 01:45:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:45:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:46 ========================================================= 01:45:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:45:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:47 + 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 . 01:45:47 Sending build context to Docker daemon 14.72MB 01:45:47 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:45:47 Step 2/13 : FROM ${BASE} AS builder 01:45:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:45:47 c41833b44d91: Pulling fs layer 01:45:47 ed15518f5707: Pulling fs layer 01:45:47 feae8fd75edb: Pulling fs layer 01:45:47 242c74f7c9fa: Pulling fs layer 01:45:47 3cdef696dda3: Pulling fs layer 01:45:47 2ced38df9373: Pulling fs layer 01:45:47 58f1dce35555: Pulling fs layer 01:45:47 242c74f7c9fa: Waiting 01:45:47 3cdef696dda3: Waiting 01:45:47 2ced38df9373: Waiting 01:45:47 ed15518f5707: Verifying Checksum 01:45:47 ed15518f5707: Download complete 01:45:47 242c74f7c9fa: Verifying Checksum 01:45:47 242c74f7c9fa: Download complete 01:45:48 3cdef696dda3: Verifying Checksum 01:45:48 3cdef696dda3: Download complete 01:45:48 c41833b44d91: Verifying Checksum 01:45:48 c41833b44d91: Download complete 01:45:49 c41833b44d91: Pull complete 01:45:49 58f1dce35555: Verifying Checksum 01:45:49 58f1dce35555: Download complete 01:45:49 ed15518f5707: Pull complete 01:45:50 feae8fd75edb: Verifying Checksum 01:45:50 feae8fd75edb: Download complete 01:45:50 2ced38df9373: Verifying Checksum 01:45:50 2ced38df9373: Download complete 01:46:00 feae8fd75edb: Pull complete 01:46:00 242c74f7c9fa: Pull complete 01:46:01 3cdef696dda3: Pull complete 01:46:07 2ced38df9373: Pull complete 01:46:09 58f1dce35555: Pull complete 01:46:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:46:09 ---> fadd8f120f05 01:46:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:46:11 ---> Running in 733646e12da1 01:46:11 Removing intermediate container 733646e12da1 01:46:11 ---> 4c792eee6270 01:46:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:46:11 ---> Running in a4c0f922eb26 01:46:11 Removing intermediate container a4c0f922eb26 01:46:11 ---> 747785c4a3ff 01:46:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 01:46:11 ---> Running in 54251d5571d1 01:46:11 Removing intermediate container 54251d5571d1 01:46:11 ---> b057bafc506d 01:46:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:46:11 ---> Running in 89a893a4838e 01:46:12 Removing intermediate container 89a893a4838e 01:46:12 ---> 9e0b0b00bd53 01:46:12 Step 7/13 : LABEL Name=edgex-device-onvif-camera 01:46:12 ---> Running in d028bd09cf02 01:46:12 Removing intermediate container d028bd09cf02 01:46:12 ---> c76d8c10d65c 01:46:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:46:12 ---> Running in 106aed59305f 01:46:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:46:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:46:15 OK: 263 MiB in 53 packages 01:46:16 Removing intermediate container 106aed59305f 01:46:16 ---> dd4c7d739723 01:46:16 Step 9/13 : WORKDIR /device-onvif-camera 01:46:16 ---> Running in 5eb26cb75a1a 01:46:16 Removing intermediate container 5eb26cb75a1a 01:46:16 ---> 3749ee98a546 01:46:16 Step 10/13 : COPY go.mod vendor* ./ 01:46:17 ---> 158aeb703a58 01:46:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:46:17 ---> Running in 265adaef8ba7 01:47:25 Removing intermediate container 265adaef8ba7 01:47:25 ---> c01758c2cf75 01:47:25 Step 12/13 : COPY . . 01:47:25 ---> f8ddb476cfb4 01:47:25 Step 13/13 : RUN ${MAKE} 01:47:25 ---> Running in 65dccd3bd218 01:47:25 noop 01:47:25 Removing intermediate container 65dccd3bd218 01:47:25 ---> f93822f90969 01:47:25 Successfully built f93822f90969 01:47:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:25 + docker inspect -f . ci-base-image-arm64 01:47:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:26 prd-ubuntu20.04-docker-arm64-4c-16g-15146 does not seem to be running inside a container 01:47:26 $ 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 ******** -e ******** ci-base-image-arm64 cat 01:47:27 $ docker top e5281884043f9b7884c00df44b85042dd5d8fb5d13fb71882cb0d27a8eed8fc2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:28 + go version 01:47:28 go version go1.20.2 linux/arm64 [Pipeline] } 01:47:28 $ docker stop --time=1 e5281884043f9b7884c00df44b85042dd5d8fb5d13fb71882cb0d27a8eed8fc2 01:47:29 $ docker rm -f --volumes e5281884043f9b7884c00df44b85042dd5d8fb5d13fb71882cb0d27a8eed8fc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:30 + docker inspect -f . ci-base-image-arm64 01:47:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:30 prd-ubuntu20.04-docker-arm64-4c-16g-15146 does not seem to be running inside a container 01:47:30 $ 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 ******** -e ******** ci-base-image-arm64 cat 01:47:31 $ docker top 1f0c14555700efd18d20bd0c5d5ad35e71a35d7f29d77ae16b94e72f2b63f551 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 01:47:33 + make test 01:47:33 go test ./... -coverprofile=coverage.out ./... 01:48:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:50:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:50:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:50:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.242s coverage: 31.4% of statements 01:50:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.647s coverage: 86.5% of statements 01:50:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:50:52 go vet ./... 01:51:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:51:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:51:24 ./bin/test-attribution-txt.sh [Pipeline] echo 01:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:51:24 $ docker stop --time=1 1f0c14555700efd18d20bd0c5d5ad35e71a35d7f29d77ae16b94e72f2b63f551 01:51:26 $ docker rm -f --volumes 1f0c14555700efd18d20bd0c5d5ad35e71a35d7f29d77ae16b94e72f2b63f551 [Pipeline] // withDockerContainer [Pipeline] sh 01:51:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:51:27 Warning: overwriting stash ‘coverage-report’ 01:51:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:51:29 + ls -al . 01:51:29 total 228 01:51:29 drwxrwxr-x 9 jenkins jenkins 4096 May 11 01:47 . 01:51:29 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:45 .. 01:51:29 drwxrwxr-x 8 jenkins jenkins 4096 May 11 01:45 .git 01:51:29 drwxrwxr-x 3 jenkins jenkins 4096 May 11 01:45 .github 01:51:29 -rw-rw-r-- 1 jenkins jenkins 496 May 11 01:45 .gitignore 01:51:29 -rw-rw-r-- 1 jenkins jenkins 42 May 11 01:45 .golangci.yml 01:51:29 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 01:45 Attribution.txt 01:51:29 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 01:45 CHANGELOG.md 01:51:29 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 01:45 Dockerfile 01:51:29 -rw-rw-r-- 1 jenkins jenkins 677 May 11 01:45 GOVERNANCE.md 01:51:29 -rw-rw-r-- 1 jenkins jenkins 734 May 11 01:45 Jenkinsfile 01:51:29 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 01:45 LICENSE 01:51:29 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 01:45 Makefile 01:51:29 -rw-rw-r-- 1 jenkins jenkins 625 May 11 01:45 OWNERS.md 01:51:29 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 01:45 README.md 01:51:29 -rw-rw-r-- 1 jenkins jenkins 5 May 11 01:41 VERSION 01:51:29 drwxrwxr-x 2 jenkins jenkins 4096 May 11 01:45 bin 01:51:29 drwxrwxr-x 3 jenkins jenkins 4096 May 11 01:45 cmd 01:51:29 -rw-r--r-- 1 jenkins jenkins 78459 May 11 01:50 coverage.out 01:51:29 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:45 doc 01:51:29 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 01:45 go.mod 01:51:29 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 01:45 go.sum 01:51:29 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:45 internal 01:51:29 drwxrwxr-x 4 jenkins jenkins 4096 May 11 01:45 snap 01:51:29 -rw-rw-r-- 1 jenkins jenkins 236 May 11 01:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:29 + 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=e61dac18dabb6db14a20819fe9dd5d100533ca4a --label arch=arm64 --label version=0.0.0 . 01:51:29 Sending build context to Docker daemon 14.8MB 01:51:29 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:51:29 Step 2/26 : FROM ${BASE} AS builder 01:51:29 ---> f93822f90969 01:51:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:51:29 ---> Running in 19c658701320 01:51:30 Removing intermediate container 19c658701320 01:51:30 ---> f690a651e824 01:51:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:51:30 ---> Running in 32dec04a8a5e 01:51:30 Removing intermediate container 32dec04a8a5e 01:51:30 ---> 9cde77cfacd1 01:51:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 01:51:30 ---> Running in c96cd58f89bd 01:51:31 Removing intermediate container c96cd58f89bd 01:51:31 ---> 04b68b7dc7c1 01:51:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:51:31 ---> Running in 37a829074ca0 01:51:31 Removing intermediate container 37a829074ca0 01:51:31 ---> 9ba06d787c66 01:51:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 01:51:31 ---> Running in f544c0d6dd80 01:51:31 Removing intermediate container f544c0d6dd80 01:51:31 ---> 0ea0e1503c08 01:51:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:31 ---> Running in 31ba7a655c83 01:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:51:34 OK: 263 MiB in 53 packages 01:51:35 Removing intermediate container 31ba7a655c83 01:51:35 ---> c814cf86f159 01:51:35 Step 9/26 : WORKDIR /device-onvif-camera 01:51:35 ---> Running in 00ec056e7002 01:51:35 Removing intermediate container 00ec056e7002 01:51:35 ---> af0e63c49231 01:51:35 Step 10/26 : COPY go.mod vendor* ./ 01:51:36 ---> 187bc6fe7b4e 01:51:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:36 ---> Running in d904dc4d8bcd 01:51:39 Removing intermediate container d904dc4d8bcd 01:51:39 ---> 0392535c64f7 01:51:39 Step 12/26 : COPY . . 01:51:43 ---> 842901906262 01:51:43 Step 13/26 : RUN ${MAKE} 01:51:43 ---> Running in abb452833883 01:51:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 01:54:05 Removing intermediate container abb452833883 01:54:05 ---> d0ac78560b4d 01:54:05 Step 14/26 : FROM alpine:3.17 01:54:05 3.17: Pulling from library/alpine 01:54:05 c41833b44d91: Already exists 01:54:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:54:05 Status: Downloaded newer image for alpine:3.17 01:54:05 ---> 51e60588ff2c 01:54:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:54:05 ---> Running in c08a6b4ec06b 01:54:05 Removing intermediate container c08a6b4ec06b 01:54:05 ---> 530d79d80735 01:54:05 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:54:05 ---> Running in e6e66ed81c64 01:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:54:05 (1/1) Installing dumb-init (1.2.5-r2) 01:54:05 Executing busybox-1.35.0-r29.trigger 01:54:05 OK: 8 MiB in 16 packages 01:54:06 Removing intermediate container e6e66ed81c64 01:54:06 ---> a85d486aa42d 01:54:06 Step 17/26 : WORKDIR / 01:54:06 ---> Running in 43e4223f45a9 01:54:07 Removing intermediate container 43e4223f45a9 01:54:07 ---> b528d6272377 01:54:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:54:08 ---> 388c40a1218f 01:54:08 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:54:09 ---> 3cd1b54a9d8a 01:54:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:54:09 ---> 0d30ed8506bc 01:54:09 Step 21/26 : EXPOSE 59984 01:54:09 ---> Running in 75702a706261 01:54:12 Removing intermediate container 75702a706261 01:54:12 ---> 2af715203d28 01:54:12 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:54:12 ---> Running in 4fbbdfd2ef9d 01:54:12 Removing intermediate container 4fbbdfd2ef9d 01:54:12 ---> 8c4dbf8ef1d3 01:54:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:54:12 ---> Running in 5eb3de3d028c 01:54:13 Removing intermediate container 5eb3de3d028c 01:54:13 ---> 5373d5cd5e1f 01:54:13 Step 24/26 : LABEL arch=arm64 01:54:13 ---> Running in 7216ce30f669 01:54:13 Removing intermediate container 7216ce30f669 01:54:13 ---> 909df3976834 01:54:13 Step 25/26 : LABEL git_sha=e61dac18dabb6db14a20819fe9dd5d100533ca4a 01:54:13 ---> Running in 8ef506aeb111 01:54:13 Removing intermediate container 8ef506aeb111 01:54:13 ---> 8020467577c8 01:54:13 Step 26/26 : LABEL version=0.0.0 01:54:13 ---> Running in dd5f3fc6cec4 01:54:14 Removing intermediate container dd5f3fc6cec4 01:54:14 ---> be4d49d0f784 01:54:14 [Warning] One or more build-args [ARCH] were not consumed 01:54:14 Successfully built be4d49d0f784 01:54:14 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:54:14 01:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:54:14 arm64: Pulling from edgex-lftools-log-publisher 01:54:14 8998bd30e6a1: Pulling fs layer 01:54:14 04944245beec: Pulling fs layer 01:54:14 699f458cf7ca: Pulling fs layer 01:54:14 765212b225bb: Pulling fs layer 01:54:14 f23df028b6ca: Pulling fs layer 01:54:14 d65c8cfc05b1: Pulling fs layer 01:54:14 2437ff75d9bd: Pulling fs layer 01:54:14 f23df028b6ca: Waiting 01:54:14 d65c8cfc05b1: Waiting 01:54:14 2437ff75d9bd: Waiting 01:54:15 04944245beec: Verifying Checksum 01:54:15 04944245beec: Download complete 01:54:15 765212b225bb: Verifying Checksum 01:54:15 765212b225bb: Download complete 01:54:15 f23df028b6ca: Verifying Checksum 01:54:15 f23df028b6ca: Download complete 01:54:15 d65c8cfc05b1: Verifying Checksum 01:54:15 d65c8cfc05b1: Download complete 01:54:15 699f458cf7ca: Verifying Checksum 01:54:15 699f458cf7ca: Download complete 01:54:15 8998bd30e6a1: Verifying Checksum 01:54:15 8998bd30e6a1: Download complete 01:54:18 2437ff75d9bd: Verifying Checksum 01:54:18 2437ff75d9bd: Download complete 01:54:19 8998bd30e6a1: Pull complete 01:54:20 04944245beec: Pull complete 01:54:21 699f458cf7ca: Pull complete 01:54:21 765212b225bb: Pull complete 01:54:22 f23df028b6ca: Pull complete 01:54:22 d65c8cfc05b1: Pull complete 01:54:37 2437ff75d9bd: Pull complete 01:54:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:54:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:37 prd-ubuntu20.04-docker-arm64-4c-16g-15146 does not seem to be running inside a container 01:54:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:54:40 $ docker top 655bfd6579b67015b286e2e02cdc9969c020fecccedcfe52a42f22fece70ad5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:41 ---> job-cost.sh 01:54:41 lf-activate-venv: SKIPPING 01:54:41 INFO: No Stack... 01:54:42 INFO: Retrieving Pricing Info for: v3-standard-4 01:54:43 INFO: Archiving Costs [Pipeline] sh 01:54:43 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 01:54:43 + cut -d, -f6 [Pipeline] lock 01:54:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] 01:54:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] did not exist. Created. 01:54:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:44 /w/workspace/device-onvif-camera/3@tmp/durable-cf660c19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:54:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:54:45 Warning: overwriting stash ‘stack-cost’ 01:54:45 Stashed 1 file(s) [Pipeline] } 01:54:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:45 $ docker stop --time=1 655bfd6579b67015b286e2e02cdc9969c020fecccedcfe52a42f22fece70ad5c 01:54:46 $ docker rm -f --volumes 655bfd6579b67015b286e2e02cdc9969c020fecccedcfe52a42f22fece70ad5c [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 01:54:47 provisioning config files... 01:54:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config16589105183773012680tmp [Pipeline] { [Pipeline] sh 01:54:47 + set +x 01:54:47 + curl -s https://codecov.io/bash 01:54:47 + bash -s -- 01:54:47 01:54:47 _____ _ 01:54:47 / ____| | | 01:54:47 | | ___ __| | ___ ___ _____ __ 01:54:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:54:47 | |___| (_) | (_| | __/ (_| (_) \ V / 01:54:47 \_____\___/ \__,_|\___|\___\___/ \_/ 01:54:47 Bash-1.0.6 01:54:47 01:54:47 01:54:47 ==> git version 2.25.1 found 01:54:47 ==> 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 01:54:47 Release-Date: 2020-01-08 01:54:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:54:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:54:47 ==> Jenkins CI detected. 01:54:47 current dir:  /w/workspace/undry_device-onvif-camera_PR-357 01:54:47 project root: . 01:54:47 --> token set from env 01:54:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:54:47 ==> Running gcov in . (disable via -X gcov) 01:54:47 ==> Python coveragepy not found 01:54:47 ==> Searching for coverage reports in: 01:54:47 + . 01:54:47 -> Found 1 reports 01:54:47 ==> Detecting git/mercurial file structure 01:54:47 ==> Reading reports 01:54:47 + ./coverage.out bytes=78459 01:54:47 ==> Appending adjustments 01:54:47 https://docs.codecov.io/docs/fixing-reports 01:54:47 + Found adjustments 01:54:47 ==> Gzipping contents 01:54:47 12K /tmp/codecov.EKq3NH.gz 01:54:47 ==> Uploading reports 01:54:47 url: https://codecov.io 01:54:47 query: branch=PR-357&commit=e61dac18dabb6db14a20819fe9dd5d100533ca4a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-357%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=357&job=&cmd_args= 01:54:47 -> Pinging Codecov 01:54:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-357&commit=e61dac18dabb6db14a20819fe9dd5d100533ca4a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-357%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=357&job=&cmd_args= 01:54:48 -> Uploading to 01:54:48 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/e61dac18dabb6db14a20819fe9dd5d100533ca4a/f09b1f7a-d651-44c1-9fae-bbfce905dd84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T015447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9661273a1f54587b362c832391de331afff791998eba8ae5f6e7b4806f0f3f1 01:54:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:54:48 Dload Upload Total Spent Left Speed 01:54:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 54417 --:--:-- --:--:-- --:--:-- 54417 01:54:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e61dac18dabb6db14a20819fe9dd5d100533ca4a [Pipeline] } 01:54:48 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 01:54:49 + [ -d /w/workspace/undry_device-onvif-camera_PR-357/archives ] 01:54:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives 01:54:49 total 16 01:54:49 drwxr-xr-x 3 root root 4096 May 11 01:43 . 01:54:49 drwxrwxr-x 11 jenkins jenkins 4096 May 11 01:43 .. 01:54:49 drwxr-xr-x 2 root root 4096 May 11 01:43 cost 01:54:49 -rw-r--r-- 1 root root 91 May 11 01:43 cost.csv 01:54:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-357/archives 01:54:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives 01:54:49 total 16 01:54:49 drwxr-xr-x 3 jenkins jenkins 4096 May 11 01:43 . 01:54:49 drwxrwxr-x 11 jenkins jenkins 4096 May 11 01:43 .. 01:54:49 drwxr-xr-x 2 jenkins jenkins 4096 May 11 01:43 cost 01:54:49 -rw-r--r-- 1 jenkins jenkins 91 May 11 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:54:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:54:50 ---> package-listing.sh 01:54:50 ++ facter osfamily 01:54:50 ++ tr '[:upper:]' '[:lower:]' 01:54:50 + OS_FAMILY=debian 01:54:50 + workspace=/w/workspace/undry_device-onvif-camera_PR-357 01:54:50 + START_PACKAGES=/tmp/packages_start.txt 01:54:50 + END_PACKAGES=/tmp/packages_end.txt 01:54:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:54:50 + PACKAGES=/tmp/packages_start.txt 01:54:50 + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' 01:54:50 + PACKAGES=/tmp/packages_end.txt 01:54:50 + case "${OS_FAMILY}" in 01:54:50 + dpkg -l 01:54:50 + grep '^ii' 01:54:50 + '[' -f /tmp/packages_start.txt ']' 01:54:50 + '[' -f /tmp/packages_end.txt ']' 01:54:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:54:50 + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' 01:54:50 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-357/archives/ 01:54:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-357/archives/ [Pipeline] echo 01:54:50 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:54:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:51 prd-ubuntu20.04-docker-8c-8g-15145 does not seem to be running inside a container 01:54:51 $ 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-357/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-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 01:54:51 $ docker top 937a2c60338629c45d416b1af0a7710ba9bf2e30bdd1cf5d32e8495253f523b4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:52 + touch /tmp/pre-build-complete [Pipeline] sh 01:54:52 + mkdir -p /var/log/sysstat [Pipeline] sh 01:54:52 + ls /var/log/sa-host 01:54:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:52 provisioning config files... 01:54:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config13154610892285228371tmp [Pipeline] { [Pipeline] echo 01:54:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:54:53 ---> create-netrc.sh [Pipeline] } 01:54:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:54:53 ---> python-tools-install.sh [Pipeline] echo 01:54:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:54:53 ---> sudo-logs.sh 01:54:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:54:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:54:54 ---> job-cost.sh 01:54:54 lf-activate-venv: SKIPPING 01:54:54 DEBUG: total: 0.2199999988079071 01:54:54 INFO: Retrieving Stack Cost... 01:54:54 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:55 INFO: Archiving Costs [Pipeline] echo 01:54:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:54:55 ---> logs-deploy.sh 01:54:55 lf-activate-venv: SKIPPING 01:54:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-357/3 01:54:55 INFO: archiving workspace using pattern(s): 01:54:56 Archives upload complete. 01:54:56 INFO: archiving logs to Nexus