Pull request #363 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48bb920c534520c9c168c1c6b241002778bd6c3b+0b14d5e504f249c58ecc48c4561c8cfe9de68532 (19b6123f594fc3ca453bd58c730b07f9365791f7) 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-ssh1644314670526742376.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-ssh3481353281085347123.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-363/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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5898334995509445298.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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10017382732018401355.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-ssh5391268838100551451.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-363/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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13685876950981819269.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-15830 in /w/workspace/undry_device-onvif-camera_PR-363 [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-363 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0b14d5e504f249c58ecc48c4561c8cfe9de68532 into PR head commit 48bb920c534520c9c168c1c6b241002778bd6c3b Merge succeeded, producing 48bb920c534520c9c168c1c6b241002778bd6c3b Checking out Revision 48bb920c534520c9c168c1c6b241002778bd6c3b (PR-363) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48bb920c534520c9c168c1c6b241002778bd6c3b # 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 0b14d5e504f249c58ecc48c4561c8cfe9de68532 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48bb920c534520c9c168c1c6b241002778bd6c3b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:01:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:01:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:01:27 ========================================================= 04:01:27 EdgeX Global Pipelines Version Info 04:01:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:01:28 ------------------- 04:01:28 stable info: 04:01:28 ------------------- 04:01:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:01:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:01:28 Message: update stable to v1.0.249 04:01:29 ------------------- 04:01:29 experimental info: 04:01:29 ------------------- 04:01:29 Commited By: **** collab-it+edgex@linuxfoundation.org 04:01:29 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:01:29 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48bb920c534520c9c168c1c6b241002778bd6c3b [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48bb920 [Pipeline] echo 04:01:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:30 provisioning config files... 04:01:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-363@tmp/config13490159358019469574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:31 ---> docker-login.sh 04:01:31 nexus3.edgexfoundry.org:10001 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:31 Configure a credential helper to remove this warning. See 04:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:31 04:01:31 Login Succeeded 04:01:31 nexus3.edgexfoundry.org:10002 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:31 Configure a credential helper to remove this warning. See 04:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:31 04:01:31 Login Succeeded 04:01:31 nexus3.edgexfoundry.org:10003 04:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:32 Configure a credential helper to remove this warning. See 04:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:32 04:01:32 Login Succeeded 04:01:32 nexus3.edgexfoundry.org:10004 04:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:32 Configure a credential helper to remove this warning. See 04:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:32 04:01:32 Login Succeeded 04:01:32 docker.io 04:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:32 Configure a credential helper to remove this warning. See 04:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:32 04:01:32 Login Succeeded 04:01:32 ---> docker-login.sh ends [Pipeline] } 04:01:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:01:33 + git rev-list -1 --merges 48bb920c534520c9c168c1c6b241002778bd6c3b~1..48bb920c534520c9c168c1c6b241002778bd6c3b [Pipeline] echo 04:01:33 -----------> git rev-list -1 --merges 48bb920c534520c9c168c1c6b241002778bd6c3b~1..48bb920c534520c9c168c1c6b241002778bd6c3b 48bb920c534520c9c168c1c6b241002778bd6c3b [false] [Pipeline] sh 04:01:33 + git log --format=format:%s -1 48bb920c534520c9c168c1c6b241002778bd6c3b [Pipeline] echo 04:01:33 ========================================================= 04:01:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:01:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:33 + git log --format=format:%s -1 48bb920c534520c9c168c1c6b241002778bd6c3b [Pipeline] echo 04:01:34 [semverPrep] GIT_COMMIT: 48bb920c534520c9c168c1c6b241002778bd6c3b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:01:34 [semverPrep] This is not a build commit. [Pipeline] sh 04:01:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:01:34 + grep -v github /etc/ssh/ssh_known_hosts 04:01:34 + [ -e /tmp/ssh_known_hosts ] 04:01:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:01:34 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:01:34 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:01:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:34 04:01:34 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:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:35 0.1.4: Pulling from edgex-devops/py-git-semver 04:01:35 b85a868b505f: Pulling fs layer 04:01:35 e2be974225ed: Pulling fs layer 04:01:35 339a4e72a1f5: Pulling fs layer 04:01:35 988bab9f4d93: Pulling fs layer 04:01:35 1469e6f7b9e6: Pulling fs layer 04:01:35 eaf3925da568: Pulling fs layer 04:01:35 bab4dde63d76: Pulling fs layer 04:01:35 bde34c3a00c8: Pulling fs layer 04:01:35 b352a97aabf1: Pulling fs layer 04:01:35 4872d77fe225: Pulling fs layer 04:01:35 5851b861e8e6: Pulling fs layer 04:01:35 b352a97aabf1: Waiting 04:01:35 bab4dde63d76: Waiting 04:01:35 eaf3925da568: Waiting 04:01:35 bde34c3a00c8: Waiting 04:01:35 1469e6f7b9e6: Waiting 04:01:35 988bab9f4d93: Waiting 04:01:35 5851b861e8e6: Waiting 04:01:35 e2be974225ed: Verifying Checksum 04:01:35 e2be974225ed: Download complete 04:01:35 988bab9f4d93: Verifying Checksum 04:01:35 988bab9f4d93: Download complete 04:01:35 1469e6f7b9e6: Verifying Checksum 04:01:35 1469e6f7b9e6: Download complete 04:01:35 eaf3925da568: Verifying Checksum 04:01:35 eaf3925da568: Download complete 04:01:35 339a4e72a1f5: Verifying Checksum 04:01:35 339a4e72a1f5: Download complete 04:01:35 b352a97aabf1: Download complete 04:01:35 4872d77fe225: Download complete 04:01:35 5851b861e8e6: Download complete 04:01:35 b85a868b505f: Verifying Checksum 04:01:35 b85a868b505f: Download complete 04:01:35 bab4dde63d76: Verifying Checksum 04:01:35 bab4dde63d76: Download complete 04:01:36 b85a868b505f: Pull complete 04:01:37 e2be974225ed: Pull complete 04:01:37 339a4e72a1f5: Pull complete 04:01:37 988bab9f4d93: Pull complete 04:01:37 1469e6f7b9e6: Pull complete 04:01:37 eaf3925da568: Pull complete 04:01:39 bab4dde63d76: Pull complete 04:01:39 bde34c3a00c8: Pull complete 04:01:40 b352a97aabf1: Pull complete 04:01:40 4872d77fe225: Pull complete 04:01:40 5851b861e8e6: Pull complete 04:01:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:40 prd-ubuntu20.04-docker-8c-8g-15830 does not seem to be running inside a container 04:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-363 -v /w/workspace/undry_device-onvif-camera_PR-363:/w/workspace/undry_device-onvif-camera_PR-363:rw,z -v /w/workspace/undry_device-onvif-camera_PR-363@tmp:/w/workspace/undry_device-onvif-camera_PR-363@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:01:43 $ docker top 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 -eo pid,comm 04:01:44 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:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:44 [ssh-agent] Looking for ssh-agent implementation... 04:01:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:44 $ docker exec 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 ssh-agent 04:01:44 SSH_AUTH_SOCK=/tmp/ssh-lEDv0jVbbvjS/agent.32 04:01:44 SSH_AGENT_PID=39 04:01:44 Running ssh-add (command line suppressed) 04:01:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-363@tmp/private_key_13456105529382168166.key (/w/workspace/undry_device-onvif-camera_PR-363@tmp/private_key_13456105529382168166.key) 04:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:44 + git tag --points-at HEAD [Pipeline] } 04:01:44 $ docker exec --env ******** --env ******** 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 ssh-agent -k 04:01:45 unset SSH_AUTH_SOCK; 04:01:45 unset SSH_AGENT_PID; 04:01:45 echo Agent pid 39 killed; 04:01:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:45 [ssh-agent] Looking for ssh-agent implementation... 04:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:45 $ docker exec 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 ssh-agent 04:01:45 SSH_AUTH_SOCK=/tmp/ssh-6AGMsPx11n32/agent.71 04:01:45 SSH_AGENT_PID=77 04:01:45 Running ssh-add (command line suppressed) 04:01:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-363@tmp/private_key_12664952622290337806.key (/w/workspace/undry_device-onvif-camera_PR-363@tmp/private_key_12664952622290337806.key) 04:01:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:45 + git semver init 04:01:46 2023-05-17 04:01:46,017 [run_init] DEBUG init version:0.0.0 force:False 04:01:46 2023-05-17 04:01:46,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-363/.semver 04:01:46 2023-05-17 04:01:46,018 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-363/.semver 04:01:46 2023-05-17 04:01:46,018 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-363/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-363, universal_newlines=False, shell=None, istream=None) 04:01:47 2023-05-17 04:01:47,014 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-363/.git/info/exclude 04:01:47 2023-05-17 04:01:47,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-363/.semver/PR-363 with force:False 04:01:47 2023-05-17 04:01:47,015 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-363/.semver/PR-363 04:01:47 2023-05-17 04:01:47,019 [execute] INFO git cat-file --batch-check 04:01:47 2023-05-17 04:01:47,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-363/.semver, universal_newlines=False, shell=None, istream=) 04:01:47 2023-05-17 04:01:47,026 [execute] INFO git cat-file --batch 04:01:47 2023-05-17 04:01:47,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-363/.semver, universal_newlines=False, shell=None, istream=) 04:01:47 2023-05-17 04:01:47,032 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-363/.semver/PR-363 04:01:47 0.0.0 [Pipeline] } 04:01:47 $ docker exec --env ******** --env ******** 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 ssh-agent -k 04:01:47 unset SSH_AUTH_SOCK; 04:01:47 unset SSH_AGENT_PID; 04:01:47 echo Agent pid 77 killed; 04:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:47 + git semver [Pipeline] } 04:01:48 $ docker stop --time=1 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 04:01:49 $ docker rm -f --volumes 825c534fedb73d5eb4b991eb32f063148a85153f2a0b62e591f2af871f17e350 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:50 Stashed 1 file(s) [Pipeline] echo 04:01:50 [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:50 provisioning config files... 04:01:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-363@tmp/config9279629743270130222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:51 ---> docker-login.sh 04:01:51 nexus3.edgexfoundry.org:10001 04:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:51 Configure a credential helper to remove this warning. See 04:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:51 04:01:51 Login Succeeded 04:01:51 nexus3.edgexfoundry.org:10002 04:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:51 Configure a credential helper to remove this warning. See 04:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:51 04:01:51 Login Succeeded 04:01:51 nexus3.edgexfoundry.org:10003 04:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:51 Configure a credential helper to remove this warning. See 04:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:51 04:01:51 Login Succeeded 04:01:51 nexus3.edgexfoundry.org:10004 04:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:51 Configure a credential helper to remove this warning. See 04:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:51 04:01:51 Login Succeeded 04:01:51 docker.io 04:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:51 Configure a credential helper to remove this warning. See 04:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:51 04:01:51 Login Succeeded 04:01:51 ---> docker-login.sh ends [Pipeline] } 04:01:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:51 ========================================================= 04:01:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:01:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:52 + 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:52 Sending build context to Docker daemon 21.9MB 04:01:52 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:01:52 Step 2/13 : FROM ${BASE} AS builder 04:01:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:52 f56be85fc22e: Pulling fs layer 04:01:52 85791d961cd3: Pulling fs layer 04:01:52 d694b5ae8c79: Pulling fs layer 04:01:52 9f32a84ed3da: Pulling fs layer 04:01:52 4d19c01a9841: Pulling fs layer 04:01:52 9325e15d5711: Pulling fs layer 04:01:52 556b6ee489ea: Pulling fs layer 04:01:52 c5a4b2cf53e6: Pulling fs layer 04:01:52 9325e15d5711: Waiting 04:01:52 556b6ee489ea: Waiting 04:01:52 9f32a84ed3da: Waiting 04:01:52 c5a4b2cf53e6: Waiting 04:01:52 4d19c01a9841: Waiting 04:01:52 85791d961cd3: Download complete 04:01:52 9f32a84ed3da: Verifying Checksum 04:01:52 9f32a84ed3da: Download complete 04:01:52 4d19c01a9841: Download complete 04:01:52 f56be85fc22e: Verifying Checksum 04:01:52 f56be85fc22e: Download complete 04:01:52 9325e15d5711: Verifying Checksum 04:01:52 9325e15d5711: Download complete 04:01:52 f56be85fc22e: Pull complete 04:01:52 85791d961cd3: Pull complete 04:01:53 c5a4b2cf53e6: Verifying Checksum 04:01:53 c5a4b2cf53e6: Download complete 04:01:53 d694b5ae8c79: Verifying Checksum 04:01:53 d694b5ae8c79: Download complete 04:01:53 556b6ee489ea: Verifying Checksum 04:01:53 556b6ee489ea: Download complete 04:01:56 d694b5ae8c79: Pull complete 04:01:56 9f32a84ed3da: Pull complete 04:01:57 4d19c01a9841: Pull complete 04:01:57 9325e15d5711: Pull complete 04:01:59 556b6ee489ea: Pull complete 04:02:00 c5a4b2cf53e6: Pull complete 04:02:00 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:02:00 ---> c4be618373d6 04:02:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:02:05 Still waiting to schedule task 04:02:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:02:07 ---> Running in e03cf7a527f8 04:02:07 Removing intermediate container e03cf7a527f8 04:02:07 ---> ea19c868aca9 04:02:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:07 ---> Running in 3e8877f9f754 04:02:07 Removing intermediate container 3e8877f9f754 04:02:07 ---> b4df666cd0f1 04:02:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:02:07 ---> Running in c35bebf6c04b 04:02:07 Removing intermediate container c35bebf6c04b 04:02:07 ---> 9812001b3c0b 04:02:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:02:07 ---> Running in b1e4f207c9b5 04:02:07 Removing intermediate container b1e4f207c9b5 04:02:07 ---> 55f8d22a2988 04:02:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:02:07 ---> Running in 3cde5c788cad 04:02:07 Removing intermediate container 3cde5c788cad 04:02:07 ---> 547a423ae49b 04:02:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:07 ---> Running in 77c95eca40a4 04:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:02:07 OK: 265 MiB in 53 packages 04:02:07 Removing intermediate container 77c95eca40a4 04:02:07 ---> c886690553ea 04:02:07 Step 9/13 : WORKDIR /device-onvif-camera 04:02:07 ---> Running in 498803c6ad2b 04:02:07 Removing intermediate container 498803c6ad2b 04:02:07 ---> b6c88b3b03f0 04:02:07 Step 10/13 : COPY go.mod vendor* ./ 04:02:07 ---> 05e53226ec67 04:02:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:07 ---> Running in 71467fc49360 04:02:54 Removing intermediate container 71467fc49360 04:02:54 ---> 912f1f9c9ef8 04:02:54 Step 12/13 : COPY . . 04:02:55 ---> bb102d4b1b3b 04:02:55 Step 13/13 : RUN ${MAKE} 04:02:55 ---> Running in 25e7aa46677e 04:02:55 noop 04:02:55 Removing intermediate container 25e7aa46677e 04:02:55 ---> 1f61dfd4ec90 04:02:55 Successfully built 1f61dfd4ec90 04:02:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:56 + docker inspect -f . ci-base-image-x86_64 04:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:56 prd-ubuntu20.04-docker-8c-8g-15830 does not seem to be running inside a container 04:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-363 -v /w/workspace/undry_device-onvif-camera_PR-363:/w/workspace/undry_device-onvif-camera_PR-363:rw,z -v /w/workspace/undry_device-onvif-camera_PR-363@tmp:/w/workspace/undry_device-onvif-camera_PR-363@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-x86_64 cat 04:02:56 $ docker top 31eb0158f6d83ece1ea0e2cb90e009ff4ac71ce8d94763c399896d4a83b16d14 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:56 + go version 04:02:56 go version go1.20.2 linux/amd64 [Pipeline] } 04:02:56 $ docker stop --time=1 31eb0158f6d83ece1ea0e2cb90e009ff4ac71ce8d94763c399896d4a83b16d14 04:02:58 $ docker rm -f --volumes 31eb0158f6d83ece1ea0e2cb90e009ff4ac71ce8d94763c399896d4a83b16d14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:58 + docker inspect -f . ci-base-image-x86_64 04:02:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:59 prd-ubuntu20.04-docker-8c-8g-15830 does not seem to be running inside a container 04:02:59 $ 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-363 -v /w/workspace/undry_device-onvif-camera_PR-363:/w/workspace/undry_device-onvif-camera_PR-363:rw,z -v /w/workspace/undry_device-onvif-camera_PR-363@tmp:/w/workspace/undry_device-onvif-camera_PR-363@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-x86_64 cat 04:02:59 $ docker top 5217149bed050abf0bfbd72b1f5571bc4309b2845dabe9099ec18e94d4e1e353 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:59 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-363 [Pipeline] fileExists [Pipeline] sh 04:03:00 + make test 04:03:00 go test ./... -coverprofile=coverage.out ./... 04:03:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:03:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:03:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:03:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 31.4% of statements 04:03:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.388s coverage: 86.5% of statements 04:03:26 go vet ./... 04:03:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:29 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:29 $ docker stop --time=1 5217149bed050abf0bfbd72b1f5571bc4309b2845dabe9099ec18e94d4e1e353 04:03:32 $ docker rm -f --volumes 5217149bed050abf0bfbd72b1f5571bc4309b2845dabe9099ec18e94d4e1e353 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:34 + ls -al . 04:03:34 total 232 04:03:34 drwxrwxr-x 10 jenkins jenkins 4096 May 17 04:03 . 04:03:34 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:01 .. 04:03:34 drwxrwxr-x 8 jenkins jenkins 4096 May 17 04:01 .git 04:03:34 drwxrwxr-x 3 jenkins jenkins 4096 May 17 04:01 .github 04:03:34 -rw-rw-r-- 1 jenkins jenkins 496 May 17 04:01 .gitignore 04:03:34 -rw-rw-r-- 1 jenkins jenkins 42 May 17 04:01 .golangci.yml 04:03:34 drwxr-xr-x 3 jenkins jenkins 4096 May 17 04:01 .semver 04:03:34 -rw-rw-r-- 1 jenkins jenkins 10087 May 17 04:01 Attribution.txt 04:03:34 -rw-rw-r-- 1 jenkins jenkins 6312 May 17 04:01 CHANGELOG.md 04:03:34 -rw-rw-r-- 1 jenkins jenkins 1574 May 17 04:01 Dockerfile 04:03:34 -rw-rw-r-- 1 jenkins jenkins 677 May 17 04:01 GOVERNANCE.md 04:03:34 -rw-rw-r-- 1 jenkins jenkins 739 May 17 04:01 Jenkinsfile 04:03:34 -rw-rw-r-- 1 jenkins jenkins 11348 May 17 04:01 LICENSE 04:03:34 -rw-rw-r-- 1 jenkins jenkins 2751 May 17 04:01 Makefile 04:03:34 -rw-rw-r-- 1 jenkins jenkins 625 May 17 04:01 OWNERS.md 04:03:34 -rw-rw-r-- 1 jenkins jenkins 2690 May 17 04:01 README.md 04:03:34 -rw-rw-r-- 1 jenkins jenkins 5 May 17 04:01 VERSION 04:03:34 drwxrwxr-x 2 jenkins jenkins 4096 May 17 04:01 bin 04:03:34 drwxrwxr-x 3 jenkins jenkins 4096 May 17 04:01 cmd 04:03:34 -rw-r--r-- 1 jenkins jenkins 78459 May 17 04:03 coverage.out 04:03:34 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:01 doc 04:03:34 -rw-rw-r-- 1 jenkins jenkins 3642 May 17 04:01 go.mod 04:03:34 -rw-rw-r-- 1 jenkins jenkins 33491 May 17 04:01 go.sum 04:03:34 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:01 internal 04:03:34 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:01 snap 04:03:34 -rw-rw-r-- 1 jenkins jenkins 236 May 17 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:34 + 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=48bb920c534520c9c168c1c6b241002778bd6c3b --label arch=amd64 --label version=0.0.0 . 04:03:34 Sending build context to Docker daemon 21.98MB 04:03:34 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:03:34 Step 2/26 : FROM ${BASE} AS builder 04:03:34 ---> 1f61dfd4ec90 04:03:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:03:35 ---> Running in e950e240218e 04:03:35 Removing intermediate container e950e240218e 04:03:35 ---> 01362ac80eb9 04:03:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:03:35 ---> Running in 76225f7d648e 04:03:35 Removing intermediate container 76225f7d648e 04:03:35 ---> 91bccab22c1e 04:03:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:03:35 ---> Running in 36b6e61b9a45 04:03:35 Removing intermediate container 36b6e61b9a45 04:03:35 ---> c5bb3a1ff656 04:03:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:03:35 ---> Running in 8574a7a14bbf 04:03:35 Removing intermediate container 8574a7a14bbf 04:03:35 ---> ea0523a0b216 04:03:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:03:35 ---> Running in 565c0836f817 04:03:35 Removing intermediate container 565c0836f817 04:03:35 ---> 3763fbe9abd2 04:03:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:35 ---> Running in 379cd087bcbf 04:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:03:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:03:36 OK: 265 MiB in 53 packages 04:03:36 Removing intermediate container 379cd087bcbf 04:03:36 ---> 337790d41556 04:03:36 Step 9/26 : WORKDIR /device-onvif-camera 04:03:36 ---> Running in bd40c4ece8aa 04:03:36 Removing intermediate container bd40c4ece8aa 04:03:36 ---> 5b59278a0634 04:03:36 Step 10/26 : COPY go.mod vendor* ./ 04:03:36 ---> d58353bd8508 04:03:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:36 ---> Running in 2b89a54b962c 04:03:37 Removing intermediate container 2b89a54b962c 04:03:37 ---> 1c1db8b443f8 04:03:37 Step 12/26 : COPY . . 04:03:38 ---> 86b023288382 04:03:38 Step 13/26 : RUN ${MAKE} 04:03:38 ---> Running in a1184ce3feac 04:03:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:03:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15831 in /w/workspace/undry_device-onvif-camera_PR-363 [Pipeline] { [Pipeline] ws 04:03:44 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:03:44 The recommended git tool is: git 04:03:51 using credential edgex-jenkins-ssh 04:03:51 Cloning the remote Git repository 04:03:51 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:03:51 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:03:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:03:52 > git --version # timeout=10 04:03:52 > git --version # 'git version 2.25.1' 04:03:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:03:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:55 Merging remotes/origin/main commit 0b14d5e504f249c58ecc48c4561c8cfe9de68532 into PR head commit 48bb920c534520c9c168c1c6b241002778bd6c3b 04:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:03:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:03:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:03:55 > git config core.sparsecheckout # timeout=10 04:03:55 Merge succeeded, producing 48bb920c534520c9c168c1c6b241002778bd6c3b 04:03:55 Checking out Revision 48bb920c534520c9c168c1c6b241002778bd6c3b (PR-363) 04:03:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:03:56 > git --version # timeout=10 04:03:56 > git --version # 'git version 2.25.1' 04:03:56 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { 04:03:55 > git checkout -f 48bb920c534520c9c168c1c6b241002778bd6c3b # timeout=10 04:03:55 > git remote # timeout=10 04:03:55 > git config --get remote.origin.url # timeout=10 04:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:55 > git merge 0b14d5e504f249c58ecc48c4561c8cfe9de68532 # timeout=10 04:03:55 > git rev-parse HEAD^{commit} # timeout=10 04:03:55 > git config core.sparsecheckout # timeout=10 04:03:55 > git checkout -f 48bb920c534520c9c168c1c6b241002778bd6c3b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:03:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:03:57 Dload Upload Total Spent Left Speed 04:03:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 04:03:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:03:58 + sudo tee /etc/docker/daemon.new 04:03:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:03:58 { 04:03:58 "registry-mirrors": [ 04:03:58 "https://nexus3.edgexfoundry.org:10001" 04:03:58 ], 04:03:58 "bip": "10.250.0.254/24", 04:03:58 "hosts": [ 04:03:58 "tcp://0.0.0.0:5555", 04:03:58 "unix:///var/run/docker.sock" 04:03:58 ], 04:03:58 "mtu": 1458, 04:03:58 "selinux-enabled": true, 04:03:58 "seccomp-profile": "/etc/docker/seccomp.json" 04:03:58 } [Pipeline] sh 04:03:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:03:59 + sudo service docker restart 04:04:00 Removing intermediate container a1184ce3feac 04:04:00 ---> 260540922022 04:04:00 Step 14/26 : FROM alpine:3.17 04:04:00 3.17: Pulling from library/alpine 04:04:00 f56be85fc22e: Already exists 04:04:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:04:00 Status: Downloaded newer image for alpine:3.17 04:04:00 ---> 9ed4aefc74f6 04:04:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:04:00 ---> Running in 3519e3cc12da 04:04:00 Removing intermediate container 3519e3cc12da 04:04:00 ---> c916155d7192 04:04:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:04:00 ---> Running in ea69179ec391 04:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:00 (1/1) Installing dumb-init (1.2.5-r2) 04:04:00 Executing busybox-1.35.0-r29.trigger 04:04:00 OK: 7 MiB in 16 packages 04:04:00 Removing intermediate container ea69179ec391 04:04:00 ---> 4869d284dbad 04:04:00 Step 17/26 : WORKDIR / 04:04:00 ---> Running in 31741355300a 04:04:01 Removing intermediate container 31741355300a 04:04:01 ---> 9e16d259d96d 04:04:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:04:02 ---> c3c23c91c0d5 04:04:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:04:02 ---> fcd44ce10efa 04:04:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:04:02 ---> a2027466b6f7 04:04:02 Step 21/26 : EXPOSE 59984 04:04:02 ---> Running in bbec49d266f6 04:04:02 Removing intermediate container bbec49d266f6 04:04:02 ---> b2cfa667f5db 04:04:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:04:02 ---> Running in e8b4badbacf3 04:04:02 Removing intermediate container e8b4badbacf3 04:04:02 ---> 439afb0544c3 04:04:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:04:02 ---> Running in d7d494d34a7d 04:04:02 Removing intermediate container d7d494d34a7d 04:04:02 ---> a3c417b21f79 04:04:02 Step 24/26 : LABEL arch=amd64 04:04:02 ---> Running in 12aa3cd753c5 04:04:02 Removing intermediate container 12aa3cd753c5 04:04:02 ---> 7fe0f455f0cd 04:04:02 Step 25/26 : LABEL git_sha=48bb920c534520c9c168c1c6b241002778bd6c3b 04:04:02 ---> Running in 799713e87edc 04:04:02 Removing intermediate container 799713e87edc 04:04:02 ---> 545c1cf41ded 04:04:02 Step 26/26 : LABEL version=0.0.0 04:04:02 ---> Running in 8bfc36576b4e 04:04:02 Removing intermediate container 8bfc36576b4e 04:04:02 ---> 2e1117885ab1 04:04:02 [Warning] One or more build-args [ARCH] were not consumed 04:04:02 Successfully built 2e1117885ab1 04:04:02 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:04:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:03 04:04:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:04 latest: Pulling from edgex-lftools-log-publisher 04:04:04 5eb5b503b376: Pulling fs layer 04:04:04 5c69ac0246d0: Pulling fs layer 04:04:04 ec43610c2a17: Pulling fs layer 04:04:04 3a2ae6a8a46f: Pulling fs layer 04:04:04 33b1e0a273af: Pulling fs layer 04:04:04 5d3b04190fa2: Pulling fs layer 04:04:04 2f39f015ded8: Pulling fs layer 04:04:04 3a2ae6a8a46f: Waiting 04:04:04 33b1e0a273af: Waiting 04:04:04 2f39f015ded8: Waiting 04:04:04 5d3b04190fa2: Waiting 04:04:04 5c69ac0246d0: Verifying Checksum 04:04:04 5c69ac0246d0: Download complete 04:04:04 3a2ae6a8a46f: Verifying Checksum 04:04:04 3a2ae6a8a46f: Download complete 04:04:04 33b1e0a273af: Verifying Checksum 04:04:04 33b1e0a273af: Download complete 04:04:04 5d3b04190fa2: Download complete 04:04:04 ec43610c2a17: Verifying Checksum 04:04:04 ec43610c2a17: Download complete 04:04:04 5eb5b503b376: Verifying Checksum 04:04:04 5eb5b503b376: Download complete 04:04:04 2f39f015ded8: Download complete 04:04:05 5eb5b503b376: Pull complete 04:04:05 5c69ac0246d0: Pull complete 04:04:06 ec43610c2a17: Pull complete 04:04:06 3a2ae6a8a46f: Pull complete 04:04:06 33b1e0a273af: Pull complete 04:04:06 5d3b04190fa2: Pull complete 04:04:10 2f39f015ded8: Pull complete 04:04:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:10 prd-ubuntu20.04-docker-8c-8g-15830 does not seem to be running inside a container 04:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-363 -v /w/workspace/undry_device-onvif-camera_PR-363:/w/workspace/undry_device-onvif-camera_PR-363:rw,z -v /w/workspace/undry_device-onvif-camera_PR-363@tmp:/w/workspace/undry_device-onvif-camera_PR-363@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:04:14 $ docker top a8dea06a9d50eb9ace22538413928d940347a4806159a4ae30cb3047249a428e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:15 ---> job-cost.sh 04:04:15 lf-activate-venv: SKIPPING 04:04:15 INFO: No Stack... 04:04:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:04:16 INFO: Archiving Costs [Pipeline] sh 04:04:16 + cat /w/workspace/undry_device-onvif-camera_PR-363/archives/cost.csv 04:04:16 + cut -d, -f6 [Pipeline] lock 04:04:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] 04:04:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] did not exist. Created. 04:04:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:16 + echo total: 0.2199999988079071 [Pipeline] stash 04:04:16 Stashed 1 file(s) [Pipeline] } 04:04:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:16 $ docker stop --time=1 a8dea06a9d50eb9ace22538413928d940347a4806159a4ae30cb3047249a428e 04:04:18 $ docker rm -f --volumes a8dea06a9d50eb9ace22538413928d940347a4806159a4ae30cb3047249a428e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 04:04:18 provisioning config files... [Pipeline] } 04:04:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14720530976109929751tmp [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] } 04:04:18 ---> docker-login.sh 04:04:18 nexus3.edgexfoundry.org:10001 04:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:19 Configure a credential helper to remove this warning. See 04:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:19 04:04:19 Login Succeeded 04:04:19 nexus3.edgexfoundry.org:10002 04:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:19 Configure a credential helper to remove this warning. See 04:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:19 04:04:19 Login Succeeded 04:04:19 nexus3.edgexfoundry.org:10003 04:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:20 Configure a credential helper to remove this warning. See 04:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:20 04:04:20 Login Succeeded 04:04:20 nexus3.edgexfoundry.org:10004 04:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:20 Configure a credential helper to remove this warning. See 04:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:20 04:04:20 Login Succeeded 04:04:20 docker.io 04:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:20 Configure a credential helper to remove this warning. See 04:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:20 04:04:20 Login Succeeded 04:04:20 ---> docker-login.sh ends [Pipeline] } 04:04:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:21 ========================================================= 04:04:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:04:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:04:22 Sending build context to Docker daemon 14.37MB 04:04:22 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:04:22 Step 2/13 : FROM ${BASE} AS builder 04:04:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:04:22 c41833b44d91: Pulling fs layer 04:04:22 ed15518f5707: Pulling fs layer 04:04:22 feae8fd75edb: Pulling fs layer 04:04:22 242c74f7c9fa: Pulling fs layer 04:04:22 3cdef696dda3: Pulling fs layer 04:04:22 2ced38df9373: Pulling fs layer 04:04:22 58f1dce35555: Pulling fs layer 04:04:22 242c74f7c9fa: Waiting 04:04:22 3cdef696dda3: Waiting 04:04:22 2ced38df9373: Waiting 04:04:22 58f1dce35555: Waiting 04:04:22 ed15518f5707: Verifying Checksum 04:04:22 ed15518f5707: Download complete 04:04:22 242c74f7c9fa: Verifying Checksum 04:04:22 242c74f7c9fa: Download complete 04:04:22 3cdef696dda3: Verifying Checksum 04:04:22 3cdef696dda3: Download complete 04:04:22 c41833b44d91: Verifying Checksum 04:04:22 c41833b44d91: Download complete 04:04:23 c41833b44d91: Pull complete 04:04:24 58f1dce35555: Verifying Checksum 04:04:24 58f1dce35555: Download complete 04:04:24 ed15518f5707: Pull complete 04:04:25 feae8fd75edb: Verifying Checksum 04:04:25 feae8fd75edb: Download complete 04:04:25 2ced38df9373: Verifying Checksum 04:04:25 2ced38df9373: Download complete 04:04:37 feae8fd75edb: Pull complete 04:04:37 242c74f7c9fa: Pull complete 04:04:37 3cdef696dda3: Pull complete 04:04:46 2ced38df9373: Pull complete 04:04:48 58f1dce35555: Pull complete 04:04:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:04:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:04:48 ---> fadd8f120f05 04:04:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:04:50 ---> Running in c9b9ef971321 04:04:50 Removing intermediate container c9b9ef971321 04:04:50 ---> 62ca0534e622 04:04:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:50 ---> Running in da92faeb8c25 04:04:50 Removing intermediate container da92faeb8c25 04:04:50 ---> 5ac5e4667c02 04:04:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:04:50 ---> Running in 818ed1d8e1ae 04:04:50 Removing intermediate container 818ed1d8e1ae 04:04:50 ---> 7bf89a3da059 04:04:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:04:51 ---> Running in e7f9246c772a 04:04:51 Removing intermediate container e7f9246c772a 04:04:51 ---> 9d577ff0e897 04:04:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:04:51 ---> Running in 2a82d2f4ef0f 04:04:51 Removing intermediate container 2a82d2f4ef0f 04:04:51 ---> 5dfce2f6a1fb 04:04:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:51 ---> Running in 6e7ad12ffe0e 04:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:04:54 OK: 263 MiB in 53 packages 04:04:54 Removing intermediate container 6e7ad12ffe0e 04:04:54 ---> 8ee7e934239e 04:04:54 Step 9/13 : WORKDIR /device-onvif-camera 04:04:55 ---> Running in 703d2d82aa60 04:04:55 Removing intermediate container 703d2d82aa60 04:04:55 ---> ae62eb015793 04:04:55 Step 10/13 : COPY go.mod vendor* ./ 04:04:56 ---> e03f1ae3ca74 04:04:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:56 ---> Running in f452c2395c20 04:06:03 Removing intermediate container f452c2395c20 04:06:03 ---> 7f91718e8154 04:06:03 Step 12/13 : COPY . . 04:06:03 ---> 2de22e34a4f0 04:06:03 Step 13/13 : RUN ${MAKE} 04:06:03 ---> Running in 59c6ec417a31 04:06:03 noop 04:06:03 Removing intermediate container 59c6ec417a31 04:06:03 ---> 9676bf2060d3 04:06:03 Successfully built 9676bf2060d3 04:06:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:04 + docker inspect -f . ci-base-image-arm64 04:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:04 prd-ubuntu20.04-docker-arm64-4c-16g-15831 does not seem to be running inside a container 04:06:04 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:06:06 $ docker top 722a0bba8428e13cd73a9586740bd605922f27a5d89685dbe13bac0c812e961d -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:06 + go version 04:06:06 go version go1.20.2 linux/arm64 [Pipeline] } 04:06:06 $ docker stop --time=1 722a0bba8428e13cd73a9586740bd605922f27a5d89685dbe13bac0c812e961d 04:06:08 $ docker rm -f --volumes 722a0bba8428e13cd73a9586740bd605922f27a5d89685dbe13bac0c812e961d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:09 + docker inspect -f . ci-base-image-arm64 04:06:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:09 prd-ubuntu20.04-docker-arm64-4c-16g-15831 does not seem to be running inside a container 04:06:09 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:06:10 $ docker top 5d161e23ed3c97cf35fca43bc18518038651ff5612a1f9a8f0e340b587bb504d -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:11 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:06:12 + make test 04:06:12 go test ./... -coverprofile=coverage.out ./... 04:06:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:08:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:08:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:08:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.210s coverage: 31.4% of statements 04:09:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.361s coverage: 86.5% of statements 04:09:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:09:18 go vet ./... 04:09:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:50 ./bin/test-attribution-txt.sh [Pipeline] echo 04:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:50 $ docker stop --time=1 5d161e23ed3c97cf35fca43bc18518038651ff5612a1f9a8f0e340b587bb504d 04:09:52 $ docker rm -f --volumes 5d161e23ed3c97cf35fca43bc18518038651ff5612a1f9a8f0e340b587bb504d [Pipeline] // withDockerContainer [Pipeline] sh 04:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:53 Warning: overwriting stash ‘coverage-report’ 04:09:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:55 + ls -al . 04:09:55 total 228 04:09:55 drwxrwxr-x 9 jenkins jenkins 4096 May 17 04:06 . 04:09:55 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:03 .. 04:09:55 drwxrwxr-x 8 jenkins jenkins 4096 May 17 04:03 .git 04:09:55 drwxrwxr-x 3 jenkins jenkins 4096 May 17 04:03 .github 04:09:55 -rw-rw-r-- 1 jenkins jenkins 496 May 17 04:03 .gitignore 04:09:55 -rw-rw-r-- 1 jenkins jenkins 42 May 17 04:03 .golangci.yml 04:09:55 -rw-rw-r-- 1 jenkins jenkins 10087 May 17 04:03 Attribution.txt 04:09:55 -rw-rw-r-- 1 jenkins jenkins 6312 May 17 04:03 CHANGELOG.md 04:09:55 -rw-rw-r-- 1 jenkins jenkins 1574 May 17 04:03 Dockerfile 04:09:55 -rw-rw-r-- 1 jenkins jenkins 677 May 17 04:03 GOVERNANCE.md 04:09:55 -rw-rw-r-- 1 jenkins jenkins 739 May 17 04:03 Jenkinsfile 04:09:55 -rw-rw-r-- 1 jenkins jenkins 11348 May 17 04:03 LICENSE 04:09:55 -rw-rw-r-- 1 jenkins jenkins 2751 May 17 04:03 Makefile 04:09:55 -rw-rw-r-- 1 jenkins jenkins 625 May 17 04:03 OWNERS.md 04:09:55 -rw-rw-r-- 1 jenkins jenkins 2690 May 17 04:03 README.md 04:09:55 -rw-rw-r-- 1 jenkins jenkins 5 May 17 04:01 VERSION 04:09:55 drwxrwxr-x 2 jenkins jenkins 4096 May 17 04:03 bin 04:09:55 drwxrwxr-x 3 jenkins jenkins 4096 May 17 04:03 cmd 04:09:55 -rw-r--r-- 1 jenkins jenkins 78459 May 17 04:09 coverage.out 04:09:55 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:03 doc 04:09:55 -rw-rw-r-- 1 jenkins jenkins 3642 May 17 04:03 go.mod 04:09:55 -rw-rw-r-- 1 jenkins jenkins 33491 May 17 04:03 go.sum 04:09:55 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:03 internal 04:09:55 drwxrwxr-x 4 jenkins jenkins 4096 May 17 04:03 snap 04:09:55 -rw-rw-r-- 1 jenkins jenkins 236 May 17 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:55 + 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=48bb920c534520c9c168c1c6b241002778bd6c3b --label arch=arm64 --label version=0.0.0 . 04:09:56 Sending build context to Docker daemon 14.45MB 04:09:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:09:56 Step 2/26 : FROM ${BASE} AS builder 04:09:56 ---> 9676bf2060d3 04:09:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:09:56 ---> Running in 0846a50c01dc 04:09:56 Removing intermediate container 0846a50c01dc 04:09:56 ---> 3f3a31754f6a 04:09:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:56 ---> Running in ef256594ca98 04:09:57 Removing intermediate container ef256594ca98 04:09:57 ---> 2c93986b51d1 04:09:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:09:57 ---> Running in 4688a7c92f4f 04:09:57 Removing intermediate container 4688a7c92f4f 04:09:57 ---> 09bf82dd7858 04:09:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:09:57 ---> Running in 660c9832d4c1 04:09:57 Removing intermediate container 660c9832d4c1 04:09:57 ---> 1930df77ef6c 04:09:57 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:09:57 ---> Running in e7050887ba2d 04:09:58 Removing intermediate container e7050887ba2d 04:09:58 ---> 55ae8c738783 04:09:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:58 ---> Running in 3fab31c1bbfd 04:09:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:09:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:10:00 OK: 263 MiB in 53 packages 04:10:01 Removing intermediate container 3fab31c1bbfd 04:10:01 ---> c409bd7c392a 04:10:01 Step 9/26 : WORKDIR /device-onvif-camera 04:10:01 ---> Running in 3cb7eeb8b5a2 04:10:01 Removing intermediate container 3cb7eeb8b5a2 04:10:01 ---> d0481d63fafa 04:10:01 Step 10/26 : COPY go.mod vendor* ./ 04:10:02 ---> 02ad031964e6 04:10:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:02 ---> Running in f866d811f9cf 04:10:05 Removing intermediate container f866d811f9cf 04:10:05 ---> c0d344df62a1 04:10:05 Step 12/26 : COPY . . 04:10:06 ---> 0798377eb533 04:10:06 Step 13/26 : RUN ${MAKE} 04:10:06 ---> Running in 3c130b73b75a 04:10:07 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:29 Removing intermediate container 3c130b73b75a 04:12:29 ---> 5a8296925ed4 04:12:29 Step 14/26 : FROM alpine:3.17 04:12:29 3.17: Pulling from library/alpine 04:12:29 c41833b44d91: Already exists 04:12:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:12:29 Status: Downloaded newer image for alpine:3.17 04:12:29 ---> 51e60588ff2c 04:12:29 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:12:29 ---> Running in 6ff45bf2d53b 04:12:29 Removing intermediate container 6ff45bf2d53b 04:12:29 ---> b95c96406581 04:12:29 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:12:29 ---> Running in dad6b2f0a5f3 04:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:12:29 (1/1) Installing dumb-init (1.2.5-r2) 04:12:29 Executing busybox-1.35.0-r29.trigger 04:12:29 OK: 8 MiB in 16 packages 04:12:29 Removing intermediate container dad6b2f0a5f3 04:12:29 ---> ac729f2d73f8 04:12:29 Step 17/26 : WORKDIR / 04:12:29 ---> Running in 41c1960ae12b 04:12:29 Removing intermediate container 41c1960ae12b 04:12:29 ---> eb942aa65b4e 04:12:29 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:12:29 ---> 68d32c5dfd91 04:12:29 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:12:29 ---> b44dc7a17896 04:12:29 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:12:29 ---> f40658632a60 04:12:29 Step 21/26 : EXPOSE 59984 04:12:29 ---> Running in 0915a51acb71 04:12:29 Removing intermediate container 0915a51acb71 04:12:29 ---> 73cd5e255163 04:12:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:12:29 ---> Running in 08ebb698b14e 04:12:29 Removing intermediate container 08ebb698b14e 04:12:29 ---> c32d62c80f7b 04:12:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:29 ---> Running in 83c6900d798f 04:12:30 Removing intermediate container 83c6900d798f 04:12:30 ---> 94d646454573 04:12:30 Step 24/26 : LABEL arch=arm64 04:12:30 ---> Running in 67213e05fe35 04:12:30 Removing intermediate container 67213e05fe35 04:12:30 ---> d402335e6940 04:12:30 Step 25/26 : LABEL git_sha=48bb920c534520c9c168c1c6b241002778bd6c3b 04:12:30 ---> Running in 5ff4fdd9807f 04:12:30 Removing intermediate container 5ff4fdd9807f 04:12:30 ---> d031e41194d3 04:12:30 Step 26/26 : LABEL version=0.0.0 04:12:31 ---> Running in 77497bf409db 04:12:31 Removing intermediate container 77497bf409db 04:12:31 ---> 3018cfe4335b 04:12:31 [Warning] One or more build-args [ARCH] were not consumed 04:12:31 Successfully built 3018cfe4335b 04:12:31 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:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:32 04:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:32 arm64: Pulling from edgex-lftools-log-publisher 04:12:32 8998bd30e6a1: Pulling fs layer 04:12:32 04944245beec: Pulling fs layer 04:12:32 699f458cf7ca: Pulling fs layer 04:12:32 765212b225bb: Pulling fs layer 04:12:32 f23df028b6ca: Pulling fs layer 04:12:32 d65c8cfc05b1: Pulling fs layer 04:12:32 2437ff75d9bd: Pulling fs layer 04:12:32 765212b225bb: Waiting 04:12:32 f23df028b6ca: Waiting 04:12:32 d65c8cfc05b1: Waiting 04:12:32 2437ff75d9bd: Waiting 04:12:32 04944245beec: Verifying Checksum 04:12:32 04944245beec: Download complete 04:12:32 765212b225bb: Verifying Checksum 04:12:32 765212b225bb: Download complete 04:12:32 f23df028b6ca: Verifying Checksum 04:12:32 f23df028b6ca: Download complete 04:12:32 d65c8cfc05b1: Verifying Checksum 04:12:32 d65c8cfc05b1: Download complete 04:12:33 699f458cf7ca: Verifying Checksum 04:12:33 699f458cf7ca: Download complete 04:12:33 8998bd30e6a1: Download complete 04:12:35 2437ff75d9bd: Verifying Checksum 04:12:35 2437ff75d9bd: Download complete 04:12:37 8998bd30e6a1: Pull complete 04:12:37 04944245beec: Pull complete 04:12:39 699f458cf7ca: Pull complete 04:12:39 765212b225bb: Pull complete 04:12:40 f23df028b6ca: Pull complete 04:12:40 d65c8cfc05b1: Pull complete 04:12:55 2437ff75d9bd: Pull complete 04:12:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:12:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:55 prd-ubuntu20.04-docker-arm64-4c-16g-15831 does not seem to be running inside a container 04:12:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:12:57 $ docker top 9ce9b571e6b6cb63378e6a43b02d5cb53999aec768636f7f6f3f1d8b71fdc1b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:58 ---> job-cost.sh 04:12:58 lf-activate-venv: SKIPPING 04:12:58 INFO: No Stack... 04:12:59 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:00 INFO: Archiving Costs [Pipeline] sh 04:13:00 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:13:00 + cut -d, -f6 [Pipeline] lock 04:13:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] 04:13:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] did not exist. Created. 04:13:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:01 /w/workspace/device-onvif-camera/1@tmp/durable-94fcdb6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:01 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:02 Warning: overwriting stash ‘stack-cost’ 04:13:02 Stashed 1 file(s) [Pipeline] } 04:13:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:02 $ docker stop --time=1 9ce9b571e6b6cb63378e6a43b02d5cb53999aec768636f7f6f3f1d8b71fdc1b1 04:13:03 $ docker rm -f --volumes 9ce9b571e6b6cb63378e6a43b02d5cb53999aec768636f7f6f3f1d8b71fdc1b1 [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:13:04 provisioning config files... 04:13:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-363@tmp/config10902999675788886295tmp [Pipeline] { [Pipeline] sh 04:13:05 + set +x 04:13:05 + curl -s https://codecov.io/bash 04:13:05 + bash -s -- 04:13:05 04:13:05 _____ _ 04:13:05 / ____| | | 04:13:05 | | ___ __| | ___ ___ _____ __ 04:13:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:05 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:05 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:05 Bash-1.0.6 04:13:05 04:13:05 04:13:05 ==> git version 2.25.1 found 04:13:05 ==> 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:13:05 Release-Date: 2020-01-08 04:13:05 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:13:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:13:05 ==> Jenkins CI detected. 04:13:05 current dir:  /w/workspace/undry_device-onvif-camera_PR-363 04:13:05 project root: . 04:13:05 --> token set from env 04:13:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:05 ==> Running gcov in . (disable via -X gcov) 04:13:05 ==> Python coveragepy not found 04:13:05 ==> Searching for coverage reports in: 04:13:05 + . 04:13:05 -> Found 1 reports 04:13:05 ==> Detecting git/mercurial file structure 04:13:05 ==> Reading reports 04:13:05 + ./coverage.out bytes=78459 04:13:05 ==> Appending adjustments 04:13:05 https://docs.codecov.io/docs/fixing-reports 04:13:05 + Found adjustments 04:13:05 ==> Gzipping contents 04:13:05 12K /tmp/codecov.ATruwc.gz 04:13:05 ==> Uploading reports 04:13:05 url: https://codecov.io 04:13:05 query: branch=PR-363&commit=48bb920c534520c9c168c1c6b241002778bd6c3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=363&job=&cmd_args= 04:13:05 -> Pinging Codecov 04:13:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-363&commit=48bb920c534520c9c168c1c6b241002778bd6c3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=363&job=&cmd_args= 04:13:05 -> Uploading to 04:13:05 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/F29A59C45E3A92E06B3E522C9905F8EF/48bb920c534520c9c168c1c6b241002778bd6c3b/72f02c18-7c44-4855-9891-9549a166f47e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T041305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24f02466d61e97434cc6cc6abd8533561af321416392ae8a3946f5dd45d12dcf 04:13:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:05 Dload Upload Total Spent Left Speed 04:13:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 43089 --:--:-- --:--:-- --:--:-- 43089 04:13:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/48bb920c534520c9c168c1c6b241002778bd6c3b [Pipeline] } 04:13:05 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:13:07 + [ -d /w/workspace/undry_device-onvif-camera_PR-363/archives ] 04:13:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-363/archives 04:13:07 total 16 04:13:07 drwxr-xr-x 3 root root 4096 May 17 04:04 . 04:13:07 drwxrwxr-x 11 jenkins jenkins 4096 May 17 04:04 .. 04:13:07 drwxr-xr-x 2 root root 4096 May 17 04:04 cost 04:13:07 -rw-r--r-- 1 root root 91 May 17 04:04 cost.csv 04:13:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-363/archives 04:13:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-363/archives 04:13:07 total 16 04:13:07 drwxr-xr-x 3 jenkins jenkins 4096 May 17 04:04 . 04:13:07 drwxrwxr-x 11 jenkins jenkins 4096 May 17 04:04 .. 04:13:07 drwxr-xr-x 2 jenkins jenkins 4096 May 17 04:04 cost 04:13:07 -rw-r--r-- 1 jenkins jenkins 91 May 17 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:08 ---> package-listing.sh 04:13:08 ++ tr '[:upper:]' '[:lower:]' 04:13:08 ++ facter osfamily 04:13:09 + OS_FAMILY=debian 04:13:09 + workspace=/w/workspace/undry_device-onvif-camera_PR-363 04:13:09 + START_PACKAGES=/tmp/packages_start.txt 04:13:09 + END_PACKAGES=/tmp/packages_end.txt 04:13:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:09 + PACKAGES=/tmp/packages_start.txt 04:13:09 + '[' /w/workspace/undry_device-onvif-camera_PR-363 ']' 04:13:09 + PACKAGES=/tmp/packages_end.txt 04:13:09 + case "${OS_FAMILY}" in 04:13:09 + dpkg -l 04:13:09 + grep '^ii' 04:13:09 + '[' -f /tmp/packages_start.txt ']' 04:13:09 + '[' -f /tmp/packages_end.txt ']' 04:13:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:09 + '[' /w/workspace/undry_device-onvif-camera_PR-363 ']' 04:13:09 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-363/archives/ 04:13:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-363/archives/ [Pipeline] echo 04:13:09 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:10 prd-ubuntu20.04-docker-8c-8g-15830 does not seem to be running inside a container 04:13:10 $ 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-363/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-363 -v /w/workspace/undry_device-onvif-camera_PR-363:/w/workspace/undry_device-onvif-camera_PR-363:rw,z -v /w/workspace/undry_device-onvif-camera_PR-363@tmp:/w/workspace/undry_device-onvif-camera_PR-363@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:13:10 $ docker top 685782d2ed753ccdb76c784cdf7ef84a552e790f81af4897e1c4bbfdb1bc50a3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:10 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:11 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:11 + ls /var/log/sa-host 04:13:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:11 provisioning config files... 04:13:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-363@tmp/config5915160228492993209tmp [Pipeline] { [Pipeline] echo 04:13:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:12 ---> create-netrc.sh [Pipeline] } 04:13:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:12 ---> python-tools-install.sh [Pipeline] echo 04:13:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:12 ---> sudo-logs.sh 04:13:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:13 ---> job-cost.sh 04:13:13 lf-activate-venv: SKIPPING 04:13:13 DEBUG: total: 0.2199999988079071 04:13:13 INFO: Retrieving Stack Cost... 04:13:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:14 INFO: Archiving Costs [Pipeline] echo 04:13:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:14 ---> logs-deploy.sh 04:13:14 lf-activate-venv: SKIPPING 04:13:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-363/1 04:13:14 INFO: archiving workspace using pattern(s): 04:13:15 Archives upload complete. 04:13:15 INFO: archiving logs to Nexus