Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a27e28d7063f91f5e1587cb421881b607ffe8dc2+e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 (c042deb0fc7ed0935084a922ed25d897b5a08f8e) 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-ssh13280665016610067115.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh212705763624117427.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-321/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-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1938111091991875297.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6072977631978562673.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-321/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-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13017340635008609868.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10879 in /w/workspace/undry_device-onvif-camera_PR-321 [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-321 # 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 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit a27e28d7063f91f5e1587cb421881b607ffe8dc2 Merge succeeded, producing d23c4aaa667fd25d71601dbc7d5d58f4cb07498d Checking out Revision d23c4aaa667fd25d71601dbc7d5d58f4cb07498d (PR-321) 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/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a27e28d7063f91f5e1587cb421881b607ffe8dc2 # 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 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d23c4aaa667fd25d71601dbc7d5d58f4cb07498d # timeout=10 Commit message: "Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:54 ========================================================= 22:10:54 EdgeX Global Pipelines Version Info 22:10:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 98c45d9b15746b6488b8e66efdb08c4db8b590b3 # timeout=10 22:10:55 ------------------- 22:10:55 stable info: 22:10:55 ------------------- 22:10:55 Commited By: Bill Mahoney bill.mahoney@intel.com 22:10:55 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:10:55 Message: update stable to v1.0.248 22:10:56 ------------------- 22:10:56 experimental info: 22:10:56 ------------------- 22:10:56 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:56 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:10:56 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-321 [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-321 [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-321 [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d23c4aaa667fd25d71601dbc7d5d58f4cb07498d [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d23c4aa [Pipeline] echo 22:10:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:56 provisioning config files... 22:10:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config7818365001926418584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:57 ---> docker-login.sh 22:10:57 nexus3.edgexfoundry.org:10001 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10002 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10003 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10004 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 docker.io 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:58 Configure a credential helper to remove this warning. See 22:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:58 22:10:58 Login Succeeded 22:10:58 ---> docker-login.sh ends [Pipeline] } 22:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:58 + git rev-list -1 --merges d23c4aaa667fd25d71601dbc7d5d58f4cb07498d~1..d23c4aaa667fd25d71601dbc7d5d58f4cb07498d [Pipeline] echo 22:10:58 -----------> git rev-list -1 --merges d23c4aaa667fd25d71601dbc7d5d58f4cb07498d~1..d23c4aaa667fd25d71601dbc7d5d58f4cb07498d d23c4aaa667fd25d71601dbc7d5d58f4cb07498d 22:10:58 d23c4aaa667fd25d71601dbc7d5d58f4cb07498d [false] [Pipeline] sh 22:10:58 + git log --format=format:%s -1 d23c4aaa667fd25d71601dbc7d5d58f4cb07498d [Pipeline] echo 22:10:58 ========================================================= 22:10:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:59 + git log --format=format:%s -1 d23c4aaa667fd25d71601dbc7d5d58f4cb07498d [Pipeline] echo 22:10:59 [semverPrep] GIT_COMMIT: d23c4aaa667fd25d71601dbc7d5d58f4cb07498d, Commit Message: Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD [Pipeline] echo 22:10:59 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:59 + grep -v github /etc/ssh/ssh_known_hosts 22:10:59 + [ -e /tmp/ssh_known_hosts ] 22:10:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:59 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:59 sudo tee -a /etc/ssh/ssh_known_hosts 22:10:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:59 22:10:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:00 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:00 b85a868b505f: Pulling fs layer 22:11:00 e2be974225ed: Pulling fs layer 22:11:00 339a4e72a1f5: Pulling fs layer 22:11:00 988bab9f4d93: Pulling fs layer 22:11:00 1469e6f7b9e6: Pulling fs layer 22:11:00 eaf3925da568: Pulling fs layer 22:11:00 bab4dde63d76: Pulling fs layer 22:11:00 bde34c3a00c8: Pulling fs layer 22:11:00 b352a97aabf1: Pulling fs layer 22:11:00 4872d77fe225: Pulling fs layer 22:11:00 5851b861e8e6: Pulling fs layer 22:11:00 bab4dde63d76: Waiting 22:11:00 bde34c3a00c8: Waiting 22:11:00 b352a97aabf1: Waiting 22:11:00 4872d77fe225: Waiting 22:11:00 5851b861e8e6: Waiting 22:11:00 988bab9f4d93: Waiting 22:11:00 1469e6f7b9e6: Waiting 22:11:00 eaf3925da568: Waiting 22:11:00 e2be974225ed: Download complete 22:11:00 988bab9f4d93: Verifying Checksum 22:11:00 988bab9f4d93: Download complete 22:11:00 1469e6f7b9e6: Verifying Checksum 22:11:00 1469e6f7b9e6: Download complete 22:11:00 eaf3925da568: Verifying Checksum 22:11:00 eaf3925da568: Download complete 22:11:00 339a4e72a1f5: Verifying Checksum 22:11:00 339a4e72a1f5: Download complete 22:11:00 bde34c3a00c8: Download complete 22:11:00 b352a97aabf1: Download complete 22:11:00 b85a868b505f: Download complete 22:11:00 5851b861e8e6: Download complete 22:11:00 4872d77fe225: Verifying Checksum 22:11:00 4872d77fe225: Download complete 22:11:00 bab4dde63d76: Verifying Checksum 22:11:00 bab4dde63d76: Download complete 22:11:02 b85a868b505f: Pull complete 22:11:02 e2be974225ed: Pull complete 22:11:02 339a4e72a1f5: Pull complete 22:11:02 988bab9f4d93: Pull complete 22:11:02 1469e6f7b9e6: Pull complete 22:11:02 eaf3925da568: Pull complete 22:11:04 bab4dde63d76: Pull complete 22:11:04 bde34c3a00c8: Pull complete 22:11:05 b352a97aabf1: Pull complete 22:11:05 4872d77fe225: Pull complete 22:11:05 5851b861e8e6: Pull complete 22:11:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:05 prd-ubuntu20.04-docker-8c-8g-10879 does not seem to be running inside a container 22:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:09 $ docker top 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa -eo pid,comm 22:11:09 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). 22:11:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:09 [ssh-agent] Looking for ssh-agent implementation... 22:11:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:09 $ docker exec 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa ssh-agent 22:11:09 SSH_AUTH_SOCK=/tmp/ssh-84dMYTnIVzS2/agent.33 22:11:09 SSH_AGENT_PID=39 22:11:09 Running ssh-add (command line suppressed) 22:11:09 Identity added: /w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_15549506671926706922.key (/w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_15549506671926706922.key) 22:11:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:09 + git tag --points-at HEAD [Pipeline] } 22:11:09 $ docker exec --env ******** --env ******** 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa ssh-agent -k 22:11:09 unset SSH_AUTH_SOCK; 22:11:09 unset SSH_AGENT_PID; 22:11:09 echo Agent pid 39 killed; 22:11:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:09 [ssh-agent] Looking for ssh-agent implementation... 22:11:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:10 $ docker exec 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa ssh-agent 22:11:10 SSH_AUTH_SOCK=/tmp/ssh-V1376AeqvcQt/agent.71 22:11:10 SSH_AGENT_PID=77 22:11:10 Running ssh-add (command line suppressed) 22:11:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2718260972767189188.key (/w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2718260972767189188.key) 22:11:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:10 + git semver init 22:11:10 2023-04-25 22:11:10,789 [run_init] DEBUG init version:0.0.0 force:False 22:11:10 2023-04-25 22:11:10,790 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-321/.semver 22:11:10 2023-04-25 22:11:10,790 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-321/.semver 22:11:10 2023-04-25 22:11:10,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-321/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-321, universal_newlines=False, shell=None, istream=None) 22:11:11 2023-04-25 22:11:11,700 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-321/.git/info/exclude 22:11:11 2023-04-25 22:11:11,701 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 with force:False 22:11:11 2023-04-25 22:11:11,701 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 22:11:11 2023-04-25 22:11:11,705 [execute] INFO git cat-file --batch-check 22:11:11 2023-04-25 22:11:11,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) 22:11:11 2023-04-25 22:11:11,712 [execute] INFO git cat-file --batch 22:11:11 2023-04-25 22:11:11,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) 22:11:11 2023-04-25 22:11:11,717 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 22:11:11 0.0.0 [Pipeline] } 22:11:11 $ docker exec --env ******** --env ******** 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa ssh-agent -k 22:11:11 unset SSH_AUTH_SOCK; 22:11:11 unset SSH_AGENT_PID; 22:11:11 echo Agent pid 77 killed; 22:11:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:12 + git semver [Pipeline] } 22:11:12 $ docker stop --time=1 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa 22:11:13 $ docker rm -f --volumes 59eb3ecfeb9d8b637f6faf3a4e193e607f025988902444e03e81def675874dfa [Pipeline] // withDockerContainer [Pipeline] sh 22:11:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:14 Stashed 1 file(s) [Pipeline] echo 22:11:14 [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 22:11:14 provisioning config files... 22:11:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config15720645573382913000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:14 ---> docker-login.sh 22:11:14 nexus3.edgexfoundry.org:10001 22:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:14 Configure a credential helper to remove this warning. See 22:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:14 22:11:14 Login Succeeded 22:11:14 nexus3.edgexfoundry.org:10002 22:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:14 Configure a credential helper to remove this warning. See 22:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:14 22:11:14 Login Succeeded 22:11:14 nexus3.edgexfoundry.org:10003 22:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:15 Configure a credential helper to remove this warning. See 22:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:15 22:11:15 Login Succeeded 22:11:15 nexus3.edgexfoundry.org:10004 22:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:15 Configure a credential helper to remove this warning. See 22:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:15 22:11:15 Login Succeeded 22:11:15 docker.io 22:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:15 Configure a credential helper to remove this warning. See 22:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:15 22:11:15 Login Succeeded 22:11:15 ---> docker-login.sh ends [Pipeline] } 22:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:15 ========================================================= 22:11:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:11:15 Sending build context to Docker daemon 26.96MB 22:11:15 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:15 Step 2/13 : FROM ${BASE} AS builder 22:11:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:15 f56be85fc22e: Pulling fs layer 22:11:15 85791d961cd3: Pulling fs layer 22:11:15 d694b5ae8c79: Pulling fs layer 22:11:15 9f32a84ed3da: Pulling fs layer 22:11:15 4d19c01a9841: Pulling fs layer 22:11:15 9325e15d5711: Pulling fs layer 22:11:15 556b6ee489ea: Pulling fs layer 22:11:15 c5a4b2cf53e6: Pulling fs layer 22:11:15 4d19c01a9841: Waiting 22:11:15 9f32a84ed3da: Waiting 22:11:15 9325e15d5711: Waiting 22:11:15 556b6ee489ea: Waiting 22:11:15 c5a4b2cf53e6: Waiting 22:11:15 85791d961cd3: Verifying Checksum 22:11:15 85791d961cd3: Download complete 22:11:15 9f32a84ed3da: Download complete 22:11:15 4d19c01a9841: Verifying Checksum 22:11:15 4d19c01a9841: Download complete 22:11:15 f56be85fc22e: Verifying Checksum 22:11:15 f56be85fc22e: Download complete 22:11:15 9325e15d5711: Verifying Checksum 22:11:15 9325e15d5711: Download complete 22:11:16 f56be85fc22e: Pull complete 22:11:16 85791d961cd3: Pull complete 22:11:16 c5a4b2cf53e6: Verifying Checksum 22:11:16 c5a4b2cf53e6: Download complete 22:11:16 d694b5ae8c79: Download complete 22:11:16 556b6ee489ea: Verifying Checksum 22:11:16 556b6ee489ea: Download complete 22:11:21 d694b5ae8c79: Pull complete 22:11:21 9f32a84ed3da: Pull complete 22:11:22 4d19c01a9841: Pull complete 22:11:22 9325e15d5711: Pull complete 22:11:25 556b6ee489ea: Pull complete 22:11:26 c5a4b2cf53e6: Pull complete 22:11:26 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:11:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:26 ---> c4be618373d6 22:11:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:29 Still waiting to schedule task 22:11:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:11:34 ---> Running in 4db202a8feae 22:11:34 Removing intermediate container 4db202a8feae 22:11:34 ---> a7c4d31bb50b 22:11:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:34 ---> Running in bc53759ecb17 22:11:34 Removing intermediate container bc53759ecb17 22:11:34 ---> 0b9702a05cdc 22:11:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:34 ---> Running in 0321a0cc8df8 22:11:34 Removing intermediate container 0321a0cc8df8 22:11:34 ---> 12b758d5327e 22:11:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:34 ---> Running in 88361d78d039 22:11:34 Removing intermediate container 88361d78d039 22:11:34 ---> b18e707edbb0 22:11:34 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:34 ---> Running in 4ea91980a926 22:11:34 Removing intermediate container 4ea91980a926 22:11:34 ---> 38a1e7289725 22:11:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:34 ---> Running in 97950ad878c1 22:11:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:34 OK: 265 MiB in 53 packages 22:11:35 Removing intermediate container 97950ad878c1 22:11:35 ---> c18cbfbca3b3 22:11:35 Step 9/13 : WORKDIR /device-onvif-camera 22:11:35 ---> Running in 5a1fbcdba5c2 22:11:35 Removing intermediate container 5a1fbcdba5c2 22:11:35 ---> b07e1c538391 22:11:35 Step 10/13 : COPY go.mod vendor* ./ 22:11:35 ---> dd75828f4164 22:11:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:35 ---> Running in 491adca35ec4 22:12:22 Removing intermediate container 491adca35ec4 22:12:22 ---> 5a0cd5a214ba 22:12:22 Step 12/13 : COPY . . 22:12:22 ---> 9da8422232e5 22:12:22 Step 13/13 : RUN ${MAKE} 22:12:22 ---> Running in ff3acc5fbe8c 22:12:22 noop 22:12:22 Removing intermediate container ff3acc5fbe8c 22:12:22 ---> 1a9b261dfb1f 22:12:22 Successfully built 1a9b261dfb1f 22:12:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + docker inspect -f . ci-base-image-x86_64 22:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:22 prd-ubuntu20.04-docker-8c-8g-10879 does not seem to be running inside a container 22:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:23 $ docker top 14fa63e2afb6dcfca40e6d190b48ee1f78d6db64af0281928e972cbb71fafba5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:23 + go version 22:12:23 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:23 $ docker stop --time=1 14fa63e2afb6dcfca40e6d190b48ee1f78d6db64af0281928e972cbb71fafba5 22:12:24 $ docker rm -f --volumes 14fa63e2afb6dcfca40e6d190b48ee1f78d6db64af0281928e972cbb71fafba5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:25 + docker inspect -f . ci-base-image-x86_64 22:12:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:25 prd-ubuntu20.04-docker-8c-8g-10879 does not seem to be running inside a container 22:12:25 $ 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-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:25 $ docker top d6e020cb4641a3ba8c8ca61a68da9befc6ec46c2420cafb26fec9a714b7287b1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:25 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-321 [Pipeline] fileExists [Pipeline] sh 22:12:26 + make test 22:12:26 go test ./... -coverprofile=coverage.out ./... 22:12:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.6% of statements 22:12:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.296s coverage: 86.5% of statements 22:12:53 go vet ./... 22:12:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:56 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:56 $ docker stop --time=1 d6e020cb4641a3ba8c8ca61a68da9befc6ec46c2420cafb26fec9a714b7287b1 22:13:01 $ docker rm -f --volumes d6e020cb4641a3ba8c8ca61a68da9befc6ec46c2420cafb26fec9a714b7287b1 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:03 + ls -al . 22:13:03 total 236 22:13:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 22:12 . 22:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:10 .. 22:13:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:11 .git 22:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:10 .github 22:13:03 -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 22:10 .gitignore 22:13:03 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 22:10 .golangci.yml 22:13:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:11 .semver 22:13:03 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 22:10 Attribution.txt 22:13:03 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 22:10 CHANGELOG.md 22:13:03 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 22:10 Dockerfile 22:13:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:10 GOVERNANCE.md 22:13:03 -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 22:10 Jenkinsfile 22:13:03 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 22:10 LICENSE 22:13:03 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 22:10 Makefile 22:13:03 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 22:10 OWNERS.md 22:13:03 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 22:10 README.md 22:13:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:11 VERSION 22:13:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:10 bin 22:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:10 cmd 22:13:03 -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 22:12 coverage.out 22:13:03 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 22:10 doc 22:13:03 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 22:10 go.mod 22:13:03 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 22:10 go.sum 22:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:10 internal 22:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:10 snap 22:13:03 -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:03 + 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=d23c4aaa667fd25d71601dbc7d5d58f4cb07498d --label arch=amd64 --label version=0.0.0 . 22:13:03 Sending build context to Docker daemon 27.04MB 22:13:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:13:03 Step 2/26 : FROM ${BASE} AS builder 22:13:03 ---> 1a9b261dfb1f 22:13:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:13:04 ---> Running in 464856666e88 22:13:04 Removing intermediate container 464856666e88 22:13:04 ---> 3e9be577e536 22:13:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:04 ---> Running in 5ffd402fc7b6 22:13:04 Removing intermediate container 5ffd402fc7b6 22:13:04 ---> 11d7d279a86c 22:13:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:13:04 ---> Running in 4c03aabfe7b8 22:13:04 Removing intermediate container 4c03aabfe7b8 22:13:04 ---> 41d7df184f1b 22:13:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:13:04 ---> Running in 956b69030884 22:13:04 Removing intermediate container 956b69030884 22:13:04 ---> 4a1b61f5b07e 22:13:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:13:04 ---> Running in a33a69ee9710 22:13:04 Removing intermediate container a33a69ee9710 22:13:04 ---> bc6978054ed9 22:13:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:04 ---> Running in 33554e5cfc12 22:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:05 OK: 265 MiB in 53 packages 22:13:05 Removing intermediate container 33554e5cfc12 22:13:05 ---> dd5b50714985 22:13:05 Step 9/26 : WORKDIR /device-onvif-camera 22:13:05 ---> Running in 3d07dc108edc 22:13:05 Removing intermediate container 3d07dc108edc 22:13:05 ---> 03584ea8f0b4 22:13:05 Step 10/26 : COPY go.mod vendor* ./ 22:13:06 ---> d1a1ddfc5efb 22:13:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:06 ---> Running in 0f05813565aa 22:13:06 Removing intermediate container 0f05813565aa 22:13:06 ---> ab47395dc0fc 22:13:06 Step 12/26 : COPY . . 22:13:08 ---> a19ce918df5b 22:13:08 Step 13/26 : RUN ${MAKE} 22:13:08 ---> Running in 105ee7afc04d 22:13:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:13:35 Removing intermediate container 105ee7afc04d 22:13:35 ---> ab44346059ea 22:13:35 Step 14/26 : FROM alpine:3.17 22:13:35 3.17: Pulling from library/alpine 22:13:35 f56be85fc22e: Already exists 22:13:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:13:35 Status: Downloaded newer image for alpine:3.17 22:13:35 ---> 9ed4aefc74f6 22:13:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:35 ---> Running in 60ecdcfc0a8b 22:13:35 Removing intermediate container 60ecdcfc0a8b 22:13:35 ---> e355d6a5ba13 22:13:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:35 ---> Running in ede4ae07fc8a 22:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:35 (1/1) Installing dumb-init (1.2.5-r2) 22:13:35 Executing busybox-1.35.0-r29.trigger 22:13:35 OK: 7 MiB in 16 packages 22:13:35 Removing intermediate container ede4ae07fc8a 22:13:35 ---> 76110066440c 22:13:35 Step 17/26 : WORKDIR / 22:13:35 ---> Running in 9fa8f058ec06 22:13:35 Removing intermediate container 9fa8f058ec06 22:13:35 ---> ecf736e39106 22:13:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:36 ---> 4f972cd73d3c 22:13:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:36 ---> b6d87eaa4f3e 22:13:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:36 ---> ea486b97a024 22:13:36 Step 21/26 : EXPOSE 59984 22:13:36 ---> Running in a97ce4bb4293 22:13:36 Removing intermediate container a97ce4bb4293 22:13:36 ---> 6a09565f4089 22:13:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:36 ---> Running in d41b1181a525 22:13:36 Removing intermediate container d41b1181a525 22:13:36 ---> 6d974b545af4 22:13:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:36 ---> Running in d47f06f17c30 22:13:36 Removing intermediate container d47f06f17c30 22:13:36 ---> 8e94dc6a006d 22:13:36 Step 24/26 : LABEL arch=amd64 22:13:36 ---> Running in f5cd54c0e35b 22:13:36 Removing intermediate container f5cd54c0e35b 22:13:36 ---> 3915633e479b 22:13:36 Step 25/26 : LABEL git_sha=d23c4aaa667fd25d71601dbc7d5d58f4cb07498d 22:13:36 ---> Running in f277f35b7358 22:13:36 Removing intermediate container f277f35b7358 22:13:36 ---> 046b34e99a0a 22:13:36 Step 26/26 : LABEL version=0.0.0 22:13:36 ---> Running in 6fb4fe44c562 22:13:36 Removing intermediate container 6fb4fe44c562 22:13:36 ---> 78c8bfa1a6fe 22:13:36 [Warning] One or more build-args [ARCH] were not consumed 22:13:36 Successfully built 78c8bfa1a6fe 22:13:36 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 22:13:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:37 22:13:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:37 latest: Pulling from edgex-lftools-log-publisher 22:13:37 5eb5b503b376: Pulling fs layer 22:13:37 5c69ac0246d0: Pulling fs layer 22:13:37 ec43610c2a17: Pulling fs layer 22:13:37 3a2ae6a8a46f: Pulling fs layer 22:13:37 33b1e0a273af: Pulling fs layer 22:13:37 5d3b04190fa2: Pulling fs layer 22:13:37 2f39f015ded8: Pulling fs layer 22:13:37 33b1e0a273af: Waiting 22:13:37 2f39f015ded8: Waiting 22:13:37 5d3b04190fa2: Waiting 22:13:37 3a2ae6a8a46f: Waiting 22:13:37 5c69ac0246d0: Verifying Checksum 22:13:37 5c69ac0246d0: Download complete 22:13:37 3a2ae6a8a46f: Verifying Checksum 22:13:37 3a2ae6a8a46f: Download complete 22:13:37 33b1e0a273af: Verifying Checksum 22:13:37 33b1e0a273af: Download complete 22:13:37 5d3b04190fa2: Verifying Checksum 22:13:37 5d3b04190fa2: Download complete 22:13:37 ec43610c2a17: Verifying Checksum 22:13:37 ec43610c2a17: Download complete 22:13:37 5eb5b503b376: Verifying Checksum 22:13:37 5eb5b503b376: Download complete 22:13:38 2f39f015ded8: Download complete 22:13:38 5eb5b503b376: Pull complete 22:13:38 5c69ac0246d0: Pull complete 22:13:39 ec43610c2a17: Pull complete 22:13:39 3a2ae6a8a46f: Pull complete 22:13:39 33b1e0a273af: Pull complete 22:13:39 5d3b04190fa2: Pull complete 22:13:43 2f39f015ded8: Pull complete 22:13:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:44 prd-ubuntu20.04-docker-8c-8g-10879 does not seem to be running inside a container 22:13:44 $ 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-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:13:52 $ docker top 5ffcbdc6b460740d34a523df345eef2777cf79f26e5a88dfccea8f3bad2a7b3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:52 ---> job-cost.sh 22:13:52 lf-activate-venv: SKIPPING 22:13:52 INFO: No Stack... 22:13:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:53 INFO: Archiving Costs [Pipeline] sh 22:13:53 + cat /w/workspace/undry_device-onvif-camera_PR-321/archives/cost.csv 22:13:53 + cut -d, -f6 [Pipeline] lock 22:13:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] 22:13:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] did not exist. Created. 22:13:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:53 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:53 Stashed 1 file(s) [Pipeline] } 22:13:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:53 $ docker stop --time=1 5ffcbdc6b460740d34a523df345eef2777cf79f26e5a88dfccea8f3bad2a7b3b 22:13:55 $ docker rm -f --volumes 5ffcbdc6b460740d34a523df345eef2777cf79f26e5a88dfccea8f3bad2a7b3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10885 in /w/workspace/undry_device-onvif-camera_PR-321 [Pipeline] { [Pipeline] ws 22:14:12 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 22:14:12 The recommended git tool is: git 22:14:19 using credential edgex-jenkins-ssh 22:14:19 Cloning the remote Git repository 22:14:19 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:19 > git init /w/workspace/device-onvif-camera/3 # timeout=10 22:14:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:20 > git --version # timeout=10 22:14:20 > git --version # 'git version 2.25.1' 22:14:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:23 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit a27e28d7063f91f5e1587cb421881b607ffe8dc2 22:14:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:23 > git config core.sparsecheckout # timeout=10 22:14:23 > git checkout -f a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 22:14:24 > git remote # timeout=10 22:14:24 Merge succeeded, producing 66e4d5956e72b11fd5d1b82367ef18b2c78a967a 22:14:24 Checking out Revision 66e4d5956e72b11fd5d1b82367ef18b2c78a967a (PR-321) 22:14:24 > git config --get remote.origin.url # timeout=10 22:14:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:24 > git merge e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 22:14:24 > git rev-parse HEAD^{commit} # timeout=10 22:14:24 > git config core.sparsecheckout # timeout=10 22:14:24 > git checkout -f 66e4d5956e72b11fd5d1b82367ef18b2c78a967a # timeout=10 22:14:28 Commit message: "Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD" 22:14:28 First time build. Skipping changelog. 22:14:28 > git rev-list --no-walk 98c45d9b15746b6488b8e66efdb08c4db8b590b3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:29 Dload Upload Total Spent Left Speed 22:14:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 22:14:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:30 + sudo tee /etc/docker/daemon.new 22:14:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:30 { 22:14:30 "registry-mirrors": [ 22:14:30 "https://nexus3.edgexfoundry.org:10001" 22:14:30 ], 22:14:30 "bip": "10.250.0.254/24", 22:14:30 "hosts": [ 22:14:30 "tcp://0.0.0.0:5555", 22:14:30 "unix:///var/run/docker.sock" 22:14:30 ], 22:14:30 "mtu": 1458, 22:14:30 "selinux-enabled": true, 22:14:30 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:30 } [Pipeline] sh 22:14:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:50 provisioning config files... 22:14:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config3729435713000533436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:50 ---> docker-login.sh 22:14:50 nexus3.edgexfoundry.org:10001 22:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:51 Configure a credential helper to remove this warning. See 22:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:51 22:14:51 Login Succeeded 22:14:51 nexus3.edgexfoundry.org:10002 22:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:51 Configure a credential helper to remove this warning. See 22:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:51 22:14:51 Login Succeeded 22:14:51 nexus3.edgexfoundry.org:10003 22:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:51 Configure a credential helper to remove this warning. See 22:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:51 22:14:51 Login Succeeded 22:14:51 nexus3.edgexfoundry.org:10004 22:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:52 Configure a credential helper to remove this warning. See 22:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:52 22:14:52 Login Succeeded 22:14:52 docker.io 22:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:53 Configure a credential helper to remove this warning. See 22:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:53 22:14:53 Login Succeeded 22:14:53 ---> docker-login.sh ends [Pipeline] } 22:14:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:53 ========================================================= 22:14:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:14:54 Sending build context to Docker daemon 19.68MB 22:14:54 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:54 Step 2/13 : FROM ${BASE} AS builder 22:14:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:54 c41833b44d91: Pulling fs layer 22:14:54 ed15518f5707: Pulling fs layer 22:14:54 feae8fd75edb: Pulling fs layer 22:14:54 242c74f7c9fa: Pulling fs layer 22:14:54 3cdef696dda3: Pulling fs layer 22:14:54 2ced38df9373: Pulling fs layer 22:14:54 58f1dce35555: Pulling fs layer 22:14:54 3cdef696dda3: Waiting 22:14:54 242c74f7c9fa: Waiting 22:14:54 2ced38df9373: Waiting 22:14:54 58f1dce35555: Waiting 22:14:54 ed15518f5707: Verifying Checksum 22:14:54 ed15518f5707: Download complete 22:14:54 242c74f7c9fa: Verifying Checksum 22:14:54 242c74f7c9fa: Download complete 22:14:54 3cdef696dda3: Verifying Checksum 22:14:54 3cdef696dda3: Download complete 22:14:54 c41833b44d91: Download complete 22:14:55 c41833b44d91: Pull complete 22:14:56 58f1dce35555: Verifying Checksum 22:14:56 58f1dce35555: Download complete 22:14:56 ed15518f5707: Pull complete 22:14:57 feae8fd75edb: Download complete 22:14:57 2ced38df9373: Verifying Checksum 22:14:57 2ced38df9373: Download complete 22:15:10 feae8fd75edb: Pull complete 22:15:10 242c74f7c9fa: Pull complete 22:15:10 3cdef696dda3: Pull complete 22:15:16 2ced38df9373: Pull complete 22:15:18 58f1dce35555: Pull complete 22:15:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:15:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:15:18 ---> fadd8f120f05 22:15:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:20 ---> Running in 157257769ce3 22:15:20 Removing intermediate container 157257769ce3 22:15:20 ---> 2de7e8f14ee4 22:15:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:21 ---> Running in 345eb2ff7dcb 22:15:21 Removing intermediate container 345eb2ff7dcb 22:15:21 ---> d557918c1e18 22:15:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:21 ---> Running in 39dad1c7bab1 22:15:21 Removing intermediate container 39dad1c7bab1 22:15:21 ---> d79cb3a5b5b7 22:15:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:21 ---> Running in 2400f2576e05 22:15:22 Removing intermediate container 2400f2576e05 22:15:22 ---> 62ac26d9224a 22:15:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:22 ---> Running in dcf309a9b6f3 22:15:22 Removing intermediate container dcf309a9b6f3 22:15:22 ---> baea20b3357a 22:15:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:22 ---> Running in 9d91547def0e 22:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:25 OK: 263 MiB in 53 packages 22:15:27 Removing intermediate container 9d91547def0e 22:15:27 ---> 0cc1e6b08b2f 22:15:27 Step 9/13 : WORKDIR /device-onvif-camera 22:15:27 ---> Running in 463c87fd4fd3 22:15:27 Removing intermediate container 463c87fd4fd3 22:15:27 ---> 760d6c4847c6 22:15:27 Step 10/13 : COPY go.mod vendor* ./ 22:15:28 ---> ce7244e366a1 22:15:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:28 ---> Running in 98571846da8a 22:16:36 Removing intermediate container 98571846da8a 22:16:36 ---> cd81669b3481 22:16:36 Step 12/13 : COPY . . 22:16:37 ---> f54a27324547 22:16:37 Step 13/13 : RUN ${MAKE} 22:16:37 ---> Running in 96e4c69f85fd 22:16:38 noop 22:16:39 Removing intermediate container 96e4c69f85fd 22:16:39 ---> 1da0f3f0104a 22:16:39 Successfully built 1da0f3f0104a 22:16:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:40 + docker inspect -f . ci-base-image-arm64 22:16:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:40 prd-ubuntu20.04-docker-arm64-4c-16g-10885 does not seem to be running inside a container 22:16:40 $ 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 22:16:41 $ docker top 58641212a984b4ab44cd2a32d8573ea1b9ae987bd2446df0392b91b3434818ba -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:42 + go version 22:16:42 go version go1.20.2 linux/arm64 [Pipeline] } 22:16:42 $ docker stop --time=1 58641212a984b4ab44cd2a32d8573ea1b9ae987bd2446df0392b91b3434818ba 22:16:44 $ docker rm -f --volumes 58641212a984b4ab44cd2a32d8573ea1b9ae987bd2446df0392b91b3434818ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:45 + docker inspect -f . ci-base-image-arm64 22:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:45 prd-ubuntu20.04-docker-arm64-4c-16g-10885 does not seem to be running inside a container 22:16:45 $ 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 22:16:46 $ docker top 1f8d982feb568de5192b01d7fdc422f8e4f3e6ffc6f854decad2e0ccf13a8c5f -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:47 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 22:16:48 + make test 22:16:48 go test ./... -coverprofile=coverage.out ./... 22:17:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.188s coverage: 31.6% of statements 22:20:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.347s coverage: 86.5% of statements 22:20:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:20:42 go vet ./... 22:21:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:21 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:21 $ docker stop --time=1 1f8d982feb568de5192b01d7fdc422f8e4f3e6ffc6f854decad2e0ccf13a8c5f 22:21:23 $ docker rm -f --volumes 1f8d982feb568de5192b01d7fdc422f8e4f3e6ffc6f854decad2e0ccf13a8c5f [Pipeline] // withDockerContainer [Pipeline] sh 22:21:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:24 Warning: overwriting stash ‘coverage-report’ 22:21:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:26 + ls -al . 22:21:26 total 232 22:21:26 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 22:16 . 22:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:14 .. 22:21:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:14 .git 22:21:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:14 .github 22:21:26 -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 22:14 .gitignore 22:21:26 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 22:14 .golangci.yml 22:21:26 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 22:14 Attribution.txt 22:21:26 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 22:14 CHANGELOG.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 22:14 Dockerfile 22:21:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:14 GOVERNANCE.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 22:14 Jenkinsfile 22:21:26 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 22:14 LICENSE 22:21:26 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 22:14 Makefile 22:21:26 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 22:14 OWNERS.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 22:14 README.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:11 VERSION 22:21:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:14 bin 22:21:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:14 cmd 22:21:26 -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 22:20 coverage.out 22:21:26 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 22:14 doc 22:21:26 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 22:14 go.mod 22:21:26 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 22:14 go.sum 22:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:14 internal 22:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:14 snap 22:21:26 -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:26 + 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=66e4d5956e72b11fd5d1b82367ef18b2c78a967a --label arch=arm64 --label version=0.0.0 . 22:21:27 Sending build context to Docker daemon 19.76MB 22:21:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:21:27 Step 2/26 : FROM ${BASE} AS builder 22:21:27 ---> 1da0f3f0104a 22:21:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:21:27 ---> Running in b968e0b9223c 22:21:28 Removing intermediate container b968e0b9223c 22:21:28 ---> 5d5bfbbf4881 22:21:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:28 ---> Running in 51068eada3aa 22:21:28 Removing intermediate container 51068eada3aa 22:21:28 ---> 978fb48e2997 22:21:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:21:28 ---> Running in 8058c8698862 22:21:28 Removing intermediate container 8058c8698862 22:21:28 ---> cf96bf8c1287 22:21:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:21:28 ---> Running in b7103f93845b 22:21:29 Removing intermediate container b7103f93845b 22:21:29 ---> 6b9cbbd45eb8 22:21:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:21:29 ---> Running in dc1a7478d500 22:21:29 Removing intermediate container dc1a7478d500 22:21:29 ---> cb5b23ed0357 22:21:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:30 ---> Running in 758aaf275673 22:21:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:33 OK: 263 MiB in 53 packages 22:21:34 Removing intermediate container 758aaf275673 22:21:34 ---> 0798b9e258a0 22:21:34 Step 9/26 : WORKDIR /device-onvif-camera 22:21:34 ---> Running in be58740f3b24 22:21:34 Removing intermediate container be58740f3b24 22:21:34 ---> 9f3385fb38e8 22:21:34 Step 10/26 : COPY go.mod vendor* ./ 22:21:35 ---> 42b2c48dca8c 22:21:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:35 ---> Running in 1d94e5c90064 22:21:39 Removing intermediate container 1d94e5c90064 22:21:39 ---> a64dfd9a3105 22:21:39 Step 12/26 : COPY . . 22:21:41 ---> 4b66d36b6ee4 22:21:41 Step 13/26 : RUN ${MAKE} 22:21:41 ---> Running in 3be9f4f83e0d 22:21:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:24:33 Removing intermediate container 3be9f4f83e0d 22:24:33 ---> 0fcd43871649 22:24:33 Step 14/26 : FROM alpine:3.17 22:24:33 3.17: Pulling from library/alpine 22:24:33 c41833b44d91: Already exists 22:24:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:24:33 Status: Downloaded newer image for alpine:3.17 22:24:33 ---> 51e60588ff2c 22:24:33 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:24:33 ---> Running in 190dd225cbe9 22:24:33 Removing intermediate container 190dd225cbe9 22:24:33 ---> 1c553be000f9 22:24:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:24:33 ---> Running in febb0053b351 22:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:33 (1/1) Installing dumb-init (1.2.5-r2) 22:24:33 Executing busybox-1.35.0-r29.trigger 22:24:33 OK: 8 MiB in 16 packages 22:24:33 Removing intermediate container febb0053b351 22:24:33 ---> 062d8f486c14 22:24:33 Step 17/26 : WORKDIR / 22:24:34 ---> Running in 8415319c2386 22:24:34 Removing intermediate container 8415319c2386 22:24:34 ---> 59fe18dfcc73 22:24:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:24:35 ---> 84cc62b20ed0 22:24:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:24:36 ---> 0538aead6f1f 22:24:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:24:37 ---> 1d86811fed35 22:24:37 Step 21/26 : EXPOSE 59984 22:24:37 ---> Running in 63bb2050ba20 22:24:37 Removing intermediate container 63bb2050ba20 22:24:37 ---> eb2b3243947b 22:24:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:24:37 ---> Running in c59164d128f7 22:24:37 Removing intermediate container c59164d128f7 22:24:37 ---> c1fa5bae65ed 22:24:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:24:38 ---> Running in 9d7db93660a5 22:24:38 Removing intermediate container 9d7db93660a5 22:24:38 ---> f255759edc73 22:24:38 Step 24/26 : LABEL arch=arm64 22:24:38 ---> Running in e07fe163d992 22:24:39 Removing intermediate container e07fe163d992 22:24:39 ---> 581b51e7481e 22:24:39 Step 25/26 : LABEL git_sha=66e4d5956e72b11fd5d1b82367ef18b2c78a967a 22:24:39 ---> Running in 19e41d377094 22:24:39 Removing intermediate container 19e41d377094 22:24:39 ---> 1135e6896264 22:24:39 Step 26/26 : LABEL version=0.0.0 22:24:39 ---> Running in 81ff020ccc96 22:24:39 Removing intermediate container 81ff020ccc96 22:24:39 ---> 9d09f90cdb35 22:24:39 [Warning] One or more build-args [ARCH] were not consumed 22:24:39 Successfully built 9d09f90cdb35 22:24:39 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 22:24:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:40 22:24:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:40 arm64: Pulling from edgex-lftools-log-publisher 22:24:40 8998bd30e6a1: Pulling fs layer 22:24:40 04944245beec: Pulling fs layer 22:24:40 699f458cf7ca: Pulling fs layer 22:24:40 765212b225bb: Pulling fs layer 22:24:40 f23df028b6ca: Pulling fs layer 22:24:40 d65c8cfc05b1: Pulling fs layer 22:24:40 2437ff75d9bd: Pulling fs layer 22:24:40 f23df028b6ca: Waiting 22:24:40 765212b225bb: Waiting 22:24:40 d65c8cfc05b1: Waiting 22:24:40 2437ff75d9bd: Waiting 22:24:40 04944245beec: Verifying Checksum 22:24:40 04944245beec: Download complete 22:24:40 765212b225bb: Verifying Checksum 22:24:40 765212b225bb: Download complete 22:24:40 f23df028b6ca: Verifying Checksum 22:24:40 f23df028b6ca: Download complete 22:24:40 d65c8cfc05b1: Verifying Checksum 22:24:40 d65c8cfc05b1: Download complete 22:24:41 699f458cf7ca: Verifying Checksum 22:24:41 699f458cf7ca: Download complete 22:24:41 8998bd30e6a1: Verifying Checksum 22:24:41 8998bd30e6a1: Download complete 22:24:44 2437ff75d9bd: Verifying Checksum 22:24:44 2437ff75d9bd: Download complete 22:24:48 8998bd30e6a1: Pull complete 22:24:48 04944245beec: Pull complete 22:24:49 699f458cf7ca: Pull complete 22:24:49 765212b225bb: Pull complete 22:24:50 f23df028b6ca: Pull complete 22:24:50 d65c8cfc05b1: Pull complete 22:25:05 2437ff75d9bd: Pull complete 22:25:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:06 prd-ubuntu20.04-docker-arm64-4c-16g-10885 does not seem to be running inside a container 22:25:06 $ 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 22:25:08 $ docker top 0137597cf83f04cdfd71397070b6173e82b2a03d98f3ccbadc3df78054051ee6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:09 ---> job-cost.sh 22:25:09 lf-activate-venv: SKIPPING 22:25:09 INFO: No Stack... 22:25:10 INFO: Retrieving Pricing Info for: v3-standard-4 22:25:11 INFO: Archiving Costs [Pipeline] sh 22:25:12 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 22:25:12 + cut -d, -f6 [Pipeline] lock 22:25:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] 22:25:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] did not exist. Created. 22:25:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:12 /w/workspace/device-onvif-camera/3@tmp/durable-e5000a9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:25:13 + echo total: 0.10999999940395355 [Pipeline] stash 22:25:13 Warning: overwriting stash ‘stack-cost’ 22:25:13 Stashed 1 file(s) [Pipeline] } 22:25:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:25:13 $ docker stop --time=1 0137597cf83f04cdfd71397070b6173e82b2a03d98f3ccbadc3df78054051ee6 22:25:17 $ docker rm -f --volumes 0137597cf83f04cdfd71397070b6173e82b2a03d98f3ccbadc3df78054051ee6 [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 22:25:17 provisioning config files... 22:25:17 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config12165066285552297168tmp [Pipeline] { [Pipeline] sh 22:25:17 + set +x 22:25:17 + curl -s https://codecov.io/bash 22:25:17 + bash -s -- 22:25:17 22:25:17 _____ _ 22:25:17 / ____| | | 22:25:17 | | ___ __| | ___ ___ _____ __ 22:25:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:25:17 | |___| (_) | (_| | __/ (_| (_) \ V / 22:25:17 \_____\___/ \__,_|\___|\___\___/ \_/ 22:25:17 Bash-1.0.6 22:25:17 22:25:17 22:25:17 ==> git version 2.25.1 found 22:25:17 ==> 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 22:25:17 Release-Date: 2020-01-08 22:25:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:25:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:25:17 ==> Jenkins CI detected. 22:25:17 current dir:  /w/workspace/undry_device-onvif-camera_PR-321 22:25:17 project root: . 22:25:17 --> token set from env 22:25:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:25:17 ==> Running gcov in . (disable via -X gcov) 22:25:17 ==> Python coveragepy not found 22:25:17 ==> Searching for coverage reports in: 22:25:17 + . 22:25:18 -> Found 1 reports 22:25:18 ==> Detecting git/mercurial file structure 22:25:18 ==> Reading reports 22:25:18 + ./coverage.out bytes=78922 22:25:18 ==> Appending adjustments 22:25:18 https://docs.codecov.io/docs/fixing-reports 22:25:18 + Found adjustments 22:25:18 ==> Gzipping contents 22:25:18 12K /tmp/codecov.sZ8ARm.gz 22:25:18 ==> Uploading reports 22:25:18 url: https://codecov.io 22:25:18 query: branch=PR-321&commit=d23c4aaa667fd25d71601dbc7d5d58f4cb07498d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-321%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=321&job=&cmd_args= 22:25:18 -> Pinging Codecov 22:25:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-321&commit=d23c4aaa667fd25d71601dbc7d5d58f4cb07498d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-321%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=321&job=&cmd_args= 22:25:18 -> Uploading to 22:25:18 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/F29A59C45E3A92E06B3E522C9905F8EF/d23c4aaa667fd25d71601dbc7d5d58f4cb07498d/8c96b8d7-1252-49c9-ad3e-4c5955403b02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T222518Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d60b685dec29aa9a958c9015fe73b16c90ddb552d12d6253065c379635b3ca4 22:25:18 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:18 Dload Upload Total Spent Left Speed 22:25:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 43036 --:--:-- --:--:-- --:--:-- 43036 22:25:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d23c4aaa667fd25d71601dbc7d5d58f4cb07498d [Pipeline] } 22:25:18 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 22:25:19 + [ -d /w/workspace/undry_device-onvif-camera_PR-321/archives ] 22:25:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-321/archives 22:25:19 total 16 22:25:19 drwxr-xr-x 3 root root 4096 Apr 25 22:13 . 22:25:19 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:13 .. 22:25:19 drwxr-xr-x 2 root root 4096 Apr 25 22:13 cost 22:25:19 -rw-r--r-- 1 root root 91 Apr 25 22:13 cost.csv 22:25:19 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-321/archives 22:25:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-321/archives 22:25:19 total 16 22:25:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:13 . 22:25:19 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:13 .. 22:25:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 22:13 cost 22:25:19 -rw-r--r-- 1 jenkins jenkins 91 Apr 25 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:25:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:25:20 ---> package-listing.sh 22:25:20 ++ facter osfamily 22:25:20 ++ tr '[:upper:]' '[:lower:]' 22:25:20 + OS_FAMILY=debian 22:25:20 + workspace=/w/workspace/undry_device-onvif-camera_PR-321 22:25:20 + START_PACKAGES=/tmp/packages_start.txt 22:25:20 + END_PACKAGES=/tmp/packages_end.txt 22:25:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:25:20 + PACKAGES=/tmp/packages_start.txt 22:25:20 + '[' /w/workspace/undry_device-onvif-camera_PR-321 ']' 22:25:20 + PACKAGES=/tmp/packages_end.txt 22:25:20 + case "${OS_FAMILY}" in 22:25:20 + dpkg -l 22:25:20 + grep '^ii' 22:25:20 + '[' -f /tmp/packages_start.txt ']' 22:25:20 + '[' -f /tmp/packages_end.txt ']' 22:25:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:25:20 + '[' /w/workspace/undry_device-onvif-camera_PR-321 ']' 22:25:20 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-321/archives/ 22:25:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-321/archives/ [Pipeline] echo 22:25:20 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-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:25:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:21 prd-ubuntu20.04-docker-8c-8g-10879 does not seem to be running inside a container 22:25:21 $ 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-321/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-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 22:25:21 $ docker top d9d9d2d0f21692f09266807cc80b318f058fe222d24708aa9f47d7bd79c1665f -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:22 + mkdir -p /var/log/sysstat [Pipeline] sh 22:25:22 + ls /var/log/sa-host 22:25:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:22 provisioning config files... 22:25:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config565425856198785660tmp [Pipeline] { [Pipeline] echo 22:25:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:23 ---> create-netrc.sh [Pipeline] } 22:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:23 ---> python-tools-install.sh [Pipeline] echo 22:25:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:23 ---> sudo-logs.sh 22:25:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:24 ---> job-cost.sh 22:25:24 lf-activate-venv: SKIPPING 22:25:24 DEBUG: total: 0.2199999988079071 22:25:24 INFO: Retrieving Stack Cost... 22:25:24 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:25 INFO: Archiving Costs [Pipeline] echo 22:25:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:25 ---> logs-deploy.sh 22:25:25 lf-activate-venv: SKIPPING 22:25:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-321/3 22:25:25 INFO: archiving workspace using pattern(s): 22:25:26 Archives upload complete. 22:25:26 INFO: archiving logs to Nexus