Pull request #293 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d+163d81e496ee931b2d3d9b2549810c1b7a8df380 (06a6c15d967f2c6bcec65692542c6315809fa999) 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-ssh3111724241256002107.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-ssh18310839557934269736.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-293/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-293/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17954500251952486199.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-ssh4285466072543119585.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-293/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-293/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10275019259724037251.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 ‘prd-ubuntu20.04-docker-8c-8g-6236’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6237 in /w/workspace/undry_device-onvif-camera_PR-293 [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-293 # 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 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d Merge succeeded, producing 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d Checking out Revision 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d (PR-293) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > 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/293/head:refs/remotes/origin/PR-293 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d # 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 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d # timeout=10 > git rev-list --no-walk 77fe5f324ce098dec8df204cbc08cc004a4b331c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:47:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:47:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:47:42 ========================================================= 19:47:42 EdgeX Global Pipelines Version Info 19:47:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:47:42 ------------------- 19:47:42 stable info: 19:47:42 ------------------- 19:47:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:47:42 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:47:42 Message: update stable to v1.0.245 19:47:43 ------------------- 19:47:43 experimental info: 19:47:43 ------------------- 19:47:43 Commited By: **** collab-it+edgex@linuxfoundation.org 19:47:43 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:47:43 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-293 [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-293 [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-293 [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33b8c63 [Pipeline] echo 19:47:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:44 provisioning config files... 19:47:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-293@tmp/config2725908085268626698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:44 ---> docker-login.sh 19:47:44 nexus3.edgexfoundry.org:10001 19:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:44 Configure a credential helper to remove this warning. See 19:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:44 19:47:44 Login Succeeded 19:47:44 nexus3.edgexfoundry.org:10002 19:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:44 Configure a credential helper to remove this warning. See 19:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:44 19:47:44 Login Succeeded 19:47:44 nexus3.edgexfoundry.org:10003 19:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:44 Configure a credential helper to remove this warning. See 19:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:44 19:47:44 Login Succeeded 19:47:44 nexus3.edgexfoundry.org:10004 19:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:44 Configure a credential helper to remove this warning. See 19:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:44 19:47:44 Login Succeeded 19:47:44 docker.io 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 ---> docker-login.sh ends [Pipeline] } 19:47:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:47:45 + git rev-list -1 --merges 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d~1..33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d [Pipeline] echo 19:47:45 -----------> git rev-list -1 --merges 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d~1..33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d [false] [Pipeline] sh 19:47:46 + git log --format=format:%s -1 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d [Pipeline] echo 19:47:46 ========================================================= 19:47:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:47:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:47:46 + git log --format=format:%s -1 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d [Pipeline] echo 19:47:46 [semverPrep] GIT_COMMIT: 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 19:47:46 [semverPrep] This is not a build commit. [Pipeline] sh 19:47:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:47:46 + grep -v github /etc/ssh/ssh_known_hosts 19:47:46 + [ -e /tmp/ssh_known_hosts ] 19:47:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:47:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:47:46 + sudo tee -a /etc/ssh/ssh_known_hosts 19:47:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:47 19:47:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:47 0.1.4: Pulling from edgex-devops/py-git-semver 19:47:47 b85a868b505f: Pulling fs layer 19:47:47 e2be974225ed: Pulling fs layer 19:47:47 339a4e72a1f5: Pulling fs layer 19:47:47 988bab9f4d93: Pulling fs layer 19:47:47 1469e6f7b9e6: Pulling fs layer 19:47:47 eaf3925da568: Pulling fs layer 19:47:47 bab4dde63d76: Pulling fs layer 19:47:47 bde34c3a00c8: Pulling fs layer 19:47:47 b352a97aabf1: Pulling fs layer 19:47:47 4872d77fe225: Pulling fs layer 19:47:47 5851b861e8e6: Pulling fs layer 19:47:47 988bab9f4d93: Waiting 19:47:47 4872d77fe225: Waiting 19:47:47 5851b861e8e6: Waiting 19:47:47 eaf3925da568: Waiting 19:47:47 bab4dde63d76: Waiting 19:47:47 bde34c3a00c8: Waiting 19:47:47 1469e6f7b9e6: Waiting 19:47:47 b352a97aabf1: Waiting 19:47:47 e2be974225ed: Verifying Checksum 19:47:47 e2be974225ed: Download complete 19:47:47 988bab9f4d93: Verifying Checksum 19:47:47 988bab9f4d93: Download complete 19:47:47 1469e6f7b9e6: Verifying Checksum 19:47:47 1469e6f7b9e6: Download complete 19:47:47 eaf3925da568: Verifying Checksum 19:47:47 eaf3925da568: Download complete 19:47:47 339a4e72a1f5: Verifying Checksum 19:47:47 339a4e72a1f5: Download complete 19:47:47 bde34c3a00c8: Download complete 19:47:47 b352a97aabf1: Verifying Checksum 19:47:47 b352a97aabf1: Download complete 19:47:47 4872d77fe225: Verifying Checksum 19:47:47 4872d77fe225: Download complete 19:47:47 5851b861e8e6: Verifying Checksum 19:47:47 5851b861e8e6: Download complete 19:47:47 b85a868b505f: Verifying Checksum 19:47:47 b85a868b505f: Download complete 19:47:48 bab4dde63d76: Verifying Checksum 19:47:48 bab4dde63d76: Download complete 19:47:49 b85a868b505f: Pull complete 19:47:49 e2be974225ed: Pull complete 19:47:49 339a4e72a1f5: Pull complete 19:47:49 988bab9f4d93: Pull complete 19:47:50 1469e6f7b9e6: Pull complete 19:47:50 eaf3925da568: Pull complete 19:47:52 bab4dde63d76: Pull complete 19:47:52 bde34c3a00c8: Pull complete 19:47:52 b352a97aabf1: Pull complete 19:47:52 4872d77fe225: Pull complete 19:47:52 5851b861e8e6: Pull complete 19:47:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:52 prd-ubuntu20.04-docker-8c-8g-6237 does not seem to be running inside a container 19:47:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-293 -v /w/workspace/undry_device-onvif-camera_PR-293:/w/workspace/undry_device-onvif-camera_PR-293:rw,z -v /w/workspace/undry_device-onvif-camera_PR-293@tmp:/w/workspace/undry_device-onvif-camera_PR-293@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:47:55 $ docker top a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 -eo pid,comm 19:47: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:47:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:55 [ssh-agent] Looking for ssh-agent implementation... 19:47:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:55 $ docker exec a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 ssh-agent 19:47:55 SSH_AUTH_SOCK=/tmp/ssh-zXj6C5f4xrBR/agent.32 19:47:55 SSH_AGENT_PID=38 19:47:55 Running ssh-add (command line suppressed) 19:47:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-293@tmp/private_key_594711111089199808.key (/w/workspace/undry_device-onvif-camera_PR-293@tmp/private_key_594711111089199808.key) 19:47:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:56 + git tag --points-at HEAD [Pipeline] } 19:47:56 $ docker exec --env ******** --env ******** a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 ssh-agent -k 19:47:56 unset SSH_AUTH_SOCK; 19:47:56 unset SSH_AGENT_PID; 19:47:56 echo Agent pid 38 killed; 19:47:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:47:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:56 [ssh-agent] Looking for ssh-agent implementation... 19:47:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:56 $ docker exec a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 ssh-agent 19:47:56 SSH_AUTH_SOCK=/tmp/ssh-fYKgTJ7oPUqD/agent.69 19:47:56 SSH_AGENT_PID=75 19:47:56 Running ssh-add (command line suppressed) 19:47:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-293@tmp/private_key_17905629688024671024.key (/w/workspace/undry_device-onvif-camera_PR-293@tmp/private_key_17905629688024671024.key) 19:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:56 + git semver init 19:47:57 2023-03-29 19:47:57,092 [run_init] DEBUG init version:0.0.0 force:False 19:47:57 2023-03-29 19:47:57,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-293/.semver 19:47:57 2023-03-29 19:47:57,094 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-293/.semver 19:47:57 2023-03-29 19:47:57,094 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-293/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-293, universal_newlines=False, shell=None, istream=None) 19:47:58 2023-03-29 19:47:57,962 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-293/.git/info/exclude 19:47:58 2023-03-29 19:47:57,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-293/.semver/PR-293 with force:False 19:47:58 2023-03-29 19:47:57,962 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-293/.semver/PR-293 19:47:58 2023-03-29 19:47:57,966 [execute] INFO git cat-file --batch-check 19:47:58 2023-03-29 19:47:57,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-293/.semver, universal_newlines=False, shell=None, istream=) 19:47:58 2023-03-29 19:47:57,974 [execute] INFO git cat-file --batch 19:47:58 2023-03-29 19:47:57,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-293/.semver, universal_newlines=False, shell=None, istream=) 19:47:58 2023-03-29 19:47:57,980 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-293/.semver/PR-293 19:47:58 0.0.0 [Pipeline] } 19:47:58 $ docker exec --env ******** --env ******** a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 ssh-agent -k 19:47:58 unset SSH_AUTH_SOCK; 19:47:58 unset SSH_AGENT_PID; 19:47:58 echo Agent pid 75 killed; 19:47:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:47:58 + git semver [Pipeline] } 19:47:58 $ docker stop --time=1 a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 19:48:00 $ docker rm -f --volumes a3210cbe388af7d95e281e2c90e4469fc772d1e544f0dc8b66aa8cf508b37cc2 [Pipeline] // withDockerContainer [Pipeline] sh 19:48:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:48:00 Stashed 1 file(s) [Pipeline] echo 19:48:00 [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:48:00 provisioning config files... 19:48:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-293@tmp/config14773097211163665301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:01 ---> docker-login.sh 19:48:01 nexus3.edgexfoundry.org:10001 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 nexus3.edgexfoundry.org:10002 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 nexus3.edgexfoundry.org:10003 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 nexus3.edgexfoundry.org:10004 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 docker.io 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 ---> docker-login.sh ends [Pipeline] } 19:48:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:01 ========================================================= 19:48:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:48:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:01 + 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:48:01 Sending build context to Docker daemon 27.03MB 19:48:01 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:48:01 Step 2/13 : FROM ${BASE} AS builder 19:48:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:48:02 63b65145d645: Pulling fs layer 19:48:02 a2d21d5440eb: Pulling fs layer 19:48:02 935e6c44a52c: Pulling fs layer 19:48:02 94cc34f8dd06: Pulling fs layer 19:48:02 30dea6a524f1: Pulling fs layer 19:48:02 a2aff8979fd8: Pulling fs layer 19:48:02 6808be2612f2: Pulling fs layer 19:48:02 f25807f1079a: Pulling fs layer 19:48:02 94cc34f8dd06: Waiting 19:48:02 a2aff8979fd8: Waiting 19:48:02 6808be2612f2: Waiting 19:48:02 f25807f1079a: Waiting 19:48:02 30dea6a524f1: Waiting 19:48:02 a2d21d5440eb: Download complete 19:48:02 94cc34f8dd06: Verifying Checksum 19:48:02 94cc34f8dd06: Download complete 19:48:02 30dea6a524f1: Download complete 19:48:02 63b65145d645: Verifying Checksum 19:48:02 63b65145d645: Download complete 19:48:02 a2aff8979fd8: Verifying Checksum 19:48:02 a2aff8979fd8: Download complete 19:48:02 63b65145d645: Pull complete 19:48:02 a2d21d5440eb: Pull complete 19:48:02 f25807f1079a: Verifying Checksum 19:48:02 f25807f1079a: Download complete 19:48:03 935e6c44a52c: Verifying Checksum 19:48:03 935e6c44a52c: Download complete 19:48:03 6808be2612f2: Verifying Checksum 19:48:03 6808be2612f2: Download complete 19:48:05 935e6c44a52c: Pull complete 19:48:05 94cc34f8dd06: Pull complete 19:48:06 30dea6a524f1: Pull complete 19:48:06 a2aff8979fd8: Pull complete 19:48:08 6808be2612f2: Pull complete 19:48:09 f25807f1079a: Pull complete 19:48:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:48:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:48:09 ---> 3b553350e43f 19:48:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:48:15 Still waiting to schedule task 19:48:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:48:16 ---> Running in 3f2e028b1c43 19:48:16 Removing intermediate container 3f2e028b1c43 19:48:16 ---> fbe21954ad70 19:48:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:48:16 ---> Running in e4734ff1f8dc 19:48:16 Removing intermediate container e4734ff1f8dc 19:48:16 ---> b71b165f699d 19:48:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:48:16 ---> Running in 8b471fa87c59 19:48:16 Removing intermediate container 8b471fa87c59 19:48:16 ---> 8b555305458a 19:48:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:48:16 ---> Running in 4fc23c52f57e 19:48:16 Removing intermediate container 4fc23c52f57e 19:48:16 ---> 480fdee31f14 19:48:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:48:16 ---> Running in e086a210fa22 19:48:17 Removing intermediate container e086a210fa22 19:48:17 ---> ec7b02ceb41f 19:48:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:17 ---> Running in 734ec3b759b1 19:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:48:17 OK: 265 MiB in 53 packages 19:48:18 Removing intermediate container 734ec3b759b1 19:48:18 ---> d65080ce6c84 19:48:18 Step 9/13 : WORKDIR /device-onvif-camera 19:48:18 ---> Running in f78618f4acd1 19:48:18 Removing intermediate container f78618f4acd1 19:48:18 ---> 263c25c55db8 19:48:18 Step 10/13 : COPY go.mod vendor* ./ 19:48:18 ---> 69d1c1a5e7b1 19:48:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:18 ---> Running in b97b1fe3d505 19:48:50 Removing intermediate container b97b1fe3d505 19:48:50 ---> fd0329190207 19:48:50 Step 12/13 : COPY . . 19:48:50 ---> a46e26505df9 19:48:50 Step 13/13 : RUN ${MAKE} 19:48:50 ---> Running in d436c1e7aabc 19:48:50 noop 19:48:50 Removing intermediate container d436c1e7aabc 19:48:50 ---> 26004d24288c 19:48:50 Successfully built 26004d24288c 19:48:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:51 + docker inspect -f . ci-base-image-x86_64 19:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:51 prd-ubuntu20.04-docker-8c-8g-6237 does not seem to be running inside a container 19:48:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-293 -v /w/workspace/undry_device-onvif-camera_PR-293:/w/workspace/undry_device-onvif-camera_PR-293:rw,z -v /w/workspace/undry_device-onvif-camera_PR-293@tmp:/w/workspace/undry_device-onvif-camera_PR-293@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 ******** ci-base-image-x86_64 cat 19:48:51 $ docker top 626b16d9c63a88bc24fb3927aa27525c6877528eb925312dda717d5ded36550c -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:52 + go version 19:48:52 go version go1.20.2 linux/amd64 [Pipeline] } 19:48:52 $ docker stop --time=1 626b16d9c63a88bc24fb3927aa27525c6877528eb925312dda717d5ded36550c 19:48:53 $ docker rm -f --volumes 626b16d9c63a88bc24fb3927aa27525c6877528eb925312dda717d5ded36550c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:53 + docker inspect -f . ci-base-image-x86_64 19:48:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:53 prd-ubuntu20.04-docker-8c-8g-6237 does not seem to be running inside a container 19:48:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-293 -v /w/workspace/undry_device-onvif-camera_PR-293:/w/workspace/undry_device-onvif-camera_PR-293:rw,z -v /w/workspace/undry_device-onvif-camera_PR-293@tmp:/w/workspace/undry_device-onvif-camera_PR-293@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 ******** ci-base-image-x86_64 cat 19:48:54 $ docker top 2066d0c16b450d82f2b5bac2df4faaaed1a1fa822d8406549238db2937d85c43 -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:54 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-293 [Pipeline] fileExists [Pipeline] sh 19:48:55 + make test 19:48:55 go test ./... -coverprofile=coverage.out ./... 19:49:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:49:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:49:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:49:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.7% of statements 19:49:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.278s coverage: 86.5% of statements 19:49:22 go vet ./... 19:49:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:49:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:49:25 ./bin/test-attribution-txt.sh [Pipeline] echo 19:49:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:49:25 $ docker stop --time=1 2066d0c16b450d82f2b5bac2df4faaaed1a1fa822d8406549238db2937d85c43 19:49:30 $ docker rm -f --volumes 2066d0c16b450d82f2b5bac2df4faaaed1a1fa822d8406549238db2937d85c43 [Pipeline] // withDockerContainer [Pipeline] sh 19:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:49:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:31 + ls -al . 19:49:31 total 232 19:49:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 19:48 . 19:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 .. 19:49:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:47 .git 19:49:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:47 .github 19:49:31 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:47 .gitignore 19:49:31 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:47 .golangci.yml 19:49:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:47 .semver 19:49:31 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:47 Attribution.txt 19:49:31 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:47 CHANGELOG.md 19:49:31 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:47 Dockerfile 19:49:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:47 GOVERNANCE.md 19:49:31 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:47 Jenkinsfile 19:49:31 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:47 LICENSE 19:49:31 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:47 Makefile 19:49:31 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:47 OWNERS.md 19:49:31 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:47 README.md 19:49:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:48 VERSION 19:49:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:47 bin 19:49:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:47 cmd 19:49:31 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:49 coverage.out 19:49:31 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:47 doc 19:49:31 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:47 go.mod 19:49:31 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:47 go.sum 19:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 internal 19:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 snap 19:49:31 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:32 + 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=33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d --label arch=amd64 --label version=0.0.0 . 19:49:32 Sending build context to Docker daemon 27.11MB 19:49:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:49:32 Step 2/26 : FROM ${BASE} AS builder 19:49:32 ---> 26004d24288c 19:49:32 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:49:32 ---> Running in 26aceb2910e4 19:49:32 Removing intermediate container 26aceb2910e4 19:49:32 ---> 35e3aedcb7a2 19:49:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:49:32 ---> Running in aeb2092969f9 19:49:32 Removing intermediate container aeb2092969f9 19:49:32 ---> ecd62170c409 19:49:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:49:32 ---> Running in ca1781ddf322 19:49:32 Removing intermediate container ca1781ddf322 19:49:32 ---> c0c20ebf5c33 19:49:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:49:32 ---> Running in b8216c580124 19:49:32 Removing intermediate container b8216c580124 19:49:32 ---> 4ea69d2ac225 19:49:32 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:49:32 ---> Running in dbf111ac46c8 19:49:32 Removing intermediate container dbf111ac46c8 19:49:32 ---> 5184f86e9a71 19:49:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:32 ---> Running in 75da068d4ac0 19:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:33 OK: 265 MiB in 53 packages 19:49:33 Removing intermediate container 75da068d4ac0 19:49:33 ---> 0c4e74da577e 19:49:33 Step 9/26 : WORKDIR /device-onvif-camera 19:49:34 ---> Running in 8b7c3ece1edb 19:49:34 Removing intermediate container 8b7c3ece1edb 19:49:34 ---> ce9f7aa2ac37 19:49:34 Step 10/26 : COPY go.mod vendor* ./ 19:49:34 ---> 30dc7696ffab 19:49:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:49:34 ---> Running in bdee968cc34b 19:49:35 Removing intermediate container bdee968cc34b 19:49:35 ---> 2689cb48510e 19:49:35 Step 12/26 : COPY . . 19:49:36 ---> 0c40fad47e31 19:49:36 Step 13/26 : RUN ${MAKE} 19:49:36 ---> Running in 26b4d8dccb1a 19:49:36 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:49:58 Removing intermediate container 26b4d8dccb1a 19:49:58 ---> 1a62b80c3154 19:49:58 Step 14/26 : FROM alpine:3.17 19:49:58 3.17: Pulling from library/alpine 19:49:58 f56be85fc22e: Pulling fs layer 19:49:58 f56be85fc22e: Verifying Checksum 19:49:58 f56be85fc22e: Download complete 19:49:58 f56be85fc22e: Pull complete 19:49:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:49:58 Status: Downloaded newer image for alpine:3.17 19:49:58 ---> 9ed4aefc74f6 19:49:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:49:58 ---> Running in f82b08b711cb 19:49:58 Removing intermediate container f82b08b711cb 19:49:58 ---> 816a834a917a 19:49:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:49:58 ---> Running in 69a77464785d 19:49:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:58 (1/1) Installing dumb-init (1.2.5-r2) 19:49:58 Executing busybox-1.35.0-r29.trigger 19:49:58 OK: 7 MiB in 16 packages 19:49:58 Removing intermediate container 69a77464785d 19:49:58 ---> ce863c918744 19:49:58 Step 17/26 : WORKDIR / 19:49:58 ---> Running in 7f7ead73d9da 19:49:58 Removing intermediate container 7f7ead73d9da 19:49:58 ---> 6f17cbc55787 19:49:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:49:59 ---> 935697f81e6d 19:49:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:49:59 ---> 0ae47f9c5a8a 19:49:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:49:59 ---> 18b8afe087c9 19:49:59 Step 21/26 : EXPOSE 59984 19:49:59 ---> Running in f686257d7c9a 19:49:59 Removing intermediate container f686257d7c9a 19:49:59 ---> 62024d36c4e6 19:49:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:49:59 ---> Running in f166ed86b8b8 19:49:59 Removing intermediate container f166ed86b8b8 19:49:59 ---> ca8da3d61284 19:49:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:49:59 ---> Running in 6b95bb37494c 19:49:59 Removing intermediate container 6b95bb37494c 19:49:59 ---> 5045a2040a00 19:49:59 Step 24/26 : LABEL arch=amd64 19:49:59 ---> Running in 06fbbd4a537c 19:49:59 Removing intermediate container 06fbbd4a537c 19:49:59 ---> 555d152c8b69 19:49:59 Step 25/26 : LABEL git_sha=33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d 19:49:59 ---> Running in 5ca62e4820a4 19:49:59 Removing intermediate container 5ca62e4820a4 19:49:59 ---> 9686e37a5346 19:49:59 Step 26/26 : LABEL version=0.0.0 19:49:59 ---> Running in 7acd9d4737f2 19:50:00 Removing intermediate container 7acd9d4737f2 19:50:00 ---> 5f82840173b4 19:50:00 [Warning] One or more build-args [ARCH] were not consumed 19:50:00 Successfully built 5f82840173b4 19:50: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:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:00 19:50:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:01 latest: Pulling from edgex-lftools-log-publisher 19:50:01 5eb5b503b376: Pulling fs layer 19:50:01 5c69ac0246d0: Pulling fs layer 19:50:01 ec43610c2a17: Pulling fs layer 19:50:01 3a2ae6a8a46f: Pulling fs layer 19:50:01 33b1e0a273af: Pulling fs layer 19:50:01 5d3b04190fa2: Pulling fs layer 19:50:01 2f39f015ded8: Pulling fs layer 19:50:01 33b1e0a273af: Waiting 19:50:01 5d3b04190fa2: Waiting 19:50:01 2f39f015ded8: Waiting 19:50:01 3a2ae6a8a46f: Waiting 19:50:01 5c69ac0246d0: Verifying Checksum 19:50:01 5c69ac0246d0: Download complete 19:50:01 3a2ae6a8a46f: Verifying Checksum 19:50:01 3a2ae6a8a46f: Download complete 19:50:01 33b1e0a273af: Verifying Checksum 19:50:01 33b1e0a273af: Download complete 19:50:01 5d3b04190fa2: Download complete 19:50:01 ec43610c2a17: Verifying Checksum 19:50:01 5eb5b503b376: Verifying Checksum 19:50:01 5eb5b503b376: Download complete 19:50:01 2f39f015ded8: Download complete 19:50:02 5eb5b503b376: Pull complete 19:50:02 5c69ac0246d0: Pull complete 19:50:02 ec43610c2a17: Pull complete 19:50:03 3a2ae6a8a46f: Pull complete 19:50:03 33b1e0a273af: Pull complete 19:50:03 5d3b04190fa2: Pull complete 19:50:07 2f39f015ded8: Pull complete 19:50:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:07 prd-ubuntu20.04-docker-8c-8g-6237 does not seem to be running inside a container 19:50: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-293 -v /w/workspace/undry_device-onvif-camera_PR-293:/w/workspace/undry_device-onvif-camera_PR-293:rw,z -v /w/workspace/undry_device-onvif-camera_PR-293@tmp:/w/workspace/undry_device-onvif-camera_PR-293@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:50:11 $ docker top 0f83f52c21676fa8588438f1e556e7039d8f39a72f41956c58c9dea7ae16fc23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:11 ---> job-cost.sh 19:50:11 lf-activate-venv: SKIPPING 19:50:11 INFO: No Stack... 19:50:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:50:12 INFO: Archiving Costs [Pipeline] sh 19:50:12 + cat /w/workspace/undry_device-onvif-camera_PR-293/archives/cost.csv 19:50:12 + cut -d, -f6 [Pipeline] lock 19:50:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] 19:50:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] did not exist. Created. 19:50:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:50:13 + echo total: 0.2199999988079071 [Pipeline] stash 19:50:13 Stashed 1 file(s) [Pipeline] } 19:50:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:50:13 $ docker stop --time=1 0f83f52c21676fa8588438f1e556e7039d8f39a72f41956c58c9dea7ae16fc23 19:50:14 $ docker rm -f --volumes 0f83f52c21676fa8588438f1e556e7039d8f39a72f41956c58c9dea7ae16fc23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:50:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6243 in /w/workspace/undry_device-onvif-camera_PR-293 [Pipeline] { [Pipeline] ws 19:50:49 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 19:50:49 The recommended git tool is: git 19:50:55 using credential edgex-jenkins-ssh 19:50:55 Cloning the remote Git repository 19:50:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:50:55 > git init /w/workspace/device-onvif-camera/2 # timeout=10 19:50:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:50:55 > git --version # timeout=10 19:50:55 > git --version # 'git version 2.25.1' 19:50:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:50:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:51:00 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d 19:50:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:50:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:50:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:51:00 > git config core.sparsecheckout # timeout=10 19:51:00 > git checkout -f 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d # timeout=10 19:51:00 Merge succeeded, producing 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d 19:51:00 Checking out Revision 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d (PR-293) 19:51:02 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 19:51:00 > git remote # timeout=10 19:51:00 > git config --get remote.origin.url # timeout=10 19:51:00 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:00 > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 19:51:00 > git rev-parse HEAD^{commit} # timeout=10 19:51:00 > git config core.sparsecheckout # timeout=10 19:51:01 > git checkout -f 33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:51:02 % Total % Received % Xferd Average Speed Time Time Time Current 19:51:02 Dload Upload Total Spent Left Speed 19:51:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 19:51:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:51:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:51:03 + sudo tee /etc/docker/daemon.new 19:51:03 { 19:51:03 "registry-mirrors": [ 19:51:03 "https://nexus3.edgexfoundry.org:10001" 19:51:03 ], 19:51:03 "bip": "10.250.0.254/24", 19:51:03 "hosts": [ 19:51:03 "tcp://0.0.0.0:5555", 19:51:03 "unix:///var/run/docker.sock" 19:51:03 ], 19:51:03 "mtu": 1458, 19:51:03 "selinux-enabled": true, 19:51:03 "seccomp-profile": "/etc/docker/seccomp.json" 19:51:03 } [Pipeline] sh 19:51:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:51:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:22 provisioning config files... 19:51:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config251865625910666843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:23 ---> docker-login.sh 19:51:23 nexus3.edgexfoundry.org:10001 19:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:23 Configure a credential helper to remove this warning. See 19:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:23 19:51:23 Login Succeeded 19:51:23 nexus3.edgexfoundry.org:10002 19:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:24 Configure a credential helper to remove this warning. See 19:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:24 19:51:24 Login Succeeded 19:51:24 nexus3.edgexfoundry.org:10003 19:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:24 Configure a credential helper to remove this warning. See 19:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:24 19:51:24 Login Succeeded 19:51:24 nexus3.edgexfoundry.org:10004 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:25 Configure a credential helper to remove this warning. See 19:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:25 19:51:25 Login Succeeded 19:51:25 docker.io 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:25 Configure a credential helper to remove this warning. See 19:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:25 19:51:25 Login Succeeded 19:51:25 ---> docker-login.sh ends [Pipeline] } 19:51:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:51:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:25 ========================================================= 19:51:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:51:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:26 + 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:51:26 Sending build context to Docker daemon 19.71MB 19:51:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:51:26 Step 2/13 : FROM ${BASE} AS builder 19:51:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:51:27 af6eaf76a39c: Pulling fs layer 19:51:27 55522c791124: Pulling fs layer 19:51:27 ce5c4a1c91eb: Pulling fs layer 19:51:27 169dfbe0d373: Pulling fs layer 19:51:27 e1ff8fa3b103: Pulling fs layer 19:51:27 52ebb69f0ebf: Pulling fs layer 19:51:27 5abe8eddf0d5: Pulling fs layer 19:51:27 e1ff8fa3b103: Waiting 19:51:27 52ebb69f0ebf: Waiting 19:51:27 5abe8eddf0d5: Waiting 19:51:27 169dfbe0d373: Waiting 19:51:27 55522c791124: Verifying Checksum 19:51:27 55522c791124: Download complete 19:51:27 169dfbe0d373: Verifying Checksum 19:51:27 169dfbe0d373: Download complete 19:51:27 e1ff8fa3b103: Download complete 19:51:27 af6eaf76a39c: Download complete 19:51:28 af6eaf76a39c: Pull complete 19:51:28 5abe8eddf0d5: Verifying Checksum 19:51:28 5abe8eddf0d5: Download complete 19:51:28 55522c791124: Pull complete 19:51:30 52ebb69f0ebf: Verifying Checksum 19:51:30 52ebb69f0ebf: Download complete 19:51:30 ce5c4a1c91eb: Download complete 19:51:42 ce5c4a1c91eb: Pull complete 19:51:42 169dfbe0d373: Pull complete 19:51:42 e1ff8fa3b103: Pull complete 19:51:50 52ebb69f0ebf: Pull complete 19:51:51 5abe8eddf0d5: Pull complete 19:51:51 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:51:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:51:51 ---> 6cb57ee374ae 19:51:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:51:54 ---> Running in 696f8c94c28b 19:51:54 Removing intermediate container 696f8c94c28b 19:51:54 ---> 3cc13849423d 19:51:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:51:54 ---> Running in e29b0595fa2a 19:51:54 Removing intermediate container e29b0595fa2a 19:51:54 ---> 81218332a5e7 19:51:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:51:55 ---> Running in d49be6350d06 19:51:55 Removing intermediate container d49be6350d06 19:51:55 ---> 870e4e4e12b4 19:51:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:51:55 ---> Running in f3472a73fd73 19:51:55 Removing intermediate container f3472a73fd73 19:51:55 ---> 95e7a4c5263a 19:51:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:51:55 ---> Running in 59caf0e7078c 19:51:56 Removing intermediate container 59caf0e7078c 19:51:56 ---> 575831b7a018 19:51:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:56 ---> Running in da04849c573f 19:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:51:59 OK: 263 MiB in 53 packages 19:52:00 Removing intermediate container da04849c573f 19:52:00 ---> c7bb734554d2 19:52:00 Step 9/13 : WORKDIR /device-onvif-camera 19:52:00 ---> Running in 072ce179eb4d 19:52:00 Removing intermediate container 072ce179eb4d 19:52:00 ---> ff857285c9e2 19:52:00 Step 10/13 : COPY go.mod vendor* ./ 19:52:01 ---> 4d5a6dc2a800 19:52:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:01 ---> Running in 63d8b03265ea 19:53:09 Removing intermediate container 63d8b03265ea 19:53:09 ---> 74824b6adcb8 19:53:09 Step 12/13 : COPY . . 19:53:09 ---> b34d60d1ae33 19:53:09 Step 13/13 : RUN ${MAKE} 19:53:09 ---> Running in 6852bb910365 19:53:09 noop 19:53:09 Removing intermediate container 6852bb910365 19:53:09 ---> 146700ca8422 19:53:09 Successfully built 146700ca8422 19:53:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:09 + docker inspect -f . ci-base-image-arm64 19:53:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:09 prd-ubuntu20.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container 19:53:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat 19:53:11 $ docker top 5df331a5fe47af0a6a3b73734c83381be4244c65cec9ed3f538c340ff23924b5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:53:12 + go version 19:53:12 go version go1.20.2 linux/arm64 [Pipeline] } 19:53:12 $ docker stop --time=1 5df331a5fe47af0a6a3b73734c83381be4244c65cec9ed3f538c340ff23924b5 19:53:13 $ docker rm -f --volumes 5df331a5fe47af0a6a3b73734c83381be4244c65cec9ed3f538c340ff23924b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:14 + docker inspect -f . ci-base-image-arm64 19:53:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:14 prd-ubuntu20.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container 19:53:14 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat 19:53:15 $ docker top 17155639642d192d4127855e3b257bd1ca0b8cc2a6e712624385ad0de6dfaf40 -eo pid,comm [Pipeline] { [Pipeline] sh 19:53:16 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 19:53:17 + make test 19:53:17 go test ./... -coverprofile=coverage.out ./... 19:53:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:56:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:56:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:56:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.222s coverage: 31.7% of statements 19:57:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.529s coverage: 86.5% of statements 19:57:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:57:14 go vet ./... 19:57:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:57:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:57:47 ./bin/test-attribution-txt.sh [Pipeline] echo 19:57:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:57:47 $ docker stop --time=1 17155639642d192d4127855e3b257bd1ca0b8cc2a6e712624385ad0de6dfaf40 19:57:49 $ docker rm -f --volumes 17155639642d192d4127855e3b257bd1ca0b8cc2a6e712624385ad0de6dfaf40 [Pipeline] // withDockerContainer [Pipeline] sh 19:57:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:57:51 Warning: overwriting stash ‘coverage-report’ 19:57:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:57:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:57:52 + ls -al . 19:57:52 total 228 19:57:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:53 . 19:57:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:50 .. 19:57:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:51 .git 19:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:51 .github 19:57:52 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:51 .gitignore 19:57:52 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:51 .golangci.yml 19:57:52 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:51 Attribution.txt 19:57:52 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:51 CHANGELOG.md 19:57:52 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:51 Dockerfile 19:57:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:51 GOVERNANCE.md 19:57:52 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:51 Jenkinsfile 19:57:52 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:51 LICENSE 19:57:52 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:51 Makefile 19:57:52 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:51 OWNERS.md 19:57:52 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:51 README.md 19:57:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:48 VERSION 19:57:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:51 bin 19:57:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:51 cmd 19:57:52 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:57 coverage.out 19:57:52 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:51 doc 19:57:52 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:51 go.mod 19:57:52 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:51 go.sum 19:57:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:51 internal 19:57:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:51 snap 19:57:52 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:52 + 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=33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d --label arch=arm64 --label version=0.0.0 . 19:57:53 Sending build context to Docker daemon 19.79MB 19:57:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:57:53 Step 2/26 : FROM ${BASE} AS builder 19:57:53 ---> 146700ca8422 19:57:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:57:53 ---> Running in a6ab34db304b 19:57:54 Removing intermediate container a6ab34db304b 19:57:54 ---> aa8c08a7295e 19:57:54 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:57:54 ---> Running in fd0440c94637 19:57:54 Removing intermediate container fd0440c94637 19:57:54 ---> ee34e434c419 19:57:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:57:54 ---> Running in 678b9f37c91e 19:57:54 Removing intermediate container 678b9f37c91e 19:57:54 ---> 8b2de425ea40 19:57:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:57:54 ---> Running in fee1e9e25804 19:57:55 Removing intermediate container fee1e9e25804 19:57:55 ---> 10c03ec9ce3a 19:57:55 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:57:55 ---> Running in 606fdd2786d0 19:57:55 Removing intermediate container 606fdd2786d0 19:57:55 ---> cc0acd564ebb 19:57:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:57:55 ---> Running in ca684e29ee34 19:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:57:59 OK: 263 MiB in 53 packages 19:58:02 Removing intermediate container ca684e29ee34 19:58:02 ---> f1e22f96a616 19:58:02 Step 9/26 : WORKDIR /device-onvif-camera 19:58:02 ---> Running in be2be4ce6233 19:58:02 Removing intermediate container be2be4ce6233 19:58:02 ---> d30527900322 19:58:02 Step 10/26 : COPY go.mod vendor* ./ 19:58:03 ---> 148bdcdd9d3c 19:58:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:03 ---> Running in a62bc09d44ab 19:58:06 Removing intermediate container a62bc09d44ab 19:58:06 ---> 077bf3850475 19:58:06 Step 12/26 : COPY . . 19:58:07 ---> 9ed341aca75a 19:58:07 Step 13/26 : RUN ${MAKE} 19:58:08 ---> Running in c5a7249777d4 19:58:09 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 20:00:46 Removing intermediate container c5a7249777d4 20:00:46 ---> 073da796cc30 20:00:46 Step 14/26 : FROM alpine:3.17 20:00:46 3.17: Pulling from library/alpine 20:00:46 c41833b44d91: Pulling fs layer 20:00:46 c41833b44d91: Verifying Checksum 20:00:46 c41833b44d91: Download complete 20:00:46 c41833b44d91: Pull complete 20:00:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:00:46 Status: Downloaded newer image for alpine:3.17 20:00:46 ---> 51e60588ff2c 20:00:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:00:46 ---> Running in 0564bb249878 20:00:46 Removing intermediate container 0564bb249878 20:00:46 ---> 7d7d3e35b3c4 20:00:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:00:46 ---> Running in e3b52febd46a 20:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:00:46 (1/1) Installing dumb-init (1.2.5-r2) 20:00:46 Executing busybox-1.35.0-r29.trigger 20:00:46 OK: 8 MiB in 16 packages 20:00:46 Removing intermediate container e3b52febd46a 20:00:46 ---> a79810bbfd91 20:00:46 Step 17/26 : WORKDIR / 20:00:46 ---> Running in d70e61369a20 20:00:46 Removing intermediate container d70e61369a20 20:00:46 ---> 27fce471a7e7 20:00:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:00:46 ---> b6d3330bd337 20:00:46 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:00:46 ---> 9c52c640b61d 20:00:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:00:46 ---> e7f92c1ecd7f 20:00:46 Step 21/26 : EXPOSE 59984 20:00:46 ---> Running in 4a579e8a0193 20:00:46 Removing intermediate container 4a579e8a0193 20:00:46 ---> ad4ae853b7ab 20:00:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:00:46 ---> Running in 6dbb033a9e46 20:00:46 Removing intermediate container 6dbb033a9e46 20:00:46 ---> 0f55948c97fa 20:00:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:00:46 ---> Running in 2f4b43e7c6e8 20:00:46 Removing intermediate container 2f4b43e7c6e8 20:00:46 ---> dcc8c6e8e9fc 20:00:46 Step 24/26 : LABEL arch=arm64 20:00:46 ---> Running in f5f2497fd435 20:00:46 Removing intermediate container f5f2497fd435 20:00:46 ---> 0bc2f12dec36 20:00:46 Step 25/26 : LABEL git_sha=33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d 20:00:46 ---> Running in e2d804081f49 20:00:46 Removing intermediate container e2d804081f49 20:00:46 ---> 8ff2a8ca7568 20:00:46 Step 26/26 : LABEL version=0.0.0 20:00:47 ---> Running in 02834e1975ed 20:00:47 Removing intermediate container 02834e1975ed 20:00:47 ---> 87912528a3d1 20:00:47 [Warning] One or more build-args [ARCH] were not consumed 20:00:47 Successfully built 87912528a3d1 20:00:47 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 20:00:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:47 20:00:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:48 arm64: Pulling from edgex-lftools-log-publisher 20:00:48 8998bd30e6a1: Pulling fs layer 20:00:48 04944245beec: Pulling fs layer 20:00:48 699f458cf7ca: Pulling fs layer 20:00:48 765212b225bb: Pulling fs layer 20:00:48 f23df028b6ca: Pulling fs layer 20:00:48 d65c8cfc05b1: Pulling fs layer 20:00:48 2437ff75d9bd: Pulling fs layer 20:00:48 765212b225bb: Waiting 20:00:48 d65c8cfc05b1: Waiting 20:00:48 f23df028b6ca: Waiting 20:00:48 2437ff75d9bd: Waiting 20:00:48 04944245beec: Verifying Checksum 20:00:48 04944245beec: Download complete 20:00:48 765212b225bb: Verifying Checksum 20:00:48 765212b225bb: Download complete 20:00:48 f23df028b6ca: Verifying Checksum 20:00:48 f23df028b6ca: Download complete 20:00:48 d65c8cfc05b1: Verifying Checksum 20:00:48 d65c8cfc05b1: Download complete 20:00:48 699f458cf7ca: Verifying Checksum 20:00:48 699f458cf7ca: Download complete 20:00:49 8998bd30e6a1: Verifying Checksum 20:00:49 8998bd30e6a1: Download complete 20:00:51 2437ff75d9bd: Verifying Checksum 20:00:51 2437ff75d9bd: Download complete 20:00:53 8998bd30e6a1: Pull complete 20:00:53 04944245beec: Pull complete 20:00:55 699f458cf7ca: Pull complete 20:00:55 765212b225bb: Pull complete 20:00:55 f23df028b6ca: Pull complete 20:00:55 d65c8cfc05b1: Pull complete 20:01:10 2437ff75d9bd: Pull complete 20:01:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:01:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:11 prd-ubuntu20.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container 20:01:11 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:01:13 $ docker top 5d9cc2c93dcad03c5c2139225af26bf48e6658e48d78df7e7aaf8e2e94ea6da3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:14 ---> job-cost.sh 20:01:14 lf-activate-venv: SKIPPING 20:01:14 INFO: No Stack... 20:01:14 INFO: Retrieving Pricing Info for: v3-standard-4 20:01:15 INFO: Archiving Costs [Pipeline] sh 20:01:16 + cut -d, -f6 20:01:16 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 20:01:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] 20:01:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] did not exist. Created. 20:01:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:01:16 /w/workspace/device-onvif-camera/2@tmp/durable-097541e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:01:17 + echo total: 0.10999999940395355 [Pipeline] stash 20:01:17 Warning: overwriting stash ‘stack-cost’ 20:01:17 Stashed 1 file(s) [Pipeline] } 20:01:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-293-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:01:17 $ docker stop --time=1 5d9cc2c93dcad03c5c2139225af26bf48e6658e48d78df7e7aaf8e2e94ea6da3 20:01:19 $ docker rm -f --volumes 5d9cc2c93dcad03c5c2139225af26bf48e6658e48d78df7e7aaf8e2e94ea6da3 [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 20:01:20 provisioning config files... 20:01:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-293@tmp/config2871450332269232287tmp [Pipeline] { [Pipeline] sh 20:01:20 + set +x 20:01:20 + curl -s https://codecov.io/bash 20:01:20 + bash -s -- 20:01:20 20:01:20 _____ _ 20:01:20 / ____| | | 20:01:20 | | ___ __| | ___ ___ _____ __ 20:01:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:01:20 | |___| (_) | (_| | __/ (_| (_) \ V / 20:01:20 \_____\___/ \__,_|\___|\___\___/ \_/ 20:01:20 Bash-1.0.6 20:01:20 20:01:20 20:01:20 ==> git version 2.25.1 found 20:01:20 ==> 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 20:01:20 Release-Date: 2020-01-08 20:01:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:01:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:01:20 ==> Jenkins CI detected. 20:01:20 current dir:  /w/workspace/undry_device-onvif-camera_PR-293 20:01:20 project root: . 20:01:20 --> token set from env 20:01:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:01:20 ==> Running gcov in . (disable via -X gcov) 20:01:20 ==> Python coveragepy not found 20:01:20 ==> Searching for coverage reports in: 20:01:20 + . 20:01:20 -> Found 1 reports 20:01:20 ==> Detecting git/mercurial file structure 20:01:20 ==> Reading reports 20:01:20 + ./coverage.out bytes=78487 20:01:20 ==> Appending adjustments 20:01:20 https://docs.codecov.io/docs/fixing-reports 20:01:20 + Found adjustments 20:01:20 ==> Gzipping contents 20:01:20 12K /tmp/codecov.qCGZty.gz 20:01:20 ==> Uploading reports 20:01:20 url: https://codecov.io 20:01:20 query: branch=PR-293&commit=33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-293%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=293&job=&cmd_args= 20:01:20 -> Pinging Codecov 20:01:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-293&commit=33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-293%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=293&job=&cmd_args= 20:01:20 -> Uploading to 20:01:20 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/F29A59C45E3A92E06B3E522C9905F8EF/33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d/084af7de-1b8f-4f64-a208-62fd39226a73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T200120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=834e7fc16561b4759f34f332e98c841ebf0b347e84c6faef817adf1f1532e1a2 20:01:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:01:20 Dload Upload Total Spent Left Speed 20:01:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 40199 --:--:-- --:--:-- --:--:-- 40199 20:01:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/33b8c63be98cbb4d2b937b5b94c7f3e17ae6dd8d [Pipeline] } 20:01:21 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 20:01:21 + [ -d /w/workspace/undry_device-onvif-camera_PR-293/archives ] 20:01:21 + ls -al /w/workspace/undry_device-onvif-camera_PR-293/archives 20:01:21 total 16 20:01:21 drwxr-xr-x 3 root root 4096 Mar 29 19:50 . 20:01:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. 20:01:21 drwxr-xr-x 2 root root 4096 Mar 29 19:50 cost 20:01:21 -rw-r--r-- 1 root root 91 Mar 29 19:50 cost.csv 20:01:21 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-293/archives 20:01:21 + ls -al /w/workspace/undry_device-onvif-camera_PR-293/archives 20:01:21 total 16 20:01:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:50 . 20:01:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. 20:01:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 19:50 cost 20:01:21 -rw-r--r-- 1 jenkins jenkins 91 Mar 29 19:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:01:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:01:23 ---> package-listing.sh 20:01:23 ++ facter osfamily 20:01:23 ++ tr '[:upper:]' '[:lower:]' 20:01:23 + OS_FAMILY=debian 20:01:23 + workspace=/w/workspace/undry_device-onvif-camera_PR-293 20:01:23 + START_PACKAGES=/tmp/packages_start.txt 20:01:23 + END_PACKAGES=/tmp/packages_end.txt 20:01:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:01:23 + PACKAGES=/tmp/packages_start.txt 20:01:23 + '[' /w/workspace/undry_device-onvif-camera_PR-293 ']' 20:01:23 + PACKAGES=/tmp/packages_end.txt 20:01:23 + case "${OS_FAMILY}" in 20:01:23 + dpkg -l 20:01:23 + grep '^ii' 20:01:23 + '[' -f /tmp/packages_start.txt ']' 20:01:23 + '[' -f /tmp/packages_end.txt ']' 20:01:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:01:23 + '[' /w/workspace/undry_device-onvif-camera_PR-293 ']' 20:01:23 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-293/archives/ 20:01:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-293/archives/ [Pipeline] echo 20:01:23 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-293/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:01:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:01:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:24 prd-ubuntu20.04-docker-8c-8g-6237 does not seem to be running inside a container 20:01:24 $ 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-293/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-293 -v /w/workspace/undry_device-onvif-camera_PR-293:/w/workspace/undry_device-onvif-camera_PR-293:rw,z -v /w/workspace/undry_device-onvif-camera_PR-293@tmp:/w/workspace/undry_device-onvif-camera_PR-293@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:01:24 $ docker top 6679adc06d44f87a9a5109ba6a22c0d45ff771ad576cc13c27ffef8058cac68c -eo pid,comm [Pipeline] { [Pipeline] sh 20:01:24 + touch /tmp/pre-build-complete [Pipeline] sh 20:01:25 + mkdir -p /var/log/sysstat [Pipeline] sh 20:01:25 + ls /var/log/sa-host 20:01:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:25 provisioning config files... 20:01:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-293@tmp/config11977340990966503741tmp [Pipeline] { [Pipeline] echo 20:01:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:01:25 ---> create-netrc.sh [Pipeline] } 20:01:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:01:26 ---> python-tools-install.sh [Pipeline] echo 20:01:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:01:26 ---> sudo-logs.sh 20:01:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:01:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:01:26 ---> job-cost.sh 20:01:26 lf-activate-venv: SKIPPING 20:01:26 DEBUG: total: 0.2199999988079071 20:01:26 INFO: Retrieving Stack Cost... 20:01:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:01:27 INFO: Archiving Costs [Pipeline] echo 20:01:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:01:27 ---> logs-deploy.sh 20:01:27 lf-activate-venv: SKIPPING 20:01:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-293/2 20:01:27 INFO: archiving workspace using pattern(s): 20:01:28 Archives upload complete. 20:01:28 INFO: archiving logs to Nexus