Pull request #367 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e00b73cb7b36802fa4276b7336d4752e35e50510+4c3943abb5596eefa9af9b661fb4a90371d27683 (b90cc1a5819f5ac8b3d72ea9fcf43045ce2788fa) 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-ssh13567460657337577935.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12331418303980640475.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8947590790759589468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9717700401131126791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5351698844367439837.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13635955390240867067.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16076 in /w/workspace/undry_device-onvif-camera_PR-367 [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-367 # 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/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c3943abb5596eefa9af9b661fb4a90371d27683 into PR head commit e00b73cb7b36802fa4276b7336d4752e35e50510 Merge succeeded, producing e00b73cb7b36802fa4276b7336d4752e35e50510 Checking out Revision e00b73cb7b36802fa4276b7336d4752e35e50510 (PR-367) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:01:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # 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 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # timeout=10 [Pipeline] withCredentials 04:01:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:01:22 ========================================================= 04:01:22 EdgeX Global Pipelines Version Info 04:01:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:01:23 ------------------- 04:01:23 stable info: 04:01:23 ------------------- 04:01:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:01:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:01:23 Message: update stable to v1.0.249 04:01:24 ------------------- 04:01:24 experimental info: 04:01:24 ------------------- 04:01:24 Commited By: **** collab-it+edgex@linuxfoundation.org 04:01:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:01:24 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:01:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e00b73c [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:26 provisioning config files... 04:01:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config14172589321274436506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:26 ---> docker-login.sh 04:01:26 nexus3.edgexfoundry.org:10001 04:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:26 Configure a credential helper to remove this warning. See 04:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:26 04:01:26 Login Succeeded 04:01:26 nexus3.edgexfoundry.org:10002 04:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:26 Configure a credential helper to remove this warning. See 04:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:26 04:01:26 Login Succeeded 04:01:26 nexus3.edgexfoundry.org:10003 04:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:27 Configure a credential helper to remove this warning. See 04:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:27 04:01:27 Login Succeeded 04:01:27 nexus3.edgexfoundry.org:10004 04:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:27 Configure a credential helper to remove this warning. See 04:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:27 04:01:27 Login Succeeded 04:01:27 docker.io 04:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:27 Configure a credential helper to remove this warning. See 04:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:27 04:01:27 Login Succeeded 04:01:27 ---> docker-login.sh ends [Pipeline] } 04:01:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:01:28 + git rev-list -1 --merges e00b73cb7b36802fa4276b7336d4752e35e50510~1..e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo 04:01:28 -----------> git rev-list -1 --merges e00b73cb7b36802fa4276b7336d4752e35e50510~1..e00b73cb7b36802fa4276b7336d4752e35e50510 e00b73cb7b36802fa4276b7336d4752e35e50510 [false] [Pipeline] sh 04:01:28 + git log --format=format:%s -1 e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo 04:01:28 ========================================================= 04:01:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:01:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:28 + git log --format=format:%s -1 e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] echo 04:01:29 [semverPrep] GIT_COMMIT: e00b73cb7b36802fa4276b7336d4752e35e50510, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 04:01:29 [semverPrep] This is not a build commit. [Pipeline] sh 04:01:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:01:29 + grep -v github /etc/ssh/ssh_known_hosts 04:01:29 + [ -e /tmp/ssh_known_hosts ] 04:01:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:01:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:01:29 + sudo tee -a /etc/ssh/ssh_known_hosts 04:01:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:29 04:01:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:30 0.1.4: Pulling from edgex-devops/py-git-semver 04:01:30 b85a868b505f: Pulling fs layer 04:01:30 e2be974225ed: Pulling fs layer 04:01:30 339a4e72a1f5: Pulling fs layer 04:01:30 988bab9f4d93: Pulling fs layer 04:01:30 1469e6f7b9e6: Pulling fs layer 04:01:30 eaf3925da568: Pulling fs layer 04:01:30 bab4dde63d76: Pulling fs layer 04:01:30 bde34c3a00c8: Pulling fs layer 04:01:30 b352a97aabf1: Pulling fs layer 04:01:30 4872d77fe225: Pulling fs layer 04:01:30 5851b861e8e6: Pulling fs layer 04:01:30 988bab9f4d93: Waiting 04:01:30 bde34c3a00c8: Waiting 04:01:30 4872d77fe225: Waiting 04:01:30 eaf3925da568: Waiting 04:01:30 1469e6f7b9e6: Waiting 04:01:30 b352a97aabf1: Waiting 04:01:30 bab4dde63d76: Waiting 04:01:30 5851b861e8e6: Waiting 04:01:30 e2be974225ed: Verifying Checksum 04:01:30 e2be974225ed: Download complete 04:01:30 988bab9f4d93: Verifying Checksum 04:01:30 988bab9f4d93: Download complete 04:01:30 1469e6f7b9e6: Verifying Checksum 04:01:30 1469e6f7b9e6: Download complete 04:01:30 eaf3925da568: Verifying Checksum 04:01:30 eaf3925da568: Download complete 04:01:30 339a4e72a1f5: Verifying Checksum 04:01:30 339a4e72a1f5: Download complete 04:01:30 bde34c3a00c8: Verifying Checksum 04:01:30 bde34c3a00c8: Download complete 04:01:30 b352a97aabf1: Verifying Checksum 04:01:30 b352a97aabf1: Download complete 04:01:30 4872d77fe225: Download complete 04:01:30 5851b861e8e6: Download complete 04:01:30 b85a868b505f: Verifying Checksum 04:01:30 b85a868b505f: Download complete 04:01:30 bab4dde63d76: Verifying Checksum 04:01:30 bab4dde63d76: Download complete 04:01:31 b85a868b505f: Pull complete 04:01:31 e2be974225ed: Pull complete 04:01:32 339a4e72a1f5: Pull complete 04:01:32 988bab9f4d93: Pull complete 04:01:32 1469e6f7b9e6: Pull complete 04:01:32 eaf3925da568: Pull complete 04:01:34 bab4dde63d76: Pull complete 04:01:34 bde34c3a00c8: Pull complete 04:01:34 b352a97aabf1: Pull complete 04:01:34 4872d77fe225: Pull complete 04:01:34 5851b861e8e6: Pull complete 04:01:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:35 prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container 04:01:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:01:37 $ docker top abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 -eo pid,comm 04:01:37 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). 04:01:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:38 [ssh-agent] Looking for ssh-agent implementation... 04:01:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:38 $ docker exec abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent 04:01:38 SSH_AUTH_SOCK=/tmp/ssh-4NJFfS8w5fcI/agent.31 04:01:38 SSH_AGENT_PID=37 04:01:38 Running ssh-add (command line suppressed) 04:01:38 Identity added: /w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_8331484560631336373.key (/w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_8331484560631336373.key) 04:01:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:38 + git tag --points-at HEAD [Pipeline] } 04:01:38 $ docker exec --env ******** --env ******** abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent -k 04:01:38 unset SSH_AUTH_SOCK; 04:01:38 unset SSH_AGENT_PID; 04:01:38 echo Agent pid 37 killed; 04:01:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:39 [ssh-agent] Looking for ssh-agent implementation... 04:01:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:39 $ docker exec abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent 04:01:39 SSH_AUTH_SOCK=/tmp/ssh-VCAd258Lsg7k/agent.70 04:01:39 SSH_AGENT_PID=76 04:01:39 Running ssh-add (command line suppressed) 04:01:39 Identity added: /w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_6322220130022591289.key (/w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_6322220130022591289.key) 04:01:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:39 + git semver init 04:01:40 2023-05-19 04:01:39,954 [run_init] DEBUG init version:0.0.0 force:False 04:01:40 2023-05-19 04:01:39,955 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-367/.semver 04:01:40 2023-05-19 04:01:39,956 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-367/.semver 04:01:40 2023-05-19 04:01:39,956 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-367/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-367, universal_newlines=False, shell=None, istream=None) 04:01:41 2023-05-19 04:01:40,970 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-367/.git/info/exclude 04:01:41 2023-05-19 04:01:40,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 with force:False 04:01:41 2023-05-19 04:01:40,970 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 04:01:41 2023-05-19 04:01:40,974 [execute] INFO git cat-file --batch-check 04:01:41 2023-05-19 04:01:40,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-367/.semver, universal_newlines=False, shell=None, istream=) 04:01:41 2023-05-19 04:01:40,980 [execute] INFO git cat-file --batch 04:01:41 2023-05-19 04:01:40,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-367/.semver, universal_newlines=False, shell=None, istream=) 04:01:41 2023-05-19 04:01:40,984 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 04:01:41 0.0.0 [Pipeline] } 04:01:41 $ docker exec --env ******** --env ******** abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 ssh-agent -k 04:01:41 unset SSH_AUTH_SOCK; 04:01:41 unset SSH_AGENT_PID; 04:01:41 echo Agent pid 76 killed; 04:01:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:41 + git semver [Pipeline] } 04:01:42 $ docker stop --time=1 abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 04:01:43 $ docker rm -f --volumes abcce538e20144f8fa80328f91fbf184ad356af0d988e32e356fbfcc77d46710 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:44 Stashed 1 file(s) [Pipeline] echo 04:01:44 [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 04:01:44 provisioning config files... 04:01:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config7347404468825319517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:45 ---> docker-login.sh 04:01:45 nexus3.edgexfoundry.org:10001 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 nexus3.edgexfoundry.org:10002 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 nexus3.edgexfoundry.org:10003 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 nexus3.edgexfoundry.org:10004 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 docker.io 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 ---> docker-login.sh ends [Pipeline] } 04:01:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:45 ========================================================= 04:01:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:01:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:46 + 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 . 04:01:46 Sending build context to Docker daemon 21.91MB 04:01:46 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:01:46 Step 2/13 : FROM ${BASE} AS builder 04:01:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:46 f56be85fc22e: Pulling fs layer 04:01:46 85791d961cd3: Pulling fs layer 04:01:46 d694b5ae8c79: Pulling fs layer 04:01:46 9f32a84ed3da: Pulling fs layer 04:01:46 4d19c01a9841: Pulling fs layer 04:01:46 9325e15d5711: Pulling fs layer 04:01:46 556b6ee489ea: Pulling fs layer 04:01:46 c5a4b2cf53e6: Pulling fs layer 04:01:46 9325e15d5711: Waiting 04:01:46 556b6ee489ea: Waiting 04:01:46 c5a4b2cf53e6: Waiting 04:01:46 9f32a84ed3da: Waiting 04:01:46 4d19c01a9841: Waiting 04:01:46 85791d961cd3: Download complete 04:01:46 9f32a84ed3da: Verifying Checksum 04:01:46 9f32a84ed3da: Download complete 04:01:46 4d19c01a9841: Verifying Checksum 04:01:46 4d19c01a9841: Download complete 04:01:46 f56be85fc22e: Verifying Checksum 04:01:46 f56be85fc22e: Download complete 04:01:46 9325e15d5711: Verifying Checksum 04:01:46 9325e15d5711: Download complete 04:01:46 f56be85fc22e: Pull complete 04:01:46 85791d961cd3: Pull complete 04:01:47 c5a4b2cf53e6: Verifying Checksum 04:01:47 c5a4b2cf53e6: Download complete 04:01:47 d694b5ae8c79: Verifying Checksum 04:01:47 d694b5ae8c79: Download complete 04:01:47 556b6ee489ea: Verifying Checksum 04:01:47 556b6ee489ea: Download complete 04:01:50 d694b5ae8c79: Pull complete 04:01:50 9f32a84ed3da: Pull complete 04:01:50 4d19c01a9841: Pull complete 04:01:50 9325e15d5711: Pull complete 04:01:52 556b6ee489ea: Pull complete 04:01:53 c5a4b2cf53e6: Pull complete 04:01:53 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:01:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:01:53 ---> c4be618373d6 04:01:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:01:57 ---> Running in fa9b916cfcf5 04:01:57 Removing intermediate container fa9b916cfcf5 04:01:57 ---> 8e9cff0ffb98 04:01:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:57 ---> Running in 308f4ab672b5 04:01:57 Removing intermediate container 308f4ab672b5 04:01:57 ---> 9ac1cd6df587 04:01:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:01:57 ---> Running in cc7079b7246c 04:01:57 Removing intermediate container cc7079b7246c 04:01:57 ---> 5464fd83288d 04:01:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:01:57 ---> Running in e068e51f2e3e 04:01:57 Removing intermediate container e068e51f2e3e 04:01:57 ---> e47e3d7ae904 04:01:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:01:57 ---> Running in 2e4c1e9ae6e5 04:01:57 Removing intermediate container 2e4c1e9ae6e5 04:01:57 ---> 66ae6398d7d2 04:01:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:57 ---> Running in e54164a8e91e 04:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:01:58 OK: 265 MiB in 53 packages 04:01:58 Removing intermediate container e54164a8e91e 04:01:58 ---> 3c4b7b15c7de 04:01:58 Step 9/13 : WORKDIR /device-onvif-camera 04:01:58 ---> Running in 46ab37a655e3 04:01:58 Removing intermediate container 46ab37a655e3 04:01:58 ---> e0a96ae15af1 04:01:58 Step 10/13 : COPY go.mod vendor* ./ 04:01:58 ---> 78bb6cdcd961 04:01:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:58 ---> Running in f09c1223849c 04:01:59 Still waiting to schedule task 04:01:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:02:45 Removing intermediate container f09c1223849c 04:02:45 ---> 22fcda725eda 04:02:45 Step 12/13 : COPY . . 04:02:46 ---> 13e6adb51f42 04:02:46 Step 13/13 : RUN ${MAKE} 04:02:46 ---> Running in d63164e5a3fc 04:02:46 noop 04:02:46 Removing intermediate container d63164e5a3fc 04:02:46 ---> f78c2a47ce99 04:02:46 Successfully built f78c2a47ce99 04:02:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:47 + docker inspect -f . ci-base-image-x86_64 04:02:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:47 prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container 04:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** ci-base-image-x86_64 cat 04:02:47 $ docker top 7332dcc665a652901a750823ea1ce05a70b4afcbb5919bdb4c2936498eefb0d8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:48 + go version 04:02:48 go version go1.20.2 linux/amd64 [Pipeline] } 04:02:48 $ docker stop --time=1 7332dcc665a652901a750823ea1ce05a70b4afcbb5919bdb4c2936498eefb0d8 04:02:49 $ docker rm -f --volumes 7332dcc665a652901a750823ea1ce05a70b4afcbb5919bdb4c2936498eefb0d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:50 + docker inspect -f . ci-base-image-x86_64 04:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:50 prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container 04:02:50 $ 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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** ci-base-image-x86_64 cat 04:02:50 $ docker top e9ae1dd39aa3e9b4b5c593b192d557c6ca8b8961766ad5caa65a2c76861a53a9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:51 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-367 [Pipeline] fileExists [Pipeline] sh 04:02:51 + make test 04:02:51 go test ./... -coverprofile=coverage.out ./... 04:02:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:03:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:03:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:03:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 31.4% of statements 04:03:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.324s coverage: 86.5% of statements 04:03:18 go vet ./... 04:03:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:20 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:21 $ docker stop --time=1 e9ae1dd39aa3e9b4b5c593b192d557c6ca8b8961766ad5caa65a2c76861a53a9 04:03:25 $ docker rm -f --volumes e9ae1dd39aa3e9b4b5c593b192d557c6ca8b8961766ad5caa65a2c76861a53a9 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:27 + ls -al . 04:03:27 total 232 04:03:27 drwxrwxr-x 10 jenkins jenkins 4096 May 19 04:02 . 04:03:27 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 .. 04:03:27 drwxrwxr-x 8 jenkins jenkins 4096 May 19 04:01 .git 04:03:27 drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:01 .github 04:03:27 -rw-rw-r-- 1 jenkins jenkins 496 May 19 04:01 .gitignore 04:03:27 -rw-rw-r-- 1 jenkins jenkins 42 May 19 04:01 .golangci.yml 04:03:27 drwxr-xr-x 3 jenkins jenkins 4096 May 19 04:01 .semver 04:03:27 -rw-rw-r-- 1 jenkins jenkins 10087 May 19 04:01 Attribution.txt 04:03:27 -rw-rw-r-- 1 jenkins jenkins 6312 May 19 04:01 CHANGELOG.md 04:03:27 -rw-rw-r-- 1 jenkins jenkins 1574 May 19 04:01 Dockerfile 04:03:27 -rw-rw-r-- 1 jenkins jenkins 677 May 19 04:01 GOVERNANCE.md 04:03:27 -rw-rw-r-- 1 jenkins jenkins 739 May 19 04:01 Jenkinsfile 04:03:27 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 04:01 LICENSE 04:03:27 -rw-rw-r-- 1 jenkins jenkins 2751 May 19 04:01 Makefile 04:03:27 -rw-rw-r-- 1 jenkins jenkins 625 May 19 04:01 OWNERS.md 04:03:27 -rw-rw-r-- 1 jenkins jenkins 2690 May 19 04:01 README.md 04:03:27 -rw-rw-r-- 1 jenkins jenkins 5 May 19 04:01 VERSION 04:03:27 drwxrwxr-x 2 jenkins jenkins 4096 May 19 04:01 bin 04:03:27 drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:01 cmd 04:03:27 -rw-r--r-- 1 jenkins jenkins 78459 May 19 04:03 coverage.out 04:03:27 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 doc 04:03:27 -rw-rw-r-- 1 jenkins jenkins 3642 May 19 04:01 go.mod 04:03:27 -rw-rw-r-- 1 jenkins jenkins 33581 May 19 04:01 go.sum 04:03:27 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 internal 04:03:27 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:01 snap 04:03:27 -rw-rw-r-- 1 jenkins jenkins 236 May 19 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:27 + 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=e00b73cb7b36802fa4276b7336d4752e35e50510 --label arch=amd64 --label version=0.0.0 . 04:03:27 Sending build context to Docker daemon 21.99MB 04:03:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:03:27 Step 2/26 : FROM ${BASE} AS builder 04:03:27 ---> f78c2a47ce99 04:03:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:03:28 ---> Running in 302725bcaa36 04:03:28 Removing intermediate container 302725bcaa36 04:03:28 ---> af982175ccee 04:03:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:03:28 ---> Running in e98868dab55b 04:03:28 Removing intermediate container e98868dab55b 04:03:28 ---> 728dece54158 04:03:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:03:28 ---> Running in ae996f594497 04:03:28 Removing intermediate container ae996f594497 04:03:28 ---> a7d16185ce57 04:03:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:03:28 ---> Running in 289cab1a9bde 04:03:28 Removing intermediate container 289cab1a9bde 04:03:28 ---> 666ba5095990 04:03:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:03:28 ---> Running in 0dcbca3a5eff 04:03:28 Removing intermediate container 0dcbca3a5eff 04:03:28 ---> 9939509feceb 04:03:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:28 ---> Running in 1fffef8e8b4d 04:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:03:29 OK: 265 MiB in 53 packages 04:03:29 Removing intermediate container 1fffef8e8b4d 04:03:29 ---> e4dca8269f7a 04:03:29 Step 9/26 : WORKDIR /device-onvif-camera 04:03:29 ---> Running in 333eb1e32d15 04:03:29 Removing intermediate container 333eb1e32d15 04:03:29 ---> 80f7d696db06 04:03:29 Step 10/26 : COPY go.mod vendor* ./ 04:03:29 ---> e43570406d39 04:03:29 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:29 ---> Running in 04fadcf6da93 04:03:30 Removing intermediate container 04fadcf6da93 04:03:30 ---> 0af11286c310 04:03:30 Step 12/26 : COPY . . 04:03:31 ---> 1bfa384382ab 04:03:31 Step 13/26 : RUN ${MAKE} 04:03:31 ---> Running in 22aa9430ee51 04:03:31 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 04:03:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16077 in /w/workspace/undry_device-onvif-camera_PR-367 [Pipeline] { [Pipeline] ws 04:03:33 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:03:33 The recommended git tool is: git 04:03:38 using credential edgex-jenkins-ssh 04:03:38 Cloning the remote Git repository 04:03:38 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:03:38 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:03:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:03:39 > git --version # timeout=10 04:03:39 > git --version # 'git version 2.25.1' 04:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:03:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:03:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:03:42 Merging remotes/origin/main commit 4c3943abb5596eefa9af9b661fb4a90371d27683 into PR head commit e00b73cb7b36802fa4276b7336d4752e35e50510 04:03:42 Merge succeeded, producing e00b73cb7b36802fa4276b7336d4752e35e50510 04:03:42 Checking out Revision e00b73cb7b36802fa4276b7336d4752e35e50510 (PR-367) 04:03:43 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" 04:03:43 > git --version # timeout=10 04:03:43 > git --version # 'git version 2.25.1' 04:03:43 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:03:42 > git config core.sparsecheckout # timeout=10 04:03:42 > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # timeout=10 04:03:42 > git remote # timeout=10 04:03:42 > git config --get remote.origin.url # timeout=10 04:03:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:42 > git merge 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 04:03:42 > git rev-parse HEAD^{commit} # timeout=10 04:03:42 > git config core.sparsecheckout # timeout=10 04:03:42 > git checkout -f e00b73cb7b36802fa4276b7336d4752e35e50510 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:03:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:03:44 Dload Upload Total Spent Left Speed 04:03:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 04:03:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:03:45 + sudo tee /etc/docker/daemon.new 04:03:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:03:45 { 04:03:45 "registry-mirrors": [ 04:03:45 "https://nexus3.edgexfoundry.org:10001" 04:03:45 ], 04:03:45 "bip": "10.250.0.254/24", 04:03:45 "hosts": [ 04:03:45 "tcp://0.0.0.0:5555", 04:03:45 "unix:///var/run/docker.sock" 04:03:45 ], 04:03:45 "mtu": 1458, 04:03:45 "selinux-enabled": true, 04:03:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:03:45 } [Pipeline] sh 04:03:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:03:46 + sudo service docker restart 04:03:53 Removing intermediate container 22aa9430ee51 04:03:53 ---> 5b7b0be6291d 04:03:53 Step 14/26 : FROM alpine:3.17 04:03:54 3.17: Pulling from library/alpine 04:03:54 f56be85fc22e: Already exists 04:03:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:03:54 Status: Downloaded newer image for alpine:3.17 04:03:54 ---> 9ed4aefc74f6 04:03:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:03:54 ---> Running in 800c3952cba8 04:03:54 Removing intermediate container 800c3952cba8 04:03:54 ---> 12475d920648 04:03:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:03:54 ---> Running in 50f7c4500497 04:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:03:55 (1/1) Installing dumb-init (1.2.5-r2) 04:03:55 Executing busybox-1.35.0-r29.trigger 04:03:55 OK: 7 MiB in 16 packages 04:03:55 Removing intermediate container 50f7c4500497 04:03:55 ---> e985a90711e3 04:03:55 Step 17/26 : WORKDIR / 04:03:55 ---> Running in ae426e47de10 04:03:55 Removing intermediate container ae426e47de10 04:03:55 ---> cb5e056cd03b 04:03:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:03:56 ---> a5c822fd3636 04:03:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:03:56 ---> aa23176d1345 04:03:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:03:57 ---> 761f42fd9a0b 04:03:57 Step 21/26 : EXPOSE 59984 04:03:57 ---> Running in 34c22fcdb3c0 04:03:57 Removing intermediate container 34c22fcdb3c0 04:03:57 ---> dd416b755963 04:03:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:03:57 ---> Running in 9b91c26302e1 04:03:57 Removing intermediate container 9b91c26302e1 04:03:57 ---> 9689435c094f 04:03:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:03:57 ---> Running in d90fd48ca55a 04:03:57 Removing intermediate container d90fd48ca55a 04:03:57 ---> 0c79f37a5b69 04:03:57 Step 24/26 : LABEL arch=amd64 04:03:57 ---> Running in 949ac6970a2d 04:03:57 Removing intermediate container 949ac6970a2d 04:03:57 ---> fddcc8d8430f 04:03:57 Step 25/26 : LABEL git_sha=e00b73cb7b36802fa4276b7336d4752e35e50510 04:03:57 ---> Running in c1a27b409267 04:03:57 Removing intermediate container c1a27b409267 04:03:57 ---> 06ceebc88307 04:03:57 Step 26/26 : LABEL version=0.0.0 04:03:57 ---> Running in 8183451e97f6 04:03:57 Removing intermediate container 8183451e97f6 04:03:57 ---> 8e1403119025 04:03:57 [Warning] One or more build-args [ARCH] were not consumed 04:03:57 Successfully built 8e1403119025 04:03:57 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:58 04:03:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:58 latest: Pulling from edgex-lftools-log-publisher 04:03:58 5eb5b503b376: Pulling fs layer 04:03:58 5c69ac0246d0: Pulling fs layer 04:03:58 ec43610c2a17: Pulling fs layer 04:03:58 3a2ae6a8a46f: Pulling fs layer 04:03:58 33b1e0a273af: Pulling fs layer 04:03:58 5d3b04190fa2: Pulling fs layer 04:03:58 2f39f015ded8: Pulling fs layer 04:03:58 3a2ae6a8a46f: Waiting 04:03:58 33b1e0a273af: Waiting 04:03:58 5d3b04190fa2: Waiting 04:03:58 2f39f015ded8: Waiting 04:03:58 5c69ac0246d0: Download complete 04:03:58 3a2ae6a8a46f: Verifying Checksum 04:03:58 3a2ae6a8a46f: Download complete 04:03:59 33b1e0a273af: Verifying Checksum 04:03:59 33b1e0a273af: Download complete 04:03:59 ec43610c2a17: Verifying Checksum 04:03:59 ec43610c2a17: Download complete 04:03:59 5d3b04190fa2: Download complete 04:03:59 5eb5b503b376: Verifying Checksum 04:03:59 5eb5b503b376: Download complete 04:03:59 2f39f015ded8: Download complete 04:04:00 5eb5b503b376: Pull complete 04:04:00 5c69ac0246d0: Pull complete 04:04:00 ec43610c2a17: Pull complete 04:04:01 3a2ae6a8a46f: Pull complete 04:04:01 33b1e0a273af: Pull complete 04:04:01 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:04 provisioning config files... 04:04:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config636475557591336145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:05 ---> docker-login.sh 04:04:05 nexus3.edgexfoundry.org:10001 04:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:05 2f39f015ded8: Pull complete 04:04:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 04:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:05 Configure a credential helper to remove this warning. See 04:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:05 04:04:05 Login Succeeded 04:04:05 nexus3.edgexfoundry.org:10002 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:05 prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container 04:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:05 Configure a credential helper to remove this warning. See 04:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:05 04:04:05 Login Succeeded 04:04:06 nexus3.edgexfoundry.org:10003 04:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:06 Configure a credential helper to remove this warning. See 04:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:06 04:04:06 Login Succeeded 04:04:06 nexus3.edgexfoundry.org:10004 04:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:06 Configure a credential helper to remove this warning. See 04:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:06 04:04:06 Login Succeeded 04:04:06 docker.io 04:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:07 Configure a credential helper to remove this warning. See 04:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:07 04:04:07 Login Succeeded 04:04:07 ---> docker-login.sh ends 04:04:09 $ docker top 7f9c0c3f4fe9deda133e777b7a1b8d35bbb79adda90fa4b2127969ee6bbc3fba -eo pid,comm [Pipeline] { [Pipeline] } 04:04:09 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:04:09 ---> job-cost.sh 04:04:09 lf-activate-venv: SKIPPING 04:04:09 INFO: No Stack... [Pipeline] echo 04:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:09 ========================================================= 04:04:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:04:09 ========================================================= [Pipeline] fileExists 04:04:09 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:10 + 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 . 04:04:10 INFO: Archiving Costs [Pipeline] sh 04:04:10 + cat /w/workspace/undry_device-onvif-camera_PR-367/archives/cost.csv 04:04:10 + cut -d, -f6 [Pipeline] lock 04:04:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] 04:04:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] did not exist. Created. 04:04:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:11 Sending build context to Docker daemon 14.37MB 04:04:11 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:04:11 Step 2/13 : FROM ${BASE} AS builder 04:04:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:04:11 c41833b44d91: Pulling fs layer 04:04:11 ed15518f5707: Pulling fs layer 04:04:11 feae8fd75edb: Pulling fs layer 04:04:11 242c74f7c9fa: Pulling fs layer 04:04:11 3cdef696dda3: Pulling fs layer 04:04:11 2ced38df9373: Pulling fs layer 04:04:11 58f1dce35555: Pulling fs layer 04:04:11 3cdef696dda3: Waiting 04:04:11 2ced38df9373: Waiting 04:04:11 58f1dce35555: Waiting 04:04:11 242c74f7c9fa: Waiting 04:04:11 ed15518f5707: Download complete 04:04:11 + echo total: 0.2199999988079071 [Pipeline] stash 04:04:11 Stashed 1 file(s) 04:04:11 242c74f7c9fa: Verifying Checksum 04:04:11 242c74f7c9fa: Download complete 04:04:11 3cdef696dda3: Verifying Checksum 04:04:11 3cdef696dda3: Download complete 04:04:11 c41833b44d91: Verifying Checksum 04:04:11 c41833b44d91: Download complete [Pipeline] } 04:04:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:11 $ docker stop --time=1 7f9c0c3f4fe9deda133e777b7a1b8d35bbb79adda90fa4b2127969ee6bbc3fba 04:04:12 c41833b44d91: Pull complete 04:04:12 58f1dce35555: Verifying Checksum 04:04:12 58f1dce35555: Download complete 04:04:12 $ docker rm -f --volumes 7f9c0c3f4fe9deda133e777b7a1b8d35bbb79adda90fa4b2127969ee6bbc3fba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 04:04:12 ed15518f5707: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:13 feae8fd75edb: Verifying Checksum 04:04:13 feae8fd75edb: Download complete 04:04:13 2ced38df9373: Verifying Checksum 04:04:13 2ced38df9373: Download complete 04:04:26 feae8fd75edb: Pull complete 04:04:26 242c74f7c9fa: Pull complete 04:04:26 3cdef696dda3: Pull complete 04:04:31 2ced38df9373: Pull complete 04:04:34 58f1dce35555: Pull complete 04:04:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:04:34 ---> fadd8f120f05 04:04:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:04:36 ---> Running in 7d778d5101b0 04:04:36 Removing intermediate container 7d778d5101b0 04:04:36 ---> 7bd7ed3332e6 04:04:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:36 ---> Running in 9722796427a1 04:04:36 Removing intermediate container 9722796427a1 04:04:36 ---> 224319a24f03 04:04:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:04:36 ---> Running in 1a1c2f8c9f3e 04:04:36 Removing intermediate container 1a1c2f8c9f3e 04:04:36 ---> 82e18d7b0a38 04:04:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:04:37 ---> Running in e6bb032a27fe 04:04:37 Removing intermediate container e6bb032a27fe 04:04:37 ---> 68b67c89ba3b 04:04:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:04:37 ---> Running in 35523d3a9ef6 04:04:37 Removing intermediate container 35523d3a9ef6 04:04:37 ---> 424f3314f84c 04:04:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:38 ---> Running in 6c99dc69145c 04:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:04:40 OK: 263 MiB in 53 packages 04:04:43 Removing intermediate container 6c99dc69145c 04:04:43 ---> 82e2e670cf72 04:04:43 Step 9/13 : WORKDIR /device-onvif-camera 04:04:43 ---> Running in 62937fc7ab43 04:04:44 Removing intermediate container 62937fc7ab43 04:04:44 ---> cc296cb5014b 04:04:44 Step 10/13 : COPY go.mod vendor* ./ 04:04:44 ---> 5e8505b195b8 04:04:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:44 ---> Running in 8575a27e3f8c 04:05:52 Removing intermediate container 8575a27e3f8c 04:05:52 ---> 3e5b2b20a9c5 04:05:52 Step 12/13 : COPY . . 04:05:52 ---> c267e03c58a6 04:05:52 Step 13/13 : RUN ${MAKE} 04:05:52 ---> Running in cd096e3379e0 04:05:52 noop 04:05:52 Removing intermediate container cd096e3379e0 04:05:52 ---> 256a19ca5aef 04:05:52 Successfully built 256a19ca5aef 04:05:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:53 + docker inspect -f . ci-base-image-arm64 04:05:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:53 prd-ubuntu20.04-docker-arm64-4c-16g-16077 does not seem to be running inside a container 04:05:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 04:05:54 $ docker top 0f5151e3ceb62c6b677c7d458dcb71c4746b5a691318194e3e45241b3fb95616 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:55 + go version 04:05:55 go version go1.20.2 linux/arm64 [Pipeline] } 04:05:55 $ docker stop --time=1 0f5151e3ceb62c6b677c7d458dcb71c4746b5a691318194e3e45241b3fb95616 04:05:57 $ docker rm -f --volumes 0f5151e3ceb62c6b677c7d458dcb71c4746b5a691318194e3e45241b3fb95616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:58 + docker inspect -f . ci-base-image-arm64 04:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:58 prd-ubuntu20.04-docker-arm64-4c-16g-16077 does not seem to be running inside a container 04:05:58 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 04:05:59 $ docker top 00404425a2dfa7e21f9d33da08f7d49281556f86bc1b2baf7d2920e3faaed355 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:06:00 + make test 04:06:00 go test ./... -coverprofile=coverage.out ./... 04:06:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:08:39 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:08:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:08:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.169s coverage: 31.4% of statements 04:08:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.538s coverage: 86.5% of statements 04:08:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:08:52 go vet ./... 04:09:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:18 ./bin/test-attribution-txt.sh [Pipeline] echo 04:09:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:18 $ docker stop --time=1 00404425a2dfa7e21f9d33da08f7d49281556f86bc1b2baf7d2920e3faaed355 04:09:22 $ docker rm -f --volumes 00404425a2dfa7e21f9d33da08f7d49281556f86bc1b2baf7d2920e3faaed355 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:23 Warning: overwriting stash ‘coverage-report’ 04:09:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:25 + ls -al . 04:09:25 total 228 04:09:25 drwxrwxr-x 9 jenkins jenkins 4096 May 19 04:06 . 04:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 .. 04:09:25 drwxrwxr-x 8 jenkins jenkins 4096 May 19 04:03 .git 04:09:25 drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:03 .github 04:09:25 -rw-rw-r-- 1 jenkins jenkins 496 May 19 04:03 .gitignore 04:09:25 -rw-rw-r-- 1 jenkins jenkins 42 May 19 04:03 .golangci.yml 04:09:25 -rw-rw-r-- 1 jenkins jenkins 10087 May 19 04:03 Attribution.txt 04:09:25 -rw-rw-r-- 1 jenkins jenkins 6312 May 19 04:03 CHANGELOG.md 04:09:25 -rw-rw-r-- 1 jenkins jenkins 1574 May 19 04:03 Dockerfile 04:09:25 -rw-rw-r-- 1 jenkins jenkins 677 May 19 04:03 GOVERNANCE.md 04:09:25 -rw-rw-r-- 1 jenkins jenkins 739 May 19 04:03 Jenkinsfile 04:09:25 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 04:03 LICENSE 04:09:25 -rw-rw-r-- 1 jenkins jenkins 2751 May 19 04:03 Makefile 04:09:25 -rw-rw-r-- 1 jenkins jenkins 625 May 19 04:03 OWNERS.md 04:09:25 -rw-rw-r-- 1 jenkins jenkins 2690 May 19 04:03 README.md 04:09:25 -rw-rw-r-- 1 jenkins jenkins 5 May 19 04:01 VERSION 04:09:25 drwxrwxr-x 2 jenkins jenkins 4096 May 19 04:03 bin 04:09:25 drwxrwxr-x 3 jenkins jenkins 4096 May 19 04:03 cmd 04:09:25 -rw-r--r-- 1 jenkins jenkins 78459 May 19 04:08 coverage.out 04:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 doc 04:09:25 -rw-rw-r-- 1 jenkins jenkins 3642 May 19 04:03 go.mod 04:09:25 -rw-rw-r-- 1 jenkins jenkins 33581 May 19 04:03 go.sum 04:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 internal 04:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 19 04:03 snap 04:09:25 -rw-rw-r-- 1 jenkins jenkins 236 May 19 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:25 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e00b73cb7b36802fa4276b7336d4752e35e50510 --label arch=arm64 --label version=0.0.0 . 04:09:26 Sending build context to Docker daemon 14.45MB 04:09:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:09:26 Step 2/26 : FROM ${BASE} AS builder 04:09:26 ---> 256a19ca5aef 04:09:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:09:26 ---> Running in 3a3108eb9c18 04:09:26 Removing intermediate container 3a3108eb9c18 04:09:26 ---> c667c0641517 04:09:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:26 ---> Running in 7aa241d4f755 04:09:27 Removing intermediate container 7aa241d4f755 04:09:27 ---> 7916190a2447 04:09:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:09:27 ---> Running in d05fe8e00b3d 04:09:27 Removing intermediate container d05fe8e00b3d 04:09:27 ---> 911d961521d7 04:09:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:09:27 ---> Running in e363efc17329 04:09:27 Removing intermediate container e363efc17329 04:09:27 ---> 1fdf0e5b827c 04:09:27 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:09:27 ---> Running in d84b655fbb18 04:09:28 Removing intermediate container d84b655fbb18 04:09:28 ---> f56d2df81b04 04:09:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:28 ---> Running in b998aaf957a6 04:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:09:30 OK: 263 MiB in 53 packages 04:09:31 Removing intermediate container b998aaf957a6 04:09:31 ---> c90db5a98ffa 04:09:31 Step 9/26 : WORKDIR /device-onvif-camera 04:09:31 ---> Running in c46bde3c9238 04:09:31 Removing intermediate container c46bde3c9238 04:09:31 ---> 47b856412e6c 04:09:31 Step 10/26 : COPY go.mod vendor* ./ 04:09:32 ---> 1bd728801f28 04:09:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:32 ---> Running in e22fdbd972f9 04:09:37 Removing intermediate container e22fdbd972f9 04:09:37 ---> de60c6db0084 04:09:37 Step 12/26 : COPY . . 04:09:38 ---> 961769a52b84 04:09:38 Step 13/26 : RUN ${MAKE} 04:09:38 ---> Running in 76cab67c8a24 04:09:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:12:01 Removing intermediate container 76cab67c8a24 04:12:01 ---> c2fbb2998e3c 04:12:01 Step 14/26 : FROM alpine:3.17 04:12:01 3.17: Pulling from library/alpine 04:12:01 c41833b44d91: Already exists 04:12:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:12:01 Status: Downloaded newer image for alpine:3.17 04:12:01 ---> 51e60588ff2c 04:12:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:12:01 ---> Running in 982e4af9c256 04:12:01 Removing intermediate container 982e4af9c256 04:12:01 ---> e15c672f51d1 04:12:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:12:01 ---> Running in 8b4c7a49bfde 04:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:12:01 (1/1) Installing dumb-init (1.2.5-r2) 04:12:01 Executing busybox-1.35.0-r29.trigger 04:12:01 OK: 8 MiB in 16 packages 04:12:01 Removing intermediate container 8b4c7a49bfde 04:12:01 ---> c86ccee549d1 04:12:01 Step 17/26 : WORKDIR / 04:12:01 ---> Running in 39ce251cb7bf 04:12:01 Removing intermediate container 39ce251cb7bf 04:12:01 ---> 00e136c517a2 04:12:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:12:01 ---> 9c806c1c52db 04:12:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:12:01 ---> e793fa9b0202 04:12:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:12:01 ---> 249b9ae4fbb5 04:12:01 Step 21/26 : EXPOSE 59984 04:12:01 ---> Running in 5f8a65e1e489 04:12:01 Removing intermediate container 5f8a65e1e489 04:12:01 ---> 6d3737c69228 04:12:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:12:01 ---> Running in 077dbecf088f 04:12:01 Removing intermediate container 077dbecf088f 04:12:01 ---> c93ef3ed955d 04:12:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:01 ---> Running in 63fe6e80f717 04:12:01 Removing intermediate container 63fe6e80f717 04:12:01 ---> c8db4445fd8a 04:12:01 Step 24/26 : LABEL arch=arm64 04:12:01 ---> Running in 759aa7652830 04:12:01 Removing intermediate container 759aa7652830 04:12:01 ---> 816a143547da 04:12:01 Step 25/26 : LABEL git_sha=e00b73cb7b36802fa4276b7336d4752e35e50510 04:12:02 ---> Running in 7b4a1f819129 04:12:02 Removing intermediate container 7b4a1f819129 04:12:02 ---> a18051dcb011 04:12:02 Step 26/26 : LABEL version=0.0.0 04:12:02 ---> Running in 8e9105e2b8cf 04:12:02 Removing intermediate container 8e9105e2b8cf 04:12:02 ---> edfca0da0aa1 04:12:02 [Warning] One or more build-args [ARCH] were not consumed 04:12:02 Successfully built edfca0da0aa1 04:12:02 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 04:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:03 04:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:03 arm64: Pulling from edgex-lftools-log-publisher 04:12:03 8998bd30e6a1: Pulling fs layer 04:12:03 04944245beec: Pulling fs layer 04:12:03 699f458cf7ca: Pulling fs layer 04:12:03 765212b225bb: Pulling fs layer 04:12:03 f23df028b6ca: Pulling fs layer 04:12:03 d65c8cfc05b1: Pulling fs layer 04:12:03 2437ff75d9bd: Pulling fs layer 04:12:03 765212b225bb: Waiting 04:12:03 f23df028b6ca: Waiting 04:12:03 d65c8cfc05b1: Waiting 04:12:03 2437ff75d9bd: Waiting 04:12:04 04944245beec: Verifying Checksum 04:12:04 04944245beec: Download complete 04:12:04 765212b225bb: Verifying Checksum 04:12:04 765212b225bb: Download complete 04:12:04 f23df028b6ca: Verifying Checksum 04:12:04 f23df028b6ca: Download complete 04:12:04 d65c8cfc05b1: Verifying Checksum 04:12:04 d65c8cfc05b1: Download complete 04:12:04 699f458cf7ca: Verifying Checksum 04:12:04 699f458cf7ca: Download complete 04:12:04 8998bd30e6a1: Download complete 04:12:06 2437ff75d9bd: Verifying Checksum 04:12:06 2437ff75d9bd: Download complete 04:12:08 8998bd30e6a1: Pull complete 04:12:09 04944245beec: Pull complete 04:12:10 699f458cf7ca: Pull complete 04:12:10 765212b225bb: Pull complete 04:12:11 f23df028b6ca: Pull complete 04:12:11 d65c8cfc05b1: Pull complete 04:12:23 2437ff75d9bd: Pull complete 04:12:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:12:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:24 prd-ubuntu20.04-docker-arm64-4c-16g-16077 does not seem to be running inside a container 04:12: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/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:12:26 $ docker top 120cb6007407a5149fe4744145e94bc6609a14f61af4bafeaa3a9627993996e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:27 ---> job-cost.sh 04:12:27 lf-activate-venv: SKIPPING 04:12:27 INFO: No Stack... 04:12:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:12:28 INFO: Archiving Costs [Pipeline] sh 04:12:29 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv+ cut -d, -f6 04:12:29 [Pipeline] lock 04:12:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] 04:12:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] did not exist. Created. 04:12:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:29 /w/workspace/device-onvif-camera/1@tmp/durable-60d2fa7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:12:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:12:30 Warning: overwriting stash ‘stack-cost’ 04:12:30 Stashed 1 file(s) [Pipeline] } 04:12:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:30 $ docker stop --time=1 120cb6007407a5149fe4744145e94bc6609a14f61af4bafeaa3a9627993996e0 04:12:32 $ docker rm -f --volumes 120cb6007407a5149fe4744145e94bc6609a14f61af4bafeaa3a9627993996e0 [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 04:12:33 provisioning config files... 04:12:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config17138983222715852813tmp [Pipeline] { [Pipeline] sh 04:12:33 + set +x 04:12:33 + bash -s -- 04:12:33 + curl -s https://codecov.io/bash 04:12:33 04:12:33 _____ _ 04:12:33 / ____| | | 04:12:33 | | ___ __| | ___ ___ _____ __ 04:12:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:12:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:12:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:12:33 Bash-1.0.6 04:12:33 04:12:33 04:12:33 ==> git version 2.25.1 found 04:12:33 ==> 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 04:12:33 Release-Date: 2020-01-08 04:12:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:12:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:12:33 ==> Jenkins CI detected. 04:12:33 current dir:  /w/workspace/undry_device-onvif-camera_PR-367 04:12:33 project root: . 04:12:33 --> token set from env 04:12:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:12:33 ==> Running gcov in . (disable via -X gcov) 04:12:33 ==> Python coveragepy not found 04:12:33 ==> Searching for coverage reports in: 04:12:33 + . 04:12:33 -> Found 1 reports 04:12:33 ==> Detecting git/mercurial file structure 04:12:33 ==> Reading reports 04:12:33 + ./coverage.out bytes=78459 04:12:33 ==> Appending adjustments 04:12:33 https://docs.codecov.io/docs/fixing-reports 04:12:33 + Found adjustments 04:12:33 ==> Gzipping contents 04:12:33 12K /tmp/codecov.lBN3e9.gz 04:12:33 ==> Uploading reports 04:12:33 url: https://codecov.io 04:12:33 query: branch=PR-367&commit=e00b73cb7b36802fa4276b7336d4752e35e50510&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=367&job=&cmd_args= 04:12:33 -> Pinging Codecov 04:12:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-367&commit=e00b73cb7b36802fa4276b7336d4752e35e50510&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=367&job=&cmd_args= 04:12:34 -> Uploading to 04:12:34 https://storage.googleapis.com/codecov/v4/raw/2023-05-19/F29A59C45E3A92E06B3E522C9905F8EF/e00b73cb7b36802fa4276b7336d4752e35e50510/1f2d33a2-acea-4ab4-8382-7c6cb187fef9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230519T041233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c98cecb034a5cc2872a0d581ead31760dafaf41634bdb5e7be8e3e51cb506409 04:12:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:34 Dload Upload Total Spent Left Speed 04:12:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 49331 --:--:-- --:--:-- --:--:-- 49331 04:12:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e00b73cb7b36802fa4276b7336d4752e35e50510 [Pipeline] } 04:12:34 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 04:12:36 + [ -d /w/workspace/undry_device-onvif-camera_PR-367/archives ] 04:12:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-367/archives 04:12:36 total 16 04:12:36 drwxr-xr-x 3 root root 4096 May 19 04:04 . 04:12:36 drwxrwxr-x 11 jenkins jenkins 4096 May 19 04:04 .. 04:12:36 drwxr-xr-x 2 root root 4096 May 19 04:04 cost 04:12:36 -rw-r--r-- 1 root root 91 May 19 04:04 cost.csv 04:12:36 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-367/archives 04:12:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-367/archives 04:12:36 total 16 04:12:36 drwxr-xr-x 3 jenkins jenkins 4096 May 19 04:04 . 04:12:36 drwxrwxr-x 11 jenkins jenkins 4096 May 19 04:04 .. 04:12:36 drwxr-xr-x 2 jenkins jenkins 4096 May 19 04:04 cost 04:12:36 -rw-r--r-- 1 jenkins jenkins 91 May 19 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:12:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:12:37 ---> package-listing.sh 04:12:37 ++ facter osfamily 04:12:37 ++ tr '[:upper:]' '[:lower:]' 04:12:37 + OS_FAMILY=debian 04:12:37 + workspace=/w/workspace/undry_device-onvif-camera_PR-367 04:12:37 + START_PACKAGES=/tmp/packages_start.txt 04:12:37 + END_PACKAGES=/tmp/packages_end.txt 04:12:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:12:37 + PACKAGES=/tmp/packages_start.txt 04:12:37 + '[' /w/workspace/undry_device-onvif-camera_PR-367 ']' 04:12:37 + PACKAGES=/tmp/packages_end.txt 04:12:37 + case "${OS_FAMILY}" in 04:12:37 + dpkg -l 04:12:37 + grep '^ii' 04:12:37 + '[' -f /tmp/packages_start.txt ']' 04:12:37 + '[' -f /tmp/packages_end.txt ']' 04:12:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:12:37 + '[' /w/workspace/undry_device-onvif-camera_PR-367 ']' 04:12:37 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-367/archives/ 04:12:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-367/archives/ [Pipeline] echo 04:12:37 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-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:12:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:38 prd-ubuntu20.04-docker-8c-8g-16076 does not seem to be running inside a container 04:12:38 $ 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-367/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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:12:38 $ docker top de7125e1d85bc8a4fb5cb645c13cb5b29329293e0d6d1cd2fc94ee8f8ef1ebae -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:39 + touch /tmp/pre-build-complete [Pipeline] sh 04:12:39 + mkdir -p /var/log/sysstat [Pipeline] sh 04:12:40 + ls /var/log/sa-host 04:12:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:40 provisioning config files... 04:12:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config10323116736196314739tmp [Pipeline] { [Pipeline] echo 04:12:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:12:40 ---> create-netrc.sh [Pipeline] } 04:12:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> python-tools-install.sh [Pipeline] echo 04:12:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> sudo-logs.sh 04:12:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:12:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> job-cost.sh 04:12:41 lf-activate-venv: SKIPPING 04:12:41 DEBUG: total: 0.2199999988079071 04:12:41 INFO: Retrieving Stack Cost... 04:12:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:42 INFO: Archiving Costs [Pipeline] echo 04:12:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:12:42 ---> logs-deploy.sh 04:12:42 lf-activate-venv: SKIPPING 04:12:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-367/1 04:12:42 INFO: archiving workspace using pattern(s): 04:12:43 Archives upload complete. 04:12:44 INFO: archiving logs to Nexus