Pull request #362 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4+c4faddb2a87debb4847eb62e77eafc712bf7e65e (da7bd65f879470adb8e1c1e42f19db4612782485) 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-ssh13794222546415035222.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-ssh10650829321303805229.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-362/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-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1090479507291184152.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-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14611426256705780223.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-ssh17262534087851080138.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-362/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-362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14953396190864114616.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15553 in /w/workspace/undry_device-onvif-camera_PR-362 [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-362 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 Merge succeeded, producing 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 Checking out Revision 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 (PR-362) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" 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 10:07:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # 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 c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:07:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:07:16 ========================================================= 10:07:16 EdgeX Global Pipelines Version Info 10:07:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:07:16 ------------------- 10:07:16 stable info: 10:07:16 ------------------- 10:07:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:07:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:07:16 Message: update stable to v1.0.249 10:07:17 ------------------- 10:07:17 experimental info: 10:07:17 ------------------- 10:07:17 Commited By: **** collab-it+edgex@linuxfoundation.org 10:07:17 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:07:17 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:07:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:07:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:07:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:07:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:07:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:07:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:07:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:07:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-362 [Pipeline] echo 10:07:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-362 [Pipeline] echo 10:07:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-362 [Pipeline] echo 10:07:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo 10:07:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cbd27c [Pipeline] echo 10:07:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:19 provisioning config files... 10:07:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config12444660491764449630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:19 ---> docker-login.sh 10:07:19 nexus3.edgexfoundry.org:10001 10:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:20 Configure a credential helper to remove this warning. See 10:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:20 10:07:20 Login Succeeded 10:07:20 nexus3.edgexfoundry.org:10002 10:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:20 Configure a credential helper to remove this warning. See 10:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:20 10:07:20 Login Succeeded 10:07:20 nexus3.edgexfoundry.org:10003 10:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:20 Configure a credential helper to remove this warning. See 10:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:20 10:07:20 Login Succeeded 10:07:20 nexus3.edgexfoundry.org:10004 10:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:20 Configure a credential helper to remove this warning. See 10:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:20 10:07:20 Login Succeeded 10:07:20 docker.io 10:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:21 Configure a credential helper to remove this warning. See 10:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:21 10:07:21 Login Succeeded 10:07:21 ---> docker-login.sh ends [Pipeline] } 10:07:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:07:22 + git rev-list -1 --merges 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4~1..7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo 10:07:22 -----------> git rev-list -1 --merges 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4~1..7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [false] [Pipeline] sh 10:07:22 + git log --format=format:%s -1 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo 10:07:22 ========================================================= 10:07:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:07:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:23 + git log --format=format:%s -1 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] echo 10:07:23 [semverPrep] GIT_COMMIT: 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo 10:07:23 [semverPrep] This is not a build commit. [Pipeline] sh 10:07:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:07:23 + grep -v github /etc/ssh/ssh_known_hosts 10:07:23 + [ -e /tmp/ssh_known_hosts ] 10:07:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:07:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:07:23 + sudo tee -a /etc/ssh/ssh_known_hosts 10:07:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:24 10:07:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:24 0.1.4: Pulling from edgex-devops/py-git-semver 10:07:24 b85a868b505f: Pulling fs layer 10:07:24 e2be974225ed: Pulling fs layer 10:07:24 339a4e72a1f5: Pulling fs layer 10:07:24 988bab9f4d93: Pulling fs layer 10:07:24 1469e6f7b9e6: Pulling fs layer 10:07:24 eaf3925da568: Pulling fs layer 10:07:24 bab4dde63d76: Pulling fs layer 10:07:24 bde34c3a00c8: Pulling fs layer 10:07:24 b352a97aabf1: Pulling fs layer 10:07:24 4872d77fe225: Pulling fs layer 10:07:24 5851b861e8e6: Pulling fs layer 10:07:24 988bab9f4d93: Waiting 10:07:24 eaf3925da568: Waiting 10:07:24 bab4dde63d76: Waiting 10:07:24 bde34c3a00c8: Waiting 10:07:24 b352a97aabf1: Waiting 10:07:24 4872d77fe225: Waiting 10:07:24 e2be974225ed: Verifying Checksum 10:07:24 e2be974225ed: Download complete 10:07:24 988bab9f4d93: Verifying Checksum 10:07:24 988bab9f4d93: Download complete 10:07:24 339a4e72a1f5: Verifying Checksum 10:07:24 339a4e72a1f5: Download complete 10:07:24 eaf3925da568: Verifying Checksum 10:07:24 eaf3925da568: Download complete 10:07:24 1469e6f7b9e6: Verifying Checksum 10:07:24 1469e6f7b9e6: Download complete 10:07:24 bde34c3a00c8: Verifying Checksum 10:07:24 bde34c3a00c8: Download complete 10:07:24 b352a97aabf1: Download complete 10:07:24 4872d77fe225: Verifying Checksum 10:07:24 4872d77fe225: Download complete 10:07:24 5851b861e8e6: Verifying Checksum 10:07:24 5851b861e8e6: Download complete 10:07:24 b85a868b505f: Verifying Checksum 10:07:24 b85a868b505f: Download complete 10:07:25 bab4dde63d76: Verifying Checksum 10:07:25 bab4dde63d76: Download complete 10:07:26 b85a868b505f: Pull complete 10:07:26 e2be974225ed: Pull complete 10:07:26 339a4e72a1f5: Pull complete 10:07:26 988bab9f4d93: Pull complete 10:07:26 1469e6f7b9e6: Pull complete 10:07:26 eaf3925da568: Pull complete 10:07:28 bab4dde63d76: Pull complete 10:07:28 bde34c3a00c8: Pull complete 10:07:28 b352a97aabf1: Pull complete 10:07:28 4872d77fe225: Pull complete 10:07:28 5851b861e8e6: Pull complete 10:07:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:28 prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container 10:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:07:32 $ docker top b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b -eo pid,comm 10:07:32 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). 10:07:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:32 [ssh-agent] Looking for ssh-agent implementation... 10:07:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:32 $ docker exec b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent 10:07:32 SSH_AUTH_SOCK=/tmp/ssh-xRXwgIiBnp5A/agent.31 10:07:32 SSH_AGENT_PID=37 10:07:32 Running ssh-add (command line suppressed) 10:07:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16651143704866912156.key (/w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16651143704866912156.key) 10:07:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:33 + git tag --points-at HEAD [Pipeline] } 10:07:33 $ docker exec --env ******** --env ******** b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent -k 10:07:33 unset SSH_AUTH_SOCK; 10:07:33 unset SSH_AGENT_PID; 10:07:33 echo Agent pid 37 killed; 10:07:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:07:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:33 [ssh-agent] Looking for ssh-agent implementation... 10:07:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:33 $ docker exec b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent 10:07:33 SSH_AUTH_SOCK=/tmp/ssh-IfV7TFbgnYX7/agent.69 10:07:33 SSH_AGENT_PID=75 10:07:33 Running ssh-add (command line suppressed) 10:07:33 Identity added: /w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16005132375427516719.key (/w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_16005132375427516719.key) 10:07:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:33 + git semver init 10:07:34 2023-05-16 10:07:34,128 [run_init] DEBUG init version:0.0.0 force:False 10:07:34 2023-05-16 10:07:34,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-362/.semver 10:07:34 2023-05-16 10:07:34,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-362/.semver 10:07:34 2023-05-16 10:07:34,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-362/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-362, universal_newlines=False, shell=None, istream=None) 10:07:35 2023-05-16 10:07:35,185 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-362/.git/info/exclude 10:07:35 2023-05-16 10:07:35,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 with force:False 10:07:35 2023-05-16 10:07:35,186 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 10:07:35 2023-05-16 10:07:35,192 [execute] INFO git cat-file --batch-check 10:07:35 2023-05-16 10:07:35,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-362/.semver, universal_newlines=False, shell=None, istream=) 10:07:35 2023-05-16 10:07:35,199 [execute] INFO git cat-file --batch 10:07:35 2023-05-16 10:07:35,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-362/.semver, universal_newlines=False, shell=None, istream=) 10:07:35 2023-05-16 10:07:35,206 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 10:07:35 0.0.0 [Pipeline] } 10:07:35 $ docker exec --env ******** --env ******** b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b ssh-agent -k 10:07:35 unset SSH_AUTH_SOCK; 10:07:35 unset SSH_AGENT_PID; 10:07:35 echo Agent pid 75 killed; 10:07:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:36 + git semver [Pipeline] } 10:07:36 $ docker stop --time=1 b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b 10:07:37 $ docker rm -f --volumes b76aeef8e852dd01e8da75c7ca3af306b119c39c5d29dc3059166bc6aeb0778b [Pipeline] // withDockerContainer [Pipeline] sh 10:07:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:07:38 Stashed 1 file(s) [Pipeline] echo 10:07:38 [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 10:07:39 provisioning config files... 10:07:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config11151725216472135989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:39 ---> docker-login.sh 10:07:39 nexus3.edgexfoundry.org:10001 10:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:39 Configure a credential helper to remove this warning. See 10:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:39 10:07:39 Login Succeeded 10:07:39 nexus3.edgexfoundry.org:10002 10:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:39 Configure a credential helper to remove this warning. See 10:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:39 10:07:39 Login Succeeded 10:07:39 nexus3.edgexfoundry.org:10003 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 nexus3.edgexfoundry.org:10004 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 docker.io 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 ---> docker-login.sh ends [Pipeline] } 10:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:40 ========================================================= 10:07:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:07:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:41 + 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 . 10:07:41 Sending build context to Docker daemon 21.83MB 10:07:41 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:07:41 Step 2/13 : FROM ${BASE} AS builder 10:07:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:07:41 f56be85fc22e: Pulling fs layer 10:07:41 85791d961cd3: Pulling fs layer 10:07:41 d694b5ae8c79: Pulling fs layer 10:07:41 9f32a84ed3da: Pulling fs layer 10:07:41 4d19c01a9841: Pulling fs layer 10:07:41 9325e15d5711: Pulling fs layer 10:07:41 556b6ee489ea: Pulling fs layer 10:07:41 c5a4b2cf53e6: Pulling fs layer 10:07:41 9f32a84ed3da: Waiting 10:07:41 4d19c01a9841: Waiting 10:07:41 9325e15d5711: Waiting 10:07:41 556b6ee489ea: Waiting 10:07:41 c5a4b2cf53e6: Waiting 10:07:41 85791d961cd3: Download complete 10:07:41 9f32a84ed3da: Download complete 10:07:41 4d19c01a9841: Verifying Checksum 10:07:41 4d19c01a9841: Download complete 10:07:41 f56be85fc22e: Verifying Checksum 10:07:41 f56be85fc22e: Download complete 10:07:41 9325e15d5711: Verifying Checksum 10:07:41 9325e15d5711: Download complete 10:07:41 f56be85fc22e: Pull complete 10:07:41 85791d961cd3: Pull complete 10:07:41 c5a4b2cf53e6: Verifying Checksum 10:07:41 c5a4b2cf53e6: Download complete 10:07:41 d694b5ae8c79: Verifying Checksum 10:07:41 d694b5ae8c79: Download complete 10:07:42 556b6ee489ea: Verifying Checksum 10:07:44 d694b5ae8c79: Pull complete 10:07:44 9f32a84ed3da: Pull complete 10:07:45 4d19c01a9841: Pull complete 10:07:45 9325e15d5711: Pull complete 10:07:47 556b6ee489ea: Pull complete 10:07:48 c5a4b2cf53e6: Pull complete 10:07:48 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:07:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:07:48 ---> c4be618373d6 10:07:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:07:53 ---> Running in b0ace23161d9 10:07:53 Removing intermediate container b0ace23161d9 10:07:53 ---> 3c29a531cc88 10:07:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:07:53 ---> Running in f65fb124657a 10:07:53 Removing intermediate container f65fb124657a 10:07:53 ---> 90f44e3aa31e 10:07:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:07:53 ---> Running in 962525080ea3 10:07:53 Removing intermediate container 962525080ea3 10:07:53 ---> 5bd17bdb28c5 10:07:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:07:53 ---> Running in 27306c370680 10:07:53 Removing intermediate container 27306c370680 10:07:53 ---> 3a28c0b9e051 10:07:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:07:53 ---> Running in 01ef7ffcfa8f 10:07:53 Removing intermediate container 01ef7ffcfa8f 10:07:53 ---> 1c9e7bd16b5d 10:07:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:07:53 ---> Running in 914f00fb08f1 10:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:07:53 OK: 265 MiB in 53 packages 10:07:54 Still waiting to schedule task 10:07:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:07:54 Removing intermediate container 914f00fb08f1 10:07:54 ---> bfdd315336f6 10:07:54 Step 9/13 : WORKDIR /device-onvif-camera 10:07:54 ---> Running in e9f12a2df4ca 10:07:54 Removing intermediate container e9f12a2df4ca 10:07:54 ---> 854767cec219 10:07:54 Step 10/13 : COPY go.mod vendor* ./ 10:07:54 ---> 73782a461233 10:07:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:54 ---> Running in 5284cf0210c2 10:08:21 Removing intermediate container 5284cf0210c2 10:08:21 ---> e0a249e11edd 10:08:21 Step 12/13 : COPY . . 10:08:21 ---> 17ac744c7e55 10:08:21 Step 13/13 : RUN ${MAKE} 10:08:21 ---> Running in dbbbf1c0a8e3 10:08:21 noop 10:08:21 Removing intermediate container dbbbf1c0a8e3 10:08:21 ---> dfa76f9eee32 10:08:21 Successfully built dfa76f9eee32 10:08:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:21 + docker inspect -f . ci-base-image-x86_64 10:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:21 prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container 10:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:22 $ docker top 9ecb82c553669ad76cc1fef660eee5a8f6db3978099b88e44364df1103181ad5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:22 + go version 10:08:22 go version go1.20.2 linux/amd64 [Pipeline] } 10:08:22 $ docker stop --time=1 9ecb82c553669ad76cc1fef660eee5a8f6db3978099b88e44364df1103181ad5 10:08:23 $ docker rm -f --volumes 9ecb82c553669ad76cc1fef660eee5a8f6db3978099b88e44364df1103181ad5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:24 + docker inspect -f . ci-base-image-x86_64 10:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:24 prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container 10:08:24 $ 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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:25 $ docker top c08f911949dfbc83135bca4620c530949a751eccbb9fa94de017339b48a29723 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:25 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] fileExists [Pipeline] sh 10:08:26 + make test 10:08:26 go test ./... -coverprofile=coverage.out ./... 10:08:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:08:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:08:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:08:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements 10:08:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.287s coverage: 86.5% of statements 10:08:52 go vet ./... 10:08:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:54 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:54 $ docker stop --time=1 c08f911949dfbc83135bca4620c530949a751eccbb9fa94de017339b48a29723 10:08:57 $ docker rm -f --volumes c08f911949dfbc83135bca4620c530949a751eccbb9fa94de017339b48a29723 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:59 + ls -al . 10:08:59 total 232 10:08:59 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:08 . 10:08:59 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 .. 10:08:59 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:07 .git 10:08:59 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:07 .github 10:08:59 -rw-rw-r-- 1 jenkins jenkins 496 May 16 10:07 .gitignore 10:08:59 -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:07 .golangci.yml 10:08:59 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:07 .semver 10:08:59 -rw-rw-r-- 1 jenkins jenkins 10087 May 16 10:07 Attribution.txt 10:08:59 -rw-rw-r-- 1 jenkins jenkins 6312 May 16 10:07 CHANGELOG.md 10:08:59 -rw-rw-r-- 1 jenkins jenkins 1574 May 16 10:07 Dockerfile 10:08:59 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:07 GOVERNANCE.md 10:08:59 -rw-rw-r-- 1 jenkins jenkins 739 May 16 10:07 Jenkinsfile 10:08:59 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:07 LICENSE 10:08:59 -rw-rw-r-- 1 jenkins jenkins 2751 May 16 10:07 Makefile 10:08:59 -rw-rw-r-- 1 jenkins jenkins 625 May 16 10:07 OWNERS.md 10:08:59 -rw-rw-r-- 1 jenkins jenkins 2690 May 16 10:07 README.md 10:08:59 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:07 VERSION 10:08:59 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:07 bin 10:08:59 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:07 cmd 10:08:59 -rw-r--r-- 1 jenkins jenkins 78459 May 16 10:08 coverage.out 10:08:59 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 doc 10:08:59 -rw-rw-r-- 1 jenkins jenkins 3642 May 16 10:07 go.mod 10:08:59 -rw-rw-r-- 1 jenkins jenkins 33491 May 16 10:07 go.sum 10:08:59 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 internal 10:08:59 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:07 snap 10:08:59 -rw-rw-r-- 1 jenkins jenkins 236 May 16 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:59 + 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=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 --label arch=amd64 --label version=0.0.0 . 10:08:59 Sending build context to Docker daemon 21.91MB 10:08:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:08:59 Step 2/26 : FROM ${BASE} AS builder 10:08:59 ---> dfa76f9eee32 10:08:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:09:00 ---> Running in 50741c5c3b4c 10:09:00 Removing intermediate container 50741c5c3b4c 10:09:00 ---> 33b6ad859e4f 10:09:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:09:00 ---> Running in d592910cec48 10:09:00 Removing intermediate container d592910cec48 10:09:00 ---> 88c53c17b942 10:09:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:09:00 ---> Running in 2bc28304bff0 10:09:00 Removing intermediate container 2bc28304bff0 10:09:00 ---> 78b50ad99e7b 10:09:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:09:00 ---> Running in d1eedfeb27a2 10:09:00 Removing intermediate container d1eedfeb27a2 10:09:00 ---> 142c68c25277 10:09:00 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:09:00 ---> Running in 18310c553429 10:09:00 Removing intermediate container 18310c553429 10:09:00 ---> afbee37335e9 10:09:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:00 ---> Running in 5d939d7269da 10:09:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:09:01 OK: 265 MiB in 53 packages 10:09:01 Removing intermediate container 5d939d7269da 10:09:01 ---> f2109277fd15 10:09:01 Step 9/26 : WORKDIR /device-onvif-camera 10:09:01 ---> Running in d4d06d90f4cf 10:09:01 Removing intermediate container d4d06d90f4cf 10:09:01 ---> 75c722b4c14b 10:09:01 Step 10/26 : COPY go.mod vendor* ./ 10:09:01 ---> ad0f426739c8 10:09:01 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:01 ---> Running in f4ceadc46364 10:09:02 Removing intermediate container f4ceadc46364 10:09:02 ---> d83e2e8cc408 10:09:02 Step 12/26 : COPY . . 10:09:03 ---> f4c6b96068d5 10:09:03 Step 13/26 : RUN ${MAKE} 10:09:03 ---> Running in 5ac442681973 10:09:03 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 10:09:25 Removing intermediate container 5ac442681973 10:09:25 ---> 27a65c6eaf0f 10:09:25 Step 14/26 : FROM alpine:3.17 10:09:25 3.17: Pulling from library/alpine 10:09:25 f56be85fc22e: Already exists 10:09:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:09:25 Status: Downloaded newer image for alpine:3.17 10:09:25 ---> 9ed4aefc74f6 10:09:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:09:25 ---> Running in 5a0793f312a8 10:09:25 Removing intermediate container 5a0793f312a8 10:09:25 ---> 29a595fcc2cf 10:09:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:09:25 ---> Running in 6bd6290eb765 10:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:09:25 (1/1) Installing dumb-init (1.2.5-r2) 10:09:25 Executing busybox-1.35.0-r29.trigger 10:09:25 OK: 7 MiB in 16 packages 10:09:25 Removing intermediate container 6bd6290eb765 10:09:25 ---> f19e15b4cc3b 10:09:25 Step 17/26 : WORKDIR / 10:09:25 ---> Running in b5ef85315a66 10:09:25 Removing intermediate container b5ef85315a66 10:09:25 ---> e779c218d39b 10:09:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:09:25 ---> 81884c74d171 10:09:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:09:25 ---> 3098c165e874 10:09:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:09:25 ---> fed62e334038 10:09:25 Step 21/26 : EXPOSE 59984 10:09:25 ---> Running in 49701bd6873b 10:09:25 Removing intermediate container 49701bd6873b 10:09:25 ---> 250b6d007e2d 10:09:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:09:25 ---> Running in 2b1d23686892 10:09:25 Removing intermediate container 2b1d23686892 10:09:25 ---> a353d69e98c9 10:09:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:09:25 ---> Running in 57201cd9e6cf 10:09:25 Removing intermediate container 57201cd9e6cf 10:09:25 ---> d3f015861b76 10:09:25 Step 24/26 : LABEL arch=amd64 10:09:25 ---> Running in 385f6830306a 10:09:25 Removing intermediate container 385f6830306a 10:09:25 ---> fc04d66a5c94 10:09:25 Step 25/26 : LABEL git_sha=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 10:09:25 ---> Running in ca8a2ee9bc5c 10:09:25 Removing intermediate container ca8a2ee9bc5c 10:09:25 ---> b37bd3b2d937 10:09:25 Step 26/26 : LABEL version=0.0.0 10:09:25 ---> Running in 8e9922ac5955 10:09:25 Removing intermediate container 8e9922ac5955 10:09:25 ---> c9d1b466c40d 10:09:25 [Warning] One or more build-args [ARCH] were not consumed 10:09:25 Successfully built c9d1b466c40d 10:09:25 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 10:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:26 10:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:27 latest: Pulling from edgex-lftools-log-publisher 10:09:27 5eb5b503b376: Pulling fs layer 10:09:27 5c69ac0246d0: Pulling fs layer 10:09:27 ec43610c2a17: Pulling fs layer 10:09:27 3a2ae6a8a46f: Pulling fs layer 10:09:27 33b1e0a273af: Pulling fs layer 10:09:27 5d3b04190fa2: Pulling fs layer 10:09:27 2f39f015ded8: Pulling fs layer 10:09:27 33b1e0a273af: Waiting 10:09:27 3a2ae6a8a46f: Waiting 10:09:27 5c69ac0246d0: Download complete 10:09:27 3a2ae6a8a46f: Verifying Checksum 10:09:27 3a2ae6a8a46f: Download complete 10:09:27 33b1e0a273af: Verifying Checksum 10:09:27 33b1e0a273af: Download complete 10:09:27 ec43610c2a17: Verifying Checksum 10:09:27 ec43610c2a17: Download complete 10:09:27 5d3b04190fa2: Download complete 10:09:27 5eb5b503b376: Verifying Checksum 10:09:27 5eb5b503b376: Download complete 10:09:28 5eb5b503b376: Pull complete 10:09:28 5c69ac0246d0: Pull complete 10:09:29 ec43610c2a17: Pull complete 10:09:29 3a2ae6a8a46f: Pull complete 10:09:29 33b1e0a273af: Pull complete 10:09:29 5d3b04190fa2: Pull complete 10:09:33 2f39f015ded8: Pull complete 10:09:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:33 prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container 10:09:33 $ 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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:09:37 $ docker top 74c8a8079ce0fce3f0b9e300b58dfc258fdd68dfb41634ebe4cffee6cc30d65a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:37 ---> job-cost.sh 10:09:37 lf-activate-venv: SKIPPING 10:09:37 INFO: No Stack... 10:09:37 INFO: Retrieving Pricing Info for: v3-standard-8 10:09:38 INFO: Archiving Costs [Pipeline] sh 10:09:38 + cat /w/workspace/undry_device-onvif-camera_PR-362/archives/cost.csv 10:09:38 + cut -d, -f6 [Pipeline] lock 10:09:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] 10:09:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] did not exist. Created. 10:09:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:39 + echo total: 0.2199999988079071 [Pipeline] stash 10:09:39 Stashed 1 file(s) [Pipeline] } 10:09:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:09:39 $ docker stop --time=1 74c8a8079ce0fce3f0b9e300b58dfc258fdd68dfb41634ebe4cffee6cc30d65a 10:09:40 $ docker rm -f --volumes 74c8a8079ce0fce3f0b9e300b58dfc258fdd68dfb41634ebe4cffee6cc30d65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:10:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15560 in /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] { [Pipeline] ws 10:10:51 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 10:10:52 The recommended git tool is: git 10:11:02 using credential edgex-jenkins-ssh 10:11:02 Cloning the remote Git repository 10:11:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:11:02 > git init /w/workspace/device-onvif-camera/1 # timeout=10 10:11:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:11:03 > git --version # timeout=10 10:11:03 > git --version # 'git version 2.25.1' 10:11:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:11:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:11:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:11:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:11:09 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 10:11:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:11:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:11:08 using GIT_SSH to set credentials SSH Credentials for GitHub 10:11:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:11:09 > git config core.sparsecheckout # timeout=10 10:11:10 Merge succeeded, producing 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 10:11:10 Checking out Revision 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 (PR-362) 10:11:11 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" 10:11:09 > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # timeout=10 10:11:09 > git remote # timeout=10 10:11:09 > git config --get remote.origin.url # timeout=10 10:11:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:11:09 > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 10:11:09 > git rev-parse HEAD^{commit} # timeout=10 10:11:10 > git config core.sparsecheckout # timeout=10 10:11:10 > git checkout -f 7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 # timeout=10 10:11:11 > git --version # timeout=10 10:11:11 > git --version # 'git version 2.25.1' 10:11:11 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:11:12 % Total % Received % Xferd Average Speed Time Time Time Current 10:11:12 Dload Upload Total Spent Left Speed 10:11:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh 10:11:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:11:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:11:14 + sudo tee /etc/docker/daemon.new 10:11:14 { 10:11:14 "registry-mirrors": [ 10:11:14 "https://nexus3.edgexfoundry.org:10001" 10:11:14 ], 10:11:14 "bip": "10.250.0.254/24", 10:11:14 "hosts": [ 10:11:14 "tcp://0.0.0.0:5555", 10:11:14 "unix:///var/run/docker.sock" 10:11:14 ], 10:11:14 "mtu": 1458, 10:11:14 "selinux-enabled": true, 10:11:14 "seccomp-profile": "/etc/docker/seccomp.json" 10:11:14 } [Pipeline] sh 10:11:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:11:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:37 provisioning config files... 10:11:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13087615689844734100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:37 ---> docker-login.sh 10:11:37 nexus3.edgexfoundry.org:10001 10:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:38 Configure a credential helper to remove this warning. See 10:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:38 10:11:38 Login Succeeded 10:11:38 nexus3.edgexfoundry.org:10002 10:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:39 Configure a credential helper to remove this warning. See 10:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:39 10:11:39 Login Succeeded 10:11:39 nexus3.edgexfoundry.org:10003 10:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:39 Configure a credential helper to remove this warning. See 10:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:39 10:11:39 Login Succeeded 10:11:39 nexus3.edgexfoundry.org:10004 10:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:39 Configure a credential helper to remove this warning. See 10:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:39 10:11:39 Login Succeeded 10:11:39 docker.io 10:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:40 Configure a credential helper to remove this warning. See 10:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:40 10:11:40 Login Succeeded 10:11:40 ---> docker-login.sh ends [Pipeline] } 10:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:41 ========================================================= 10:11:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:11:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:41 + 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 . 10:11:42 Sending build context to Docker daemon 14.33MB 10:11:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:11:42 Step 2/13 : FROM ${BASE} AS builder 10:11:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:11:42 c41833b44d91: Pulling fs layer 10:11:42 ed15518f5707: Pulling fs layer 10:11:42 feae8fd75edb: Pulling fs layer 10:11:42 242c74f7c9fa: Pulling fs layer 10:11:42 3cdef696dda3: Pulling fs layer 10:11:42 2ced38df9373: Pulling fs layer 10:11:42 58f1dce35555: Pulling fs layer 10:11:42 242c74f7c9fa: Waiting 10:11:42 3cdef696dda3: Waiting 10:11:42 2ced38df9373: Waiting 10:11:42 58f1dce35555: Waiting 10:11:42 ed15518f5707: Download complete 10:11:42 242c74f7c9fa: Verifying Checksum 10:11:42 242c74f7c9fa: Download complete 10:11:42 3cdef696dda3: Verifying Checksum 10:11:42 3cdef696dda3: Download complete 10:11:42 c41833b44d91: Verifying Checksum 10:11:42 c41833b44d91: Download complete 10:11:43 c41833b44d91: Pull complete 10:11:44 58f1dce35555: Verifying Checksum 10:11:44 58f1dce35555: Download complete 10:11:44 ed15518f5707: Pull complete 10:11:45 feae8fd75edb: Verifying Checksum 10:11:45 feae8fd75edb: Download complete 10:11:45 2ced38df9373: Verifying Checksum 10:11:45 2ced38df9373: Download complete 10:11:57 feae8fd75edb: Pull complete 10:11:57 242c74f7c9fa: Pull complete 10:11:57 3cdef696dda3: Pull complete 10:12:04 2ced38df9373: Pull complete 10:12:05 58f1dce35555: Pull complete 10:12:05 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:12:05 ---> fadd8f120f05 10:12:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:12:06 ---> Running in 3493120ed8d4 10:12:07 Removing intermediate container 3493120ed8d4 10:12:07 ---> 1b8a62c58eed 10:12:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:12:07 ---> Running in 88957f4819a1 10:12:07 Removing intermediate container 88957f4819a1 10:12:07 ---> 45953c835b6a 10:12:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:12:07 ---> Running in dc39e78365dd 10:12:08 Removing intermediate container dc39e78365dd 10:12:08 ---> d4defebf9c76 10:12:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:12:08 ---> Running in b8a11a084eb2 10:12:08 Removing intermediate container b8a11a084eb2 10:12:08 ---> 8042e5cddf5a 10:12:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:12:08 ---> Running in c242f6783fb4 10:12:08 Removing intermediate container c242f6783fb4 10:12:08 ---> d090260267df 10:12:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:09 ---> Running in 609f0528f4c4 10:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:12:12 OK: 263 MiB in 53 packages 10:12:14 Removing intermediate container 609f0528f4c4 10:12:14 ---> 8779f20f2bb8 10:12:14 Step 9/13 : WORKDIR /device-onvif-camera 10:12:14 ---> Running in 49003697860e 10:12:15 Removing intermediate container 49003697860e 10:12:15 ---> 6214bcc74d0d 10:12:15 Step 10/13 : COPY go.mod vendor* ./ 10:12:15 ---> 7abb53277e4a 10:12:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:15 ---> Running in 3c6bdb270a8c 10:13:23 Removing intermediate container 3c6bdb270a8c 10:13:23 ---> 65399c9d69c4 10:13:23 Step 12/13 : COPY . . 10:13:24 ---> 757230cfbef5 10:13:24 Step 13/13 : RUN ${MAKE} 10:13:24 ---> Running in a43b2547b1ee 10:13:25 noop 10:13:26 Removing intermediate container a43b2547b1ee 10:13:26 ---> 7b30861b1253 10:13:26 Successfully built 7b30861b1253 10:13:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:26 + docker inspect -f . ci-base-image-arm64 10:13:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:27 prd-ubuntu20.04-docker-arm64-4c-16g-15560 does not seem to be running inside a container 10:13:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:28 $ docker top bf3b16afb74cbac4892fb32d23d07c5c5693f20ee633e7effae0a457877f6b40 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:29 + go version 10:13:29 go version go1.20.2 linux/arm64 [Pipeline] } 10:13:29 $ docker stop --time=1 bf3b16afb74cbac4892fb32d23d07c5c5693f20ee633e7effae0a457877f6b40 10:13:31 $ docker rm -f --volumes bf3b16afb74cbac4892fb32d23d07c5c5693f20ee633e7effae0a457877f6b40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:32 + docker inspect -f . ci-base-image-arm64 10:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:32 prd-ubuntu20.04-docker-arm64-4c-16g-15560 does not seem to be running inside a container 10:13:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:35 $ docker top da1f52ef323e202ddd65e3230ed54bf811e3cbbba622c87350acba47345f29c9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:36 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 10:13:37 + make test 10:13:37 go test ./... -coverprofile=coverage.out ./... 10:14:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:16:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:16:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:16:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 31.4% of statements 10:17:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.824s coverage: 86.5% of statements 10:17:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:17:08 go vet ./... 10:17:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:17:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:17:47 ./bin/test-attribution-txt.sh [Pipeline] echo 10:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:17:47 $ docker stop --time=1 da1f52ef323e202ddd65e3230ed54bf811e3cbbba622c87350acba47345f29c9 10:17:49 $ docker rm -f --volumes da1f52ef323e202ddd65e3230ed54bf811e3cbbba622c87350acba47345f29c9 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:17:51 Warning: overwriting stash ‘coverage-report’ 10:17:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:17:52 + ls -al . 10:17:52 total 228 10:17:52 drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:13 . 10:17:52 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 .. 10:17:52 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:11 .git 10:17:52 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:11 .github 10:17:52 -rw-rw-r-- 1 jenkins jenkins 496 May 16 10:11 .gitignore 10:17:52 -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:11 .golangci.yml 10:17:52 -rw-rw-r-- 1 jenkins jenkins 10087 May 16 10:11 Attribution.txt 10:17:52 -rw-rw-r-- 1 jenkins jenkins 6312 May 16 10:11 CHANGELOG.md 10:17:52 -rw-rw-r-- 1 jenkins jenkins 1574 May 16 10:11 Dockerfile 10:17:52 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:11 GOVERNANCE.md 10:17:52 -rw-rw-r-- 1 jenkins jenkins 739 May 16 10:11 Jenkinsfile 10:17:52 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:11 LICENSE 10:17:52 -rw-rw-r-- 1 jenkins jenkins 2751 May 16 10:11 Makefile 10:17:52 -rw-rw-r-- 1 jenkins jenkins 625 May 16 10:11 OWNERS.md 10:17:52 -rw-rw-r-- 1 jenkins jenkins 2690 May 16 10:11 README.md 10:17:52 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:07 VERSION 10:17:52 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:11 bin 10:17:52 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:11 cmd 10:17:52 -rw-r--r-- 1 jenkins jenkins 78459 May 16 10:17 coverage.out 10:17:52 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 doc 10:17:52 -rw-rw-r-- 1 jenkins jenkins 3642 May 16 10:11 go.mod 10:17:52 -rw-rw-r-- 1 jenkins jenkins 33491 May 16 10:11 go.sum 10:17:52 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 internal 10:17:52 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:11 snap 10:17:52 -rw-rw-r-- 1 jenkins jenkins 236 May 16 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:53 + 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=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 --label arch=arm64 --label version=0.0.0 . 10:17:53 Sending build context to Docker daemon 14.41MB 10:17:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:17:53 Step 2/26 : FROM ${BASE} AS builder 10:17:53 ---> 7b30861b1253 10:17:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:17:54 ---> Running in 0fab9a2580dd 10:17:54 Removing intermediate container 0fab9a2580dd 10:17:54 ---> 753678a56561 10:17:54 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:17:54 ---> Running in 8574f82a541e 10:17:55 Removing intermediate container 8574f82a541e 10:17:55 ---> 20cc0aed59e2 10:17:55 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:17:55 ---> Running in e08063dec738 10:17:55 Removing intermediate container e08063dec738 10:17:55 ---> c57250c0d871 10:17:55 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:17:55 ---> Running in 5466538c0584 10:17:56 Removing intermediate container 5466538c0584 10:17:56 ---> 668c2dfe20c9 10:17:56 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:17:56 ---> Running in ac62fa238c7a 10:17:56 Removing intermediate container ac62fa238c7a 10:17:56 ---> b1e4ba04b9fd 10:17:56 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:17:56 ---> Running in c669108c50ed 10:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:17:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:18:00 OK: 263 MiB in 53 packages 10:18:01 Removing intermediate container c669108c50ed 10:18:01 ---> 029de771d1a2 10:18:01 Step 9/26 : WORKDIR /device-onvif-camera 10:18:01 ---> Running in bede6f78675d 10:18:01 Removing intermediate container bede6f78675d 10:18:01 ---> 0f8ada615258 10:18:01 Step 10/26 : COPY go.mod vendor* ./ 10:18:02 ---> 65df51143517 10:18:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:02 ---> Running in 01af3ae64625 10:18:06 Removing intermediate container 01af3ae64625 10:18:06 ---> f01aae8dc817 10:18:06 Step 12/26 : COPY . . 10:18:07 ---> a13b7e9dcb83 10:18:07 Step 13/26 : RUN ${MAKE} 10:18:07 ---> Running in 74289a98e03b 10:18:08 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 10:21:15 Removing intermediate container 74289a98e03b 10:21:15 ---> e2622d68aada 10:21:15 Step 14/26 : FROM alpine:3.17 10:21:15 3.17: Pulling from library/alpine 10:21:15 c41833b44d91: Already exists 10:21:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:21:15 Status: Downloaded newer image for alpine:3.17 10:21:15 ---> 51e60588ff2c 10:21:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:21:15 ---> Running in e6063ce06187 10:21:15 Removing intermediate container e6063ce06187 10:21:15 ---> 96fa1547c7ea 10:21:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:21:15 ---> Running in 585bfdf301bc 10:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:21:15 (1/1) Installing dumb-init (1.2.5-r2) 10:21:15 Executing busybox-1.35.0-r29.trigger 10:21:15 OK: 8 MiB in 16 packages 10:21:15 Removing intermediate container 585bfdf301bc 10:21:15 ---> 9cb2f68c56c0 10:21:15 Step 17/26 : WORKDIR / 10:21:15 ---> Running in f32b42d8ad8b 10:21:15 Removing intermediate container f32b42d8ad8b 10:21:15 ---> 844d28486e76 10:21:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:21:15 ---> cc8ba7e06143 10:21:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:21:16 ---> ba928ac725d4 10:21:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:21:16 ---> dcfbafed1598 10:21:16 Step 21/26 : EXPOSE 59984 10:21:16 ---> Running in accfa83fd099 10:21:17 Removing intermediate container accfa83fd099 10:21:17 ---> 4949024163b2 10:21:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:21:17 ---> Running in 6ce066c03369 10:21:17 Removing intermediate container 6ce066c03369 10:21:17 ---> f3f69107c6c3 10:21:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:21:17 ---> Running in f95a01cf85b9 10:21:18 Removing intermediate container f95a01cf85b9 10:21:18 ---> 1d5d34c6719a 10:21:18 Step 24/26 : LABEL arch=arm64 10:21:18 ---> Running in 7ec47f35d57f 10:21:18 Removing intermediate container 7ec47f35d57f 10:21:18 ---> 31b781d51798 10:21:18 Step 25/26 : LABEL git_sha=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 10:21:18 ---> Running in d13207ca6aeb 10:21:18 Removing intermediate container d13207ca6aeb 10:21:18 ---> bafab3e23ba5 10:21:18 Step 26/26 : LABEL version=0.0.0 10:21:19 ---> Running in ac21a07f858c 10:21:19 Removing intermediate container ac21a07f858c 10:21:19 ---> 1fe8bf05b824 10:21:19 [Warning] One or more build-args [ARCH] were not consumed 10:21:19 Successfully built 1fe8bf05b824 10:21:19 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 10:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:20 10:21:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:21 arm64: Pulling from edgex-lftools-log-publisher 10:21:21 8998bd30e6a1: Pulling fs layer 10:21:21 04944245beec: Pulling fs layer 10:21:21 699f458cf7ca: Pulling fs layer 10:21:21 765212b225bb: Pulling fs layer 10:21:21 f23df028b6ca: Pulling fs layer 10:21:21 d65c8cfc05b1: Pulling fs layer 10:21:21 2437ff75d9bd: Pulling fs layer 10:21:21 f23df028b6ca: Waiting 10:21:21 d65c8cfc05b1: Waiting 10:21:21 765212b225bb: Waiting 10:21:21 2437ff75d9bd: Waiting 10:21:21 04944245beec: Verifying Checksum 10:21:21 04944245beec: Download complete 10:21:21 765212b225bb: Verifying Checksum 10:21:21 765212b225bb: Download complete 10:21:21 f23df028b6ca: Verifying Checksum 10:21:21 f23df028b6ca: Download complete 10:21:21 d65c8cfc05b1: Verifying Checksum 10:21:21 d65c8cfc05b1: Download complete 10:21:21 699f458cf7ca: Verifying Checksum 10:21:21 699f458cf7ca: Download complete 10:21:21 8998bd30e6a1: Verifying Checksum 10:21:21 8998bd30e6a1: Download complete 10:21:24 2437ff75d9bd: Verifying Checksum 10:21:24 2437ff75d9bd: Download complete 10:21:26 8998bd30e6a1: Pull complete 10:21:26 04944245beec: Pull complete 10:21:28 699f458cf7ca: Pull complete 10:21:28 765212b225bb: Pull complete 10:21:29 f23df028b6ca: Pull complete 10:21:29 d65c8cfc05b1: Pull complete 10:21:44 2437ff75d9bd: Pull complete 10:21:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:45 prd-ubuntu20.04-docker-arm64-4c-16g-15560 does not seem to be running inside a container 10:21: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:21:48 $ docker top 7bc311f60cd1dfe8d1ada2259f26ca57886ba78c5382e833d470523bfcc23d48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:49 ---> job-cost.sh 10:21:49 lf-activate-venv: SKIPPING 10:21:49 INFO: No Stack... 10:21:50 INFO: Retrieving Pricing Info for: v3-standard-4 10:21:50 INFO: Archiving Costs [Pipeline] sh 10:21:51 + cut -d, -f6 10:21:51 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 10:21:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] 10:21:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] did not exist. Created. 10:21:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:21:52 /w/workspace/device-onvif-camera/1@tmp/durable-a0242f33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:21:52 + echo total: 0.10999999940395355 [Pipeline] stash 10:21:52 Warning: overwriting stash ‘stack-cost’ 10:21:53 Stashed 1 file(s) [Pipeline] } 10:21:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:21:53 $ docker stop --time=1 7bc311f60cd1dfe8d1ada2259f26ca57886ba78c5382e833d470523bfcc23d48 10:21:54 $ docker rm -f --volumes 7bc311f60cd1dfe8d1ada2259f26ca57886ba78c5382e833d470523bfcc23d48 [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 10:21:55 provisioning config files... 10:21:55 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config10878941031966595549tmp [Pipeline] { [Pipeline] sh 10:21:56 + set +x 10:21:56 + bash -s -- 10:21:56 + curl -s https://codecov.io/bash 10:21:56 10:21:56 _____ _ 10:21:56 / ____| | | 10:21:56 | | ___ __| | ___ ___ _____ __ 10:21:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:21:56 | |___| (_) | (_| | __/ (_| (_) \ V / 10:21:56 \_____\___/ \__,_|\___|\___\___/ \_/ 10:21:56 Bash-1.0.6 10:21:56 10:21:56 10:21:56 ==> git version 2.25.1 found 10:21:56 ==> 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 10:21:56 Release-Date: 2020-01-08 10:21:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:21:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:21:56 ==> Jenkins CI detected. 10:21:56 current dir:  /w/workspace/undry_device-onvif-camera_PR-362 10:21:56 project root: . 10:21:56 --> token set from env 10:21:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:21:56 ==> Running gcov in . (disable via -X gcov) 10:21:56 ==> Python coveragepy not found 10:21:56 ==> Searching for coverage reports in: 10:21:56 + . 10:21:56 -> Found 1 reports 10:21:56 ==> Detecting git/mercurial file structure 10:21:56 ==> Reading reports 10:21:56 + ./coverage.out bytes=78459 10:21:56 ==> Appending adjustments 10:21:56 https://docs.codecov.io/docs/fixing-reports 10:21:56 + Found adjustments 10:21:56 ==> Gzipping contents 10:21:56 12K /tmp/codecov.wzBz2i.gz 10:21:56 ==> Uploading reports 10:21:56 url: https://codecov.io 10:21:56 query: branch=PR-362&commit=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=362&job=&cmd_args= 10:21:56 -> Pinging Codecov 10:21:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-362&commit=7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=362&job=&cmd_args= 10:21:56 -> Uploading to 10:21:56 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/F29A59C45E3A92E06B3E522C9905F8EF/7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4/9cefef82-e8dd-48a4-8245-d6c988d992f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T102156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0584947481b5a8a134a509b0256d86e56e08d0962ea26409849eb2ff8b22dfdd 10:21:56 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:56 Dload Upload Total Spent Left Speed 10:21:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 52522 --:--:-- --:--:-- --:--:-- 52522 10:21:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7cbd27ca7e039959fa302b4e000ffd9e6bd9b7e4 [Pipeline] } 10:21:57 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 10:21:58 + [ -d /w/workspace/undry_device-onvif-camera_PR-362/archives ] 10:21:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-362/archives 10:21:58 total 16 10:21:58 drwxr-xr-x 3 root root 4096 May 16 10:09 . 10:21:58 drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:09 .. 10:21:58 drwxr-xr-x 2 root root 4096 May 16 10:09 cost 10:21:58 -rw-r--r-- 1 root root 91 May 16 10:09 cost.csv 10:21:58 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-362/archives 10:21:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-362/archives 10:21:58 total 16 10:21:58 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:09 . 10:21:58 drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:09 .. 10:21:58 drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:09 cost 10:21:58 -rw-r--r-- 1 jenkins jenkins 91 May 16 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:22:00 ---> package-listing.sh 10:22:00 ++ facter osfamily 10:22:00 ++ tr '[:upper:]' '[:lower:]' 10:22:00 + OS_FAMILY=debian 10:22:00 + workspace=/w/workspace/undry_device-onvif-camera_PR-362 10:22:00 + START_PACKAGES=/tmp/packages_start.txt 10:22:00 + END_PACKAGES=/tmp/packages_end.txt 10:22:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:22:00 + PACKAGES=/tmp/packages_start.txt 10:22:00 + '[' /w/workspace/undry_device-onvif-camera_PR-362 ']' 10:22:00 + PACKAGES=/tmp/packages_end.txt 10:22:00 + case "${OS_FAMILY}" in 10:22:00 + dpkg -l 10:22:00 + grep '^ii' 10:22:00 + '[' -f /tmp/packages_start.txt ']' 10:22:00 + '[' -f /tmp/packages_end.txt ']' 10:22:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:22:00 + '[' /w/workspace/undry_device-onvif-camera_PR-362 ']' 10:22:00 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-362/archives/ 10:22:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-362/archives/ [Pipeline] echo 10:22:00 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-362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:22:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:22:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:01 prd-ubuntu20.04-docker-8c-8g-15553 does not seem to be running inside a container 10:22:01 $ 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-362/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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:22:01 $ docker top 495ce1efe466a6fdcb6fc4a3d7b188d6d74a06e5b1c20e54136e561fada34cb0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:02 + touch /tmp/pre-build-complete [Pipeline] sh 10:22:02 + mkdir -p /var/log/sysstat [Pipeline] sh 10:22:02 + ls /var/log/sa-host 10:22:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:02 provisioning config files... 10:22:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config2490545892035762954tmp [Pipeline] { [Pipeline] echo 10:22:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:22:03 ---> create-netrc.sh [Pipeline] } 10:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:22:03 ---> python-tools-install.sh [Pipeline] echo 10:22:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:22:04 ---> sudo-logs.sh 10:22:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:22:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:22:04 ---> job-cost.sh 10:22:04 lf-activate-venv: SKIPPING 10:22:04 DEBUG: total: 0.2199999988079071 10:22:04 INFO: Retrieving Stack Cost... 10:22:04 INFO: Retrieving Pricing Info for: v3-standard-8 10:22:05 INFO: Archiving Costs [Pipeline] echo 10:22:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:22:05 ---> logs-deploy.sh 10:22:05 lf-activate-venv: SKIPPING 10:22:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-362/1 10:22:05 INFO: archiving workspace using pattern(s): 10:22:06 Archives upload complete. 10:22:06 INFO: archiving logs to Nexus