Pull request #401 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4cd875690e1cb8eaa493903873f135f8ca31552f+991b984f0069dd0eb843d102c22933ca1a2cac27 (0abc9ad61fcdd27f2f58e187b9480ef8f73663d9) 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-ssh2248759539431752251.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3653269316526584184.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9030862001974965931.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1384549392629507538.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7457885628078490789.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/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.21 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-12451 in /w/workspace/undry_device-onvif-camera_PR-401 [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-401 # 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/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 991b984f0069dd0eb843d102c22933ca1a2cac27 into PR head commit 4cd875690e1cb8eaa493903873f135f8ca31552f Merge succeeded, producing 4cd875690e1cb8eaa493903873f135f8ca31552f Checking out Revision 4cd875690e1cb8eaa493903873f135f8ca31552f (PR-401) Commit message: "build(deps): Bump github.com/google/uuid from 1.3.1 to 1.4.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:28:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:28:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:28:36 ========================================================= 04:28:36 EdgeX Global Pipelines Version Info 04:28:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 4cd875690e1cb8eaa493903873f135f8ca31552f # 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 991b984f0069dd0eb843d102c22933ca1a2cac27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cd875690e1cb8eaa493903873f135f8ca31552f # timeout=10 > git rev-list --no-walk 240f1fbdd5e3ebf38efefeb134228f22bb8984ac # timeout=10 04:28:37 ------------------- 04:28:37 stable info: 04:28:37 ------------------- 04:28:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:28:37 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:28:37 Message: update stable to v1.0.254 04:28:37 ------------------- 04:28:37 experimental info: 04:28:37 ------------------- 04:28:37 Commited By: **** collab-it+edgex@linuxfoundation.org 04:28:37 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:28:37 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:28:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cd875690e1cb8eaa493903873f135f8ca31552f [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cd8756 [Pipeline] echo 04:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:38 provisioning config files... 04:28:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-401@tmp/config8061000820800287553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:38 ---> docker-login.sh 04:28:38 nexus3.edgexfoundry.org:10001 04:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:38 Configure a credential helper to remove this warning. See 04:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:38 04:28:38 Login Succeeded 04:28:38 nexus3.edgexfoundry.org:10002 04:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:38 Configure a credential helper to remove this warning. See 04:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:38 04:28:38 Login Succeeded 04:28:38 nexus3.edgexfoundry.org:10003 04:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:39 Configure a credential helper to remove this warning. See 04:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:39 04:28:39 Login Succeeded 04:28:39 nexus3.edgexfoundry.org:10004 04:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:39 Configure a credential helper to remove this warning. See 04:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:39 04:28:39 Login Succeeded 04:28:39 docker.io 04:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:39 Configure a credential helper to remove this warning. See 04:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:39 04:28:39 Login Succeeded 04:28:39 ---> docker-login.sh ends [Pipeline] } 04:28:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:28:39 + git rev-list -1 --merges 4cd875690e1cb8eaa493903873f135f8ca31552f~1..4cd875690e1cb8eaa493903873f135f8ca31552f [Pipeline] echo 04:28:39 -----------> git rev-list -1 --merges 4cd875690e1cb8eaa493903873f135f8ca31552f~1..4cd875690e1cb8eaa493903873f135f8ca31552f 4cd875690e1cb8eaa493903873f135f8ca31552f [false] [Pipeline] sh 04:28:40 + git log --format=format:%s -1 4cd875690e1cb8eaa493903873f135f8ca31552f [Pipeline] echo 04:28:40 ========================================================= 04:28:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:28:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:40 + git log --format=format:%s -1 4cd875690e1cb8eaa493903873f135f8ca31552f [Pipeline] echo 04:28:40 [semverPrep] GIT_COMMIT: 4cd875690e1cb8eaa493903873f135f8ca31552f, Commit Message: build(deps): Bump github.com/google/uuid from 1.3.1 to 1.4.0 [Pipeline] echo 04:28:40 [semverPrep] This is not a build commit. [Pipeline] sh 04:28:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:40 + grep -v github /etc/ssh/ssh_known_hosts 04:28:40 + [ -e /tmp/ssh_known_hosts ] 04:28:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:28:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:28:40 + sudo tee -a /etc/ssh/ssh_known_hosts 04:28:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:41 04:28:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:41 0.1.4: Pulling from edgex-devops/py-git-semver 04:28:41 b85a868b505f: Pulling fs layer 04:28:41 e2be974225ed: Pulling fs layer 04:28:41 339a4e72a1f5: Pulling fs layer 04:28:41 988bab9f4d93: Pulling fs layer 04:28:41 1469e6f7b9e6: Pulling fs layer 04:28:41 988bab9f4d93: Waiting 04:28:41 1469e6f7b9e6: Waiting 04:28:41 eaf3925da568: Pulling fs layer 04:28:41 bab4dde63d76: Pulling fs layer 04:28:41 bde34c3a00c8: Pulling fs layer 04:28:41 bab4dde63d76: Waiting 04:28:41 b352a97aabf1: Pulling fs layer 04:28:41 4872d77fe225: Pulling fs layer 04:28:41 5851b861e8e6: Pulling fs layer 04:28:41 bde34c3a00c8: Waiting 04:28:41 b352a97aabf1: Waiting 04:28:41 4872d77fe225: Waiting 04:28:41 5851b861e8e6: Waiting 04:28:41 e2be974225ed: Verifying Checksum 04:28:41 e2be974225ed: Download complete 04:28:41 988bab9f4d93: Verifying Checksum 04:28:41 1469e6f7b9e6: Verifying Checksum 04:28:41 1469e6f7b9e6: Download complete 04:28:41 eaf3925da568: Verifying Checksum 04:28:41 eaf3925da568: Download complete 04:28:41 339a4e72a1f5: Verifying Checksum 04:28:41 339a4e72a1f5: Download complete 04:28:41 bde34c3a00c8: Verifying Checksum 04:28:41 bde34c3a00c8: Download complete 04:28:41 b352a97aabf1: Download complete 04:28:41 4872d77fe225: Verifying Checksum 04:28:41 4872d77fe225: Download complete 04:28:41 5851b861e8e6: Download complete 04:28:41 b85a868b505f: Verifying Checksum 04:28:41 b85a868b505f: Download complete 04:28:42 bab4dde63d76: Verifying Checksum 04:28:42 bab4dde63d76: Download complete 04:28:42 b85a868b505f: Pull complete 04:28:42 e2be974225ed: Pull complete 04:28:43 339a4e72a1f5: Pull complete 04:28:43 988bab9f4d93: Pull complete 04:28:43 1469e6f7b9e6: Pull complete 04:28:43 eaf3925da568: Pull complete 04:28:45 bab4dde63d76: Pull complete 04:28:45 bde34c3a00c8: Pull complete 04:28:45 b352a97aabf1: Pull complete 04:28:45 4872d77fe225: Pull complete 04:28:45 5851b861e8e6: Pull complete 04:28:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:45 prd-ubuntu20.04-docker-8c-8g-12451 does not seem to be running inside a container 04:28:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-401 -v /w/workspace/undry_device-onvif-camera_PR-401:/w/workspace/undry_device-onvif-camera_PR-401:rw,z -v /w/workspace/undry_device-onvif-camera_PR-401@tmp:/w/workspace/undry_device-onvif-camera_PR-401@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-devops/py-git-semver:0.1.4 cat 04:28:49 $ docker top 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b -eo pid,comm 04:28:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:28:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:49 [ssh-agent] Looking for ssh-agent implementation... 04:28:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:49 $ docker exec 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b ssh-agent 04:28:49 SSH_AUTH_SOCK=/tmp/ssh-2Lc3CzFS2kV2/agent.33 04:28:49 SSH_AGENT_PID=39 04:28:49 Running ssh-add (command line suppressed) 04:28:49 Identity added: /w/workspace/undry_device-onvif-camera_PR-401@tmp/private_key_3874551432649381530.key (/w/workspace/undry_device-onvif-camera_PR-401@tmp/private_key_3874551432649381530.key) 04:28:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:50 + git tag --points-at HEAD [Pipeline] } 04:28:50 $ docker exec --env ******** --env ******** 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b ssh-agent -k 04:28:50 unset SSH_AUTH_SOCK; 04:28:50 unset SSH_AGENT_PID; 04:28:50 echo Agent pid 39 killed; 04:28:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:50 [ssh-agent] Looking for ssh-agent implementation... 04:28:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:50 $ docker exec 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b ssh-agent 04:28:50 SSH_AUTH_SOCK=/tmp/ssh-OLrdaXXjMHG5/agent.71 04:28:50 SSH_AGENT_PID=77 04:28:50 Running ssh-add (command line suppressed) 04:28:50 Identity added: /w/workspace/undry_device-onvif-camera_PR-401@tmp/private_key_15206584942163743089.key (/w/workspace/undry_device-onvif-camera_PR-401@tmp/private_key_15206584942163743089.key) 04:28:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:50 + git semver init 04:28:51 2023-10-27 04:28:51,076 [run_init] DEBUG init version:0.0.0 force:False 04:28:51 2023-10-27 04:28:51,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-401/.semver 04:28:51 2023-10-27 04:28:51,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-401/.semver 04:28:51 2023-10-27 04:28:51,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-401/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-401, universal_newlines=False, shell=None, istream=None) 04:28:52 2023-10-27 04:28:52,109 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-401/.git/info/exclude 04:28:52 2023-10-27 04:28:52,110 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-401/.semver/PR-401 with force:False 04:28:52 2023-10-27 04:28:52,110 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-401/.semver/PR-401 04:28:52 2023-10-27 04:28:52,114 [execute] INFO git cat-file --batch-check 04:28:52 2023-10-27 04:28:52,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-401/.semver, universal_newlines=False, shell=None, istream=) 04:28:52 2023-10-27 04:28:52,119 [execute] INFO git cat-file --batch 04:28:52 2023-10-27 04:28:52,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-401/.semver, universal_newlines=False, shell=None, istream=) 04:28:52 2023-10-27 04:28:52,124 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-401/.semver/PR-401 04:28:52 0.0.0 [Pipeline] } 04:28:52 $ docker exec --env ******** --env ******** 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b ssh-agent -k 04:28:52 unset SSH_AUTH_SOCK; 04:28:52 unset SSH_AGENT_PID; 04:28:52 echo Agent pid 77 killed; 04:28:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:52 + git semver [Pipeline] } 04:28:53 $ docker stop --time=1 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b 04:28:54 $ docker rm -f --volumes 9a877a7d3db0471a3b3a7876c29b85a9aa53a34897c8d9b796e59b67a893742b [Pipeline] // withDockerContainer [Pipeline] sh 04:28:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:28:55 Stashed 1 file(s) [Pipeline] echo 04:28:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:55 provisioning config files... 04:28:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-401@tmp/config12108215957668966043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:55 ---> docker-login.sh 04:28:55 nexus3.edgexfoundry.org:10001 04:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:55 Configure a credential helper to remove this warning. See 04:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:55 04:28:55 Login Succeeded 04:28:55 nexus3.edgexfoundry.org:10002 04:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:55 Configure a credential helper to remove this warning. See 04:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:55 04:28:55 Login Succeeded 04:28:55 nexus3.edgexfoundry.org:10003 04:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:55 Configure a credential helper to remove this warning. See 04:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:55 04:28:55 Login Succeeded 04:28:55 nexus3.edgexfoundry.org:10004 04:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:55 Configure a credential helper to remove this warning. See 04:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:55 04:28:55 Login Succeeded 04:28:55 docker.io 04:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:56 Configure a credential helper to remove this warning. See 04:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:56 04:28:56 Login Succeeded 04:28:56 ---> docker-login.sh ends [Pipeline] } 04:28:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:56 ========================================================= 04:28:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:28:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:28:56 Sending build context to Docker daemon 21.68MB 04:28:56 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:28:56 Step 2/13 : FROM ${BASE} AS builder 04:28:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:28:56 7264a8db6415: Pulling fs layer 04:28:56 c4d48a809fc2: Pulling fs layer 04:28:56 4f1c88b9dad5: Pulling fs layer 04:28:56 ad3a456e5733: Pulling fs layer 04:28:56 33e27b845d1e: Pulling fs layer 04:28:56 c68163c4e522: Pulling fs layer 04:28:56 50da416c3ac9: Pulling fs layer 04:28:56 23d2d4c4bb30: Pulling fs layer 04:28:56 33e27b845d1e: Waiting 04:28:56 c68163c4e522: Waiting 04:28:56 ad3a456e5733: Waiting 04:28:56 50da416c3ac9: Waiting 04:28:56 23d2d4c4bb30: Waiting 04:28:56 c4d48a809fc2: Verifying Checksum 04:28:56 c4d48a809fc2: Download complete 04:28:56 ad3a456e5733: Verifying Checksum 04:28:56 ad3a456e5733: Download complete 04:28:56 33e27b845d1e: Verifying Checksum 04:28:56 33e27b845d1e: Download complete 04:28:56 7264a8db6415: Download complete 04:28:56 c68163c4e522: Verifying Checksum 04:28:56 c68163c4e522: Download complete 04:28:56 7264a8db6415: Pull complete 04:28:56 23d2d4c4bb30: Verifying Checksum 04:28:56 23d2d4c4bb30: Download complete 04:28:56 c4d48a809fc2: Pull complete 04:28:56 4f1c88b9dad5: Verifying Checksum 04:28:56 4f1c88b9dad5: Download complete 04:28:57 50da416c3ac9: Verifying Checksum 04:28:57 50da416c3ac9: Download complete 04:29:00 4f1c88b9dad5: Pull complete 04:29:00 ad3a456e5733: Pull complete 04:29:00 33e27b845d1e: Pull complete 04:29:00 c68163c4e522: Pull complete 04:29:02 50da416c3ac9: Pull complete 04:29:02 23d2d4c4bb30: Pull complete 04:29:02 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:29:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:29:02 ---> 0786185ac409 04:29:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:29:08 ---> Running in e81997e63d8c 04:29:08 Removing intermediate container e81997e63d8c 04:29:08 ---> 1fed028576a7 04:29:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:29:08 ---> Running in d599e8197dc0 04:29:08 Removing intermediate container d599e8197dc0 04:29:08 ---> d037ca0030b8 04:29:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:29:08 ---> Running in 3d45abe8961a 04:29:08 Removing intermediate container 3d45abe8961a 04:29:08 ---> 417f71a500f5 04:29:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:29:08 ---> Running in 390aac7efb69 04:29:08 Removing intermediate container 390aac7efb69 04:29:08 ---> 4c046d00466a 04:29:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:29:08 ---> Running in ad4a9b9a974a 04:29:08 Removing intermediate container ad4a9b9a974a 04:29:08 ---> 0595ffaf98e3 04:29:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:29:08 ---> Running in 5f76c0312eae 04:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:29:08 OK: 264 MiB in 52 packages 04:29:08 Removing intermediate container 5f76c0312eae 04:29:08 ---> 7bd1865da2d6 04:29:08 Step 9/13 : WORKDIR /device-onvif-camera 04:29:08 ---> Running in cf70d952e77a 04:29:08 Removing intermediate container cf70d952e77a 04:29:08 ---> 79a43e563b2d 04:29:08 Step 10/13 : COPY go.mod vendor* ./ 04:29:08 ---> 6e1f6d3fb49e 04:29:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:08 ---> Running in 1c2699754a4f 04:29:10 Still waiting to schedule task 04:29:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12449’ 04:30:16 Removing intermediate container 1c2699754a4f 04:30:16 ---> 5a960862cf67 04:30:16 Step 12/13 : COPY . . 04:30:16 ---> 4cfd85a8d74a 04:30:16 Step 13/13 : RUN ${MAKE} 04:30:16 ---> Running in 742168929ab6 04:30:16 noop 04:30:16 Removing intermediate container 742168929ab6 04:30:16 ---> 4f3f60c6aa11 04:30:16 Successfully built 4f3f60c6aa11 04:30:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:16 + docker inspect -f . ci-base-image-x86_64 04:30:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:17 prd-ubuntu20.04-docker-8c-8g-12451 does not seem to be running inside a container 04:30:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-401 -v /w/workspace/undry_device-onvif-camera_PR-401:/w/workspace/undry_device-onvif-camera_PR-401:rw,z -v /w/workspace/undry_device-onvif-camera_PR-401@tmp:/w/workspace/undry_device-onvif-camera_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:17 $ docker top 7ff6464243563f935c5ccce9191294b9797303ac7fd1321340ca29526d64ddb5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:17 + go version 04:30:17 go version go1.21.0 linux/amd64 [Pipeline] } 04:30:17 $ docker stop --time=1 7ff6464243563f935c5ccce9191294b9797303ac7fd1321340ca29526d64ddb5 04:30:18 $ docker rm -f --volumes 7ff6464243563f935c5ccce9191294b9797303ac7fd1321340ca29526d64ddb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:19 + docker inspect -f . ci-base-image-x86_64 04:30:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:19 prd-ubuntu20.04-docker-8c-8g-12451 does not seem to be running inside a container 04:30:19 $ 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-401 -v /w/workspace/undry_device-onvif-camera_PR-401:/w/workspace/undry_device-onvif-camera_PR-401:rw,z -v /w/workspace/undry_device-onvif-camera_PR-401@tmp:/w/workspace/undry_device-onvif-camera_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:19 $ docker top f7594ed44e76faf71869d065c1082e848687e310c5720911838fc6cf3dcb3018 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:20 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-401 [Pipeline] fileExists [Pipeline] sh 04:30:20 + make test 04:30:20 go test ./... -coverprofile=coverage.out ./... 04:30:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:30:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:30:31 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:30:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.5% of statements 04:30:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.105s coverage: 86.5% of statements 04:30:40 go vet ./... 04:30:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:30:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:30:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:30:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:30:44 $ docker stop --time=1 f7594ed44e76faf71869d065c1082e848687e310c5720911838fc6cf3dcb3018 04:30:47 $ docker rm -f --volumes f7594ed44e76faf71869d065c1082e848687e310c5720911838fc6cf3dcb3018 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:30:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:30:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:30:48 + ls -al . 04:30:48 total 236 04:30:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 04:30 . 04:30:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:28 .. 04:30:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:30 .git 04:30:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:28 .github 04:30:48 -rw-rw-r-- 1 jenkins jenkins 493 Oct 27 04:28 .gitignore 04:30:48 -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 04:28 .golangci.yml 04:30:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 04:28 .semver 04:30:48 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 27 04:28 Attribution.txt 04:30:48 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 27 04:28 CHANGELOG.md 04:30:48 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 27 04:28 Dockerfile 04:30:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 04:28 GOVERNANCE.md 04:30:48 -rw-rw-r-- 1 jenkins jenkins 739 Oct 27 04:28 Jenkinsfile 04:30:48 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 04:28 LICENSE 04:30:48 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 27 04:28 Makefile 04:30:48 -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 04:28 OWNERS.md 04:30:48 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 27 04:28 README.md 04:30:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 04:28 VERSION 04:30:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 04:28 bin 04:30:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:28 cmd 04:30:48 -rw-r--r-- 1 jenkins jenkins 78456 Oct 27 04:30 coverage.out 04:30:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:28 doc 04:30:48 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 27 04:28 go.mod 04:30:48 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 27 04:28 go.sum 04:30:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:28 internal 04:30:48 -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 04:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:49 + 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=4cd875690e1cb8eaa493903873f135f8ca31552f --label arch=amd64 --label version=0.0.0 . 04:30:49 Sending build context to Docker daemon 21.76MB 04:30:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:30:49 Step 2/26 : FROM ${BASE} AS builder 04:30:49 ---> 4f3f60c6aa11 04:30:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:30:49 ---> Running in 2d5daba9f6af 04:30:49 Removing intermediate container 2d5daba9f6af 04:30:49 ---> 59b9d9d7429a 04:30:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:30:49 ---> Running in 29d3653ddbd8 04:30:49 Removing intermediate container 29d3653ddbd8 04:30:49 ---> aa9cc01cea92 04:30:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:30:49 ---> Running in 7ca248f5f596 04:30:49 Removing intermediate container 7ca248f5f596 04:30:49 ---> f99fccc7f9c7 04:30:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:30:49 ---> Running in 0b95db370ca3 04:30:49 Removing intermediate container 0b95db370ca3 04:30:49 ---> be80963662aa 04:30:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:30:49 ---> Running in 9e549f5cf49e 04:30:49 Removing intermediate container 9e549f5cf49e 04:30:49 ---> c4a3408b4003 04:30:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:49 ---> Running in b19b4da99b1b 04:30:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:30:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:30:50 OK: 264 MiB in 52 packages 04:30:50 Removing intermediate container b19b4da99b1b 04:30:50 ---> 87808e1a968b 04:30:50 Step 9/26 : WORKDIR /device-onvif-camera 04:30:50 ---> Running in 13f67b09f6f0 04:30:50 Removing intermediate container 13f67b09f6f0 04:30:50 ---> 54ca38977aa5 04:30:50 Step 10/26 : COPY go.mod vendor* ./ 04:30:50 ---> 467f52af04e7 04:30:50 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:50 ---> Running in 97fd775f31a1 04:30:51 Removing intermediate container 97fd775f31a1 04:30:51 ---> 1b6082d42250 04:30:51 Step 12/26 : COPY . . 04:30:52 ---> f3b8db5a011c 04:30:52 Step 13/26 : RUN ${MAKE} 04:30:52 ---> Running in a2bbb184c214 04:30:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:31:15 Removing intermediate container a2bbb184c214 04:31:15 ---> e1ba1814b8b9 04:31:15 Step 14/26 : FROM alpine:3.18 04:31:15 3.18: Pulling from library/alpine 04:31:15 96526aa774ef: Pulling fs layer 04:31:15 96526aa774ef: Verifying Checksum 04:31:15 96526aa774ef: Download complete 04:31:15 96526aa774ef: Pull complete 04:31:15 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:31:15 Status: Downloaded newer image for alpine:3.18 04:31:15 ---> 8ca4688f4f35 04:31:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:31:15 ---> Running in 3125d79f3fd2 04:31:15 Removing intermediate container 3125d79f3fd2 04:31:15 ---> da901037dccd 04:31:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:31:15 ---> Running in 5257ff683d14 04:31:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:31:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:31:15 (1/1) Installing dumb-init (1.2.5-r2) 04:31:15 Executing busybox-1.36.1-r2.trigger 04:31:15 OK: 7 MiB in 16 packages 04:31:15 Removing intermediate container 5257ff683d14 04:31:15 ---> ee5f18be73f3 04:31:15 Step 17/26 : WORKDIR / 04:31:15 ---> Running in 1047112a547c 04:31:15 Removing intermediate container 1047112a547c 04:31:15 ---> b396a2daf340 04:31:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:31:16 ---> 8bc24df56c40 04:31:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:31:16 ---> 959b6c1daac8 04:31:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:31:16 ---> 395ba2e1e1a9 04:31:16 Step 21/26 : EXPOSE 59984 04:31:16 ---> Running in 0f80314dfeb3 04:31:16 Removing intermediate container 0f80314dfeb3 04:31:16 ---> 1534f8c63125 04:31:16 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:31:16 ---> Running in 0ec3aaa2ef63 04:31:16 Removing intermediate container 0ec3aaa2ef63 04:31:16 ---> 5853016f1679 04:31:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:31:16 ---> Running in 371b5f28df42 04:31:16 Removing intermediate container 371b5f28df42 04:31:16 ---> 2fc5908e2217 04:31:16 Step 24/26 : LABEL arch=amd64 04:31:16 ---> Running in d98331d8d379 04:31:17 Removing intermediate container d98331d8d379 04:31:17 ---> d39dde61a275 04:31:17 Step 25/26 : LABEL git_sha=4cd875690e1cb8eaa493903873f135f8ca31552f 04:31:17 ---> Running in 8e3e883f9604 04:31:17 Removing intermediate container 8e3e883f9604 04:31:17 ---> 72d89333f1d3 04:31:17 Step 26/26 : LABEL version=0.0.0 04:31:17 ---> Running in cf4cf813a24f 04:31:17 Removing intermediate container cf4cf813a24f 04:31:17 ---> a248b1884821 04:31:17 [Warning] One or more build-args [ARCH] were not consumed 04:31:17 Successfully built a248b1884821 04:31:17 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:17 04:31:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:17 latest: Pulling from edgex-lftools-log-publisher 04:31:17 5eb5b503b376: Pulling fs layer 04:31:17 5c69ac0246d0: Pulling fs layer 04:31:17 ec43610c2a17: Pulling fs layer 04:31:17 3a2ae6a8a46f: Pulling fs layer 04:31:17 33b1e0a273af: Pulling fs layer 04:31:17 5d3b04190fa2: Pulling fs layer 04:31:17 2f39f015ded8: Pulling fs layer 04:31:17 3a2ae6a8a46f: Waiting 04:31:17 33b1e0a273af: Waiting 04:31:17 5d3b04190fa2: Waiting 04:31:17 2f39f015ded8: Waiting 04:31:17 5c69ac0246d0: Download complete 04:31:17 3a2ae6a8a46f: Verifying Checksum 04:31:17 3a2ae6a8a46f: Download complete 04:31:17 33b1e0a273af: Verifying Checksum 04:31:17 33b1e0a273af: Download complete 04:31:17 ec43610c2a17: Verifying Checksum 04:31:17 ec43610c2a17: Download complete 04:31:17 5d3b04190fa2: Download complete 04:31:18 5eb5b503b376: Verifying Checksum 04:31:18 5eb5b503b376: Download complete 04:31:18 2f39f015ded8: Download complete 04:31:19 5eb5b503b376: Pull complete 04:31:19 5c69ac0246d0: Pull complete 04:31:19 ec43610c2a17: Pull complete 04:31:19 3a2ae6a8a46f: Pull complete 04:31:20 33b1e0a273af: Pull complete 04:31:20 5d3b04190fa2: Pull complete 04:31:24 2f39f015ded8: Pull complete 04:31:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:24 prd-ubuntu20.04-docker-8c-8g-12451 does not seem to be running inside a container 04:31:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-401 -v /w/workspace/undry_device-onvif-camera_PR-401:/w/workspace/undry_device-onvif-camera_PR-401:rw,z -v /w/workspace/undry_device-onvif-camera_PR-401@tmp:/w/workspace/undry_device-onvif-camera_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:31:29 $ docker top f785ac8ea5c9635d50c15b6be6af29442bd17ae855a0c60af40d00b034c898cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:29 ---> job-cost.sh 04:31:29 lf-activate-venv: SKIPPING 04:31:29 INFO: No Stack... 04:31:30 INFO: Retrieving Pricing Info for: v3-standard-8 04:31:30 INFO: Archiving Costs [Pipeline] sh 04:31:30 + cat /w/workspace/undry_device-onvif-camera_PR-401/archives/cost.csv 04:31:30 + cut -d, -f6 [Pipeline] lock 04:31:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] 04:31:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] did not exist. Created. 04:31:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:31 + echo total: 0.2199999988079071 [Pipeline] stash 04:31:31 Stashed 1 file(s) [Pipeline] } 04:31:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:31:31 $ docker stop --time=1 f785ac8ea5c9635d50c15b6be6af29442bd17ae855a0c60af40d00b034c898cd 04:31:32 $ docker rm -f --volumes f785ac8ea5c9635d50c15b6be6af29442bd17ae855a0c60af40d00b034c898cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:31:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12452 in /w/workspace/undry_device-onvif-camera_PR-401 [Pipeline] { [Pipeline] ws 04:31:58 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 04:31:58 The recommended git tool is: git 04:32:04 using credential edgex-jenkins-ssh 04:32:04 Cloning the remote Git repository 04:32:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:32:04 > git init /w/workspace/device-onvif-camera/3 # timeout=10 04:32:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:32:04 > git --version # timeout=10 04:32:05 > git --version # 'git version 2.25.1' 04:32:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:32:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:08 Merging remotes/origin/main commit 991b984f0069dd0eb843d102c22933ca1a2cac27 into PR head commit 4cd875690e1cb8eaa493903873f135f8ca31552f 04:32:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:32:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:32:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:32:08 > git config core.sparsecheckout # timeout=10 04:32:08 > git checkout -f 4cd875690e1cb8eaa493903873f135f8ca31552f # timeout=10 04:32:08 Merge succeeded, producing 4cd875690e1cb8eaa493903873f135f8ca31552f 04:32:08 Checking out Revision 4cd875690e1cb8eaa493903873f135f8ca31552f (PR-401) 04:32:09 Commit message: "build(deps): Bump github.com/google/uuid from 1.3.1 to 1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:08 > git remote # timeout=10 04:32:08 > git config --get remote.origin.url # timeout=10 04:32:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:08 > git merge 991b984f0069dd0eb843d102c22933ca1a2cac27 # timeout=10 04:32:08 > git rev-parse HEAD^{commit} # timeout=10 04:32:08 > git config core.sparsecheckout # timeout=10 04:32:08 > git checkout -f 4cd875690e1cb8eaa493903873f135f8ca31552f # timeout=10 04:32:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:32:10 % Total % Received % Xferd Average Speed Time Time Time Current 04:32:10 Dload Upload Total Spent Left Speed 04:32:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 04:32:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:32:11 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 04:32:11 /etc/docker/daemon.json 04:32:11 { 04:32:11 "registry-mirrors": [ 04:32:11 "https://nexus3.edgexfoundry.org:10001" 04:32:11 ], 04:32:11 "bip": "10.250.0.254/24", 04:32:11 "hosts": [ 04:32:11 "tcp://0.0.0.0:5555", 04:32:11 "unix:///var/run/docker.sock" 04:32:11 ], 04:32:11 "mtu": 1458, 04:32:11 "selinux-enabled": true, 04:32:11 "seccomp-profile": "/etc/docker/seccomp.json" 04:32:11 } [Pipeline] sh 04:32:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:32:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:30 provisioning config files... 04:32:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config10718196598304073962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:30 ---> docker-login.sh 04:32:30 nexus3.edgexfoundry.org:10001 04:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:31 Configure a credential helper to remove this warning. See 04:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:31 04:32:31 Login Succeeded 04:32:31 nexus3.edgexfoundry.org:10002 04:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:32 Configure a credential helper to remove this warning. See 04:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:32 04:32:32 Login Succeeded 04:32:32 nexus3.edgexfoundry.org:10003 04:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:32 Configure a credential helper to remove this warning. See 04:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:32 04:32:32 Login Succeeded 04:32:32 nexus3.edgexfoundry.org:10004 04:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:32 Configure a credential helper to remove this warning. See 04:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:32 04:32:32 Login Succeeded 04:32:32 docker.io 04:32:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:33 Configure a credential helper to remove this warning. See 04:32:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:33 04:32:33 Login Succeeded 04:32:33 ---> docker-login.sh ends [Pipeline] } 04:32:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:32:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:33 ========================================================= 04:32:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:32:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:32:34 Sending build context to Docker daemon 14.19MB 04:32:34 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:32:34 Step 2/13 : FROM ${BASE} AS builder 04:32:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:32:35 9fda8d8052c6: Pulling fs layer 04:32:35 5d54e960e981: Pulling fs layer 04:32:35 c4a7e357bf2a: Pulling fs layer 04:32:35 f0e02332f6b5: Pulling fs layer 04:32:35 cefa15bbcfad: Pulling fs layer 04:32:35 17808c966233: Pulling fs layer 04:32:35 f4c1fc716caa: Pulling fs layer 04:32:35 cefa15bbcfad: Waiting 04:32:35 17808c966233: Waiting 04:32:35 f0e02332f6b5: Waiting 04:32:35 f4c1fc716caa: Waiting 04:32:35 5d54e960e981: Verifying Checksum 04:32:35 5d54e960e981: Download complete 04:32:35 f0e02332f6b5: Verifying Checksum 04:32:35 f0e02332f6b5: Download complete 04:32:35 cefa15bbcfad: Verifying Checksum 04:32:35 cefa15bbcfad: Download complete 04:32:35 9fda8d8052c6: Verifying Checksum 04:32:35 9fda8d8052c6: Download complete 04:32:35 f4c1fc716caa: Verifying Checksum 04:32:36 9fda8d8052c6: Pull complete 04:32:36 5d54e960e981: Pull complete 04:32:36 c4a7e357bf2a: Verifying Checksum 04:32:36 c4a7e357bf2a: Download complete 04:32:37 17808c966233: Verifying Checksum 04:32:37 17808c966233: Download complete 04:32:50 c4a7e357bf2a: Pull complete 04:32:50 f0e02332f6b5: Pull complete 04:32:50 cefa15bbcfad: Pull complete 04:32:58 17808c966233: Pull complete 04:33:01 f4c1fc716caa: Pull complete 04:33:01 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:33:01 ---> ea914061e18c 04:33:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:33:03 ---> Running in 0bc4df52789b 04:33:03 Removing intermediate container 0bc4df52789b 04:33:03 ---> 1b9742112fbd 04:33:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:33:03 ---> Running in d609ca46cbad 04:33:04 Removing intermediate container d609ca46cbad 04:33:04 ---> b39b2a573f67 04:33:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:33:04 ---> Running in 7c9e928cc06b 04:33:04 Removing intermediate container 7c9e928cc06b 04:33:04 ---> fb6bac095af1 04:33:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:33:04 ---> Running in eee71cac6051 04:33:04 Removing intermediate container eee71cac6051 04:33:04 ---> a94fa44d60bc 04:33:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:33:05 ---> Running in aa4120179467 04:33:05 Removing intermediate container aa4120179467 04:33:05 ---> 6d25662fae77 04:33:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:33:05 ---> Running in 80ebc87b81af 04:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:33:09 OK: 266 MiB in 52 packages 04:33:10 Removing intermediate container 80ebc87b81af 04:33:10 ---> f23246f08aa1 04:33:10 Step 9/13 : WORKDIR /device-onvif-camera 04:33:10 ---> Running in 7cc0b248759f 04:33:15 Removing intermediate container 7cc0b248759f 04:33:15 ---> 099d6bffb41b 04:33:15 Step 10/13 : COPY go.mod vendor* ./ 04:33:15 ---> 04e65963c577 04:33:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:16 ---> Running in cb1345f3a8cf 04:35:07 Removing intermediate container cb1345f3a8cf 04:35:07 ---> c20c38d80d87 04:35:07 Step 12/13 : COPY . . 04:35:07 ---> 91c776e8c628 04:35:07 Step 13/13 : RUN ${MAKE} 04:35:07 ---> Running in 0e38d74b2c48 04:35:07 noop 04:35:07 Removing intermediate container 0e38d74b2c48 04:35:07 ---> 7e4f77c6afee 04:35:07 Successfully built 7e4f77c6afee 04:35:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:08 + docker inspect -f . ci-base-image-arm64 04:35:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:08 prd-ubuntu20.04-docker-arm64-4c-16g-12452 does not seem to be running inside a container 04:35:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:35:10 $ docker top 3b60bfc4b25a3e0fc1ca6c2f6ddcf62c595e2baebd203f218c7a5bcbb9514ddb -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:11 + go version 04:35:11 go version go1.21.0 linux/arm64 [Pipeline] } 04:35:11 $ docker stop --time=1 3b60bfc4b25a3e0fc1ca6c2f6ddcf62c595e2baebd203f218c7a5bcbb9514ddb 04:35:12 $ docker rm -f --volumes 3b60bfc4b25a3e0fc1ca6c2f6ddcf62c595e2baebd203f218c7a5bcbb9514ddb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:13 + docker inspect -f . ci-base-image-arm64 04:35:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:13 prd-ubuntu20.04-docker-arm64-4c-16g-12452 does not seem to be running inside a container 04:35:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:35:14 $ docker top 513bfc668f75a6e9769a868a87fdeb4c56d7e8c8df531e7e063d3bb9e0ce7dbc -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:15 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 04:35:16 + make test 04:35:16 go test ./... -coverprofile=coverage.out ./... 04:35:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:37:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:37:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:37:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 31.5% of statements 04:37:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.773s coverage: 86.5% of statements 04:37:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:37:27 go vet ./... 04:37:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:37:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:37:54 ./bin/test-attribution-txt.sh [Pipeline] echo 04:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:37:54 $ docker stop --time=1 513bfc668f75a6e9769a868a87fdeb4c56d7e8c8df531e7e063d3bb9e0ce7dbc 04:37:56 $ docker rm -f --volumes 513bfc668f75a6e9769a868a87fdeb4c56d7e8c8df531e7e063d3bb9e0ce7dbc [Pipeline] // withDockerContainer [Pipeline] sh 04:37:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:37:57 Warning: overwriting stash ‘coverage-report’ 04:37:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:37:58 + ls -al . 04:37:58 total 232 04:37:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:35 . 04:37:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:32 .. 04:37:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 04:32 .git 04:37:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:32 .github 04:37:58 -rw-rw-r-- 1 jenkins jenkins 493 Oct 27 04:32 .gitignore 04:37:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 04:32 .golangci.yml 04:37:58 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 27 04:32 Attribution.txt 04:37:58 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 27 04:32 CHANGELOG.md 04:37:58 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 27 04:32 Dockerfile 04:37:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 04:32 GOVERNANCE.md 04:37:58 -rw-rw-r-- 1 jenkins jenkins 739 Oct 27 04:32 Jenkinsfile 04:37:58 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 04:32 LICENSE 04:37:58 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 27 04:32 Makefile 04:37:58 -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 04:32 OWNERS.md 04:37:58 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 27 04:32 README.md 04:37:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 04:28 VERSION 04:37:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 04:32 bin 04:37:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 04:32 cmd 04:37:58 -rw-r--r-- 1 jenkins jenkins 78456 Oct 27 04:37 coverage.out 04:37:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:32 doc 04:37:58 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 27 04:32 go.mod 04:37:58 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 27 04:32 go.sum 04:37:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 04:32 internal 04:37:58 -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:59 + 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=4cd875690e1cb8eaa493903873f135f8ca31552f --label arch=arm64 --label version=0.0.0 . 04:37:59 Sending build context to Docker daemon 14.27MB 04:37:59 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:37:59 Step 2/26 : FROM ${BASE} AS builder 04:37:59 ---> 7e4f77c6afee 04:37:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:37:59 ---> Running in ecf2d0110de6 04:38:00 Removing intermediate container ecf2d0110de6 04:38:00 ---> ea6ec3e040db 04:38:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:38:00 ---> Running in ae0e1b89801d 04:38:00 Removing intermediate container ae0e1b89801d 04:38:00 ---> cf2a7c287f21 04:38:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:38:00 ---> Running in b17cb03560f9 04:38:01 Removing intermediate container b17cb03560f9 04:38:01 ---> 15eee5d9d067 04:38:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:38:01 ---> Running in 2fef89191a67 04:38:01 Removing intermediate container 2fef89191a67 04:38:01 ---> 62a88855cac1 04:38:01 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:38:01 ---> Running in 0662f6589bf7 04:38:01 Removing intermediate container 0662f6589bf7 04:38:01 ---> 52d784844a3a 04:38:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:38:01 ---> Running in 0b557d99f74f 04:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:38:04 OK: 266 MiB in 52 packages 04:38:05 Removing intermediate container 0b557d99f74f 04:38:05 ---> 22a16d8ad294 04:38:05 Step 9/26 : WORKDIR /device-onvif-camera 04:38:05 ---> Running in 6bd3d5a09068 04:38:05 Removing intermediate container 6bd3d5a09068 04:38:05 ---> a6fbd006fee2 04:38:05 Step 10/26 : COPY go.mod vendor* ./ 04:38:06 ---> 7f3acf6ddb47 04:38:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:06 ---> Running in a4a444361180 04:38:08 Removing intermediate container a4a444361180 04:38:08 ---> eb7741aa1772 04:38:08 Step 12/26 : COPY . . 04:38:10 ---> 9f085fe25892 04:38:10 Step 13/26 : RUN ${MAKE} 04:38:10 ---> Running in c90f34597588 04:38:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:40:17 Removing intermediate container c90f34597588 04:40:17 ---> 4691dcaccb63 04:40:17 Step 14/26 : FROM alpine:3.18 04:40:17 3.18: Pulling from library/alpine 04:40:17 579b34f0a95b: Pulling fs layer 04:40:17 579b34f0a95b: Verifying Checksum 04:40:17 579b34f0a95b: Download complete 04:40:17 579b34f0a95b: Pull complete 04:40:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:40:17 Status: Downloaded newer image for alpine:3.18 04:40:17 ---> 3cc203321400 04:40:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:40:18 ---> Running in c4ce5e10abbd 04:40:18 Removing intermediate container c4ce5e10abbd 04:40:18 ---> 46a80c3b5caf 04:40:18 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:40:18 ---> Running in 2274c191e03e 04:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:21 (1/1) Installing dumb-init (1.2.5-r2) 04:40:21 Executing busybox-1.36.1-r2.trigger 04:40:21 OK: 8 MiB in 16 packages 04:40:22 Removing intermediate container 2274c191e03e 04:40:22 ---> 050b52575e7f 04:40:22 Step 17/26 : WORKDIR / 04:40:22 ---> Running in 86a849137939 04:40:22 Removing intermediate container 86a849137939 04:40:22 ---> 245ee1799658 04:40:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:40:23 ---> 149cc198c13a 04:40:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:40:24 ---> b6e63e34e89b 04:40:24 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:40:25 ---> 4c39a84f61ae 04:40:25 Step 21/26 : EXPOSE 59984 04:40:25 ---> Running in e58ea77a8ab5 04:40:25 Removing intermediate container e58ea77a8ab5 04:40:25 ---> cbedd375aa53 04:40:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:40:25 ---> Running in e9f3f05b27fb 04:40:25 Removing intermediate container e9f3f05b27fb 04:40:25 ---> 7557ed393dd5 04:40:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:40:25 ---> Running in c2a8235e1272 04:40:26 Removing intermediate container c2a8235e1272 04:40:26 ---> 8edfa7c1917f 04:40:26 Step 24/26 : LABEL arch=arm64 04:40:26 ---> Running in 46449016d74c 04:40:26 Removing intermediate container 46449016d74c 04:40:26 ---> fee25ba85443 04:40:26 Step 25/26 : LABEL git_sha=4cd875690e1cb8eaa493903873f135f8ca31552f 04:40:26 ---> Running in ede43710b80f 04:40:26 Removing intermediate container ede43710b80f 04:40:26 ---> 0f903db743fb 04:40:26 Step 26/26 : LABEL version=0.0.0 04:40:27 ---> Running in 85b802493c8f 04:40:27 Removing intermediate container 85b802493c8f 04:40:27 ---> aaa11dea2d92 04:40:27 [Warning] One or more build-args [ARCH] were not consumed 04:40:27 Successfully built aaa11dea2d92 04:40:27 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:27 04:40:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:28 arm64: Pulling from edgex-lftools-log-publisher 04:40:28 8998bd30e6a1: Pulling fs layer 04:40:28 04944245beec: Pulling fs layer 04:40:28 699f458cf7ca: Pulling fs layer 04:40:28 765212b225bb: Pulling fs layer 04:40:28 f23df028b6ca: Pulling fs layer 04:40:28 d65c8cfc05b1: Pulling fs layer 04:40:28 2437ff75d9bd: Pulling fs layer 04:40:28 765212b225bb: Waiting 04:40:28 d65c8cfc05b1: Waiting 04:40:28 2437ff75d9bd: Waiting 04:40:28 f23df028b6ca: Waiting 04:40:28 04944245beec: Verifying Checksum 04:40:28 04944245beec: Download complete 04:40:28 765212b225bb: Verifying Checksum 04:40:28 765212b225bb: Download complete 04:40:28 f23df028b6ca: Download complete 04:40:28 d65c8cfc05b1: Verifying Checksum 04:40:28 d65c8cfc05b1: Download complete 04:40:28 699f458cf7ca: Verifying Checksum 04:40:28 699f458cf7ca: Download complete 04:40:29 8998bd30e6a1: Verifying Checksum 04:40:29 8998bd30e6a1: Download complete 04:40:31 2437ff75d9bd: Download complete 04:40:33 8998bd30e6a1: Pull complete 04:40:33 04944245beec: Pull complete 04:40:35 699f458cf7ca: Pull complete 04:40:35 765212b225bb: Pull complete 04:40:36 f23df028b6ca: Pull complete 04:40:36 d65c8cfc05b1: Pull complete 04:40:54 2437ff75d9bd: Pull complete 04:40:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:55 prd-ubuntu20.04-docker-arm64-4c-16g-12452 does not seem to be running inside a container 04:40:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:40:58 $ docker top f609bb9e29b6bf2649ccb00483d61ae73e686b920054cb0169e424162bb54276 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:59 ---> job-cost.sh 04:40:59 lf-activate-venv: SKIPPING 04:40:59 INFO: No Stack... 04:40:59 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:00 INFO: Archiving Costs [Pipeline] sh 04:41:01 + cut -d, -f6 04:41:01 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 04:41:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] 04:41:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] did not exist. Created. 04:41:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:02 /w/workspace/device-onvif-camera/3@tmp/durable-ca751d79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:02 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:02 Warning: overwriting stash ‘stack-cost’ 04:41:02 Stashed 1 file(s) [Pipeline] } 04:41:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-401-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:02 $ docker stop --time=1 f609bb9e29b6bf2649ccb00483d61ae73e686b920054cb0169e424162bb54276 04:41:04 $ docker rm -f --volumes f609bb9e29b6bf2649ccb00483d61ae73e686b920054cb0169e424162bb54276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:41:04 provisioning config files... 04:41:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-401@tmp/config7726755828768041529tmp [Pipeline] { [Pipeline] sh 04:41:05 + set +x 04:41:05 + bash -s -- 04:41:05 + curl -s https://codecov.io/bash 04:41:05 04:41:05 _____ _ 04:41:05 / ____| | | 04:41:05 | | ___ __| | ___ ___ _____ __ 04:41:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:05 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:05 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:05 Bash-1.0.6 04:41:05 04:41:05 04:41:05 ==> git version 2.25.1 found 04:41:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:41:05 Release-Date: 2020-01-08 04:41:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:41:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:05 ==> Jenkins CI detected. 04:41:05 current dir:  /w/workspace/undry_device-onvif-camera_PR-401 04:41:05 project root: . 04:41:05 --> token set from env 04:41:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:05 ==> Running gcov in . (disable via -X gcov) 04:41:05 ==> Python coveragepy not found 04:41:05 ==> Searching for coverage reports in: 04:41:05 + . 04:41:05 -> Found 1 reports 04:41:05 ==> Detecting git/mercurial file structure 04:41:05 ==> Reading reports 04:41:05 + ./coverage.out bytes=78456 04:41:05 ==> Appending adjustments 04:41:05 https://docs.codecov.io/docs/fixing-reports 04:41:05 + Found adjustments 04:41:05 ==> Gzipping contents 04:41:05 12K /tmp/codecov.7ISS0p.gz 04:41:05 ==> Uploading reports 04:41:05 url: https://codecov.io 04:41:05 query: branch=PR-401&commit=4cd875690e1cb8eaa493903873f135f8ca31552f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-401%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=401&job=&cmd_args= 04:41:05 -> Pinging Codecov 04:41:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-401&commit=4cd875690e1cb8eaa493903873f135f8ca31552f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-401%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=401&job=&cmd_args= 04:41:05 -> Uploading to 04:41:05 https://storage.googleapis.com/codecov/v4/raw/2023-10-27/F29A59C45E3A92E06B3E522C9905F8EF/4cd875690e1cb8eaa493903873f135f8ca31552f/ff2930d1-fdfa-43f3-a359-a9d5b11a0c7f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T044105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a50c7b6cb8824e9e1b87cc18f498f90dbb83ae36f00a2ac8f0e6d1dbc46947b4 04:41:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:05 Dload Upload Total Spent Left Speed 04:41:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 51123 --:--:-- --:--:-- --:--:-- 51123 100 10378 0 0 100 10378 0 31834 --:--:-- --:--:-- --:--:-- 31737 04:41:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4cd875690e1cb8eaa493903873f135f8ca31552f [Pipeline] } 04:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:41:06 + [ -d /w/workspace/undry_device-onvif-camera_PR-401/archives ] 04:41:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-401/archives 04:41:06 total 16 04:41:06 drwxr-xr-x 3 root root 4096 Oct 27 04:31 . 04:41:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 04:31 .. 04:41:06 drwxr-xr-x 2 root root 4096 Oct 27 04:31 cost 04:41:06 -rw-r--r-- 1 root root 91 Oct 27 04:31 cost.csv 04:41:06 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-401/archives 04:41:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-401/archives 04:41:06 total 16 04:41:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 04:31 . 04:41:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 04:31 .. 04:41:06 drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 04:31 cost 04:41:06 -rw-r--r-- 1 jenkins jenkins 91 Oct 27 04:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:07 ---> package-listing.sh 04:41:07 ++ facter osfamily 04:41:07 ++ tr '[:upper:]' '[:lower:]' 04:41:07 + OS_FAMILY=debian 04:41:07 + workspace=/w/workspace/undry_device-onvif-camera_PR-401 04:41:07 + START_PACKAGES=/tmp/packages_start.txt 04:41:07 + END_PACKAGES=/tmp/packages_end.txt 04:41:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:07 + PACKAGES=/tmp/packages_start.txt 04:41:07 + '[' /w/workspace/undry_device-onvif-camera_PR-401 ']' 04:41:07 + PACKAGES=/tmp/packages_end.txt 04:41:07 + case "${OS_FAMILY}" in 04:41:07 + grep '^ii' 04:41:07 + dpkg -l 04:41:07 + '[' -f /tmp/packages_start.txt ']' 04:41:07 + '[' -f /tmp/packages_end.txt ']' 04:41:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:07 + '[' /w/workspace/undry_device-onvif-camera_PR-401 ']' 04:41:07 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-401/archives/ 04:41:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-401/archives/ [Pipeline] echo 04:41:07 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-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:41:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:08 prd-ubuntu20.04-docker-8c-8g-12451 does not seem to be running inside a container 04:41:08 $ 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-401/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-401 -v /w/workspace/undry_device-onvif-camera_PR-401:/w/workspace/undry_device-onvif-camera_PR-401:rw,z -v /w/workspace/undry_device-onvif-camera_PR-401@tmp:/w/workspace/undry_device-onvif-camera_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:41:09 $ docker top 97d7119029233a49f65a101a0d482a0ebd793f3f9a18436aa7b450204a578adb -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:09 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:09 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:09 + ls /var/log/sa-host 04:41:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:09 provisioning config files... 04:41:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-401@tmp/config11648875528571248896tmp [Pipeline] { [Pipeline] echo 04:41:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:10 ---> create-netrc.sh [Pipeline] } 04:41:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:10 ---> python-tools-install.sh [Pipeline] echo 04:41:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:10 ---> sudo-logs.sh 04:41:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:11 ---> job-cost.sh 04:41:11 lf-activate-venv: SKIPPING 04:41:11 DEBUG: total: 0.2199999988079071 04:41:11 INFO: Retrieving Stack Cost... 04:41:11 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:12 INFO: Archiving Costs [Pipeline] echo 04:41:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:12 ---> logs-deploy.sh 04:41:12 lf-activate-venv: SKIPPING 04:41:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-401/3 04:41:12 INFO: archiving workspace using pattern(s): 04:41:13 Archives upload complete. 04:41:13 INFO: archiving logs to Nexus