Pull request #270 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 1eee78246ddadf080ca918d3282e63ea352734bf+a0fd57abbf79406ca3a821838202456f9ee8499c (04ba564d7ec895fdd0235527021124626014104b) 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-ssh1235788222689206497.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-ssh555012693113134633.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-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13167959360609835696.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-ssh7044634661820887255.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14854014348538420012.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4361 in /w/workspace/undry_device-onvif-camera_PR-270 [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-270 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0fd57abbf79406ca3a821838202456f9ee8499c into PR head commit 1eee78246ddadf080ca918d3282e63ea352734bf Merge succeeded, producing 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 Checking out Revision 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # 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 a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 # timeout=10 Commit message: "Merge commit 'a0fd57abbf79406ca3a821838202456f9ee8499c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 25d15dfd3305f62475539180c3a1d047e5857bf0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:24:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:24:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:24:59 ========================================================= 08:24:59 EdgeX Global Pipelines Version Info 08:24:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:24:59 ------------------- 08:24:59 stable info: 08:24:59 ------------------- 08:24:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:24:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:24:59 Message: update stable to v1.0.245 08:25:00 ------------------- 08:25:00 experimental info: 08:25:00 ------------------- 08:25:00 Commited By: **** collab-it+edgex@linuxfoundation.org 08:25:00 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 08:25:00 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d7eff4 [Pipeline] echo 08:25:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:25:00 provisioning config files... 08:25:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config15620250605610114247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:01 ---> docker-login.sh 08:25:01 nexus3.edgexfoundry.org:10001 08:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:01 Configure a credential helper to remove this warning. See 08:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:01 08:25:01 Login Succeeded 08:25:01 nexus3.edgexfoundry.org:10002 08:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:01 Configure a credential helper to remove this warning. See 08:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:01 08:25:01 Login Succeeded 08:25:01 nexus3.edgexfoundry.org:10003 08:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:01 Configure a credential helper to remove this warning. See 08:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:01 08:25:01 Login Succeeded 08:25:01 nexus3.edgexfoundry.org:10004 08:25:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:02 Configure a credential helper to remove this warning. See 08:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:02 08:25:02 Login Succeeded 08:25:02 docker.io 08:25:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:02 Configure a credential helper to remove this warning. See 08:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:02 08:25:02 Login Succeeded 08:25:02 ---> docker-login.sh ends [Pipeline] } 08:25:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:25:02 + git rev-list -1 --merges 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3~1..3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 [Pipeline] echo 08:25:02 -----------> git rev-list -1 --merges 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3~1..3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 08:25:02 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 [false] [Pipeline] sh 08:25:03 + git log --format=format:%s -1 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 [Pipeline] echo 08:25:03 ========================================================= 08:25:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:25:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:03 + git log --format=format:%s -1 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 [Pipeline] echo 08:25:03 [semverPrep] GIT_COMMIT: 3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3, Commit Message: Merge commit 'a0fd57abbf79406ca3a821838202456f9ee8499c' into HEAD [Pipeline] echo 08:25:03 [semverPrep] This is not a build commit. [Pipeline] sh 08:25:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:25:03 + grep -v github /etc/ssh/ssh_known_hosts 08:25:03 + [ -e /tmp/ssh_known_hosts ] 08:25:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:25:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:25:03 + sudo tee -a /etc/ssh/ssh_known_hosts 08:25:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:25:04 08:25:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:25:04 0.1.4: Pulling from edgex-devops/py-git-semver 08:25:04 b85a868b505f: Pulling fs layer 08:25:04 e2be974225ed: Pulling fs layer 08:25:04 339a4e72a1f5: Pulling fs layer 08:25:04 988bab9f4d93: Pulling fs layer 08:25:04 1469e6f7b9e6: Pulling fs layer 08:25:04 eaf3925da568: Pulling fs layer 08:25:04 bab4dde63d76: Pulling fs layer 08:25:04 bde34c3a00c8: Pulling fs layer 08:25:04 b352a97aabf1: Pulling fs layer 08:25:04 4872d77fe225: Pulling fs layer 08:25:04 5851b861e8e6: Pulling fs layer 08:25:04 b352a97aabf1: Waiting 08:25:04 1469e6f7b9e6: Waiting 08:25:04 4872d77fe225: Waiting 08:25:04 eaf3925da568: Waiting 08:25:04 5851b861e8e6: Waiting 08:25:04 bde34c3a00c8: Waiting 08:25:04 bab4dde63d76: Waiting 08:25:04 988bab9f4d93: Waiting 08:25:04 e2be974225ed: Verifying Checksum 08:25:04 e2be974225ed: Download complete 08:25:04 988bab9f4d93: Verifying Checksum 08:25:04 988bab9f4d93: Download complete 08:25:04 1469e6f7b9e6: Verifying Checksum 08:25:04 1469e6f7b9e6: Download complete 08:25:04 eaf3925da568: Verifying Checksum 08:25:04 eaf3925da568: Download complete 08:25:04 339a4e72a1f5: Verifying Checksum 08:25:04 bde34c3a00c8: Verifying Checksum 08:25:04 bde34c3a00c8: Download complete 08:25:04 b352a97aabf1: Verifying Checksum 08:25:04 b352a97aabf1: Download complete 08:25:04 4872d77fe225: Verifying Checksum 08:25:04 4872d77fe225: Download complete 08:25:04 5851b861e8e6: Verifying Checksum 08:25:04 5851b861e8e6: Download complete 08:25:04 b85a868b505f: Verifying Checksum 08:25:04 b85a868b505f: Download complete 08:25:04 bab4dde63d76: Verifying Checksum 08:25:04 bab4dde63d76: Download complete 08:25:05 b85a868b505f: Pull complete 08:25:06 e2be974225ed: Pull complete 08:25:06 339a4e72a1f5: Pull complete 08:25:06 988bab9f4d93: Pull complete 08:25:06 1469e6f7b9e6: Pull complete 08:25:06 eaf3925da568: Pull complete 08:25:08 bab4dde63d76: Pull complete 08:25:08 bde34c3a00c8: Pull complete 08:25:08 b352a97aabf1: Pull complete 08:25:08 4872d77fe225: Pull complete 08:25:08 5851b861e8e6: Pull complete 08:25:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:25:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:25:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:08 prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container 08:25:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:25:11 $ docker top 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 -eo pid,comm 08:25:11 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). 08:25:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:25:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:12 [ssh-agent] Looking for ssh-agent implementation... 08:25:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:12 $ docker exec 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 ssh-agent 08:25:12 SSH_AUTH_SOCK=/tmp/ssh-N5qOqFNpuD04/agent.32 08:25:12 SSH_AGENT_PID=38 08:25:12 Running ssh-add (command line suppressed) 08:25:12 Identity added: /w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_12984878253414117696.key (/w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_12984878253414117696.key) 08:25:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:12 + git tag --points-at HEAD [Pipeline] } 08:25:12 $ docker exec --env ******** --env ******** 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 ssh-agent -k 08:25:12 unset SSH_AUTH_SOCK; 08:25:12 unset SSH_AGENT_PID; 08:25:12 echo Agent pid 38 killed; 08:25:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:25:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:12 [ssh-agent] Looking for ssh-agent implementation... 08:25:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:12 $ docker exec 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 ssh-agent 08:25:12 SSH_AUTH_SOCK=/tmp/ssh-JslsjAI11ofq/agent.70 08:25:12 SSH_AGENT_PID=76 08:25:12 Running ssh-add (command line suppressed) 08:25:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_8939548447671462011.key (/w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_8939548447671462011.key) 08:25:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:13 + git semver init 08:25:13 2023-03-17 08:25:13,592 [run_init] DEBUG init version:0.0.0 force:False 08:25:13 2023-03-17 08:25:13,593 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-270/.semver 08:25:13 2023-03-17 08:25:13,593 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-270/.semver 08:25:13 2023-03-17 08:25:13,594 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-270/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-270, universal_newlines=False, shell=None, istream=None) 08:25:14 2023-03-17 08:25:14,496 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-270/.git/info/exclude 08:25:14 2023-03-17 08:25:14,497 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 with force:False 08:25:14 2023-03-17 08:25:14,497 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 08:25:14 2023-03-17 08:25:14,502 [execute] INFO git cat-file --batch-check 08:25:14 2023-03-17 08:25:14,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) 08:25:14 2023-03-17 08:25:14,510 [execute] INFO git cat-file --batch 08:25:14 2023-03-17 08:25:14,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) 08:25:14 2023-03-17 08:25:14,515 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 08:25:14 0.0.0 [Pipeline] } 08:25:14 $ docker exec --env ******** --env ******** 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 ssh-agent -k 08:25:14 unset SSH_AUTH_SOCK; 08:25:14 unset SSH_AGENT_PID; 08:25:14 echo Agent pid 76 killed; 08:25:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:25:15 + git semver [Pipeline] } 08:25:15 $ docker stop --time=1 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 08:25:16 $ docker rm -f --volumes 82f598e55909fb5bd2c1613fc5a1975739c6d7bc582093aa720346f09bda9378 [Pipeline] // withDockerContainer [Pipeline] sh 08:25:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:25:17 Stashed 1 file(s) [Pipeline] echo 08:25:17 [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 08:25:17 provisioning config files... 08:25:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config17254340188474481716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:17 ---> docker-login.sh 08:25:17 nexus3.edgexfoundry.org:10001 08:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:17 Configure a credential helper to remove this warning. See 08:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:17 08:25:17 Login Succeeded 08:25:17 nexus3.edgexfoundry.org:10002 08:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:17 Configure a credential helper to remove this warning. See 08:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:17 08:25:17 Login Succeeded 08:25:17 nexus3.edgexfoundry.org:10003 08:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:17 Configure a credential helper to remove this warning. See 08:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:17 08:25:17 Login Succeeded 08:25:17 nexus3.edgexfoundry.org:10004 08:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:17 Configure a credential helper to remove this warning. See 08:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:17 08:25:17 Login Succeeded 08:25:17 docker.io 08:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:18 Configure a credential helper to remove this warning. See 08:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:18 08:25:18 Login Succeeded 08:25:18 ---> docker-login.sh ends [Pipeline] } 08:25:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:18 ========================================================= 08:25:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:25:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:18 + 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 . 08:25:18 Sending build context to Docker daemon 27.9MB 08:25:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 08:25:18 Step 2/13 : FROM ${BASE} AS builder 08:25:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:25:18 63b65145d645: Pulling fs layer 08:25:18 a2d21d5440eb: Pulling fs layer 08:25:18 935e6c44a52c: Pulling fs layer 08:25:18 94cc34f8dd06: Pulling fs layer 08:25:18 30dea6a524f1: Pulling fs layer 08:25:18 a2aff8979fd8: Pulling fs layer 08:25:18 6808be2612f2: Pulling fs layer 08:25:18 f25807f1079a: Pulling fs layer 08:25:18 6808be2612f2: Waiting 08:25:18 a2aff8979fd8: Waiting 08:25:18 f25807f1079a: Waiting 08:25:18 30dea6a524f1: Waiting 08:25:18 a2d21d5440eb: Download complete 08:25:18 94cc34f8dd06: Verifying Checksum 08:25:18 94cc34f8dd06: Download complete 08:25:18 30dea6a524f1: Verifying Checksum 08:25:18 30dea6a524f1: Download complete 08:25:18 63b65145d645: Verifying Checksum 08:25:18 63b65145d645: Download complete 08:25:18 a2aff8979fd8: Verifying Checksum 08:25:18 a2aff8979fd8: Download complete 08:25:19 63b65145d645: Pull complete 08:25:19 a2d21d5440eb: Pull complete 08:25:19 935e6c44a52c: Verifying Checksum 08:25:19 935e6c44a52c: Download complete 08:25:19 f25807f1079a: Verifying Checksum 08:25:19 f25807f1079a: Download complete 08:25:19 6808be2612f2: Verifying Checksum 08:25:19 6808be2612f2: Download complete 08:25:23 935e6c44a52c: Pull complete 08:25:23 94cc34f8dd06: Pull complete 08:25:23 30dea6a524f1: Pull complete 08:25:23 a2aff8979fd8: Pull complete 08:25:25 6808be2612f2: Pull complete 08:25:25 f25807f1079a: Pull complete 08:25:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:25:25 ---> 3b553350e43f 08:25:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:25:30 ---> Running in 2263e1247f8a 08:25:30 Removing intermediate container 2263e1247f8a 08:25:30 ---> 05019589d481 08:25:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:25:30 ---> Running in 7f87e45f0e6e 08:25:30 Removing intermediate container 7f87e45f0e6e 08:25:30 ---> c4d91bf73130 08:25:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 08:25:30 ---> Running in b86b97c105a9 08:25:30 Removing intermediate container b86b97c105a9 08:25:30 ---> d5421f93b0a6 08:25:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:25:30 ---> Running in 7b51030d365a 08:25:30 Removing intermediate container 7b51030d365a 08:25:30 ---> e8a994092f76 08:25:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 08:25:30 ---> Running in ed3d359400d4 08:25:30 Removing intermediate container ed3d359400d4 08:25:30 ---> a8a36904e8f9 08:25:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:25:30 ---> Running in 57f1a548e93b 08:25:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:25:31 OK: 265 MiB in 53 packages 08:25:31 Removing intermediate container 57f1a548e93b 08:25:31 ---> 62b6bd9d6b0e 08:25:31 Step 9/13 : WORKDIR /device-onvif-camera 08:25:31 ---> Running in d0e1166f8bc3 08:25:31 Removing intermediate container d0e1166f8bc3 08:25:31 ---> e51abd867dc7 08:25:31 Step 10/13 : COPY go.mod vendor* ./ 08:25:31 ---> 76cb53114a73 08:25:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:25:31 ---> Running in 21e08bf075de 08:25:32 Still waiting to schedule task 08:25:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:26:03 Removing intermediate container 21e08bf075de 08:26:03 ---> 677c0b2cffe5 08:26:03 Step 12/13 : COPY . . 08:26:03 ---> c803d02b4c85 08:26:03 Step 13/13 : RUN ${MAKE} 08:26:03 ---> Running in 7807a51745a1 08:26:03 noop 08:26:03 Removing intermediate container 7807a51745a1 08:26:03 ---> 4fb8bc13b06e 08:26:03 Successfully built 4fb8bc13b06e 08:26:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:04 + docker inspect -f . ci-base-image-x86_64 08:26:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:04 prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container 08:26:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:04 $ docker top d840f27001f0206c746a9a761ed7f3cf3ec62c9918ad5d8ba244e05c94bb5e3d -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:05 + go version 08:26:05 go version go1.20.2 linux/amd64 [Pipeline] } 08:26:05 $ docker stop --time=1 d840f27001f0206c746a9a761ed7f3cf3ec62c9918ad5d8ba244e05c94bb5e3d 08:26:06 $ docker rm -f --volumes d840f27001f0206c746a9a761ed7f3cf3ec62c9918ad5d8ba244e05c94bb5e3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:06 + docker inspect -f . ci-base-image-x86_64 08:26:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:06 prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container 08:26:06 $ 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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:07 $ docker top 216068c2f8072b2c81a2601014680e43aacb7b1365f800a0efc12a068680ec77 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-270 [Pipeline] fileExists [Pipeline] sh 08:26:07 + make test 08:26:07 go test ./... -coverprofile=coverage.out ./... 08:26:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:26:25 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:26:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:26:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 30.5% of statements 08:26:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 8.722s coverage: 86.5% of statements 08:26:41 go vet ./... 08:26:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:26:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:26:45 ./bin/test-attribution-txt.sh [Pipeline] echo 08:26:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:26:45 $ docker stop --time=1 216068c2f8072b2c81a2601014680e43aacb7b1365f800a0efc12a068680ec77 08:26:46 $ docker rm -f --volumes 216068c2f8072b2c81a2601014680e43aacb7b1365f800a0efc12a068680ec77 [Pipeline] // withDockerContainer [Pipeline] sh 08:26:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:26:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:26:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:26:48 + ls -al . 08:26:48 total 232 08:26:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 08:26 . 08:26:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:24 .. 08:26:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 08:25 .git 08:26:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:24 .github 08:26:48 -rw-rw-r-- 1 jenkins jenkins 496 Mar 17 08:24 .gitignore 08:26:48 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 08:24 .golangci.yml 08:26:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 08:25 .semver 08:26:48 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 17 08:24 Attribution.txt 08:26:48 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 17 08:24 CHANGELOG.md 08:26:48 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 17 08:24 Dockerfile 08:26:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 08:24 GOVERNANCE.md 08:26:48 -rw-rw-r-- 1 jenkins jenkins 734 Mar 17 08:24 Jenkinsfile 08:26:48 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 17 08:24 LICENSE 08:26:48 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 17 08:24 Makefile 08:26:48 -rw-rw-r-- 1 jenkins jenkins 625 Mar 17 08:24 OWNERS.md 08:26:48 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 17 08:24 README.md 08:26:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 08:25 VERSION 08:26:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 08:24 bin 08:26:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:24 cmd 08:26:48 -rw-r--r-- 1 jenkins jenkins 76650 Mar 17 08:26 coverage.out 08:26:48 drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 08:24 doc 08:26:48 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 17 08:24 go.mod 08:26:48 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 17 08:24 go.sum 08:26:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:24 internal 08:26:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:24 snap 08:26:48 -rw-rw-r-- 1 jenkins jenkins 236 Mar 17 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:48 + 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=3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 --label arch=amd64 --label version=0.0.0 . 08:26:48 Sending build context to Docker daemon 27.98MB 08:26:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:26:48 Step 2/26 : FROM ${BASE} AS builder 08:26:48 ---> 4fb8bc13b06e 08:26:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:26:49 ---> Running in 2c89b80b312a 08:26:49 Removing intermediate container 2c89b80b312a 08:26:49 ---> b2717a328f6b 08:26:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:26:49 ---> Running in e25b4ead0aa4 08:26:49 Removing intermediate container e25b4ead0aa4 08:26:49 ---> 0c6ce0caa8df 08:26:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 08:26:49 ---> Running in f9c007859da7 08:26:49 Removing intermediate container f9c007859da7 08:26:49 ---> f36088bb0a09 08:26:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:26:49 ---> Running in 57f6fb442f76 08:26:49 Removing intermediate container 57f6fb442f76 08:26:49 ---> 66f00b67a772 08:26:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 08:26:49 ---> Running in a4e7b4a78b5a 08:26:49 Removing intermediate container a4e7b4a78b5a 08:26:49 ---> dbb83725c589 08:26:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:26:49 ---> Running in e8d5b1c5a201 08:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:26:50 OK: 265 MiB in 53 packages 08:26:50 Removing intermediate container e8d5b1c5a201 08:26:50 ---> 48048725a345 08:26:50 Step 9/26 : WORKDIR /device-onvif-camera 08:26:50 ---> Running in e1b42a2248a5 08:26:50 Removing intermediate container e1b42a2248a5 08:26:50 ---> 3839adfefa84 08:26:50 Step 10/26 : COPY go.mod vendor* ./ 08:26:50 ---> b0366caf750c 08:26:50 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:50 ---> Running in 205be6c93d56 08:26:51 Removing intermediate container 205be6c93d56 08:26:51 ---> fc1d459473ab 08:26:51 Step 12/26 : COPY . . 08:26:52 ---> d7a4022392ac 08:26:52 Step 13/26 : RUN ${MAKE} 08:26:52 ---> Running in 4f3cdf653dbb 08:26:52 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 08:27:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4362 in /w/workspace/undry_device-onvif-camera_PR-270 [Pipeline] { [Pipeline] ws 08:27:08 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 08:27:08 The recommended git tool is: git 08:27:13 using credential edgex-jenkins-ssh 08:27:13 Cloning the remote Git repository 08:27:13 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:27:13 > git init /w/workspace/device-onvif-camera/3 # timeout=10 08:27:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:27:13 > git --version # timeout=10 08:27:13 > git --version # 'git version 2.25.1' 08:27:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:14 Removing intermediate container 4f3cdf653dbb 08:27:14 ---> 921b7bf867f5 08:27:14 Step 14/26 : FROM alpine:3.17 08:27:14 3.17: Pulling from library/alpine 08:27:14 63b65145d645: Already exists 08:27:14 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:27:14 Status: Downloaded newer image for alpine:3.17 08:27:14 ---> b2aa39c304c2 08:27:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:27:14 ---> Running in 1c10eed074ed 08:27:14 Removing intermediate container 1c10eed074ed 08:27:14 ---> 9fca139f6db1 08:27:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:27:14 ---> Running in 87884f6a2729 08:27:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:27:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:27:14 (1/1) Installing dumb-init (1.2.5-r2) 08:27:14 Executing busybox-1.35.0-r29.trigger 08:27:14 OK: 7 MiB in 16 packages 08:27:15 Removing intermediate container 87884f6a2729 08:27:15 ---> 40609a362073 08:27:15 Step 17/26 : WORKDIR / 08:27:15 ---> Running in 4c2d4bbe9b2d 08:27:15 Removing intermediate container 4c2d4bbe9b2d 08:27:15 ---> d04a2fe4db69 08:27:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:27:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:27:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:16 ---> a71755df682b 08:27:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:27:16 ---> 385d06fc2fe0 08:27:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:27:16 ---> d5b552b4af30 08:27:16 Step 21/26 : EXPOSE 59984 08:27:16 Merging remotes/origin/main commit a0fd57abbf79406ca3a821838202456f9ee8499c into PR head commit 1eee78246ddadf080ca918d3282e63ea352734bf 08:27:16 ---> Running in 48abedc3aab7 08:27:16 Removing intermediate container 48abedc3aab7 08:27:16 ---> 43923e0ce226 08:27:16 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:27:16 ---> Running in 576ac5941b5b 08:27:16 Removing intermediate container 576ac5941b5b 08:27:16 ---> 9158a8fc826d 08:27:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:27:16 ---> Running in 68fa7760b7c3 08:27:17 Removing intermediate container 68fa7760b7c3 08:27:17 ---> 4b071cb12b92 08:27:17 Step 24/26 : LABEL arch=amd64 08:27:17 ---> Running in af4611112d6e 08:27:17 Removing intermediate container af4611112d6e 08:27:17 ---> f8039231f6d8 08:27:17 Step 25/26 : LABEL git_sha=3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 08:27:17 ---> Running in ca8e6adfe760 08:27:17 Removing intermediate container ca8e6adfe760 08:27:17 ---> 56f41bc886e3 08:27:17 Step 26/26 : LABEL version=0.0.0 08:27:17 ---> Running in c21990e7ac59 08:27:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:27:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:27:16 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:27:16 > git config core.sparsecheckout # timeout=10 08:27:16 > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 08:27:17 > git remote # timeout=10 08:27:17 > git config --get remote.origin.url # timeout=10 08:27:17 Removing intermediate container c21990e7ac59 08:27:17 ---> f30001a6a1e8 08:27:17 [Warning] One or more build-args [ARCH] were not consumed 08:27:17 Successfully built f30001a6a1e8 08:27:17 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 08:27:17 Merge succeeded, producing fd1f97a46bf93b775b5bd8d2019fe8f9fd690b19 08:27:17 Checking out Revision fd1f97a46bf93b775b5bd8d2019fe8f9fd690b19 (PR-270) 08:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:17 08:27:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:18 latest: Pulling from edgex-lftools-log-publisher 08:27:18 5eb5b503b376: Pulling fs layer 08:27:18 5c69ac0246d0: Pulling fs layer 08:27:18 ec43610c2a17: Pulling fs layer 08:27:18 3a2ae6a8a46f: Pulling fs layer 08:27:18 33b1e0a273af: Pulling fs layer 08:27:18 5d3b04190fa2: Pulling fs layer 08:27:18 2f39f015ded8: Pulling fs layer 08:27:18 3a2ae6a8a46f: Waiting 08:27:18 33b1e0a273af: Waiting 08:27:18 2f39f015ded8: Waiting 08:27:18 5d3b04190fa2: Waiting 08:27:18 5c69ac0246d0: Verifying Checksum 08:27:18 5c69ac0246d0: Download complete 08:27:18 3a2ae6a8a46f: Verifying Checksum 08:27:18 3a2ae6a8a46f: Download complete 08:27:18 33b1e0a273af: Verifying Checksum 08:27:18 33b1e0a273af: Download complete 08:27:18 5d3b04190fa2: Download complete 08:27:18 ec43610c2a17: Verifying Checksum 08:27:18 ec43610c2a17: Download complete 08:27:18 5eb5b503b376: Verifying Checksum 08:27:18 5eb5b503b376: Download complete 08:27:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:17 > git merge a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 08:27:17 > git rev-parse HEAD^{commit} # timeout=10 08:27:17 > git config core.sparsecheckout # timeout=10 08:27:17 > git checkout -f fd1f97a46bf93b775b5bd8d2019fe8f9fd690b19 # timeout=10 08:27:18 2f39f015ded8: Download complete 08:27:19 5eb5b503b376: Pull complete 08:27:19 5c69ac0246d0: Pull complete 08:27:19 ec43610c2a17: Pull complete 08:27:20 3a2ae6a8a46f: Pull complete 08:27:20 33b1e0a273af: Pull complete 08:27:20 5d3b04190fa2: Pull complete 08:27:21 Commit message: "Merge commit 'a0fd57abbf79406ca3a821838202456f9ee8499c' into HEAD" 08:27:21 First time build. Skipping changelog. 08:27:21 > git rev-list --no-walk 25d15dfd3305f62475539180c3a1d047e5857bf0 # timeout=10 08:27:21 08:27:21 GitHub has been notified of this commit’s build result 08:27:21 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:27:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:27:22 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:22 Dload Upload Total Spent Left Speed 08:27:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 08:27:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:27:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:27:22 + sudo tee /etc/docker/daemon.new 08:27:22 { 08:27:22 "registry-mirrors": [ 08:27:22 "https://nexus3.edgexfoundry.org:10001" 08:27:22 ], 08:27:22 "bip": "10.250.0.254/24", 08:27:22 "hosts": [ 08:27:22 "tcp://0.0.0.0:5555", 08:27:22 "unix:///var/run/docker.sock" 08:27:22 ], 08:27:22 "mtu": 1458, 08:27:22 "selinux-enabled": true, 08:27:22 "seccomp-profile": "/etc/docker/seccomp.json" 08:27:22 } [Pipeline] sh 08:27:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:27:23 + sudo service docker restart 08:27:24 2f39f015ded8: Pull complete 08:27:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:27:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:24 prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container 08:27:24 $ 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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:27:28 $ docker top f2ee42f3256678022a050e45d6fe9c8a1c3ebf67c4ba864edbd0da0cda5f6faf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:29 ---> job-cost.sh 08:27:29 lf-activate-venv: SKIPPING 08:27:29 INFO: No Stack... 08:27:29 INFO: Retrieving Pricing Info for: v3-standard-8 08:27:29 INFO: Archiving Costs [Pipeline] sh 08:27:29 + cat /w/workspace/undry_device-onvif-camera_PR-270/archives/cost.csv 08:27:29 + cut -d, -f6 [Pipeline] lock 08:27:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] 08:27:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] did not exist. Created. 08:27:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:30 + echo total: 0.2199999988079071 [Pipeline] stash 08:27:30 Stashed 1 file(s) [Pipeline] } 08:27:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:27:30 $ docker stop --time=1 f2ee42f3256678022a050e45d6fe9c8a1c3ebf67c4ba864edbd0da0cda5f6faf 08:27:31 $ docker rm -f --volumes f2ee42f3256678022a050e45d6fe9c8a1c3ebf67c4ba864edbd0da0cda5f6faf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:41 provisioning config files... 08:27:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config12807691336918160307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:42 ---> docker-login.sh 08:27:42 nexus3.edgexfoundry.org:10001 08:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:42 Configure a credential helper to remove this warning. See 08:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:42 08:27:42 Login Succeeded 08:27:42 nexus3.edgexfoundry.org:10002 08:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:43 Configure a credential helper to remove this warning. See 08:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:43 08:27:43 Login Succeeded 08:27:43 nexus3.edgexfoundry.org:10003 08:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:43 Configure a credential helper to remove this warning. See 08:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:43 08:27:43 Login Succeeded 08:27:43 nexus3.edgexfoundry.org:10004 08:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:43 Configure a credential helper to remove this warning. See 08:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:43 08:27:43 Login Succeeded 08:27:43 docker.io 08:27:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:27:44 Configure a credential helper to remove this warning. See 08:27:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:27:44 08:27:44 Login Succeeded 08:27:44 ---> docker-login.sh ends [Pipeline] } 08:27:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:27:44 ========================================================= 08:27:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:27:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:45 + 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 . 08:27:45 Sending build context to Docker daemon 20.64MB 08:27:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 08:27:45 Step 2/13 : FROM ${BASE} AS builder 08:27:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:27:46 af6eaf76a39c: Pulling fs layer 08:27:46 55522c791124: Pulling fs layer 08:27:46 ce5c4a1c91eb: Pulling fs layer 08:27:46 169dfbe0d373: Pulling fs layer 08:27:46 e1ff8fa3b103: Pulling fs layer 08:27:46 52ebb69f0ebf: Pulling fs layer 08:27:46 5abe8eddf0d5: Pulling fs layer 08:27:46 e1ff8fa3b103: Waiting 08:27:46 52ebb69f0ebf: Waiting 08:27:46 169dfbe0d373: Waiting 08:27:46 5abe8eddf0d5: Waiting 08:27:46 55522c791124: Verifying Checksum 08:27:46 55522c791124: Download complete 08:27:46 169dfbe0d373: Verifying Checksum 08:27:46 169dfbe0d373: Download complete 08:27:46 e1ff8fa3b103: Verifying Checksum 08:27:46 e1ff8fa3b103: Download complete 08:27:46 af6eaf76a39c: Verifying Checksum 08:27:47 af6eaf76a39c: Pull complete 08:27:47 5abe8eddf0d5: Verifying Checksum 08:27:47 5abe8eddf0d5: Download complete 08:27:47 55522c791124: Pull complete 08:27:48 ce5c4a1c91eb: Download complete 08:27:48 52ebb69f0ebf: Verifying Checksum 08:27:48 52ebb69f0ebf: Download complete 08:28:01 ce5c4a1c91eb: Pull complete 08:28:01 169dfbe0d373: Pull complete 08:28:01 e1ff8fa3b103: Pull complete 08:28:06 52ebb69f0ebf: Pull complete 08:28:08 5abe8eddf0d5: Pull complete 08:28:08 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:28:08 ---> 6cb57ee374ae 08:28:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:28:09 ---> Running in 86c2a2bed714 08:28:10 Removing intermediate container 86c2a2bed714 08:28:10 ---> f21924f05451 08:28:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:28:10 ---> Running in 4c782308dc5a 08:28:10 Removing intermediate container 4c782308dc5a 08:28:10 ---> 2f7d106d9839 08:28:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 08:28:10 ---> Running in c17e775ba38f 08:28:10 Removing intermediate container c17e775ba38f 08:28:10 ---> 68bc253adf32 08:28:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:28:11 ---> Running in ea4ea01712bb 08:28:11 Removing intermediate container ea4ea01712bb 08:28:11 ---> daac9fd93c68 08:28:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 08:28:11 ---> Running in 03e28eab58a0 08:28:11 Removing intermediate container 03e28eab58a0 08:28:11 ---> 081a94264019 08:28:11 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:28:11 ---> Running in 79a88918703b 08:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:28:14 OK: 263 MiB in 53 packages 08:28:15 Removing intermediate container 79a88918703b 08:28:15 ---> 5bdd5b1955b0 08:28:15 Step 9/13 : WORKDIR /device-onvif-camera 08:28:15 ---> Running in e34b8c6aa220 08:28:15 Removing intermediate container e34b8c6aa220 08:28:15 ---> 68f4199b1be9 08:28:15 Step 10/13 : COPY go.mod vendor* ./ 08:28:16 ---> 0724f693bb80 08:28:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:28:16 ---> Running in f0df95e9736d 08:29:24 Removing intermediate container f0df95e9736d 08:29:24 ---> 86bbe61b2d7a 08:29:24 Step 12/13 : COPY . . 08:29:24 ---> d49f0b30f3b2 08:29:24 Step 13/13 : RUN ${MAKE} 08:29:24 ---> Running in cc0fbe3dde81 08:29:24 noop 08:29:24 Removing intermediate container cc0fbe3dde81 08:29:24 ---> 31e543c27c38 08:29:24 Successfully built 31e543c27c38 08:29:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:24 + docker inspect -f . ci-base-image-arm64 08:29:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:24 prd-ubuntu20.04-docker-arm64-4c-16g-4362 does not seem to be running inside a container 08:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:29:26 $ docker top 4aa0e6ef1673c947d1f1b20e191351475deeca4e255858596818b331e0d60eba -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:26 + go version 08:29:26 go version go1.20.2 linux/arm64 [Pipeline] } 08:29:27 $ docker stop --time=1 4aa0e6ef1673c947d1f1b20e191351475deeca4e255858596818b331e0d60eba 08:29:29 $ docker rm -f --volumes 4aa0e6ef1673c947d1f1b20e191351475deeca4e255858596818b331e0d60eba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:29 + docker inspect -f . ci-base-image-arm64 08:29:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:30 prd-ubuntu20.04-docker-arm64-4c-16g-4362 does not seem to be running inside a container 08:29:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:29:31 $ docker top ffa2b5118acefbb04f781149f23bdd8961b0e163eb6c05239ea827676f786860 -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:31 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 08:29:32 + make test 08:29:32 go test ./... -coverprofile=coverage.out ./... 08:30:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:32:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:32:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:32:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.210s coverage: 30.5% of statements 08:32:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.780s coverage: 86.5% of statements 08:32:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:32:27 go vet ./... 08:32:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:32:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:32:59 ./bin/test-attribution-txt.sh [Pipeline] echo 08:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:32:59 $ docker stop --time=1 ffa2b5118acefbb04f781149f23bdd8961b0e163eb6c05239ea827676f786860 08:33:01 $ docker rm -f --volumes ffa2b5118acefbb04f781149f23bdd8961b0e163eb6c05239ea827676f786860 [Pipeline] // withDockerContainer [Pipeline] sh 08:33:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:02 Warning: overwriting stash ‘coverage-report’ 08:33:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:04 + ls -al . 08:33:04 total 228 08:33:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 08:29 . 08:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:27 .. 08:33:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 08:27 .git 08:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:27 .github 08:33:04 -rw-rw-r-- 1 jenkins jenkins 496 Mar 17 08:27 .gitignore 08:33:04 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 08:27 .golangci.yml 08:33:04 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 17 08:27 Attribution.txt 08:33:04 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 17 08:27 CHANGELOG.md 08:33:04 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 17 08:27 Dockerfile 08:33:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 08:27 GOVERNANCE.md 08:33:04 -rw-rw-r-- 1 jenkins jenkins 734 Mar 17 08:27 Jenkinsfile 08:33:04 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 17 08:27 LICENSE 08:33:04 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 17 08:27 Makefile 08:33:04 -rw-rw-r-- 1 jenkins jenkins 625 Mar 17 08:27 OWNERS.md 08:33:04 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 17 08:27 README.md 08:33:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 08:25 VERSION 08:33:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 08:27 bin 08:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:27 cmd 08:33:04 -rw-r--r-- 1 jenkins jenkins 76650 Mar 17 08:32 coverage.out 08:33:04 drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 08:27 doc 08:33:04 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 17 08:27 go.mod 08:33:04 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 17 08:27 go.sum 08:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:27 internal 08:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:27 snap 08:33:04 -rw-rw-r-- 1 jenkins jenkins 236 Mar 17 08:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:04 + 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=fd1f97a46bf93b775b5bd8d2019fe8f9fd690b19 --label arch=arm64 --label version=0.0.0 . 08:33:04 Sending build context to Docker daemon 20.72MB 08:33:04 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:33:04 Step 2/26 : FROM ${BASE} AS builder 08:33:04 ---> 31e543c27c38 08:33:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:33:05 ---> Running in 7a21783859a1 08:33:05 Removing intermediate container 7a21783859a1 08:33:05 ---> 3219d1413850 08:33:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:33:05 ---> Running in f209301e6f59 08:33:05 Removing intermediate container f209301e6f59 08:33:05 ---> a0fa6a252681 08:33:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 08:33:06 ---> Running in e273b84fbd20 08:33:06 Removing intermediate container e273b84fbd20 08:33:06 ---> 604d5b8f074c 08:33:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:33:06 ---> Running in e5167c126d3a 08:33:06 Removing intermediate container e5167c126d3a 08:33:06 ---> 81c7f98fc5cb 08:33:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 08:33:06 ---> Running in d4c2c103bba0 08:33:06 Removing intermediate container d4c2c103bba0 08:33:06 ---> cbc38ba19121 08:33:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:33:07 ---> Running in 725baa0a685c 08:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:33:09 OK: 263 MiB in 53 packages 08:33:10 Removing intermediate container 725baa0a685c 08:33:10 ---> c9e219158930 08:33:10 Step 9/26 : WORKDIR /device-onvif-camera 08:33:10 ---> Running in c2f778054309 08:33:10 Removing intermediate container c2f778054309 08:33:10 ---> e93d232fce6b 08:33:10 Step 10/26 : COPY go.mod vendor* ./ 08:33:11 ---> 23e27b0ad443 08:33:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:33:11 ---> Running in 9c1ef6c789a3 08:33:15 Removing intermediate container 9c1ef6c789a3 08:33:15 ---> ecdadba25f92 08:33:15 Step 12/26 : COPY . . 08:33:16 ---> 211489b3ef7e 08:33:16 Step 13/26 : RUN ${MAKE} 08:33:16 ---> Running in 1d3fa664dd62 08:33:18 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 08:35:54 Removing intermediate container 1d3fa664dd62 08:35:54 ---> 94df42f94391 08:35:54 Step 14/26 : FROM alpine:3.17 08:35:54 3.17: Pulling from library/alpine 08:35:54 af6eaf76a39c: Already exists 08:35:54 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:35:54 Status: Downloaded newer image for alpine:3.17 08:35:54 ---> d74e625d9115 08:35:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:35:54 ---> Running in 73ffd1e1369d 08:35:54 Removing intermediate container 73ffd1e1369d 08:35:54 ---> e139d58ee580 08:35:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:35:54 ---> Running in 75d67d131a4a 08:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:35:56 (1/1) Installing dumb-init (1.2.5-r2) 08:35:56 Executing busybox-1.35.0-r29.trigger 08:35:56 OK: 8 MiB in 16 packages 08:35:57 Removing intermediate container 75d67d131a4a 08:35:57 ---> 37a1ba4a5afa 08:35:57 Step 17/26 : WORKDIR / 08:35:57 ---> Running in 158dc1d1fd83 08:35:57 Removing intermediate container 158dc1d1fd83 08:35:57 ---> c43e6ee6c53c 08:35:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:35:59 ---> ca2bb98d187d 08:35:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:36:01 ---> 729fb1e87c5b 08:36:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:36:02 ---> 82d4f844cedb 08:36:02 Step 21/26 : EXPOSE 59984 08:36:02 ---> Running in 06cb54c43e66 08:36:02 Removing intermediate container 06cb54c43e66 08:36:02 ---> a946c2527702 08:36:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:36:02 ---> Running in ce6d1bc2d955 08:36:02 Removing intermediate container ce6d1bc2d955 08:36:02 ---> 9b2105501aef 08:36:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:36:03 ---> Running in 01d03311d72d 08:36:03 Removing intermediate container 01d03311d72d 08:36:03 ---> e0ee2cc0970c 08:36:03 Step 24/26 : LABEL arch=arm64 08:36:03 ---> Running in 7c19ae1666f8 08:36:03 Removing intermediate container 7c19ae1666f8 08:36:03 ---> 6731c31139a8 08:36:03 Step 25/26 : LABEL git_sha=fd1f97a46bf93b775b5bd8d2019fe8f9fd690b19 08:36:03 ---> Running in 162528256f1c 08:36:04 Removing intermediate container 162528256f1c 08:36:04 ---> 81d39a4bf80b 08:36:04 Step 26/26 : LABEL version=0.0.0 08:36:04 ---> Running in d319f4254e06 08:36:04 Removing intermediate container d319f4254e06 08:36:04 ---> de9f4d6958ad 08:36:04 [Warning] One or more build-args [ARCH] were not consumed 08:36:04 Successfully built de9f4d6958ad 08:36:04 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:04 08:36:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:05 arm64: Pulling from edgex-lftools-log-publisher 08:36:05 8998bd30e6a1: Pulling fs layer 08:36:05 04944245beec: Pulling fs layer 08:36:05 699f458cf7ca: Pulling fs layer 08:36:05 765212b225bb: Pulling fs layer 08:36:05 f23df028b6ca: Pulling fs layer 08:36:05 d65c8cfc05b1: Pulling fs layer 08:36:05 2437ff75d9bd: Pulling fs layer 08:36:05 765212b225bb: Waiting 08:36:05 f23df028b6ca: Waiting 08:36:05 d65c8cfc05b1: Waiting 08:36:05 2437ff75d9bd: Waiting 08:36:05 04944245beec: Verifying Checksum 08:36:05 04944245beec: Download complete 08:36:05 765212b225bb: Verifying Checksum 08:36:05 765212b225bb: Download complete 08:36:05 f23df028b6ca: Verifying Checksum 08:36:05 f23df028b6ca: Download complete 08:36:05 d65c8cfc05b1: Verifying Checksum 08:36:05 d65c8cfc05b1: Download complete 08:36:05 699f458cf7ca: Verifying Checksum 08:36:05 699f458cf7ca: Download complete 08:36:06 8998bd30e6a1: Verifying Checksum 08:36:06 8998bd30e6a1: Download complete 08:36:08 2437ff75d9bd: Verifying Checksum 08:36:08 2437ff75d9bd: Download complete 08:36:10 8998bd30e6a1: Pull complete 08:36:10 04944245beec: Pull complete 08:36:12 699f458cf7ca: Pull complete 08:36:12 765212b225bb: Pull complete 08:36:13 f23df028b6ca: Pull complete 08:36:13 d65c8cfc05b1: Pull complete 08:36:28 2437ff75d9bd: Pull complete 08:36:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:28 prd-ubuntu20.04-docker-arm64-4c-16g-4362 does not seem to be running inside a container 08:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:36:31 $ docker top b11ebd0254bfe3d3b6fea8ca47f545473a0490ab5dc77f78e253b9c1ab2f74bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:32 ---> job-cost.sh 08:36:32 lf-activate-venv: SKIPPING 08:36:32 INFO: No Stack... 08:36:32 INFO: Retrieving Pricing Info for: v3-standard-4 08:36:33 INFO: Archiving Costs [Pipeline] sh 08:36:34 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 08:36:34 + cut -d, -f6 [Pipeline] lock 08:36:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] 08:36:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] did not exist. Created. 08:36:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:36:35 /w/workspace/device-onvif-camera/3@tmp/durable-a321dfe1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:36:35 + echo total: 0.10999999940395355 [Pipeline] stash 08:36:35 Warning: overwriting stash ‘stack-cost’ 08:36:35 Stashed 1 file(s) [Pipeline] } 08:36:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:36:35 $ docker stop --time=1 b11ebd0254bfe3d3b6fea8ca47f545473a0490ab5dc77f78e253b9c1ab2f74bc 08:36:37 $ docker rm -f --volumes b11ebd0254bfe3d3b6fea8ca47f545473a0490ab5dc77f78e253b9c1ab2f74bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:36:37 provisioning config files... 08:36:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config12009685374291706451tmp [Pipeline] { [Pipeline] sh 08:36:38 + set +x 08:36:38 + curl -s https://codecov.io/bash 08:36:38 + bash -s -- 08:36:38 08:36:38 _____ _ 08:36:38 / ____| | | 08:36:38 | | ___ __| | ___ ___ _____ __ 08:36:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:36:38 | |___| (_) | (_| | __/ (_| (_) \ V / 08:36:38 \_____\___/ \__,_|\___|\___\___/ \_/ 08:36:38 Bash-1.0.6 08:36:38 08:36:38 08:36:38 ==> git version 2.25.1 found 08:36:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:36:38 Release-Date: 2020-01-08 08:36:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:36:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:36:38 ==> Jenkins CI detected. 08:36:38 current dir:  /w/workspace/undry_device-onvif-camera_PR-270 08:36:38 project root: . 08:36:38 --> token set from env 08:36:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:36:38 ==> Running gcov in . (disable via -X gcov) 08:36:38 ==> Python coveragepy not found 08:36:38 ==> Searching for coverage reports in: 08:36:38 + . 08:36:38 -> Found 1 reports 08:36:38 ==> Detecting git/mercurial file structure 08:36:38 ==> Reading reports 08:36:38 + ./coverage.out bytes=76650 08:36:38 ==> Appending adjustments 08:36:38 https://docs.codecov.io/docs/fixing-reports 08:36:38 + Found adjustments 08:36:38 ==> Gzipping contents 08:36:38 12K /tmp/codecov.4Ub8M2.gz 08:36:38 ==> Uploading reports 08:36:38 url: https://codecov.io 08:36:38 query: branch=PR-270&commit=3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-270%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=270&job=&cmd_args= 08:36:38 -> Pinging Codecov 08:36:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-270&commit=3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-270%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=270&job=&cmd_args= 08:36:38 -> Uploading to 08:36:38 https://storage.googleapis.com/codecov/v4/raw/2023-03-17/F29A59C45E3A92E06B3E522C9905F8EF/3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3/24f5ea27-694c-4a4d-ab8a-2cb3a655cd1a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T083638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67f58a58e22c061842b9a14ff2cc1921477dd2f87d1676a6df1150de038807a5 08:36:38 % Total % Received % Xferd Average Speed Time Time Time Current 08:36:38 Dload Upload Total Spent Left Speed 08:36:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10357 0 0 100 10357 0 51019 --:--:-- --:--:-- --:--:-- 50769 100 10357 0 0 100 10357 0 44072 --:--:-- --:--:-- --:--:-- 43885 08:36:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3d7eff4c393ae2c0ffbc09852249ae6e2ea403f3 [Pipeline] } 08:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:36:39 + [ -d /w/workspace/undry_device-onvif-camera_PR-270/archives ] 08:36:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-270/archives 08:36:39 total 16 08:36:39 drwxr-xr-x 3 root root 4096 Mar 17 08:27 . 08:36:39 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 08:27 .. 08:36:39 drwxr-xr-x 2 root root 4096 Mar 17 08:27 cost 08:36:39 -rw-r--r-- 1 root root 91 Mar 17 08:27 cost.csv 08:36:39 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-270/archives 08:36:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-270/archives 08:36:39 total 16 08:36:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 08:27 . 08:36:39 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 08:27 .. 08:36:39 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 08:27 cost 08:36:39 -rw-r--r-- 1 jenkins jenkins 91 Mar 17 08:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:36:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:36:40 ---> package-listing.sh 08:36:40 ++ facter osfamily 08:36:40 ++ tr '[:upper:]' '[:lower:]' 08:36:40 + OS_FAMILY=debian 08:36:40 + workspace=/w/workspace/undry_device-onvif-camera_PR-270 08:36:40 + START_PACKAGES=/tmp/packages_start.txt 08:36:40 + END_PACKAGES=/tmp/packages_end.txt 08:36:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:36:40 + PACKAGES=/tmp/packages_start.txt 08:36:40 + '[' /w/workspace/undry_device-onvif-camera_PR-270 ']' 08:36:40 + PACKAGES=/tmp/packages_end.txt 08:36:40 + case "${OS_FAMILY}" in 08:36:40 + dpkg -l 08:36:40 + grep '^ii' 08:36:40 + '[' -f /tmp/packages_start.txt ']' 08:36:40 + '[' -f /tmp/packages_end.txt ']' 08:36:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:36:40 + '[' /w/workspace/undry_device-onvif-camera_PR-270 ']' 08:36:40 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-270/archives/ 08:36:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-270/archives/ [Pipeline] echo 08:36:40 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:36:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:41 prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container 08:36:41 $ 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-270/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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:36:42 $ docker top 6bfd76bd8610f29bb326bf8335506b775bc973b664ef067a93c1fe6bd379daaa -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:42 + touch /tmp/pre-build-complete [Pipeline] sh 08:36:42 + mkdir -p /var/log/sysstat [Pipeline] sh 08:36:42 + ls /var/log/sa-host 08:36:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:43 provisioning config files... 08:36:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config9810329427909676528tmp [Pipeline] { [Pipeline] echo 08:36:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:36:43 ---> create-netrc.sh [Pipeline] } 08:36:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:36:43 ---> python-tools-install.sh [Pipeline] echo 08:36:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:36:43 ---> sudo-logs.sh 08:36:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:36:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:36:44 ---> job-cost.sh 08:36:44 lf-activate-venv: SKIPPING 08:36:44 DEBUG: total: 0.2199999988079071 08:36:44 INFO: Retrieving Stack Cost... 08:36:44 INFO: Retrieving Pricing Info for: v3-standard-8 08:36:45 INFO: Archiving Costs [Pipeline] echo 08:36:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:36:45 ---> logs-deploy.sh 08:36:45 lf-activate-venv: SKIPPING 08:36:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-270/3 08:36:45 INFO: archiving workspace using pattern(s): 08:36:46 Archives upload complete. 08:36:46 INFO: archiving logs to Nexus