Pull request #343 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 3c68e390b48f15746d10455ca85b218d19e4928b rather than c65c0a2b0bc4624b4c20498eec43121735dd657a Obtained Jenkinsfile from 3c68e390b48f15746d10455ca85b218d19e4928b 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-ssh14631215562577704532.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-ssh18345702799738253014.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-343/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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh641048021335474374.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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1621745604974360531.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-ssh13833193788126743434.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-343/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-343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1794673879770383301.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13920 in /w/workspace/undry_device-onvif-camera_PR-343 [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-343 # 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 3c68e390b48f15746d10455ca85b218d19e4928b into PR head commit c65c0a2b0bc4624b4c20498eec43121735dd657a Merge succeeded, producing c65c0a2b0bc4624b4c20498eec43121735dd657a Checking out Revision c65c0a2b0bc4624b4c20498eec43121735dd657a (PR-343) > 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/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c65c0a2b0bc4624b4c20498eec43121735dd657a # 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 3c68e390b48f15746d10455ca85b218d19e4928b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c65c0a2b0bc4624b4c20498eec43121735dd657a # timeout=10 Commit message: "feat: implement driver Start command" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:16:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:16:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:16:26 ========================================================= 19:16:26 EdgeX Global Pipelines Version Info 19:16:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:16:27 ------------------- 19:16:27 stable info: 19:16:27 ------------------- 19:16:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:16:27 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:16:27 Message: update stable to v1.0.249 19:16:27 ------------------- 19:16:27 experimental info: 19:16:27 ------------------- 19:16:27 Commited By: **** collab-it+edgex@linuxfoundation.org 19:16:27 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:16:27 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:16:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c65c0a2b0bc4624b4c20498eec43121735dd657a [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c65c0a2 [Pipeline] echo 19:16:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:29 provisioning config files... 19:16:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config10753542473721218338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:29 ---> docker-login.sh 19:16:29 nexus3.edgexfoundry.org:10001 19:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:30 Configure a credential helper to remove this warning. See 19:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:30 19:16:30 Login Succeeded 19:16:30 nexus3.edgexfoundry.org:10002 19:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:30 Configure a credential helper to remove this warning. See 19:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:30 19:16:30 Login Succeeded 19:16:30 nexus3.edgexfoundry.org:10003 19:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:30 Configure a credential helper to remove this warning. See 19:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:30 19:16:30 Login Succeeded 19:16:30 nexus3.edgexfoundry.org:10004 19:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:30 Configure a credential helper to remove this warning. See 19:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:30 19:16:30 Login Succeeded 19:16:30 docker.io 19:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:30 Configure a credential helper to remove this warning. See 19:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:30 19:16:30 Login Succeeded 19:16:30 ---> docker-login.sh ends [Pipeline] } 19:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:16:31 + git rev-list -1 --merges c65c0a2b0bc4624b4c20498eec43121735dd657a~1..c65c0a2b0bc4624b4c20498eec43121735dd657a [Pipeline] echo 19:16:31 -----------> git rev-list -1 --merges c65c0a2b0bc4624b4c20498eec43121735dd657a~1..c65c0a2b0bc4624b4c20498eec43121735dd657a c65c0a2b0bc4624b4c20498eec43121735dd657a [false] [Pipeline] sh 19:16:31 + git log --format=format:%s -1 c65c0a2b0bc4624b4c20498eec43121735dd657a [Pipeline] echo 19:16:31 ========================================================= 19:16:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:16:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:16:32 + git log --format=format:%s -1 c65c0a2b0bc4624b4c20498eec43121735dd657a [Pipeline] echo 19:16:32 [semverPrep] GIT_COMMIT: c65c0a2b0bc4624b4c20498eec43121735dd657a, Commit Message: feat: implement driver Start command [Pipeline] echo 19:16:32 [semverPrep] This is not a build commit. [Pipeline] sh 19:16:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:16:32 + grep -v github /etc/ssh/ssh_known_hosts 19:16:32 + [ -e /tmp/ssh_known_hosts ] 19:16:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:16:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:16:32 + sudo tee -a /etc/ssh/ssh_known_hosts 19:16:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:16:33 19:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:16:33 0.1.4: Pulling from edgex-devops/py-git-semver 19:16:33 b85a868b505f: Pulling fs layer 19:16:33 e2be974225ed: Pulling fs layer 19:16:33 339a4e72a1f5: Pulling fs layer 19:16:33 988bab9f4d93: Pulling fs layer 19:16:33 1469e6f7b9e6: Pulling fs layer 19:16:33 eaf3925da568: Pulling fs layer 19:16:33 bab4dde63d76: Pulling fs layer 19:16:33 bde34c3a00c8: Pulling fs layer 19:16:33 b352a97aabf1: Pulling fs layer 19:16:33 4872d77fe225: Pulling fs layer 19:16:33 5851b861e8e6: Pulling fs layer 19:16:33 988bab9f4d93: Waiting 19:16:33 b352a97aabf1: Waiting 19:16:33 1469e6f7b9e6: Waiting 19:16:33 eaf3925da568: Waiting 19:16:33 4872d77fe225: Waiting 19:16:33 bab4dde63d76: Waiting 19:16:33 5851b861e8e6: Waiting 19:16:33 e2be974225ed: Verifying Checksum 19:16:33 e2be974225ed: Download complete 19:16:33 988bab9f4d93: Verifying Checksum 19:16:33 988bab9f4d93: Download complete 19:16:33 1469e6f7b9e6: Verifying Checksum 19:16:33 1469e6f7b9e6: Download complete 19:16:33 339a4e72a1f5: Verifying Checksum 19:16:33 339a4e72a1f5: Download complete 19:16:33 eaf3925da568: Verifying Checksum 19:16:33 eaf3925da568: Download complete 19:16:33 bde34c3a00c8: Verifying Checksum 19:16:33 bde34c3a00c8: Download complete 19:16:33 b352a97aabf1: Download complete 19:16:33 4872d77fe225: Download complete 19:16:33 5851b861e8e6: Verifying Checksum 19:16:33 5851b861e8e6: Download complete 19:16:33 b85a868b505f: Verifying Checksum 19:16:33 b85a868b505f: Download complete 19:16:34 bab4dde63d76: Verifying Checksum 19:16:34 bab4dde63d76: Download complete 19:16:35 b85a868b505f: Pull complete 19:16:35 e2be974225ed: Pull complete 19:16:35 339a4e72a1f5: Pull complete 19:16:35 988bab9f4d93: Pull complete 19:16:35 1469e6f7b9e6: Pull complete 19:16:36 eaf3925da568: Pull complete 19:16:37 bab4dde63d76: Pull complete 19:16:37 bde34c3a00c8: Pull complete 19:16:37 b352a97aabf1: Pull complete 19:16:37 4872d77fe225: Pull complete 19:16:37 5851b861e8e6: Pull complete 19:16:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:16:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:38 prd-ubuntu20.04-docker-8c-8g-13920 does not seem to be running inside a container 19:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@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-devops/py-git-semver:0.1.4 cat 19:16:40 $ docker top 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c -eo pid,comm 19:16:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:16:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:16:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:16:40 [ssh-agent] Looking for ssh-agent implementation... 19:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:41 $ docker exec 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c ssh-agent 19:16:41 SSH_AUTH_SOCK=/tmp/ssh-O3kBJj4SJ5UR/agent.32 19:16:41 SSH_AGENT_PID=38 19:16:41 Running ssh-add (command line suppressed) 19:16:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_10159584375683958344.key (/w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_10159584375683958344.key) 19:16:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:16:41 + git tag --points-at HEAD [Pipeline] } 19:16:41 $ docker exec --env ******** --env ******** 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c ssh-agent -k 19:16:41 unset SSH_AUTH_SOCK; 19:16:41 unset SSH_AGENT_PID; 19:16:41 echo Agent pid 38 killed; 19:16:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:16:41 [ssh-agent] Looking for ssh-agent implementation... 19:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:41 $ docker exec 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c ssh-agent 19:16:42 SSH_AUTH_SOCK=/tmp/ssh-LJ0mwTLe9RhV/agent.70 19:16:42 SSH_AGENT_PID=76 19:16:42 Running ssh-add (command line suppressed) 19:16:42 Identity added: /w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_10985211220458208027.key (/w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_10985211220458208027.key) 19:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:16:42 + git semver init 19:16:42 2023-05-05 19:16:42,719 [run_init] DEBUG init version:0.0.0 force:False 19:16:42 2023-05-05 19:16:42,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-343/.semver 19:16:42 2023-05-05 19:16:42,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-343/.semver 19:16:42 2023-05-05 19:16:42,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-343/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-343, universal_newlines=False, shell=None, istream=None) 19:16:43 2023-05-05 19:16:43,571 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-343/.git/info/exclude 19:16:43 2023-05-05 19:16:43,572 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-343/.semver/PR-343 with force:False 19:16:43 2023-05-05 19:16:43,572 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-343/.semver/PR-343 19:16:43 2023-05-05 19:16:43,576 [execute] INFO git cat-file --batch-check 19:16:43 2023-05-05 19:16:43,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-343/.semver, universal_newlines=False, shell=None, istream=) 19:16:43 2023-05-05 19:16:43,582 [execute] INFO git cat-file --batch 19:16:43 2023-05-05 19:16:43,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-343/.semver, universal_newlines=False, shell=None, istream=) 19:16:43 2023-05-05 19:16:43,588 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-343/.semver/PR-343 19:16:43 0.0.0 [Pipeline] } 19:16:43 $ docker exec --env ******** --env ******** 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c ssh-agent -k 19:16:43 unset SSH_AUTH_SOCK; 19:16:43 unset SSH_AGENT_PID; 19:16:43 echo Agent pid 76 killed; 19:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:16:44 + git semver [Pipeline] } 19:16:44 $ docker stop --time=1 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c 19:16:45 $ docker rm -f --volumes 5578dbf2666b4313369604e5be3387eaeaf4fea472ed0332de3e8e71cace012c [Pipeline] // withDockerContainer [Pipeline] sh 19:16:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:16:46 Stashed 1 file(s) [Pipeline] echo 19:16:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:47 provisioning config files... 19:16:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config9726915971907493718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:47 ---> docker-login.sh 19:16:47 nexus3.edgexfoundry.org:10001 19:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:47 Configure a credential helper to remove this warning. See 19:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:47 19:16:47 Login Succeeded 19:16:47 nexus3.edgexfoundry.org:10002 19:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:47 Configure a credential helper to remove this warning. See 19:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:47 19:16:47 Login Succeeded 19:16:47 nexus3.edgexfoundry.org:10003 19:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:47 Configure a credential helper to remove this warning. See 19:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:47 19:16:47 Login Succeeded 19:16:47 nexus3.edgexfoundry.org:10004 19:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:47 Configure a credential helper to remove this warning. See 19:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:47 19:16:47 Login Succeeded 19:16:47 docker.io 19:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:48 Configure a credential helper to remove this warning. See 19:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:48 19:16:48 Login Succeeded 19:16:48 ---> docker-login.sh ends [Pipeline] } 19:16:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:16:48 ========================================================= 19:16:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:16:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:16:48 Sending build context to Docker daemon 21.57MB 19:16:48 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:16:48 Step 2/13 : FROM ${BASE} AS builder 19:16:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:16:49 f56be85fc22e: Pulling fs layer 19:16:49 85791d961cd3: Pulling fs layer 19:16:49 d694b5ae8c79: Pulling fs layer 19:16:49 9f32a84ed3da: Pulling fs layer 19:16:49 4d19c01a9841: Pulling fs layer 19:16:49 9325e15d5711: Pulling fs layer 19:16:49 9f32a84ed3da: Waiting 19:16:49 4d19c01a9841: Waiting 19:16:49 556b6ee489ea: Pulling fs layer 19:16:49 c5a4b2cf53e6: Pulling fs layer 19:16:49 556b6ee489ea: Waiting 19:16:49 85791d961cd3: Verifying Checksum 19:16:49 85791d961cd3: Download complete 19:16:49 9f32a84ed3da: Download complete 19:16:49 4d19c01a9841: Verifying Checksum 19:16:49 4d19c01a9841: Download complete 19:16:49 f56be85fc22e: Verifying Checksum 19:16:49 f56be85fc22e: Download complete 19:16:49 9325e15d5711: Verifying Checksum 19:16:49 9325e15d5711: Download complete 19:16:49 f56be85fc22e: Pull complete 19:16:49 85791d961cd3: Pull complete 19:16:49 c5a4b2cf53e6: Verifying Checksum 19:16:49 c5a4b2cf53e6: Download complete 19:16:49 d694b5ae8c79: Verifying Checksum 19:16:49 d694b5ae8c79: Download complete 19:16:49 556b6ee489ea: Download complete 19:16:53 d694b5ae8c79: Pull complete 19:16:53 9f32a84ed3da: Pull complete 19:16:53 4d19c01a9841: Pull complete 19:16:53 9325e15d5711: Pull complete 19:16:55 556b6ee489ea: Pull complete 19:16:56 c5a4b2cf53e6: Pull complete 19:16:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:16:56 ---> c4be618373d6 19:16:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:16:59 ---> Running in 3489b3c59e49 19:16:59 Removing intermediate container 3489b3c59e49 19:16:59 ---> 62dc545536c3 19:16:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:16:59 ---> Running in eab0c588bf7e 19:16:59 Removing intermediate container eab0c588bf7e 19:16:59 ---> 2a523368b44f 19:16:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:16:59 ---> Running in f6544a020b42 19:16:59 Removing intermediate container f6544a020b42 19:16:59 ---> 300703da1620 19:16:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:16:59 ---> Running in 885f56915f8e 19:16:59 Removing intermediate container 885f56915f8e 19:16:59 ---> 7623dc23c70c 19:16:59 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:17:00 ---> Running in 06774266ae39 19:17:00 Removing intermediate container 06774266ae39 19:17:00 ---> 17f9d79a2d07 19:17:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:17:00 ---> Running in 719cc4113742 19:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:17:00 OK: 265 MiB in 53 packages 19:17:00 Removing intermediate container 719cc4113742 19:17:00 ---> 3e105461333d 19:17:00 Step 9/13 : WORKDIR /device-onvif-camera 19:17:01 ---> Running in da46b1ebbf1a 19:17:01 Removing intermediate container da46b1ebbf1a 19:17:01 ---> f9213bddd770 19:17:01 Step 10/13 : COPY go.mod vendor* ./ 19:17:01 ---> b1cecff86aec 19:17:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:17:01 ---> Running in 25dc4ef76307 19:17:01 Still waiting to schedule task 19:17:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:17:33 Removing intermediate container 25dc4ef76307 19:17:33 ---> ecca944002a5 19:17:33 Step 12/13 : COPY . . 19:17:33 ---> 98db2cc18186 19:17:33 Step 13/13 : RUN ${MAKE} 19:17:33 ---> Running in 80cddd4df9f2 19:17:33 noop 19:17:33 Removing intermediate container 80cddd4df9f2 19:17:33 ---> 909c0874b1d6 19:17:33 Successfully built 909c0874b1d6 19:17:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:33 + docker inspect -f . ci-base-image-x86_64 19:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:34 prd-ubuntu20.04-docker-8c-8g-13920 does not seem to be running inside a container 19:17:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:17:34 $ docker top eba561aba0136429233e3871283b07236309bf41ed066b18caaa6f1b0b0f7f77 -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:34 + go version 19:17:34 go version go1.20.2 linux/amd64 [Pipeline] } 19:17:34 $ docker stop --time=1 eba561aba0136429233e3871283b07236309bf41ed066b18caaa6f1b0b0f7f77 19:17:36 $ docker rm -f --volumes eba561aba0136429233e3871283b07236309bf41ed066b18caaa6f1b0b0f7f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:36 + docker inspect -f . ci-base-image-x86_64 19:17:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:37 prd-ubuntu20.04-docker-8c-8g-13920 does not seem to be running inside a container 19:17:37 $ 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-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:17:37 $ docker top d8662ba9bee64093786d38d87fe1c4c00ddd09257c144b5bddb433f146b8a3b5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:37 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-343 [Pipeline] fileExists [Pipeline] sh 19:17:38 + make test 19:17:38 go test ./... -coverprofile=coverage.out ./... 19:17:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:17:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:17:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:17:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 31.0% of statements 19:17:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.113s coverage: 86.5% of statements 19:18:05 go vet ./... 19:18:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:18:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:18:08 ./bin/test-attribution-txt.sh [Pipeline] echo 19:18:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:18:08 $ docker stop --time=1 d8662ba9bee64093786d38d87fe1c4c00ddd09257c144b5bddb433f146b8a3b5 19:18:11 $ docker rm -f --volumes d8662ba9bee64093786d38d87fe1c4c00ddd09257c144b5bddb433f146b8a3b5 [Pipeline] // withDockerContainer [Pipeline] sh 19:18:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:18:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:18:13 + ls -al . 19:18:13 total 232 19:18:13 drwxrwxr-x 10 jenkins jenkins 4096 May 5 19:17 . 19:18:13 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:16 .. 19:18:13 drwxrwxr-x 8 jenkins jenkins 4096 May 5 19:16 .git 19:18:13 drwxrwxr-x 3 jenkins jenkins 4096 May 5 19:16 .github 19:18:13 -rw-rw-r-- 1 jenkins jenkins 496 May 5 19:16 .gitignore 19:18:13 -rw-rw-r-- 1 jenkins jenkins 42 May 5 19:16 .golangci.yml 19:18:13 drwxr-xr-x 3 jenkins jenkins 4096 May 5 19:16 .semver 19:18:13 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 19:16 Attribution.txt 19:18:13 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 19:16 CHANGELOG.md 19:18:13 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 19:16 Dockerfile 19:18:13 -rw-rw-r-- 1 jenkins jenkins 677 May 5 19:16 GOVERNANCE.md 19:18:13 -rw-rw-r-- 1 jenkins jenkins 734 May 5 19:16 Jenkinsfile 19:18:13 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 19:16 LICENSE 19:18:13 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 19:16 Makefile 19:18:13 -rw-rw-r-- 1 jenkins jenkins 625 May 5 19:16 OWNERS.md 19:18:13 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 19:16 README.md 19:18:13 -rw-rw-r-- 1 jenkins jenkins 5 May 5 19:16 VERSION 19:18:13 drwxrwxr-x 2 jenkins jenkins 4096 May 5 19:16 bin 19:18:13 drwxrwxr-x 3 jenkins jenkins 4096 May 5 19:16 cmd 19:18:13 -rw-r--r-- 1 jenkins jenkins 79126 May 5 19:17 coverage.out 19:18:13 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:16 doc 19:18:13 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 19:16 go.mod 19:18:13 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 19:16 go.sum 19:18:13 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:16 internal 19:18:13 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:16 snap 19:18:13 -rw-rw-r-- 1 jenkins jenkins 236 May 5 19:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:13 + 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=c65c0a2b0bc4624b4c20498eec43121735dd657a --label arch=amd64 --label version=0.0.0 . 19:18:13 Sending build context to Docker daemon 21.65MB 19:18:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:18:13 Step 2/26 : FROM ${BASE} AS builder 19:18:13 ---> 909c0874b1d6 19:18:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:18:14 ---> Running in 03706bf4b726 19:18:14 Removing intermediate container 03706bf4b726 19:18:14 ---> 88f4255bf575 19:18:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:18:14 ---> Running in 6b3ca7440524 19:18:14 Removing intermediate container 6b3ca7440524 19:18:14 ---> 589d22bb045f 19:18:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:18:14 ---> Running in 17a90e538a4a 19:18:14 Removing intermediate container 17a90e538a4a 19:18:14 ---> b9e574dc5b65 19:18:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:18:14 ---> Running in 7422f4a22846 19:18:14 Removing intermediate container 7422f4a22846 19:18:14 ---> ef3f889d0bce 19:18:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:18:14 ---> Running in 89cc6711a508 19:18:14 Removing intermediate container 89cc6711a508 19:18:14 ---> d76e33c51c6a 19:18:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:18:14 ---> Running in 30bdcb4bbbcb 19:18:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:18:15 OK: 265 MiB in 53 packages 19:18:15 Removing intermediate container 30bdcb4bbbcb 19:18:15 ---> 9f27f9e59ff8 19:18:15 Step 9/26 : WORKDIR /device-onvif-camera 19:18:15 ---> Running in 87deb581ec32 19:18:15 Removing intermediate container 87deb581ec32 19:18:15 ---> cdf2f792de7b 19:18:15 Step 10/26 : COPY go.mod vendor* ./ 19:18:15 ---> 39fd34a1f1b1 19:18:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:18:15 ---> Running in f7bb4f2978d2 19:18:16 Removing intermediate container f7bb4f2978d2 19:18:16 ---> 95b8e17a5a3b 19:18:16 Step 12/26 : COPY . . 19:18:17 ---> ac7166ec47fc 19:18:17 Step 13/26 : RUN ${MAKE} 19:18:17 ---> Running in 9fcf6d656e21 19:18:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:18:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13921 in /w/workspace/undry_device-onvif-camera_PR-343 [Pipeline] { [Pipeline] ws 19:18:38 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 19:18:38 The recommended git tool is: git 19:18:39 Removing intermediate container 9fcf6d656e21 19:18:39 ---> 2d0fd672ae66 19:18:39 Step 14/26 : FROM alpine:3.17 19:18:39 3.17: Pulling from library/alpine 19:18:39 f56be85fc22e: Already exists 19:18:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:18:39 Status: Downloaded newer image for alpine:3.17 19:18:39 ---> 9ed4aefc74f6 19:18:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:18:39 ---> Running in d42b1643b942 19:18:39 Removing intermediate container d42b1643b942 19:18:39 ---> d6d328987871 19:18:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:18:39 ---> Running in 1fb3609e3304 19:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:18:39 (1/1) Installing dumb-init (1.2.5-r2) 19:18:39 Executing busybox-1.35.0-r29.trigger 19:18:39 OK: 7 MiB in 16 packages 19:18:39 Removing intermediate container 1fb3609e3304 19:18:39 ---> d70096c72f1d 19:18:39 Step 17/26 : WORKDIR / 19:18:39 ---> Running in 26d09bdbc397 19:18:39 Removing intermediate container 26d09bdbc397 19:18:39 ---> 963506c0083d 19:18:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:18:39 ---> c9f5905a5531 19:18:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:18:39 ---> 942724555e63 19:18:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:18:39 ---> 4768a3d96c65 19:18:39 Step 21/26 : EXPOSE 59984 19:18:39 ---> Running in 408761376e25 19:18:39 Removing intermediate container 408761376e25 19:18:39 ---> 4de6caeed432 19:18:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:18:39 ---> Running in 014ee15cb95f 19:18:40 Removing intermediate container 014ee15cb95f 19:18:40 ---> 00387d5035bc 19:18:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:18:40 ---> Running in 85f87107d7b3 19:18:40 Removing intermediate container 85f87107d7b3 19:18:40 ---> a118d80bd17d 19:18:40 Step 24/26 : LABEL arch=amd64 19:18:40 ---> Running in cf57322bd773 19:18:40 Removing intermediate container cf57322bd773 19:18:40 ---> d762ccf13080 19:18:40 Step 25/26 : LABEL git_sha=c65c0a2b0bc4624b4c20498eec43121735dd657a 19:18:40 ---> Running in c1b5f521920c 19:18:40 Removing intermediate container c1b5f521920c 19:18:40 ---> 0d4c83c7e19f 19:18:40 Step 26/26 : LABEL version=0.0.0 19:18:40 ---> Running in 09c0dd7f746f 19:18:40 Removing intermediate container 09c0dd7f746f 19:18:40 ---> a5cb688a094b 19:18:40 [Warning] One or more build-args [ARCH] were not consumed 19:18:40 Successfully built a5cb688a094b 19:18:40 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:18:41 19:18:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:18:41 latest: Pulling from edgex-lftools-log-publisher 19:18:41 5eb5b503b376: Pulling fs layer 19:18:41 5c69ac0246d0: Pulling fs layer 19:18:41 ec43610c2a17: Pulling fs layer 19:18:41 3a2ae6a8a46f: Pulling fs layer 19:18:41 33b1e0a273af: Pulling fs layer 19:18:41 5d3b04190fa2: Pulling fs layer 19:18:41 2f39f015ded8: Pulling fs layer 19:18:41 3a2ae6a8a46f: Waiting 19:18:41 33b1e0a273af: Waiting 19:18:41 5d3b04190fa2: Waiting 19:18:41 2f39f015ded8: Waiting 19:18:41 5c69ac0246d0: Download complete 19:18:41 3a2ae6a8a46f: Verifying Checksum 19:18:41 3a2ae6a8a46f: Download complete 19:18:41 33b1e0a273af: Verifying Checksum 19:18:41 33b1e0a273af: Download complete 19:18:41 5d3b04190fa2: Download complete 19:18:41 ec43610c2a17: Verifying Checksum 19:18:41 ec43610c2a17: Download complete 19:18:42 5eb5b503b376: Verifying Checksum 19:18:42 5eb5b503b376: Download complete 19:18:42 2f39f015ded8: Download complete 19:18:42 5eb5b503b376: Pull complete 19:18:43 5c69ac0246d0: Pull complete 19:18:43 using credential edgex-jenkins-ssh 19:18:43 Cloning the remote Git repository 19:18:43 ec43610c2a17: Pull complete 19:18:43 3a2ae6a8a46f: Pull complete 19:18:44 33b1e0a273af: Pull complete 19:18:44 5d3b04190fa2: Pull complete 19:18:43 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:18:43 > git init /w/workspace/device-onvif-camera/1 # timeout=10 19:18:43 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:18:43 > git --version # timeout=10 19:18:43 > git --version # 'git version 2.25.1' 19:18:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:18:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:46 Merging remotes/origin/main commit 3c68e390b48f15746d10455ca85b218d19e4928b into PR head commit c65c0a2b0bc4624b4c20498eec43121735dd657a 19:18:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:18:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:18:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:18:46 > git config core.sparsecheckout # timeout=10 19:18:47 > git checkout -f c65c0a2b0bc4624b4c20498eec43121735dd657a # timeout=10 19:18:47 > git remote # timeout=10 19:18:47 > git config --get remote.origin.url # timeout=10 19:18:47 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:47 Merge succeeded, producing c65c0a2b0bc4624b4c20498eec43121735dd657a 19:18:47 Checking out Revision c65c0a2b0bc4624b4c20498eec43121735dd657a (PR-343) 19:18:47 > git merge 3c68e390b48f15746d10455ca85b218d19e4928b # timeout=10 19:18:47 > git rev-parse HEAD^{commit} # timeout=10 19:18:47 > git config core.sparsecheckout # timeout=10 19:18:47 > git checkout -f c65c0a2b0bc4624b4c20498eec43121735dd657a # timeout=10 19:18:48 2f39f015ded8: Pull complete 19:18:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:49 prd-ubuntu20.04-docker-8c-8g-13920 does not seem to be running inside a container 19:18:49 $ 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-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:18:51 Commit message: "feat: implement driver Start command" 19:18:51 > git --version # timeout=10 19:18:51 > git --version # 'git version 2.25.1' 19:18:51 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:18:51 19:18:51 GitHub has been notified of this commit’s build result 19:18:51 19:18:51 $ docker top 24653658eed690b0ee5cc2321c3a58eb60730dd3dc36fd58f1524ef267069326 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:52 ---> job-cost.sh 19:18:52 lf-activate-venv: SKIPPING 19:18:52 INFO: No Stack... 19:18:52 INFO: Retrieving Pricing Info for: v3-standard-8 19:18:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:18:52 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:52 Dload Upload Total Spent Left Speed 19:18:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 19:18:53 INFO: Archiving Costs [Pipeline] sh 19:18:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:18:53 + cat /w/workspace/undry_device-onvif-camera_PR-343/archives/cost.csv 19:18:53 + cut -d, -f6 [Pipeline] lock 19:18:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] 19:18:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] did not exist. Created. 19:18:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:18:53 + sudo tee /etc/docker/daemon.new 19:18:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:18:53 { 19:18:53 "registry-mirrors": [ 19:18:53 "https://nexus3.edgexfoundry.org:10001" 19:18:53 ], 19:18:53 "bip": "10.250.0.254/24", 19:18:53 "hosts": [ 19:18:53 "tcp://0.0.0.0:5555", 19:18:53 "unix:///var/run/docker.sock" 19:18:53 ], 19:18:53 "mtu": 1458, 19:18:53 "selinux-enabled": true, 19:18:53 "seccomp-profile": "/etc/docker/seccomp.json" 19:18:53 } [Pipeline] sh 19:18:54 + echo total: 0.2199999988079071 [Pipeline] stash 19:18:54 Stashed 1 file(s) [Pipeline] } 19:18:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] [Pipeline] // lock 19:18:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } 19:18:54 $ docker stop --time=1 24653658eed690b0ee5cc2321c3a58eb60730dd3dc36fd58f1524ef267069326 19:18:55 $ docker rm -f --volumes 24653658eed690b0ee5cc2321c3a58eb60730dd3dc36fd58f1524ef267069326 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:18:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:14 provisioning config files... 19:19:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7095974022285653413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:14 ---> docker-login.sh 19:19:14 nexus3.edgexfoundry.org:10001 19:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:15 Configure a credential helper to remove this warning. See 19:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:15 19:19:15 Login Succeeded 19:19:15 nexus3.edgexfoundry.org:10002 19:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:15 Configure a credential helper to remove this warning. See 19:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:15 19:19:15 Login Succeeded 19:19:15 nexus3.edgexfoundry.org:10003 19:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:15 Configure a credential helper to remove this warning. See 19:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:15 19:19:15 Login Succeeded 19:19:15 nexus3.edgexfoundry.org:10004 19:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:16 Configure a credential helper to remove this warning. See 19:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:16 19:19:16 Login Succeeded 19:19:16 docker.io 19:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:16 Configure a credential helper to remove this warning. See 19:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:16 19:19:16 Login Succeeded 19:19:16 ---> docker-login.sh ends [Pipeline] } 19:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:17 ========================================================= 19:19:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:19:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:19:18 Sending build context to Docker daemon 14.21MB 19:19:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:19:18 Step 2/13 : FROM ${BASE} AS builder 19:19:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:19:18 c41833b44d91: Pulling fs layer 19:19:18 ed15518f5707: Pulling fs layer 19:19:18 feae8fd75edb: Pulling fs layer 19:19:18 242c74f7c9fa: Pulling fs layer 19:19:18 3cdef696dda3: Pulling fs layer 19:19:18 2ced38df9373: Pulling fs layer 19:19:18 58f1dce35555: Pulling fs layer 19:19:18 3cdef696dda3: Waiting 19:19:18 2ced38df9373: Waiting 19:19:18 58f1dce35555: Waiting 19:19:18 242c74f7c9fa: Waiting 19:19:18 ed15518f5707: Verifying Checksum 19:19:18 ed15518f5707: Download complete 19:19:18 242c74f7c9fa: Verifying Checksum 19:19:18 242c74f7c9fa: Download complete 19:19:18 3cdef696dda3: Verifying Checksum 19:19:18 3cdef696dda3: Download complete 19:19:18 c41833b44d91: Verifying Checksum 19:19:18 c41833b44d91: Download complete 19:19:19 c41833b44d91: Pull complete 19:19:20 58f1dce35555: Verifying Checksum 19:19:20 58f1dce35555: Download complete 19:19:20 ed15518f5707: Pull complete 19:19:21 feae8fd75edb: Verifying Checksum 19:19:21 feae8fd75edb: Download complete 19:19:21 2ced38df9373: Verifying Checksum 19:19:21 2ced38df9373: Download complete 19:19:33 feae8fd75edb: Pull complete 19:19:33 242c74f7c9fa: Pull complete 19:19:33 3cdef696dda3: Pull complete 19:19:40 2ced38df9373: Pull complete 19:19:41 58f1dce35555: Pull complete 19:19:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:19:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:19:41 ---> fadd8f120f05 19:19:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:19:43 ---> Running in f48e68510dc1 19:19:44 Removing intermediate container f48e68510dc1 19:19:44 ---> 4047075703d4 19:19:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:19:44 ---> Running in 662b419c5e58 19:19:44 Removing intermediate container 662b419c5e58 19:19:44 ---> 58eedd9ea4b9 19:19:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:19:44 ---> Running in 9bd1d6dd2545 19:19:44 Removing intermediate container 9bd1d6dd2545 19:19:44 ---> 58eef63393a9 19:19:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:19:44 ---> Running in 337faacfc06c 19:19:45 Removing intermediate container 337faacfc06c 19:19:45 ---> 38979fb9ed7b 19:19:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:19:45 ---> Running in 95e0c3b459a7 19:19:45 Removing intermediate container 95e0c3b459a7 19:19:45 ---> 9f430dd05a70 19:19:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:45 ---> Running in 797f635f6d92 19:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:19:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:19:48 OK: 263 MiB in 53 packages 19:19:49 Removing intermediate container 797f635f6d92 19:19:49 ---> 264294e6a45e 19:19:49 Step 9/13 : WORKDIR /device-onvif-camera 19:19:49 ---> Running in a7f969aa515b 19:19:49 Removing intermediate container a7f969aa515b 19:19:49 ---> 3fcc7a1cc94b 19:19:49 Step 10/13 : COPY go.mod vendor* ./ 19:19:50 ---> 88a3a65162d3 19:19:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:51 ---> Running in 94aac5cbb37a 19:20:58 Removing intermediate container 94aac5cbb37a 19:20:58 ---> 0167cbbc81bc 19:20:58 Step 12/13 : COPY . . 19:20:58 ---> f4ffd7c5f1cc 19:20:58 Step 13/13 : RUN ${MAKE} 19:20:58 ---> Running in 7c680a1847ac 19:20:58 noop 19:20:58 Removing intermediate container 7c680a1847ac 19:20:58 ---> 2bc4c7c26dc4 19:20:58 Successfully built 2bc4c7c26dc4 19:20:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:59 + docker inspect -f . ci-base-image-arm64 19:20:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:59 prd-ubuntu20.04-docker-arm64-4c-16g-13921 does not seem to be running inside a container 19:20:59 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:21:01 $ docker top 17fd0f98f0cac9f281ba8449f69886918585837e10f4ac784e8dacaaf496668d -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:01 + go version 19:21:01 go version go1.20.2 linux/arm64 [Pipeline] } 19:21:01 $ docker stop --time=1 17fd0f98f0cac9f281ba8449f69886918585837e10f4ac784e8dacaaf496668d 19:21:03 $ docker rm -f --volumes 17fd0f98f0cac9f281ba8449f69886918585837e10f4ac784e8dacaaf496668d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:04 + docker inspect -f . ci-base-image-arm64 19:21:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:04 prd-ubuntu20.04-docker-arm64-4c-16g-13921 does not seem to be running inside a container 19:21:04 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:21:05 $ docker top c17d976aa20ecabaf4a7c023875819762c4d755dbdccea879eb32ce42daaed37 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 19:21:06 + make test 19:21:06 go test ./... -coverprofile=coverage.out ./... 19:21:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:23:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:23:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:23:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.226s coverage: 31.0% of statements 19:24:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.883s coverage: 86.5% of statements 19:24:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:24:16 go vet ./... 19:24:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:24:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:24:43 ./bin/test-attribution-txt.sh [Pipeline] echo 19:24:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:24:43 $ docker stop --time=1 c17d976aa20ecabaf4a7c023875819762c4d755dbdccea879eb32ce42daaed37 19:24:44 $ docker rm -f --volumes c17d976aa20ecabaf4a7c023875819762c4d755dbdccea879eb32ce42daaed37 [Pipeline] // withDockerContainer [Pipeline] sh 19:24:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:24:46 Warning: overwriting stash ‘coverage-report’ 19:24:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:24:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:24:47 + ls -al . 19:24:47 total 228 19:24:47 drwxrwxr-x 9 jenkins jenkins 4096 May 5 19:21 . 19:24:47 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:18 .. 19:24:47 drwxrwxr-x 8 jenkins jenkins 4096 May 5 19:18 .git 19:24:47 drwxrwxr-x 3 jenkins jenkins 4096 May 5 19:18 .github 19:24:47 -rw-rw-r-- 1 jenkins jenkins 496 May 5 19:18 .gitignore 19:24:47 -rw-rw-r-- 1 jenkins jenkins 42 May 5 19:18 .golangci.yml 19:24:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 19:18 Attribution.txt 19:24:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 19:18 CHANGELOG.md 19:24:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 19:18 Dockerfile 19:24:47 -rw-rw-r-- 1 jenkins jenkins 677 May 5 19:18 GOVERNANCE.md 19:24:47 -rw-rw-r-- 1 jenkins jenkins 734 May 5 19:18 Jenkinsfile 19:24:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 19:18 LICENSE 19:24:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 19:18 Makefile 19:24:47 -rw-rw-r-- 1 jenkins jenkins 625 May 5 19:18 OWNERS.md 19:24:47 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 19:18 README.md 19:24:47 -rw-rw-r-- 1 jenkins jenkins 5 May 5 19:16 VERSION 19:24:47 drwxrwxr-x 2 jenkins jenkins 4096 May 5 19:18 bin 19:24:47 drwxrwxr-x 3 jenkins jenkins 4096 May 5 19:18 cmd 19:24:47 -rw-r--r-- 1 jenkins jenkins 79126 May 5 19:24 coverage.out 19:24:47 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:18 doc 19:24:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 19:18 go.mod 19:24:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 19:18 go.sum 19:24:47 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:18 internal 19:24:47 drwxrwxr-x 4 jenkins jenkins 4096 May 5 19:18 snap 19:24:47 -rw-rw-r-- 1 jenkins jenkins 236 May 5 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:48 + 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=c65c0a2b0bc4624b4c20498eec43121735dd657a --label arch=arm64 --label version=0.0.0 . 19:24:48 Sending build context to Docker daemon 14.29MB 19:24:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:24:48 Step 2/26 : FROM ${BASE} AS builder 19:24:48 ---> 2bc4c7c26dc4 19:24:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:24:48 ---> Running in 625f24ce59d1 19:24:49 Removing intermediate container 625f24ce59d1 19:24:49 ---> cec523af436b 19:24:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:24:49 ---> Running in f0adb8cb1997 19:24:49 Removing intermediate container f0adb8cb1997 19:24:49 ---> ab3f046a6068 19:24:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:24:49 ---> Running in 01aa2e5bb6f6 19:24:50 Removing intermediate container 01aa2e5bb6f6 19:24:50 ---> 4e806c3606ed 19:24:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:24:50 ---> Running in 51b766ad795d 19:24:50 Removing intermediate container 51b766ad795d 19:24:50 ---> f5793e54da0d 19:24:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:24:50 ---> Running in 9a48f2d2e574 19:24:50 Removing intermediate container 9a48f2d2e574 19:24:50 ---> 18a2161d33e9 19:24:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:24:50 ---> Running in dbbb065769a3 19:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:24:53 OK: 263 MiB in 53 packages 19:24:54 Removing intermediate container dbbb065769a3 19:24:54 ---> 72990de5af7f 19:24:54 Step 9/26 : WORKDIR /device-onvif-camera 19:24:54 ---> Running in 83f6b6d2f26b 19:24:54 Removing intermediate container 83f6b6d2f26b 19:24:54 ---> 249c321bfd55 19:24:54 Step 10/26 : COPY go.mod vendor* ./ 19:24:54 ---> 25b591d809b0 19:24:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:24:55 ---> Running in a2ac4e002923 19:24:57 Removing intermediate container a2ac4e002923 19:24:57 ---> 96ec831f528a 19:24:57 Step 12/26 : COPY . . 19:24:58 ---> f6f2392e02da 19:24:58 Step 13/26 : RUN ${MAKE} 19:24:58 ---> Running in 89ea344b3d49 19:24:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:27:21 Removing intermediate container 89ea344b3d49 19:27:21 ---> 413747c09bb0 19:27:21 Step 14/26 : FROM alpine:3.17 19:27:21 3.17: Pulling from library/alpine 19:27:21 c41833b44d91: Already exists 19:27:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:27:21 Status: Downloaded newer image for alpine:3.17 19:27:21 ---> 51e60588ff2c 19:27:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:27:21 ---> Running in bfb8291709b4 19:27:21 Removing intermediate container bfb8291709b4 19:27:21 ---> ee8ba5fcd6fc 19:27:21 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:27:21 ---> Running in 98f7e38ff022 19:27:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:27:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:27:21 (1/1) Installing dumb-init (1.2.5-r2) 19:27:21 Executing busybox-1.35.0-r29.trigger 19:27:21 OK: 8 MiB in 16 packages 19:27:21 Removing intermediate container 98f7e38ff022 19:27:21 ---> ed697f9dcc99 19:27:21 Step 17/26 : WORKDIR / 19:27:21 ---> Running in 32c3f9890d6e 19:27:21 Removing intermediate container 32c3f9890d6e 19:27:21 ---> 2d28caea0726 19:27:21 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:27:21 ---> 6b41c70a35c1 19:27:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:27:21 ---> b2e6e4979079 19:27:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:27:21 ---> 23868f39a6dc 19:27:21 Step 21/26 : EXPOSE 59984 19:27:21 ---> Running in 70adef70a71e 19:27:21 Removing intermediate container 70adef70a71e 19:27:21 ---> 79cffcc2ac41 19:27:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:27:21 ---> Running in f67bf349ed87 19:27:21 Removing intermediate container f67bf349ed87 19:27:21 ---> 6a5a5d6587c2 19:27:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:27:21 ---> Running in 6b4648e38a1b 19:27:21 Removing intermediate container 6b4648e38a1b 19:27:21 ---> 62336410844e 19:27:21 Step 24/26 : LABEL arch=arm64 19:27:21 ---> Running in a1746dab6ceb 19:27:21 Removing intermediate container a1746dab6ceb 19:27:21 ---> 4e2165d88795 19:27:21 Step 25/26 : LABEL git_sha=c65c0a2b0bc4624b4c20498eec43121735dd657a 19:27:21 ---> Running in b72464a98842 19:27:21 Removing intermediate container b72464a98842 19:27:21 ---> 2f592c843f47 19:27:21 Step 26/26 : LABEL version=0.0.0 19:27:21 ---> Running in 6752569cd989 19:27:21 Removing intermediate container 6752569cd989 19:27:21 ---> b688cc2a26fe 19:27:21 [Warning] One or more build-args [ARCH] were not consumed 19:27:21 Successfully built b688cc2a26fe 19:27:21 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:27:22 19:27:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:27:22 arm64: Pulling from edgex-lftools-log-publisher 19:27:22 8998bd30e6a1: Pulling fs layer 19:27:22 04944245beec: Pulling fs layer 19:27:22 699f458cf7ca: Pulling fs layer 19:27:22 765212b225bb: Pulling fs layer 19:27:22 f23df028b6ca: Pulling fs layer 19:27:22 d65c8cfc05b1: Pulling fs layer 19:27:22 2437ff75d9bd: Pulling fs layer 19:27:22 f23df028b6ca: Waiting 19:27:22 d65c8cfc05b1: Waiting 19:27:22 2437ff75d9bd: Waiting 19:27:22 765212b225bb: Waiting 19:27:22 04944245beec: Verifying Checksum 19:27:22 04944245beec: Download complete 19:27:22 765212b225bb: Verifying Checksum 19:27:22 765212b225bb: Download complete 19:27:22 f23df028b6ca: Verifying Checksum 19:27:22 f23df028b6ca: Download complete 19:27:22 d65c8cfc05b1: Verifying Checksum 19:27:22 d65c8cfc05b1: Download complete 19:27:23 699f458cf7ca: Verifying Checksum 19:27:23 699f458cf7ca: Download complete 19:27:23 8998bd30e6a1: Verifying Checksum 19:27:23 8998bd30e6a1: Download complete 19:27:25 2437ff75d9bd: Download complete 19:27:27 8998bd30e6a1: Pull complete 19:27:27 04944245beec: Pull complete 19:27:29 699f458cf7ca: Pull complete 19:27:29 765212b225bb: Pull complete 19:27:30 f23df028b6ca: Pull complete 19:27:30 d65c8cfc05b1: Pull complete 19:27:45 2437ff75d9bd: Pull complete 19:27:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:27:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:27:45 prd-ubuntu20.04-docker-arm64-4c-16g-13921 does not seem to be running inside a container 19:27:45 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:27:48 $ docker top d427bdca7f5be8702bbee64802a61b4c6ba46f76756c14699eb4b18d2eb07fe8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:27:49 ---> job-cost.sh 19:27:49 lf-activate-venv: SKIPPING 19:27:49 INFO: No Stack... 19:27:49 INFO: Retrieving Pricing Info for: v3-standard-4 19:27:50 INFO: Archiving Costs [Pipeline] sh 19:27:50 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 19:27:50 + cut -d, -f6 [Pipeline] lock 19:27:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] 19:27:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] did not exist. Created. 19:27:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:27:51 /w/workspace/device-onvif-camera/1@tmp/durable-2034c2ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:27:52 + echo total: 0.10999999940395355 [Pipeline] stash 19:27:52 Warning: overwriting stash ‘stack-cost’ 19:27:52 Stashed 1 file(s) [Pipeline] } 19:27:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:27:52 $ docker stop --time=1 d427bdca7f5be8702bbee64802a61b4c6ba46f76756c14699eb4b18d2eb07fe8 19:27:54 $ docker rm -f --volumes d427bdca7f5be8702bbee64802a61b4c6ba46f76756c14699eb4b18d2eb07fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:27:55 provisioning config files... 19:27:55 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config16380331318752409757tmp [Pipeline] { [Pipeline] sh 19:27:55 + set +x 19:27:55 + curl -s https://codecov.io/bash 19:27:55 + bash -s -- 19:27:55 19:27:55 _____ _ 19:27:55 / ____| | | 19:27:55 | | ___ __| | ___ ___ _____ __ 19:27:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:27:55 | |___| (_) | (_| | __/ (_| (_) \ V / 19:27:55 \_____\___/ \__,_|\___|\___\___/ \_/ 19:27:55 Bash-1.0.6 19:27:55 19:27:55 19:27:55 ==> git version 2.25.1 found 19:27:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:27:55 Release-Date: 2020-01-08 19:27:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:27:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:27:55 ==> Jenkins CI detected. 19:27:55 current dir:  /w/workspace/undry_device-onvif-camera_PR-343 19:27:55 project root: . 19:27:55 --> token set from env 19:27:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:27:55 ==> Running gcov in . (disable via -X gcov) 19:27:55 ==> Python coveragepy not found 19:27:55 ==> Searching for coverage reports in: 19:27:55 + . 19:27:55 -> Found 1 reports 19:27:55 ==> Detecting git/mercurial file structure 19:27:55 ==> Reading reports 19:27:55 + ./coverage.out bytes=79126 19:27:55 ==> Appending adjustments 19:27:55 https://docs.codecov.io/docs/fixing-reports 19:27:55 + Found adjustments 19:27:55 ==> Gzipping contents 19:27:55 12K /tmp/codecov.gzPXI3.gz 19:27:55 ==> Uploading reports 19:27:55 url: https://codecov.io 19:27:55 query: branch=PR-343&commit=c65c0a2b0bc4624b4c20498eec43121735dd657a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=343&job=&cmd_args= 19:27:55 -> Pinging Codecov 19:27:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-343&commit=c65c0a2b0bc4624b4c20498eec43121735dd657a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=343&job=&cmd_args= 19:27:56 -> Uploading to 19:27:56 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/F29A59C45E3A92E06B3E522C9905F8EF/c65c0a2b0bc4624b4c20498eec43121735dd657a/6f8f32c0-a4ec-4f16-97a8-817a50717028.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T192756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d9d2f7b4537a76e85d001548e8f00cc6330a49a04ff194ee8d191053dee81d6 19:27:56 % Total % Received % Xferd Average Speed Time Time Time Current 19:27:56 Dload Upload Total Spent Left Speed 19:27:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10542 0 0 100 10542 0 44859 --:--:-- --:--:-- --:--:-- 44859 19:27:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c65c0a2b0bc4624b4c20498eec43121735dd657a [Pipeline] } 19:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:27:58 + [ -d /w/workspace/undry_device-onvif-camera_PR-343/archives ] 19:27:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-343/archives 19:27:58 total 16 19:27:58 drwxr-xr-x 3 root root 4096 May 5 19:18 . 19:27:58 drwxrwxr-x 11 jenkins jenkins 4096 May 5 19:18 .. 19:27:58 drwxr-xr-x 2 root root 4096 May 5 19:18 cost 19:27:58 -rw-r--r-- 1 root root 91 May 5 19:18 cost.csv 19:27:58 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-343/archives 19:27:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-343/archives 19:27:58 total 16 19:27:58 drwxr-xr-x 3 jenkins jenkins 4096 May 5 19:18 . 19:27:58 drwxrwxr-x 11 jenkins jenkins 4096 May 5 19:18 .. 19:27:58 drwxr-xr-x 2 jenkins jenkins 4096 May 5 19:18 cost 19:27:58 -rw-r--r-- 1 jenkins jenkins 91 May 5 19:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:27:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:27:59 ---> package-listing.sh 19:27:59 ++ facter osfamily 19:27:59 ++ tr '[:upper:]' '[:lower:]' 19:27:59 + OS_FAMILY=debian 19:27:59 + workspace=/w/workspace/undry_device-onvif-camera_PR-343 19:27:59 + START_PACKAGES=/tmp/packages_start.txt 19:27:59 + END_PACKAGES=/tmp/packages_end.txt 19:27:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:27:59 + PACKAGES=/tmp/packages_start.txt 19:27:59 + '[' /w/workspace/undry_device-onvif-camera_PR-343 ']' 19:27:59 + PACKAGES=/tmp/packages_end.txt 19:27:59 + case "${OS_FAMILY}" in 19:27:59 + dpkg -l 19:27:59 + grep '^ii' 19:27:59 + '[' -f /tmp/packages_start.txt ']' 19:27:59 + '[' -f /tmp/packages_end.txt ']' 19:27:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:27:59 + '[' /w/workspace/undry_device-onvif-camera_PR-343 ']' 19:27:59 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-343/archives/ 19:27:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-343/archives/ [Pipeline] echo 19:27:59 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-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:27:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:28:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:28:00 prd-ubuntu20.04-docker-8c-8g-13920 does not seem to be running inside a container 19:28:00 $ 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-343/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-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:28:00 $ docker top ca53e61598d1d15e971560a9c28672516994ee430b159bf88f98a0e4fef08bc3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:28:01 + touch /tmp/pre-build-complete [Pipeline] sh 19:28:01 + mkdir -p /var/log/sysstat [Pipeline] sh 19:28:01 + ls /var/log/sa-host 19:28:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:02 provisioning config files... 19:28:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config1923303404672481170tmp [Pipeline] { [Pipeline] echo 19:28:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:28:02 ---> create-netrc.sh [Pipeline] } 19:28:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:28:02 ---> python-tools-install.sh [Pipeline] echo 19:28:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:28:03 ---> sudo-logs.sh 19:28:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:28:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:28:03 ---> job-cost.sh 19:28:03 lf-activate-venv: SKIPPING 19:28:03 DEBUG: total: 0.2199999988079071 19:28:03 INFO: Retrieving Stack Cost... 19:28:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:28:04 INFO: Archiving Costs [Pipeline] echo 19:28:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:28:04 ---> logs-deploy.sh 19:28:04 lf-activate-venv: SKIPPING 19:28:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-343/1 19:28:04 INFO: archiving workspace using pattern(s): 19:28:05 Archives upload complete. 19:28:05 INFO: archiving logs to Nexus