Pull request #273 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 35e0b630cb735782c58facbcf80c1125d056e597 rather than ee4e5af945dce7c2052abeca6aa932e6208ef249 Obtained Jenkinsfile from 35e0b630cb735782c58facbcf80c1125d056e597 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-ssh5151911033561814256.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1004127330440082527.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-273/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-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13798196871407479332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2981871194176839040.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-273/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-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9042725477019924101.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-4628 in /w/workspace/undry_device-onvif-camera_PR-273 [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-273 # 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/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit ee4e5af945dce7c2052abeca6aa932e6208ef249 Merge succeeded, producing ee4e5af945dce7c2052abeca6aa932e6208ef249 Checking out Revision ee4e5af945dce7c2052abeca6aa932e6208ef249 (PR-273) > git config core.sparsecheckout # timeout=10 > git checkout -f ee4e5af945dce7c2052abeca6aa932e6208ef249 # 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 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee4e5af945dce7c2052abeca6aa932e6208ef249 # timeout=10 Commit message: "docs: code review comments addressed" > git rev-list --no-walk fe83476405b883efafe1a18aa9e727b318257e4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:14:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:14:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:14:43 ========================================================= 19:14:43 EdgeX Global Pipelines Version Info 19:14:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:14:43 ------------------- 19:14:43 stable info: 19:14:43 ------------------- 19:14:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:14:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:14:43 Message: update stable to v1.0.245 19:14:44 ------------------- 19:14:44 experimental info: 19:14:44 ------------------- 19:14:44 Commited By: **** collab-it+edgex@linuxfoundation.org 19:14:44 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 19:14:44 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:14:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-273 [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-273 [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-273 [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee4e5af945dce7c2052abeca6aa932e6208ef249 [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee4e5af [Pipeline] echo 19:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:45 provisioning config files... 19:14:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config1919138600391268081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:45 ---> docker-login.sh 19:14:45 nexus3.edgexfoundry.org:10001 19:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:45 Configure a credential helper to remove this warning. See 19:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:45 19:14:45 Login Succeeded 19:14:45 nexus3.edgexfoundry.org:10002 19:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:45 Configure a credential helper to remove this warning. See 19:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:45 19:14:45 Login Succeeded 19:14:45 nexus3.edgexfoundry.org:10003 19:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:45 Configure a credential helper to remove this warning. See 19:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:45 19:14:45 Login Succeeded 19:14:45 nexus3.edgexfoundry.org:10004 19:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:45 Configure a credential helper to remove this warning. See 19:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:45 19:14:45 Login Succeeded 19:14:45 docker.io 19:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:46 Configure a credential helper to remove this warning. See 19:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:46 19:14:46 Login Succeeded 19:14:46 ---> docker-login.sh ends [Pipeline] } 19:14:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:14:46 + git rev-list -1 --merges ee4e5af945dce7c2052abeca6aa932e6208ef249~1..ee4e5af945dce7c2052abeca6aa932e6208ef249 [Pipeline] echo 19:14:46 -----------> git rev-list -1 --merges ee4e5af945dce7c2052abeca6aa932e6208ef249~1..ee4e5af945dce7c2052abeca6aa932e6208ef249 ee4e5af945dce7c2052abeca6aa932e6208ef249 [false] [Pipeline] sh 19:14:47 + git log --format=format:%s -1 ee4e5af945dce7c2052abeca6aa932e6208ef249 [Pipeline] echo 19:14:47 ========================================================= 19:14:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:14:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:47 + git log --format=format:%s -1 ee4e5af945dce7c2052abeca6aa932e6208ef249 [Pipeline] echo 19:14:47 [semverPrep] GIT_COMMIT: ee4e5af945dce7c2052abeca6aa932e6208ef249, Commit Message: docs: code review comments addressed [Pipeline] echo 19:14:47 [semverPrep] This is not a build commit. [Pipeline] sh 19:14:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:14:47 + grep -v github /etc/ssh/ssh_known_hosts 19:14:47 + [ -e /tmp/ssh_known_hosts ] 19:14:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:14:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:14:47 + sudo tee -a /etc/ssh/ssh_known_hosts 19:14:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:14:48 19:14:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:14:48 0.1.4: Pulling from edgex-devops/py-git-semver 19:14:48 b85a868b505f: Pulling fs layer 19:14:48 e2be974225ed: Pulling fs layer 19:14:48 339a4e72a1f5: Pulling fs layer 19:14:48 988bab9f4d93: Pulling fs layer 19:14:48 1469e6f7b9e6: Pulling fs layer 19:14:48 eaf3925da568: Pulling fs layer 19:14:48 bab4dde63d76: Pulling fs layer 19:14:48 bde34c3a00c8: Pulling fs layer 19:14:48 b352a97aabf1: Pulling fs layer 19:14:48 4872d77fe225: Pulling fs layer 19:14:48 5851b861e8e6: Pulling fs layer 19:14:48 eaf3925da568: Waiting 19:14:48 bab4dde63d76: Waiting 19:14:48 988bab9f4d93: Waiting 19:14:48 4872d77fe225: Waiting 19:14:48 b352a97aabf1: Waiting 19:14:48 bde34c3a00c8: Waiting 19:14:48 5851b861e8e6: Waiting 19:14:48 1469e6f7b9e6: Waiting 19:14:48 e2be974225ed: Verifying Checksum 19:14:48 e2be974225ed: Download complete 19:14:48 988bab9f4d93: Download complete 19:14:48 1469e6f7b9e6: Verifying Checksum 19:14:48 1469e6f7b9e6: Download complete 19:14:48 339a4e72a1f5: Verifying Checksum 19:14:48 339a4e72a1f5: Download complete 19:14:48 eaf3925da568: Download complete 19:14:48 bde34c3a00c8: Verifying Checksum 19:14:48 bde34c3a00c8: Download complete 19:14:48 b352a97aabf1: Download complete 19:14:48 4872d77fe225: Verifying Checksum 19:14:48 4872d77fe225: Download complete 19:14:48 5851b861e8e6: Verifying Checksum 19:14:48 5851b861e8e6: Download complete 19:14:49 b85a868b505f: Verifying Checksum 19:14:49 b85a868b505f: Download complete 19:14:49 bab4dde63d76: Verifying Checksum 19:14:49 bab4dde63d76: Download complete 19:14:50 b85a868b505f: Pull complete 19:14:50 e2be974225ed: Pull complete 19:14:51 339a4e72a1f5: Pull complete 19:14:51 988bab9f4d93: Pull complete 19:14:51 1469e6f7b9e6: Pull complete 19:14:51 eaf3925da568: Pull complete 19:14:53 bab4dde63d76: Pull complete 19:14:53 bde34c3a00c8: Pull complete 19:14:53 b352a97aabf1: Pull complete 19:14:53 4872d77fe225: Pull complete 19:14:53 5851b861e8e6: Pull complete 19:14:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:14:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:53 prd-ubuntu20.04-docker-8c-8g-4628 does not seem to be running inside a container 19:14:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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 19:14:55 $ docker top 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f -eo pid,comm 19:14:55 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). 19:14:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:14:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:14:55 [ssh-agent] Looking for ssh-agent implementation... 19:14:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:14:56 $ docker exec 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f ssh-agent 19:14:56 SSH_AUTH_SOCK=/tmp/ssh-i0Q3JouLFI7S/agent.33 19:14:56 SSH_AGENT_PID=39 19:14:56 Running ssh-add (command line suppressed) 19:14:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_15688234544969542435.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_15688234544969542435.key) 19:14:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:14:56 + git tag --points-at HEAD [Pipeline] } 19:14:56 $ docker exec --env ******** --env ******** 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f ssh-agent -k 19:14:56 unset SSH_AUTH_SOCK; 19:14:56 unset SSH_AGENT_PID; 19:14:56 echo Agent pid 39 killed; 19:14:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:14:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:14:56 [ssh-agent] Looking for ssh-agent implementation... 19:14:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:14:56 $ docker exec 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f ssh-agent 19:14:56 SSH_AUTH_SOCK=/tmp/ssh-3YqHGLrIM6Tl/agent.71 19:14:56 SSH_AGENT_PID=77 19:14:56 Running ssh-add (command line suppressed) 19:14:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_6074893691733156743.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_6074893691733156743.key) 19:14:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:14:57 + git semver init 19:14:57 2023-03-20 19:14:57,485 [run_init] DEBUG init version:0.0.0 force:False 19:14:57 2023-03-20 19:14:57,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-273/.semver 19:14:57 2023-03-20 19:14:57,487 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-273/.semver 19:14:57 2023-03-20 19:14:57,487 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-273/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-273, universal_newlines=False, shell=None, istream=None) 19:14:58 2023-03-20 19:14:58,339 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-273/.git/info/exclude 19:14:58 2023-03-20 19:14:58,339 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 with force:False 19:14:58 2023-03-20 19:14:58,339 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 19:14:58 2023-03-20 19:14:58,344 [execute] INFO git cat-file --batch-check 19:14:58 2023-03-20 19:14:58,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) 19:14:58 2023-03-20 19:14:58,350 [execute] INFO git cat-file --batch 19:14:58 2023-03-20 19:14:58,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) 19:14:58 2023-03-20 19:14:58,355 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 19:14:58 0.0.0 [Pipeline] } 19:14:58 $ docker exec --env ******** --env ******** 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f ssh-agent -k 19:14:58 unset SSH_AUTH_SOCK; 19:14:58 unset SSH_AGENT_PID; 19:14:58 echo Agent pid 77 killed; 19:14:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:14:58 + git semver [Pipeline] } 19:14:59 $ docker stop --time=1 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f 19:15:00 $ docker rm -f --volumes 71a3abae381b38f7b4024fcdd1d75e2ecba950b3dfb1062e93a16aaa99fc480f [Pipeline] // withDockerContainer [Pipeline] sh 19:15:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:15:01 Stashed 1 file(s) [Pipeline] echo 19:15:01 [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 19:15:01 provisioning config files... 19:15:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config5188347577189934137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:01 ---> docker-login.sh 19:15:01 nexus3.edgexfoundry.org:10001 19:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:01 Configure a credential helper to remove this warning. See 19:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:01 19:15:01 Login Succeeded 19:15:01 nexus3.edgexfoundry.org:10002 19:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:01 Configure a credential helper to remove this warning. See 19:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:01 19:15:01 Login Succeeded 19:15:01 nexus3.edgexfoundry.org:10003 19:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:01 Configure a credential helper to remove this warning. See 19:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:01 19:15:01 Login Succeeded 19:15:01 nexus3.edgexfoundry.org:10004 19:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:01 Configure a credential helper to remove this warning. See 19:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:01 19:15:01 Login Succeeded 19:15:01 docker.io 19:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:02 Configure a credential helper to remove this warning. See 19:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:02 19:15:02 Login Succeeded 19:15:02 ---> docker-login.sh ends [Pipeline] } 19:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:15:02 ========================================================= 19:15:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:15:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:02 + 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 . 19:15:02 Sending build context to Docker daemon 27.01MB 19:15:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:15:02 Step 2/13 : FROM ${BASE} AS builder 19:15:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:15:03 63b65145d645: Pulling fs layer 19:15:03 a2d21d5440eb: Pulling fs layer 19:15:03 935e6c44a52c: Pulling fs layer 19:15:03 94cc34f8dd06: Pulling fs layer 19:15:03 30dea6a524f1: Pulling fs layer 19:15:03 94cc34f8dd06: Waiting 19:15:03 a2aff8979fd8: Pulling fs layer 19:15:03 6808be2612f2: Pulling fs layer 19:15:03 a2aff8979fd8: Waiting 19:15:03 30dea6a524f1: Waiting 19:15:03 f25807f1079a: Pulling fs layer 19:15:03 6808be2612f2: Waiting 19:15:03 f25807f1079a: Waiting 19:15:03 a2d21d5440eb: Verifying Checksum 19:15:03 a2d21d5440eb: Download complete 19:15:03 94cc34f8dd06: Verifying Checksum 19:15:03 94cc34f8dd06: Download complete 19:15:03 30dea6a524f1: Verifying Checksum 19:15:03 30dea6a524f1: Download complete 19:15:03 63b65145d645: Verifying Checksum 19:15:03 63b65145d645: Download complete 19:15:03 a2aff8979fd8: Verifying Checksum 19:15:03 a2aff8979fd8: Download complete 19:15:03 63b65145d645: Pull complete 19:15:03 a2d21d5440eb: Pull complete 19:15:03 f25807f1079a: Verifying Checksum 19:15:04 935e6c44a52c: Verifying Checksum 19:15:04 935e6c44a52c: Download complete 19:15:04 6808be2612f2: Verifying Checksum 19:15:04 6808be2612f2: Download complete 19:15:07 935e6c44a52c: Pull complete 19:15:07 94cc34f8dd06: Pull complete 19:15:07 30dea6a524f1: Pull complete 19:15:07 a2aff8979fd8: Pull complete 19:15:10 6808be2612f2: Pull complete 19:15:10 f25807f1079a: Pull complete 19:15:10 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:15:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:15:10 ---> 3b553350e43f 19:15:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:15:12 ---> Running in 843737b4eeaa 19:15:12 Removing intermediate container 843737b4eeaa 19:15:12 ---> 5aba016c3d38 19:15:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:15:12 ---> Running in b8ec459ec916 19:15:12 Removing intermediate container b8ec459ec916 19:15:12 ---> f7d9ed84e2da 19:15:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:15:12 ---> Running in e12518ce831a 19:15:12 Removing intermediate container e12518ce831a 19:15:12 ---> 45236e9b81b3 19:15:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:15:12 ---> Running in 29b32eb77dfc 19:15:12 Removing intermediate container 29b32eb77dfc 19:15:12 ---> 80a42d4d2a39 19:15:12 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:15:13 ---> Running in 84d75d46e62b 19:15:13 Removing intermediate container 84d75d46e62b 19:15:13 ---> 323749d94f1b 19:15:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:15:13 ---> Running in fe6a47441a0a 19:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:15:13 OK: 265 MiB in 53 packages 19:15:14 Removing intermediate container fe6a47441a0a 19:15:14 ---> 6aefff73cd5d 19:15:14 Step 9/13 : WORKDIR /device-onvif-camera 19:15:14 ---> Running in dc605d259786 19:15:14 Removing intermediate container dc605d259786 19:15:14 ---> 494e7aaa12f8 19:15:14 Step 10/13 : COPY go.mod vendor* ./ 19:15:14 ---> e11c3db88153 19:15:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:15:14 ---> Running in 10edc7862c01 19:15:16 Still waiting to schedule task 19:15:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:16:01 Removing intermediate container 10edc7862c01 19:16:01 ---> fd9b581ef56c 19:16:01 Step 12/13 : COPY . . 19:16:01 ---> 116340c41268 19:16:01 Step 13/13 : RUN ${MAKE} 19:16:01 ---> Running in 809645df27a1 19:16:01 noop 19:16:01 Removing intermediate container 809645df27a1 19:16:01 ---> 5b6a549b1318 19:16:01 Successfully built 5b6a549b1318 19:16:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:01 + docker inspect -f . ci-base-image-x86_64 19:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:01 prd-ubuntu20.04-docker-8c-8g-4628 does not seem to be running inside a container 19:16:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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 19:16:01 $ docker top d300bb56e6c1417f90c3b652cbd54e89578ad303d16fe9f8311e38c76423394a -eo pid,comm [Pipeline] { [Pipeline] sh 19:16:02 + go version 19:16:02 go version go1.20.2 linux/amd64 [Pipeline] } 19:16:02 $ docker stop --time=1 d300bb56e6c1417f90c3b652cbd54e89578ad303d16fe9f8311e38c76423394a 19:16:03 $ docker rm -f --volumes d300bb56e6c1417f90c3b652cbd54e89578ad303d16fe9f8311e38c76423394a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:03 + docker inspect -f . ci-base-image-x86_64 19:16:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:04 prd-ubuntu20.04-docker-8c-8g-4628 does not seem to be running inside a container 19:16:04 $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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 19:16:04 $ docker top 875081d2bd55dd159d6acd2073c53b4f5652cca6977398a1983d5709f7643ce2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:16:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] fileExists [Pipeline] sh 19:16:05 + make test 19:16:05 go test ./... -coverprofile=coverage.out ./... 19:16:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:16:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:16:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:16:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.7% of statements 19:16:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.162s coverage: 86.5% of statements 19:16:28 go vet ./... 19:16:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:16:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:16:31 ./bin/test-attribution-txt.sh [Pipeline] echo 19:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:16:32 $ docker stop --time=1 875081d2bd55dd159d6acd2073c53b4f5652cca6977398a1983d5709f7643ce2 19:16:34 $ docker rm -f --volumes 875081d2bd55dd159d6acd2073c53b4f5652cca6977398a1983d5709f7643ce2 [Pipeline] // withDockerContainer [Pipeline] sh 19:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:16:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:16:35 + ls -al . 19:16:35 total 236 19:16:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 19:16 . 19:16:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:14 .. 19:16:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 19:14 .git 19:16:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:14 .github 19:16:35 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 19:14 .gitignore 19:16:35 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 19:14 .golangci.yml 19:16:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 19:14 .semver 19:16:35 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 19:14 Attribution.txt 19:16:35 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 19:14 CHANGELOG.md 19:16:35 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 19:14 Dockerfile 19:16:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 19:14 GOVERNANCE.md 19:16:35 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 19:14 Jenkinsfile 19:16:35 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 19:14 LICENSE 19:16:35 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 19:14 Makefile 19:16:35 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 19:14 OWNERS.md 19:16:35 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 20 19:14 README.md 19:16:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 19:15 VERSION 19:16:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 19:14 bin 19:16:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:14 cmd 19:16:35 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 19:16 coverage.out 19:16:35 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 19:14 doc 19:16:35 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 19:14 go.mod 19:16:35 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 19:14 go.sum 19:16:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:14 internal 19:16:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:14 snap 19:16:35 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 19:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:35 + 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=ee4e5af945dce7c2052abeca6aa932e6208ef249 --label arch=amd64 --label version=0.0.0 . 19:16:35 Sending build context to Docker daemon 27.09MB 19:16:35 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:16:35 Step 2/26 : FROM ${BASE} AS builder 19:16:35 ---> 5b6a549b1318 19:16:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:16:36 ---> Running in 1795f4256258 19:16:36 Removing intermediate container 1795f4256258 19:16:36 ---> 38d5c6d0a280 19:16:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:16:36 ---> Running in d428e539f724 19:16:36 Removing intermediate container d428e539f724 19:16:36 ---> 415e537d8ecb 19:16:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:16:36 ---> Running in 53fdccfabcc6 19:16:36 Removing intermediate container 53fdccfabcc6 19:16:36 ---> d50cd7a308fe 19:16:36 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:16:36 ---> Running in 55158585da2d 19:16:36 Removing intermediate container 55158585da2d 19:16:36 ---> ba4cc5fe44e8 19:16:36 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:16:36 ---> Running in 69081e30bcff 19:16:36 Removing intermediate container 69081e30bcff 19:16:36 ---> 5f5cefffcb52 19:16:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:16:36 ---> Running in 9230add69252 19:16:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:16:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:16:37 OK: 265 MiB in 53 packages 19:16:37 Removing intermediate container 9230add69252 19:16:37 ---> f0c7e0b553bf 19:16:37 Step 9/26 : WORKDIR /device-onvif-camera 19:16:37 ---> Running in 8887b6fa3b84 19:16:37 Removing intermediate container 8887b6fa3b84 19:16:37 ---> 0ce4468117d2 19:16:37 Step 10/26 : COPY go.mod vendor* ./ 19:16:37 ---> 89773ce1fa02 19:16:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:16:37 ---> Running in 09625173fb0e 19:16:38 Removing intermediate container 09625173fb0e 19:16:38 ---> 37633c1aca16 19:16:38 Step 12/26 : COPY . . 19:16:39 ---> 5167d28c4369 19:16:39 Step 13/26 : RUN ${MAKE} 19:16:39 ---> Running in c152e04dfc31 19:16:39 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 19:16:57 Removing intermediate container c152e04dfc31 19:16:57 ---> 9616add46324 19:16:57 Step 14/26 : FROM alpine:3.17 19:16:57 3.17: Pulling from library/alpine 19:16:57 63b65145d645: Already exists 19:16:57 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:16:57 Status: Downloaded newer image for alpine:3.17 19:16:57 ---> b2aa39c304c2 19:16:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:16:57 ---> Running in 24fa050fd4ff 19:16:57 Removing intermediate container 24fa050fd4ff 19:16:57 ---> e6e789497e06 19:16:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:16:57 ---> Running in 70a2f5531f11 19:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:16:58 (1/1) Installing dumb-init (1.2.5-r2) 19:16:58 Executing busybox-1.35.0-r29.trigger 19:16:58 OK: 7 MiB in 16 packages 19:16:58 Removing intermediate container 70a2f5531f11 19:16:58 ---> 4a07c3d0d3c0 19:16:58 Step 17/26 : WORKDIR / 19:16:58 ---> Running in 57ad138b7c37 19:16:58 Removing intermediate container 57ad138b7c37 19:16:58 ---> 32d2d5a7cd6a 19:16:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:16:59 ---> 747da60eeb7c 19:16:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:16:59 ---> f1a56646ebd7 19:16:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:16:59 ---> 8b27c492384e 19:16:59 Step 21/26 : EXPOSE 59984 19:16:59 ---> Running in 01ce400a7adc 19:16:59 Removing intermediate container 01ce400a7adc 19:16:59 ---> fb2a507793f1 19:16:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:16:59 ---> Running in 5f25b908e5b8 19:16:59 Removing intermediate container 5f25b908e5b8 19:16:59 ---> 341b8f6f7127 19:16:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:16:59 ---> Running in 217e6bc223cf 19:16:59 Removing intermediate container 217e6bc223cf 19:16:59 ---> f6ba7707e912 19:16:59 Step 24/26 : LABEL arch=amd64 19:16:59 ---> Running in 165cf484ce2c 19:17:00 Removing intermediate container 165cf484ce2c 19:17:00 ---> 846010df986e 19:17:00 Step 25/26 : LABEL git_sha=ee4e5af945dce7c2052abeca6aa932e6208ef249 19:17:00 ---> Running in 0c9529d9b5ce 19:17:00 Removing intermediate container 0c9529d9b5ce 19:17:00 ---> 351e57811dcf 19:17:00 Step 26/26 : LABEL version=0.0.0 19:17:00 ---> Running in c93e68ce84b4 19:17:00 Removing intermediate container c93e68ce84b4 19:17:00 ---> 076fb5be06a3 19:17:00 [Warning] One or more build-args [ARCH] were not consumed 19:17:00 Successfully built 076fb5be06a3 19:17:00 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 19:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:00 19:17:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:01 latest: Pulling from edgex-lftools-log-publisher 19:17:01 5eb5b503b376: Pulling fs layer 19:17:01 5c69ac0246d0: Pulling fs layer 19:17:01 ec43610c2a17: Pulling fs layer 19:17:01 3a2ae6a8a46f: Pulling fs layer 19:17:01 33b1e0a273af: Pulling fs layer 19:17:01 5d3b04190fa2: Pulling fs layer 19:17:01 2f39f015ded8: Pulling fs layer 19:17:01 33b1e0a273af: Waiting 19:17:01 5d3b04190fa2: Waiting 19:17:01 2f39f015ded8: Waiting 19:17:01 3a2ae6a8a46f: Waiting 19:17:01 5c69ac0246d0: Download complete 19:17:01 3a2ae6a8a46f: Verifying Checksum 19:17:01 3a2ae6a8a46f: Download complete 19:17:01 33b1e0a273af: Verifying Checksum 19:17:01 33b1e0a273af: Download complete 19:17:01 5d3b04190fa2: Verifying Checksum 19:17:01 5d3b04190fa2: Download complete 19:17:01 ec43610c2a17: Verifying Checksum 19:17:01 ec43610c2a17: Download complete 19:17:01 5eb5b503b376: Verifying Checksum 19:17:01 5eb5b503b376: Download complete 19:17:01 2f39f015ded8: Verifying Checksum 19:17:01 2f39f015ded8: Download complete 19:17:02 5eb5b503b376: Pull complete 19:17:02 5c69ac0246d0: Pull complete 19:17:03 ec43610c2a17: Pull complete 19:17:03 3a2ae6a8a46f: Pull complete 19:17:03 33b1e0a273af: Pull complete 19:17:03 5d3b04190fa2: Pull complete 19:17:07 2f39f015ded8: Pull complete 19:17:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:07 prd-ubuntu20.04-docker-8c-8g-4628 does not seem to be running inside a container 19:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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 19:17:09 $ docker top f77afbb79424eb3411c8d5be18d6baa2c5955aa87415666612faa01c48a02d6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:09 ---> job-cost.sh 19:17:09 lf-activate-venv: SKIPPING 19:17:09 INFO: No Stack... 19:17:10 INFO: Retrieving Pricing Info for: v3-standard-8 19:17:10 INFO: Archiving Costs [Pipeline] sh 19:17:10 + cat /w/workspace/undry_device-onvif-camera_PR-273/archives/cost.csv 19:17:10 + cut -d, -f6 [Pipeline] lock 19:17:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] 19:17:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] did not exist. Created. 19:17:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:17:10 + echo total: 0.2199999988079071 [Pipeline] stash 19:17:11 Stashed 1 file(s) [Pipeline] } 19:17:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:17:11 $ docker stop --time=1 f77afbb79424eb3411c8d5be18d6baa2c5955aa87415666612faa01c48a02d6b 19:17:12 $ docker rm -f --volumes f77afbb79424eb3411c8d5be18d6baa2c5955aa87415666612faa01c48a02d6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:18:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4630 in /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] { [Pipeline] ws 19:18:41 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 19:18:41 The recommended git tool is: git 19:18:46 using credential edgex-jenkins-ssh 19:18:46 Cloning the remote Git repository 19:18:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:18:46 > git init /w/workspace/device-onvif-camera/4 # timeout=10 19:18:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:18:46 > git --version # timeout=10 19:18:46 > git --version # 'git version 2.25.1' 19:18:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:18:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:52 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit ee4e5af945dce7c2052abeca6aa932e6208ef249 19:18:52 Merge succeeded, producing ee4e5af945dce7c2052abeca6aa932e6208ef249 19:18:52 Checking out Revision ee4e5af945dce7c2052abeca6aa932e6208ef249 (PR-273) 19:18:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:18:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:18:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:18:52 > git config core.sparsecheckout # timeout=10 19:18:52 > git checkout -f ee4e5af945dce7c2052abeca6aa932e6208ef249 # timeout=10 19:18:52 > git remote # timeout=10 19:18:52 > git config --get remote.origin.url # timeout=10 19:18:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:52 > git merge 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 19:18:52 > git rev-parse HEAD^{commit} # timeout=10 19:18:52 > git config core.sparsecheckout # timeout=10 19:18:52 > git checkout -f ee4e5af945dce7c2052abeca6aa932e6208ef249 # timeout=10 19:18:56 Commit message: "docs: code review comments addressed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:18:57 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:57 Dload Upload Total Spent Left Speed 19:18:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 19:18:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:18:58 + sudo tee /etc/docker/daemon.new 19:18:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:18:58 { 19:18:58 "registry-mirrors": [ 19:18:58 "https://nexus3.edgexfoundry.org:10001" 19:18:58 ], 19:18:58 "bip": "10.250.0.254/24", 19:18:58 "hosts": [ 19:18:58 "tcp://0.0.0.0:5555", 19:18:58 "unix:///var/run/docker.sock" 19:18:58 ], 19:18:58 "mtu": 1458, 19:18:58 "selinux-enabled": true, 19:18:58 "seccomp-profile": "/etc/docker/seccomp.json" 19:18:58 } [Pipeline] sh 19:18:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:18:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:17 provisioning config files... 19:19:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config14246554465419479915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:18 ---> docker-login.sh 19:19:18 nexus3.edgexfoundry.org:10001 19:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:18 Configure a credential helper to remove this warning. See 19:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:18 19:19:18 Login Succeeded 19:19:18 nexus3.edgexfoundry.org:10002 19:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:19 Configure a credential helper to remove this warning. See 19:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:19 19:19:19 Login Succeeded 19:19:19 nexus3.edgexfoundry.org:10003 19:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:19 Configure a credential helper to remove this warning. See 19:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:19 19:19:19 Login Succeeded 19:19:19 nexus3.edgexfoundry.org:10004 19:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:20 Configure a credential helper to remove this warning. See 19:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:20 19:19:20 Login Succeeded 19:19:20 docker.io 19:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:20 Configure a credential helper to remove this warning. See 19:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:20 19:19:20 Login Succeeded 19:19:20 ---> docker-login.sh ends [Pipeline] } 19:19:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:20 ========================================================= 19:19:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:19:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:21 + 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 . 19:19:21 Sending build context to Docker daemon 19.71MB 19:19:21 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:19:21 Step 2/13 : FROM ${BASE} AS builder 19:19:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:19:22 af6eaf76a39c: Pulling fs layer 19:19:22 55522c791124: Pulling fs layer 19:19:22 ce5c4a1c91eb: Pulling fs layer 19:19:22 169dfbe0d373: Pulling fs layer 19:19:22 e1ff8fa3b103: Pulling fs layer 19:19:22 52ebb69f0ebf: Pulling fs layer 19:19:22 5abe8eddf0d5: Pulling fs layer 19:19:22 e1ff8fa3b103: Waiting 19:19:22 52ebb69f0ebf: Waiting 19:19:22 169dfbe0d373: Waiting 19:19:22 5abe8eddf0d5: Waiting 19:19:22 55522c791124: Verifying Checksum 19:19:22 169dfbe0d373: Verifying Checksum 19:19:22 169dfbe0d373: Download complete 19:19:22 e1ff8fa3b103: Verifying Checksum 19:19:22 e1ff8fa3b103: Download complete 19:19:22 af6eaf76a39c: Verifying Checksum 19:19:22 af6eaf76a39c: Download complete 19:19:23 af6eaf76a39c: Pull complete 19:19:23 5abe8eddf0d5: Verifying Checksum 19:19:23 5abe8eddf0d5: Download complete 19:19:23 55522c791124: Pull complete 19:19:25 ce5c4a1c91eb: Verifying Checksum 19:19:25 ce5c4a1c91eb: Download complete 19:19:25 52ebb69f0ebf: Verifying Checksum 19:19:25 52ebb69f0ebf: Download complete 19:19:37 ce5c4a1c91eb: Pull complete 19:19:37 169dfbe0d373: Pull complete 19:19:37 e1ff8fa3b103: Pull complete 19:19:44 52ebb69f0ebf: Pull complete 19:19:46 5abe8eddf0d5: Pull complete 19:19:46 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:19:46 ---> 6cb57ee374ae 19:19:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:19:48 ---> Running in e4d79ac2d066 19:19:48 Removing intermediate container e4d79ac2d066 19:19:48 ---> 92ff12792285 19:19:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:19:48 ---> Running in e0646c5d9cc9 19:19:48 Removing intermediate container e0646c5d9cc9 19:19:48 ---> cd18c1207a3e 19:19:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:19:48 ---> Running in 6e6c9741b7d7 19:19:49 Removing intermediate container 6e6c9741b7d7 19:19:49 ---> b6f6811cc844 19:19:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:19:49 ---> Running in 543e1f99e222 19:19:49 Removing intermediate container 543e1f99e222 19:19:49 ---> 982edf8a1969 19:19:49 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:19:49 ---> Running in 2ecdcaeef3f3 19:19:49 Removing intermediate container 2ecdcaeef3f3 19:19:49 ---> f997aa2bc7f3 19:19:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:50 ---> Running in a876b8effcd2 19:19:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:19:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:19:53 OK: 263 MiB in 53 packages 19:19:53 Removing intermediate container a876b8effcd2 19:19:53 ---> 25acc60668a0 19:19:53 Step 9/13 : WORKDIR /device-onvif-camera 19:19:54 ---> Running in b40514af9a2c 19:19:54 Removing intermediate container b40514af9a2c 19:19:54 ---> 7744a60e06d5 19:19:54 Step 10/13 : COPY go.mod vendor* ./ 19:19:54 ---> c6ddae7eed1b 19:19:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:54 ---> Running in ed640301edf8 19:21:16 Removing intermediate container ed640301edf8 19:21:16 ---> 581d87c84dc9 19:21:16 Step 12/13 : COPY . . 19:21:16 ---> debe2672a7f3 19:21:16 Step 13/13 : RUN ${MAKE} 19:21:16 ---> Running in 7094cdbdc1a2 19:21:16 noop 19:21:16 Removing intermediate container 7094cdbdc1a2 19:21:16 ---> 0e7b2db33906 19:21:16 Successfully built 0e7b2db33906 19:21:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:16 + docker inspect -f . ci-base-image-arm64 19:21:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:17 prd-ubuntu20.04-docker-arm64-4c-16g-4630 does not seem to be running inside a container 19:21:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 19:21:18 $ docker top 7c0fcbd40ddd97751a1bbf072bb78215abaabab0017faaef195912251a2876fa -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:19 + go version 19:21:19 go version go1.20.2 linux/arm64 [Pipeline] } 19:21:19 $ docker stop --time=1 7c0fcbd40ddd97751a1bbf072bb78215abaabab0017faaef195912251a2876fa 19:21:21 $ docker rm -f --volumes 7c0fcbd40ddd97751a1bbf072bb78215abaabab0017faaef195912251a2876fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:21 + docker inspect -f . ci-base-image-arm64 19:21:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:21 prd-ubuntu20.04-docker-arm64-4c-16g-4630 does not seem to be running inside a container 19:21:21 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 19:21:23 $ docker top ea88d5e6c91a1e8412a7f008a9eb041627d9c1a28c4609fb7ed301fa5483aaa9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:23 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 19:21:24 + make test 19:21:24 go test ./... -coverprofile=coverage.out ./... 19:22:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:24:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:24:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:24:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.173s coverage: 31.7% of statements 19:24:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.713s coverage: 86.5% of statements 19:24:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:24:48 go vet ./... 19:25:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:25:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:25:20 ./bin/test-attribution-txt.sh [Pipeline] echo 19:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:25:20 $ docker stop --time=1 ea88d5e6c91a1e8412a7f008a9eb041627d9c1a28c4609fb7ed301fa5483aaa9 19:25:22 $ docker rm -f --volumes ea88d5e6c91a1e8412a7f008a9eb041627d9c1a28c4609fb7ed301fa5483aaa9 [Pipeline] // withDockerContainer [Pipeline] sh 19:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:25:23 Warning: overwriting stash ‘coverage-report’ 19:25:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:25 + ls -al . 19:25:25 total 232 19:25:25 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 19:21 . 19:25:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:18 .. 19:25:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 19:18 .git 19:25:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:18 .github 19:25:25 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 19:18 .gitignore 19:25:25 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 19:18 .golangci.yml 19:25:25 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 19:18 Attribution.txt 19:25:25 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 19:18 CHANGELOG.md 19:25:25 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 19:18 Dockerfile 19:25:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 19:18 GOVERNANCE.md 19:25:25 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 19:18 Jenkinsfile 19:25:25 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 19:18 LICENSE 19:25:25 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 19:18 Makefile 19:25:25 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 19:18 OWNERS.md 19:25:25 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 20 19:18 README.md 19:25:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 19:15 VERSION 19:25:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 19:18 bin 19:25:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:18 cmd 19:25:25 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 19:24 coverage.out 19:25:25 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 19:18 doc 19:25:25 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 19:18 go.mod 19:25:25 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 19:18 go.sum 19:25:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:18 internal 19:25:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:18 snap 19:25:25 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:25 + 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=ee4e5af945dce7c2052abeca6aa932e6208ef249 --label arch=arm64 --label version=0.0.0 . 19:25:26 Sending build context to Docker daemon 19.79MB 19:25:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:25:26 Step 2/26 : FROM ${BASE} AS builder 19:25:26 ---> 0e7b2db33906 19:25:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:25:26 ---> Running in e79e0099c1f4 19:25:26 Removing intermediate container e79e0099c1f4 19:25:26 ---> a36a2793b546 19:25:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:25:26 ---> Running in 9ffadca00607 19:25:27 Removing intermediate container 9ffadca00607 19:25:27 ---> 4fefea411956 19:25:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:25:27 ---> Running in 77343fe6be5c 19:25:27 Removing intermediate container 77343fe6be5c 19:25:27 ---> 41d80f0415c0 19:25:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:25:27 ---> Running in 3a2262a926a3 19:25:28 Removing intermediate container 3a2262a926a3 19:25:28 ---> 5f6eaa1438fd 19:25:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:25:28 ---> Running in 206f2ef9c5a7 19:25:28 Removing intermediate container 206f2ef9c5a7 19:25:28 ---> ceaa15af4be0 19:25:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:28 ---> Running in 33b3aacabfc5 19:25:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:25:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:25:31 OK: 263 MiB in 53 packages 19:25:32 Removing intermediate container 33b3aacabfc5 19:25:32 ---> 2f95f7fe6875 19:25:32 Step 9/26 : WORKDIR /device-onvif-camera 19:25:32 ---> Running in 221f5a9d3815 19:25:32 Removing intermediate container 221f5a9d3815 19:25:32 ---> 6107b0e95337 19:25:32 Step 10/26 : COPY go.mod vendor* ./ 19:25:33 ---> 4f65141b4371 19:25:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:25:33 ---> Running in 3665e14762f2 19:25:35 Removing intermediate container 3665e14762f2 19:25:35 ---> 9290da4f0ff0 19:25:35 Step 12/26 : COPY . . 19:25:37 ---> 86d19841bf19 19:25:37 Step 13/26 : RUN ${MAKE} 19:25:37 ---> Running in b6551302b5c5 19:25:38 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 19:28:15 Removing intermediate container b6551302b5c5 19:28:15 ---> 099b681d1d4d 19:28:15 Step 14/26 : FROM alpine:3.17 19:28:15 3.17: Pulling from library/alpine 19:28:15 af6eaf76a39c: Already exists 19:28:15 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:28:15 Status: Downloaded newer image for alpine:3.17 19:28:15 ---> d74e625d9115 19:28:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:28:15 ---> Running in 1c495c492e90 19:28:15 Removing intermediate container 1c495c492e90 19:28:15 ---> 4322936ed4a1 19:28:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:28:15 ---> Running in e006f0ca09a5 19:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:28:15 (1/1) Installing dumb-init (1.2.5-r2) 19:28:15 Executing busybox-1.35.0-r29.trigger 19:28:15 OK: 8 MiB in 16 packages 19:28:15 Removing intermediate container e006f0ca09a5 19:28:15 ---> a0285786a763 19:28:15 Step 17/26 : WORKDIR / 19:28:15 ---> Running in 314679077bcb 19:28:15 Removing intermediate container 314679077bcb 19:28:15 ---> d1677a6a9591 19:28:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:28:16 ---> 02383afeacc6 19:28:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:28:17 ---> ab66f9341926 19:28:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:28:17 ---> 731dcfd9578d 19:28:17 Step 21/26 : EXPOSE 59984 19:28:18 ---> Running in d7511f292a0e 19:28:18 Removing intermediate container d7511f292a0e 19:28:18 ---> bf946b264f9b 19:28:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:28:18 ---> Running in fa46efb8b388 19:28:18 Removing intermediate container fa46efb8b388 19:28:18 ---> 506107e5de0a 19:28:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:28:18 ---> Running in 2df7d2f017ef 19:28:18 Removing intermediate container 2df7d2f017ef 19:28:18 ---> 4b2ffebf2e89 19:28:18 Step 24/26 : LABEL arch=arm64 19:28:19 ---> Running in b28d64704a44 19:28:19 Removing intermediate container b28d64704a44 19:28:19 ---> e35ed8f6e729 19:28:19 Step 25/26 : LABEL git_sha=ee4e5af945dce7c2052abeca6aa932e6208ef249 19:28:19 ---> Running in ce8eb9307823 19:28:19 Removing intermediate container ce8eb9307823 19:28:19 ---> 1ff987911adf 19:28:19 Step 26/26 : LABEL version=0.0.0 19:28:19 ---> Running in e68161ea7316 19:28:20 Removing intermediate container e68161ea7316 19:28:20 ---> 9e2e596caa63 19:28:20 [Warning] One or more build-args [ARCH] were not consumed 19:28:20 Successfully built 9e2e596caa63 19:28:20 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 19:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:20 19:28:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:21 arm64: Pulling from edgex-lftools-log-publisher 19:28:21 8998bd30e6a1: Pulling fs layer 19:28:21 04944245beec: Pulling fs layer 19:28:21 699f458cf7ca: Pulling fs layer 19:28:21 765212b225bb: Pulling fs layer 19:28:21 f23df028b6ca: Pulling fs layer 19:28:21 d65c8cfc05b1: Pulling fs layer 19:28:21 2437ff75d9bd: Pulling fs layer 19:28:21 f23df028b6ca: Waiting 19:28:21 d65c8cfc05b1: Waiting 19:28:21 2437ff75d9bd: Waiting 19:28:21 765212b225bb: Waiting 19:28:21 04944245beec: Verifying Checksum 19:28:21 04944245beec: Download complete 19:28:21 765212b225bb: Verifying Checksum 19:28:21 765212b225bb: Download complete 19:28:21 f23df028b6ca: Verifying Checksum 19:28:21 f23df028b6ca: Download complete 19:28:21 d65c8cfc05b1: Verifying Checksum 19:28:21 d65c8cfc05b1: Download complete 19:28:21 699f458cf7ca: Verifying Checksum 19:28:21 699f458cf7ca: Download complete 19:28:21 8998bd30e6a1: Verifying Checksum 19:28:21 8998bd30e6a1: Download complete 19:28:24 2437ff75d9bd: Verifying Checksum 19:28:24 2437ff75d9bd: Download complete 19:28:25 8998bd30e6a1: Pull complete 19:28:26 04944245beec: Pull complete 19:28:27 699f458cf7ca: Pull complete 19:28:27 765212b225bb: Pull complete 19:28:28 f23df028b6ca: Pull complete 19:28:28 d65c8cfc05b1: Pull complete 19:28:43 2437ff75d9bd: Pull complete 19:28:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:28:43 prd-ubuntu20.04-docker-arm64-4c-16g-4630 does not seem to be running inside a container 19:28:44 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 19:28:46 $ docker top f81a2fdfd923e33a27edb6838b0620b543b3ecce2a6a344c47ede2a440965c7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:28:47 ---> job-cost.sh 19:28:47 lf-activate-venv: SKIPPING 19:28:47 INFO: No Stack... 19:28:48 INFO: Retrieving Pricing Info for: v3-standard-4 19:28:49 INFO: Archiving Costs [Pipeline] sh 19:28:49 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 19:28:49 + cut -d, -f6 [Pipeline] lock 19:28:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] 19:28:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] did not exist. Created. 19:28:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:28:50 /w/workspace/device-onvif-camera/4@tmp/durable-bcb571ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:28:51 + echo total: 0.10999999940395355 [Pipeline] stash 19:28:51 Warning: overwriting stash ‘stack-cost’ 19:28:51 Stashed 1 file(s) [Pipeline] } 19:28:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:28:51 $ docker stop --time=1 f81a2fdfd923e33a27edb6838b0620b543b3ecce2a6a344c47ede2a440965c7e 19:28:52 $ docker rm -f --volumes f81a2fdfd923e33a27edb6838b0620b543b3ecce2a6a344c47ede2a440965c7e [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 19:28:53 provisioning config files... 19:28:53 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config8240469921038360408tmp [Pipeline] { [Pipeline] sh 19:28:53 + set +x 19:28:53 + bash -s -- 19:28:53 + curl -s https://codecov.io/bash 19:28:53 19:28:53 _____ _ 19:28:53 / ____| | | 19:28:53 | | ___ __| | ___ ___ _____ __ 19:28:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:28:53 | |___| (_) | (_| | __/ (_| (_) \ V / 19:28:53 \_____\___/ \__,_|\___|\___\___/ \_/ 19:28:53 Bash-1.0.6 19:28:53 19:28:53 19:28:53 ==> git version 2.25.1 found 19:28:53 ==> 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 19:28:53 Release-Date: 2020-01-08 19:28:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:28:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:28:53 ==> Jenkins CI detected. 19:28:53 current dir:  /w/workspace/undry_device-onvif-camera_PR-273 19:28:53 project root: . 19:28:53 --> token set from env 19:28:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:28:53 ==> Running gcov in . (disable via -X gcov) 19:28:53 ==> Python coveragepy not found 19:28:53 ==> Searching for coverage reports in: 19:28:53 + . 19:28:53 -> Found 1 reports 19:28:53 ==> Detecting git/mercurial file structure 19:28:53 ==> Reading reports 19:28:53 + ./coverage.out bytes=78487 19:28:53 ==> Appending adjustments 19:28:53 https://docs.codecov.io/docs/fixing-reports 19:28:53 + Found adjustments 19:28:53 ==> Gzipping contents 19:28:53 12K /tmp/codecov.mCYmsp.gz 19:28:53 ==> Uploading reports 19:28:53 url: https://codecov.io 19:28:53 query: branch=PR-273&commit=ee4e5af945dce7c2052abeca6aa932e6208ef249&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-273%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=273&job=&cmd_args= 19:28:53 -> Pinging Codecov 19:28:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-273&commit=ee4e5af945dce7c2052abeca6aa932e6208ef249&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-273%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=273&job=&cmd_args= 19:28:54 -> Uploading to 19:28:54 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/ee4e5af945dce7c2052abeca6aa932e6208ef249/f69eb2e5-bb93-4390-a03d-407cd35fb002.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T192853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac0a6a527d8be47a32d11e04eafb4f170066725a33f4143c35d4d2e2627e8c8f 19:28:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:28:54 Dload Upload Total Spent Left Speed 19:28:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 39871 --:--:-- --:--:-- --:--:-- 39871 19:28:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ee4e5af945dce7c2052abeca6aa932e6208ef249 [Pipeline] } 19:28:54 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 19:28:54 + [ -d /w/workspace/undry_device-onvif-camera_PR-273/archives ] 19:28:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives 19:28:54 total 16 19:28:54 drwxr-xr-x 3 root root 4096 Mar 20 19:17 . 19:28:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 19:17 .. 19:28:54 drwxr-xr-x 2 root root 4096 Mar 20 19:17 cost 19:28:54 -rw-r--r-- 1 root root 91 Mar 20 19:17 cost.csv 19:28:54 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-273/archives 19:28:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives 19:28:54 total 16 19:28:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 19:17 . 19:28:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 19:17 .. 19:28:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 19:17 cost 19:28:54 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 19:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:28:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:28:56 ---> package-listing.sh 19:28:56 ++ facter osfamily 19:28:56 ++ tr '[:upper:]' '[:lower:]' 19:28:56 + OS_FAMILY=debian 19:28:56 + workspace=/w/workspace/undry_device-onvif-camera_PR-273 19:28:56 + START_PACKAGES=/tmp/packages_start.txt 19:28:56 + END_PACKAGES=/tmp/packages_end.txt 19:28:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:28:56 + PACKAGES=/tmp/packages_start.txt 19:28:56 + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' 19:28:56 + PACKAGES=/tmp/packages_end.txt 19:28:56 + case "${OS_FAMILY}" in 19:28:56 + dpkg -l 19:28:56 + grep '^ii' 19:28:56 + '[' -f /tmp/packages_start.txt ']' 19:28:56 + '[' -f /tmp/packages_end.txt ']' 19:28:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:28:56 + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' 19:28:56 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-273/archives/ 19:28:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-273/archives/ [Pipeline] echo 19:28:56 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-273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:28:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:28:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:28:57 prd-ubuntu20.04-docker-8c-8g-4628 does not seem to be running inside a container 19:28:57 $ 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-273/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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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 19:28:57 $ docker top 788bb56af13ad5ad8f165a2c983a3cf94ff19564073da38010f682c357ef8cb6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:28:57 + touch /tmp/pre-build-complete [Pipeline] sh 19:28:58 + mkdir -p /var/log/sysstat [Pipeline] sh 19:28:58 + ls /var/log/sa-host 19:28:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:58 provisioning config files... 19:28:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config9225242101138925813tmp [Pipeline] { [Pipeline] echo 19:28:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:28:58 ---> create-netrc.sh [Pipeline] } 19:28:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:28:59 ---> python-tools-install.sh [Pipeline] echo 19:28:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:28:59 ---> sudo-logs.sh 19:28:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:28:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:28:59 ---> job-cost.sh 19:28:59 lf-activate-venv: SKIPPING 19:28:59 DEBUG: total: 0.2199999988079071 19:28:59 INFO: Retrieving Stack Cost... 19:29:00 INFO: Retrieving Pricing Info for: v3-standard-8 19:29:00 INFO: Archiving Costs [Pipeline] echo 19:29:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:29:00 ---> logs-deploy.sh 19:29:00 lf-activate-venv: SKIPPING 19:29:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-273/4 19:29:00 INFO: archiving workspace using pattern(s): 19:29:01 Archives upload complete. 19:29:01 INFO: archiving logs to Nexus