Pull request #305 updated Pull request #305 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 rather than 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 Obtained Jenkinsfile from 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 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-ssh11412586154679125334.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-ssh16034625960870698366.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-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10089505635689046023.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-ssh12249107438882651454.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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh853229012514495589.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12207 in /w/workspace/undry_device-onvif-camera_PR-305 [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-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 into PR head commit 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 Merge succeeded, producing 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 Checking out Revision 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 (PR-305) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 # 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 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 # timeout=10 Commit message: "Merge branch 'main' into remove-docs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:34:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:34:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:34:23 ========================================================= 17:34:23 EdgeX Global Pipelines Version Info 17:34:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 91dea180311c164a0cd80142f0d55c75e50518e8 # timeout=10 17:34:24 ------------------- 17:34:24 stable info: 17:34:24 ------------------- 17:34:24 Commited By: Bill Mahoney bill.mahoney@intel.com 17:34:24 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 17:34:24 Message: update stable to v1.0.248 17:34:25 ------------------- 17:34:25 experimental info: 17:34:25 ------------------- 17:34:25 Commited By: **** collab-it+edgex@linuxfoundation.org 17:34:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:34:25 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b41033 [Pipeline] echo 17:34:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:25 provisioning config files... 17:34:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config14034886284609134044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:26 ---> docker-login.sh 17:34:26 nexus3.edgexfoundry.org:10001 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 nexus3.edgexfoundry.org:10002 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 nexus3.edgexfoundry.org:10003 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 nexus3.edgexfoundry.org:10004 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 docker.io 17:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:27 Configure a credential helper to remove this warning. See 17:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:27 17:34:27 Login Succeeded 17:34:27 ---> docker-login.sh ends [Pipeline] } 17:34:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:34:27 + git rev-list -1 --merges 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940~1..7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 [Pipeline] echo 17:34:27 -----------> git rev-list -1 --merges 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940~1..7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 17:34:27 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 [false] [Pipeline] sh 17:34:27 + git log --format=format:%s -1 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 [Pipeline] echo 17:34:27 ========================================================= 17:34:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:34:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:28 + git log --format=format:%s -1 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 [Pipeline] echo 17:34:28 [semverPrep] GIT_COMMIT: 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940, Commit Message: Merge branch 'main' into remove-docs [Pipeline] echo 17:34:28 [semverPrep] This is not a build commit. [Pipeline] sh 17:34:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:34:28 + grep -v github /etc/ssh/ssh_known_hosts 17:34:28 + [ -e /tmp/ssh_known_hosts ] 17:34:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:34:28 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:34:28 sudo tee -a /etc/ssh/ssh_known_hosts 17:34:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:29 17:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:29 0.1.4: Pulling from edgex-devops/py-git-semver 17:34:29 b85a868b505f: Pulling fs layer 17:34:29 e2be974225ed: Pulling fs layer 17:34:29 339a4e72a1f5: Pulling fs layer 17:34:29 988bab9f4d93: Pulling fs layer 17:34:29 1469e6f7b9e6: Pulling fs layer 17:34:29 eaf3925da568: Pulling fs layer 17:34:29 bab4dde63d76: Pulling fs layer 17:34:29 bde34c3a00c8: Pulling fs layer 17:34:29 b352a97aabf1: Pulling fs layer 17:34:29 4872d77fe225: Pulling fs layer 17:34:29 5851b861e8e6: Pulling fs layer 17:34:29 eaf3925da568: Waiting 17:34:29 bab4dde63d76: Waiting 17:34:29 1469e6f7b9e6: Waiting 17:34:29 988bab9f4d93: Waiting 17:34:29 5851b861e8e6: Waiting 17:34:29 b352a97aabf1: Waiting 17:34:29 bde34c3a00c8: Waiting 17:34:29 e2be974225ed: Verifying Checksum 17:34:29 e2be974225ed: Download complete 17:34:29 988bab9f4d93: Verifying Checksum 17:34:29 988bab9f4d93: Download complete 17:34:29 1469e6f7b9e6: Verifying Checksum 17:34:29 1469e6f7b9e6: Download complete 17:34:29 eaf3925da568: Verifying Checksum 17:34:29 eaf3925da568: Download complete 17:34:29 339a4e72a1f5: Verifying Checksum 17:34:29 339a4e72a1f5: Download complete 17:34:29 bde34c3a00c8: Verifying Checksum 17:34:29 bde34c3a00c8: Download complete 17:34:29 b352a97aabf1: Verifying Checksum 17:34:29 b352a97aabf1: Download complete 17:34:29 5851b861e8e6: Verifying Checksum 17:34:29 5851b861e8e6: Download complete 17:34:29 b85a868b505f: Verifying Checksum 17:34:29 bab4dde63d76: Verifying Checksum 17:34:29 bab4dde63d76: Download complete 17:34:30 b85a868b505f: Pull complete 17:34:31 e2be974225ed: Pull complete 17:34:31 339a4e72a1f5: Pull complete 17:34:31 988bab9f4d93: Pull complete 17:34:31 1469e6f7b9e6: Pull complete 17:34:31 eaf3925da568: Pull complete 17:34:33 bab4dde63d76: Pull complete 17:34:33 bde34c3a00c8: Pull complete 17:34:34 b352a97aabf1: Pull complete 17:34:34 4872d77fe225: Pull complete 17:34:34 5851b861e8e6: Pull complete 17:34:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:34 prd-ubuntu20.04-docker-8c-8g-12207 does not seem to be running inside a container 17:34:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 17:34:36 $ docker top 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d -eo pid,comm 17:34:36 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). 17:34:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:36 [ssh-agent] Looking for ssh-agent implementation... 17:34:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:36 $ docker exec 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d ssh-agent 17:34:36 SSH_AUTH_SOCK=/tmp/ssh-SOnx0lRycs8C/agent.32 17:34:36 SSH_AGENT_PID=38 17:34:36 Running ssh-add (command line suppressed) 17:34:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_9453883293077859404.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_9453883293077859404.key) 17:34:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:37 + git tag --points-at HEAD [Pipeline] } 17:34:37 $ docker exec --env ******** --env ******** 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d ssh-agent -k 17:34:37 unset SSH_AUTH_SOCK; 17:34:37 unset SSH_AGENT_PID; 17:34:37 echo Agent pid 38 killed; 17:34:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:34:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:37 [ssh-agent] Looking for ssh-agent implementation... 17:34:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:37 $ docker exec 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d ssh-agent 17:34:37 SSH_AUTH_SOCK=/tmp/ssh-hIYjTvQONjTF/agent.71 17:34:37 SSH_AGENT_PID=77 17:34:37 Running ssh-add (command line suppressed) 17:34:37 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_6701217642957587858.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_6701217642957587858.key) 17:34:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:37 + git semver init 17:34:38 2023-05-01 17:34:38,064 [run_init] DEBUG init version:0.0.0 force:False 17:34:38 2023-05-01 17:34:38,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver 17:34:38 2023-05-01 17:34:38,066 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver 17:34:38 2023-05-01 17:34:38,066 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-305/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-305, universal_newlines=False, shell=None, istream=None) 17:34:39 2023-05-01 17:34:38,916 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude 17:34:39 2023-05-01 17:34:38,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 with force:False 17:34:39 2023-05-01 17:34:38,917 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 17:34:39 2023-05-01 17:34:38,921 [execute] INFO git cat-file --batch-check 17:34:39 2023-05-01 17:34:38,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 17:34:39 2023-05-01 17:34:38,927 [execute] INFO git cat-file --batch 17:34:39 2023-05-01 17:34:38,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 17:34:39 2023-05-01 17:34:38,932 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 17:34:39 0.0.0 [Pipeline] } 17:34:39 $ docker exec --env ******** --env ******** 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d ssh-agent -k 17:34:39 unset SSH_AUTH_SOCK; 17:34:39 unset SSH_AGENT_PID; 17:34:39 echo Agent pid 77 killed; 17:34:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:39 + git semver [Pipeline] } 17:34:39 $ docker stop --time=1 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d 17:34:41 $ docker rm -f --volumes 4c7df32283687e5e994fc37bde225b4972ea19bf28826b3ea64def1d565db46d [Pipeline] // withDockerContainer [Pipeline] sh 17:34:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:34:41 Stashed 1 file(s) [Pipeline] echo 17:34:41 [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 17:34:41 provisioning config files... 17:34:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config1499808122816690610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:42 ---> docker-login.sh 17:34:42 nexus3.edgexfoundry.org:10001 17:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:42 Configure a credential helper to remove this warning. See 17:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:42 17:34:42 Login Succeeded 17:34:42 nexus3.edgexfoundry.org:10002 17:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:42 Configure a credential helper to remove this warning. See 17:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:42 17:34:42 Login Succeeded 17:34:42 nexus3.edgexfoundry.org:10003 17:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:42 Configure a credential helper to remove this warning. See 17:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:42 17:34:42 Login Succeeded 17:34:42 nexus3.edgexfoundry.org:10004 17:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:42 Configure a credential helper to remove this warning. See 17:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:42 17:34:42 Login Succeeded 17:34:42 docker.io 17:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:42 Configure a credential helper to remove this warning. See 17:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:42 17:34:42 Login Succeeded 17:34:42 ---> docker-login.sh ends [Pipeline] } 17:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:42 ========================================================= 17:34:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:34:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:43 + 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 . 17:34:43 Sending build context to Docker daemon 21.47MB 17:34:43 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:34:43 Step 2/13 : FROM ${BASE} AS builder 17:34:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:34:43 f56be85fc22e: Pulling fs layer 17:34:43 85791d961cd3: Pulling fs layer 17:34:43 d694b5ae8c79: Pulling fs layer 17:34:43 9f32a84ed3da: Pulling fs layer 17:34:43 4d19c01a9841: Pulling fs layer 17:34:43 9325e15d5711: Pulling fs layer 17:34:43 556b6ee489ea: Pulling fs layer 17:34:43 c5a4b2cf53e6: Pulling fs layer 17:34:43 9325e15d5711: Waiting 17:34:43 4d19c01a9841: Waiting 17:34:43 556b6ee489ea: Waiting 17:34:43 c5a4b2cf53e6: Waiting 17:34:43 9f32a84ed3da: Waiting 17:34:43 85791d961cd3: Download complete 17:34:43 9f32a84ed3da: Verifying Checksum 17:34:43 9f32a84ed3da: Download complete 17:34:43 4d19c01a9841: Download complete 17:34:43 f56be85fc22e: Verifying Checksum 17:34:43 f56be85fc22e: Download complete 17:34:43 9325e15d5711: Verifying Checksum 17:34:43 9325e15d5711: Download complete 17:34:43 f56be85fc22e: Pull complete 17:34:43 85791d961cd3: Pull complete 17:34:44 c5a4b2cf53e6: Verifying Checksum 17:34:44 c5a4b2cf53e6: Download complete 17:34:44 d694b5ae8c79: Verifying Checksum 17:34:44 d694b5ae8c79: Download complete 17:34:44 556b6ee489ea: Verifying Checksum 17:34:44 556b6ee489ea: Download complete 17:34:47 d694b5ae8c79: Pull complete 17:34:47 9f32a84ed3da: Pull complete 17:34:47 4d19c01a9841: Pull complete 17:34:47 9325e15d5711: Pull complete 17:34:50 556b6ee489ea: Pull complete 17:34:50 c5a4b2cf53e6: Pull complete 17:34:50 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:34:50 ---> c4be618373d6 17:34:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:34:53 ---> Running in e07138f040cc 17:34:53 Removing intermediate container e07138f040cc 17:34:53 ---> 22a285690dbd 17:34:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:53 ---> Running in 58ec66febc7d 17:34:53 Removing intermediate container 58ec66febc7d 17:34:53 ---> 88be8a1fd17f 17:34:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:34:53 ---> Running in 1994f9c9ae35 17:34:53 Removing intermediate container 1994f9c9ae35 17:34:53 ---> 6bbd6ad876b0 17:34:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:34:53 ---> Running in 076b67f584f2 17:34:53 Removing intermediate container 076b67f584f2 17:34:53 ---> 53b699a93340 17:34:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:34:53 ---> Running in 7664886c4bd7 17:34:53 Removing intermediate container 7664886c4bd7 17:34:53 ---> cd725734c415 17:34:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:53 ---> Running in 82241d98b57d 17:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:34:54 OK: 265 MiB in 53 packages 17:34:55 Removing intermediate container 82241d98b57d 17:34:55 ---> bdd4c44fee45 17:34:55 Step 9/13 : WORKDIR /device-onvif-camera 17:34:55 ---> Running in 2f1d5c5052a4 17:34:55 Removing intermediate container 2f1d5c5052a4 17:34:55 ---> 4f9f317e48f4 17:34:55 Step 10/13 : COPY go.mod vendor* ./ 17:34:55 ---> 831e14079d0f 17:34:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:55 ---> Running in 2354bbc8a281 17:34:56 Still waiting to schedule task 17:34:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:35:22 Removing intermediate container 2354bbc8a281 17:35:22 ---> cf0bf42228be 17:35:22 Step 12/13 : COPY . . 17:35:22 ---> 875fe4ef59fd 17:35:22 Step 13/13 : RUN ${MAKE} 17:35:22 ---> Running in ff58b21e89b4 17:35:22 noop 17:35:22 Removing intermediate container ff58b21e89b4 17:35:22 ---> 21b225be4bc7 17:35:22 Successfully built 21b225be4bc7 17:35:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:22 + docker inspect -f . ci-base-image-x86_64 17:35:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:22 prd-ubuntu20.04-docker-8c-8g-12207 does not seem to be running inside a container 17:35:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 17:35:22 $ docker top 7ccc33d6bea1c3a93a2f5afadafa5036068147dbe045f3d1fb1488315b271f62 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:23 + go version 17:35:23 go version go1.20.2 linux/amd64 [Pipeline] } 17:35:23 $ docker stop --time=1 7ccc33d6bea1c3a93a2f5afadafa5036068147dbe045f3d1fb1488315b271f62 17:35:24 $ docker rm -f --volumes 7ccc33d6bea1c3a93a2f5afadafa5036068147dbe045f3d1fb1488315b271f62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:24 + docker inspect -f . ci-base-image-x86_64 17:35:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:24 prd-ubuntu20.04-docker-8c-8g-12207 does not seem to be running inside a container 17:35:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 17:35:25 $ docker top 51c6aa720578dad693a11494de77f8e8a9f44611caee3d6320b9c7a7dd9f1501 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:25 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh 17:35:25 + make test 17:35:25 go test ./... -coverprofile=coverage.out ./... 17:35:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:35:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:35:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:35:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.6% of statements 17:35:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.291s coverage: 86.5% of statements 17:35:51 go vet ./... 17:35:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:54 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:54 $ docker stop --time=1 51c6aa720578dad693a11494de77f8e8a9f44611caee3d6320b9c7a7dd9f1501 17:35:57 $ docker rm -f --volumes 51c6aa720578dad693a11494de77f8e8a9f44611caee3d6320b9c7a7dd9f1501 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:58 + ls -al . 17:35:58 total 232 17:35:58 drwxrwxr-x 10 jenkins jenkins 4096 May 1 17:35 . 17:35:58 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:34 .. 17:35:58 drwxrwxr-x 8 jenkins jenkins 4096 May 1 17:34 .git 17:35:58 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:34 .github 17:35:58 -rw-rw-r-- 1 jenkins jenkins 496 May 1 17:34 .gitignore 17:35:58 -rw-rw-r-- 1 jenkins jenkins 42 May 1 17:34 .golangci.yml 17:35:58 drwxr-xr-x 3 jenkins jenkins 4096 May 1 17:34 .semver 17:35:58 -rw-rw-r-- 1 jenkins jenkins 9861 May 1 17:34 Attribution.txt 17:35:58 -rw-rw-r-- 1 jenkins jenkins 6312 May 1 17:34 CHANGELOG.md 17:35:58 -rw-rw-r-- 1 jenkins jenkins 1574 May 1 17:34 Dockerfile 17:35:58 -rw-rw-r-- 1 jenkins jenkins 677 May 1 17:34 GOVERNANCE.md 17:35:58 -rw-rw-r-- 1 jenkins jenkins 734 May 1 17:34 Jenkinsfile 17:35:58 -rw-rw-r-- 1 jenkins jenkins 11348 May 1 17:34 LICENSE 17:35:58 -rw-rw-r-- 1 jenkins jenkins 2751 May 1 17:34 Makefile 17:35:58 -rw-rw-r-- 1 jenkins jenkins 625 May 1 17:34 OWNERS.md 17:35:58 -rw-rw-r-- 1 jenkins jenkins 2566 May 1 17:34 README.md 17:35:58 -rw-rw-r-- 1 jenkins jenkins 5 May 1 17:34 VERSION 17:35:58 drwxrwxr-x 2 jenkins jenkins 4096 May 1 17:34 bin 17:35:58 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:34 cmd 17:35:58 -rw-r--r-- 1 jenkins jenkins 78922 May 1 17:35 coverage.out 17:35:58 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:34 doc 17:35:58 -rw-rw-r-- 1 jenkins jenkins 3557 May 1 17:34 go.mod 17:35:58 -rw-rw-r-- 1 jenkins jenkins 32947 May 1 17:34 go.sum 17:35:58 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:34 internal 17:35:58 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:34 snap 17:35:58 -rw-rw-r-- 1 jenkins jenkins 236 May 1 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:59 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 --label arch=amd64 --label version=0.0.0 . 17:35:59 Sending build context to Docker daemon 21.55MB 17:35:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:35:59 Step 2/26 : FROM ${BASE} AS builder 17:35:59 ---> 21b225be4bc7 17:35:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:35:59 ---> Running in 8810101b9688 17:35:59 Removing intermediate container 8810101b9688 17:35:59 ---> 1672ca813784 17:35:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:59 ---> Running in 6ddc4e5fb670 17:35:59 Removing intermediate container 6ddc4e5fb670 17:35:59 ---> c54514e86509 17:35:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:35:59 ---> Running in 38f556210315 17:35:59 Removing intermediate container 38f556210315 17:35:59 ---> 0d0c0292eb6a 17:35:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:35:59 ---> Running in 14ae18d8fd7e 17:35:59 Removing intermediate container 14ae18d8fd7e 17:35:59 ---> 1315d1170156 17:35:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:35:59 ---> Running in 1bd77e418dd9 17:35:59 Removing intermediate container 1bd77e418dd9 17:35:59 ---> bccd4f83d46c 17:35:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:00 ---> Running in d7cc582a2a43 17:36:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:36:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:36:00 OK: 265 MiB in 53 packages 17:36:00 Removing intermediate container d7cc582a2a43 17:36:00 ---> 8fc48c62e38f 17:36:00 Step 9/26 : WORKDIR /device-onvif-camera 17:36:00 ---> Running in bb4d4b50629b 17:36:00 Removing intermediate container bb4d4b50629b 17:36:00 ---> 20935efaaa76 17:36:00 Step 10/26 : COPY go.mod vendor* ./ 17:36:01 ---> 17e2c17d86af 17:36:01 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:01 ---> Running in f31b3f494d65 17:36:02 Removing intermediate container f31b3f494d65 17:36:02 ---> 30402b4de309 17:36:02 Step 12/26 : COPY . . 17:36:02 ---> 03e41fe761e2 17:36:02 Step 13/26 : RUN ${MAKE} 17:36:02 ---> Running in 980334f1868e 17:36:02 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 17:36:20 Removing intermediate container 980334f1868e 17:36:20 ---> 9cda4fe50e77 17:36:20 Step 14/26 : FROM alpine:3.17 17:36:21 3.17: Pulling from library/alpine 17:36:21 f56be85fc22e: Already exists 17:36:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:36:21 Status: Downloaded newer image for alpine:3.17 17:36:21 ---> 9ed4aefc74f6 17:36:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:36:21 ---> Running in fd1f5adb805e 17:36:21 Removing intermediate container fd1f5adb805e 17:36:21 ---> fc372c4b38a1 17:36:21 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:36:21 ---> Running in 7d1416ea2c16 17:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:36:22 (1/1) Installing dumb-init (1.2.5-r2) 17:36:22 Executing busybox-1.35.0-r29.trigger 17:36:22 OK: 7 MiB in 16 packages 17:36:22 Removing intermediate container 7d1416ea2c16 17:36:22 ---> d33441eb8b0b 17:36:22 Step 17/26 : WORKDIR / 17:36:22 ---> Running in 2828495180bd 17:36:22 Removing intermediate container 2828495180bd 17:36:22 ---> a27ec4a455c0 17:36:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:36:23 ---> c3d3e7c737e2 17:36:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:36:23 ---> a66de7795404 17:36:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:36:23 ---> 4518d0be67d9 17:36:23 Step 21/26 : EXPOSE 59984 17:36:23 ---> Running in 6a5bf7859ec6 17:36:23 Removing intermediate container 6a5bf7859ec6 17:36:23 ---> 930f689d74df 17:36:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:36:23 ---> Running in 0d4326ee7de1 17:36:23 Removing intermediate container 0d4326ee7de1 17:36:23 ---> 6193a7704564 17:36:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:36:23 ---> Running in 26737dbe1691 17:36:23 Removing intermediate container 26737dbe1691 17:36:23 ---> 0bffc462d34a 17:36:23 Step 24/26 : LABEL arch=amd64 17:36:23 ---> Running in a31d919ac897 17:36:23 Removing intermediate container a31d919ac897 17:36:23 ---> c04da9990be7 17:36:23 Step 25/26 : LABEL git_sha=7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 17:36:24 ---> Running in 38b13fb481ed 17:36:24 Removing intermediate container 38b13fb481ed 17:36:24 ---> 848a21a642b9 17:36:24 Step 26/26 : LABEL version=0.0.0 17:36:24 ---> Running in 60f2fb779e17 17:36:24 Removing intermediate container 60f2fb779e17 17:36:24 ---> 96f93e622d45 17:36:24 [Warning] One or more build-args [ARCH] were not consumed 17:36:24 Successfully built 96f93e622d45 17:36:24 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 17:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:24 17:36:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:24 latest: Pulling from edgex-lftools-log-publisher 17:36:24 5eb5b503b376: Pulling fs layer 17:36:24 5c69ac0246d0: Pulling fs layer 17:36:24 ec43610c2a17: Pulling fs layer 17:36:24 3a2ae6a8a46f: Pulling fs layer 17:36:24 33b1e0a273af: Pulling fs layer 17:36:24 5d3b04190fa2: Pulling fs layer 17:36:24 2f39f015ded8: Pulling fs layer 17:36:24 3a2ae6a8a46f: Waiting 17:36:24 33b1e0a273af: Waiting 17:36:24 5d3b04190fa2: Waiting 17:36:24 2f39f015ded8: Waiting 17:36:24 5c69ac0246d0: Download complete 17:36:24 3a2ae6a8a46f: Verifying Checksum 17:36:24 3a2ae6a8a46f: Download complete 17:36:24 33b1e0a273af: Verifying Checksum 17:36:24 33b1e0a273af: Download complete 17:36:24 5d3b04190fa2: Verifying Checksum 17:36:24 5d3b04190fa2: Download complete 17:36:24 ec43610c2a17: Verifying Checksum 17:36:24 ec43610c2a17: Download complete 17:36:25 5eb5b503b376: Verifying Checksum 17:36:25 5eb5b503b376: Download complete 17:36:25 2f39f015ded8: Download complete 17:36:26 5eb5b503b376: Pull complete 17:36:26 5c69ac0246d0: Pull complete 17:36:26 ec43610c2a17: Pull complete 17:36:26 3a2ae6a8a46f: Pull complete 17:36:27 33b1e0a273af: Pull complete 17:36:27 5d3b04190fa2: Pull complete 17:36:31 2f39f015ded8: Pull complete 17:36:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:31 prd-ubuntu20.04-docker-8c-8g-12207 does not seem to be running inside a container 17:36:31 $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 17:36:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12208 in /w/workspace/undry_device-onvif-camera_PR-305 17:36:33 $ docker top f93b11361586d8c0d88ddb18e7990634d18021bd9afb6f76280932e159e02f4b -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 17:36:33 Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout 17:36:33 The recommended git tool is: git 17:36:33 ---> job-cost.sh 17:36:33 lf-activate-venv: SKIPPING 17:36:33 INFO: No Stack... 17:36:33 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:34 INFO: Archiving Costs [Pipeline] sh 17:36:34 + cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv 17:36:34 + cut -d, -f6 [Pipeline] lock 17:36:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] 17:36:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] did not exist. Created. 17:36:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:34 + echo total: 0.2199999988079071 [Pipeline] stash 17:36:34 Stashed 1 file(s) [Pipeline] } 17:36:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:34 $ docker stop --time=1 f93b11361586d8c0d88ddb18e7990634d18021bd9afb6f76280932e159e02f4b 17:36:36 $ docker rm -f --volumes f93b11361586d8c0d88ddb18e7990634d18021bd9afb6f76280932e159e02f4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:36:38 using credential edgex-jenkins-ssh 17:36:38 Cloning the remote Git repository 17:36:38 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:36:38 > git init /w/workspace/device-onvif-camera/10 # timeout=10 17:36:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:36:39 > git --version # timeout=10 17:36:39 > git --version # 'git version 2.25.1' 17:36:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:36:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:42 Merging remotes/origin/main commit 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 into PR head commit 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 17:36:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:36:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:36:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:36:42 > git config core.sparsecheckout # timeout=10 17:36:42 Merge succeeded, producing 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 17:36:42 Checking out Revision 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 (PR-305) 17:36:42 > git checkout -f 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 # timeout=10 17:36:42 > git remote # timeout=10 17:36:42 > git config --get remote.origin.url # timeout=10 17:36:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:42 > git merge 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 # timeout=10 17:36:42 > git rev-parse HEAD^{commit} # timeout=10 17:36:42 > git config core.sparsecheckout # timeout=10 17:36:42 > git checkout -f 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 # timeout=10 17:36:46 Commit message: "Merge branch 'main' into remove-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:36:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:47 Dload Upload Total Spent Left Speed 17:36:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67110 [Pipeline] sh 17:36:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:36:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 17:36:48 sudo tee /etc/docker/daemon.new 17:36:48 { 17:36:48 "registry-mirrors": [ 17:36:48 "https://nexus3.edgexfoundry.org:10001" 17:36:48 ], 17:36:48 "bip": "10.250.0.254/24", 17:36:48 "hosts": [ 17:36:48 "tcp://0.0.0.0:5555", 17:36:48 "unix:///var/run/docker.sock" 17:36:48 ], 17:36:48 "mtu": 1458, 17:36:48 "selinux-enabled": true, 17:36:48 "seccomp-profile": "/etc/docker/seccomp.json" 17:36:48 } [Pipeline] sh 17:36:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:36:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:07 provisioning config files... 17:37:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config11323155673431485216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:08 ---> docker-login.sh 17:37:08 nexus3.edgexfoundry.org:10001 17:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:08 Configure a credential helper to remove this warning. See 17:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:08 17:37:08 Login Succeeded 17:37:08 nexus3.edgexfoundry.org:10002 17:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:09 Configure a credential helper to remove this warning. See 17:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:09 17:37:09 Login Succeeded 17:37:09 nexus3.edgexfoundry.org:10003 17:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:09 Configure a credential helper to remove this warning. See 17:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:09 17:37:09 Login Succeeded 17:37:09 nexus3.edgexfoundry.org:10004 17:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:09 Configure a credential helper to remove this warning. See 17:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:09 17:37:09 Login Succeeded 17:37:09 docker.io 17:37:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:10 Configure a credential helper to remove this warning. See 17:37:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:10 17:37:10 Login Succeeded 17:37:10 ---> docker-login.sh ends [Pipeline] } 17:37:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:37:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:37:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:37:10 ========================================================= 17:37:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:37:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:10 + 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 . 17:37:11 Sending build context to Docker daemon 14.17MB 17:37:11 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:37:11 Step 2/13 : FROM ${BASE} AS builder 17:37:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:37:11 c41833b44d91: Pulling fs layer 17:37:11 ed15518f5707: Pulling fs layer 17:37:11 feae8fd75edb: Pulling fs layer 17:37:11 242c74f7c9fa: Pulling fs layer 17:37:11 3cdef696dda3: Pulling fs layer 17:37:11 2ced38df9373: Pulling fs layer 17:37:11 58f1dce35555: Pulling fs layer 17:37:11 242c74f7c9fa: Waiting 17:37:11 3cdef696dda3: Waiting 17:37:11 2ced38df9373: Waiting 17:37:11 58f1dce35555: Waiting 17:37:11 ed15518f5707: Download complete 17:37:11 242c74f7c9fa: Verifying Checksum 17:37:11 242c74f7c9fa: Download complete 17:37:11 3cdef696dda3: Verifying Checksum 17:37:11 3cdef696dda3: Download complete 17:37:12 c41833b44d91: Verifying Checksum 17:37:12 c41833b44d91: Download complete 17:37:13 c41833b44d91: Pull complete 17:37:13 58f1dce35555: Verifying Checksum 17:37:13 58f1dce35555: Download complete 17:37:13 ed15518f5707: Pull complete 17:37:14 feae8fd75edb: Verifying Checksum 17:37:14 feae8fd75edb: Download complete 17:37:14 2ced38df9373: Verifying Checksum 17:37:14 2ced38df9373: Download complete 17:37:26 feae8fd75edb: Pull complete 17:37:26 242c74f7c9fa: Pull complete 17:37:26 3cdef696dda3: Pull complete 17:37:32 2ced38df9373: Pull complete 17:37:38 58f1dce35555: Pull complete 17:37:38 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:37:38 ---> fadd8f120f05 17:37:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:37:39 ---> Running in 21b54928d543 17:37:40 Removing intermediate container 21b54928d543 17:37:40 ---> 34cac9626829 17:37:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:40 ---> Running in 266c7b66ca30 17:37:40 Removing intermediate container 266c7b66ca30 17:37:40 ---> 1d25fddb97a6 17:37:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:37:40 ---> Running in 5cf826325013 17:37:41 Removing intermediate container 5cf826325013 17:37:41 ---> 752181ea060b 17:37:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:37:41 ---> Running in 472162a6dd4f 17:37:41 Removing intermediate container 472162a6dd4f 17:37:41 ---> 7f1f9172e1b5 17:37:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:37:41 ---> Running in 7a73de6b85ab 17:37:41 Removing intermediate container 7a73de6b85ab 17:37:41 ---> b5c615f4e379 17:37:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:41 ---> Running in 7a3a1c746a3e 17:37:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:37:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:37:44 OK: 263 MiB in 53 packages 17:37:45 Removing intermediate container 7a3a1c746a3e 17:37:45 ---> f79cb0490bfd 17:37:45 Step 9/13 : WORKDIR /device-onvif-camera 17:37:45 ---> Running in d22855d99228 17:37:45 Removing intermediate container d22855d99228 17:37:45 ---> e7522e8fde2b 17:37:45 Step 10/13 : COPY go.mod vendor* ./ 17:37:46 ---> 806b0f9200c5 17:37:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:46 ---> Running in aca1714b8fd2 17:38:54 Removing intermediate container aca1714b8fd2 17:38:54 ---> cf97fe61d244 17:38:54 Step 12/13 : COPY . . 17:38:54 ---> fde037ae364f 17:38:54 Step 13/13 : RUN ${MAKE} 17:38:54 ---> Running in 0eb061ee179b 17:38:54 noop 17:38:54 Removing intermediate container 0eb061ee179b 17:38:54 ---> 949bcf7e7d49 17:38:54 Successfully built 949bcf7e7d49 17:38:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:54 + docker inspect -f . ci-base-image-arm64 17:38:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:54 prd-ubuntu20.04-docker-arm64-4c-16g-12208 does not seem to be running inside a container 17:38:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 ******** -e ******** ci-base-image-arm64 cat 17:38:56 $ docker top 1ffc40e39f328cb9e3ce7cba7fb6e8ae99f689e60f221b70bd218a049a5c01bc -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:56 + go version 17:38:56 go version go1.20.2 linux/arm64 [Pipeline] } 17:38:56 $ docker stop --time=1 1ffc40e39f328cb9e3ce7cba7fb6e8ae99f689e60f221b70bd218a049a5c01bc 17:38:58 $ docker rm -f --volumes 1ffc40e39f328cb9e3ce7cba7fb6e8ae99f689e60f221b70bd218a049a5c01bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:59 + docker inspect -f . ci-base-image-arm64 17:38:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:59 prd-ubuntu20.04-docker-arm64-4c-16g-12208 does not seem to be running inside a container 17:38:59 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 ******** -e ******** ci-base-image-arm64 cat 17:39:00 $ docker top dd75c53dfa2bd5f805ff17bd1bb06dd5122104b0f63d26d090771c37163fd03d -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh 17:39:02 + make test 17:39:02 go test ./... -coverprofile=coverage.out ./... 17:39:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:41:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:41:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:41:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 31.6% of statements 17:42:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.990s coverage: 86.5% of statements 17:42:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:42:09 go vet ./... 17:42:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:42:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:42:36 ./bin/test-attribution-txt.sh [Pipeline] echo 17:42:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:42:36 $ docker stop --time=1 dd75c53dfa2bd5f805ff17bd1bb06dd5122104b0f63d26d090771c37163fd03d 17:42:38 $ docker rm -f --volumes dd75c53dfa2bd5f805ff17bd1bb06dd5122104b0f63d26d090771c37163fd03d [Pipeline] // withDockerContainer [Pipeline] sh 17:42:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:42:39 Warning: overwriting stash ‘coverage-report’ 17:42:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:42:40 + ls -al . 17:42:40 total 228 17:42:40 drwxrwxr-x 9 jenkins jenkins 4096 May 1 17:39 . 17:42:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:36 .. 17:42:40 drwxrwxr-x 8 jenkins jenkins 4096 May 1 17:36 .git 17:42:40 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:36 .github 17:42:40 -rw-rw-r-- 1 jenkins jenkins 496 May 1 17:36 .gitignore 17:42:40 -rw-rw-r-- 1 jenkins jenkins 42 May 1 17:36 .golangci.yml 17:42:40 -rw-rw-r-- 1 jenkins jenkins 9861 May 1 17:36 Attribution.txt 17:42:40 -rw-rw-r-- 1 jenkins jenkins 6312 May 1 17:36 CHANGELOG.md 17:42:40 -rw-rw-r-- 1 jenkins jenkins 1574 May 1 17:36 Dockerfile 17:42:40 -rw-rw-r-- 1 jenkins jenkins 677 May 1 17:36 GOVERNANCE.md 17:42:40 -rw-rw-r-- 1 jenkins jenkins 734 May 1 17:36 Jenkinsfile 17:42:40 -rw-rw-r-- 1 jenkins jenkins 11348 May 1 17:36 LICENSE 17:42:40 -rw-rw-r-- 1 jenkins jenkins 2751 May 1 17:36 Makefile 17:42:40 -rw-rw-r-- 1 jenkins jenkins 625 May 1 17:36 OWNERS.md 17:42:40 -rw-rw-r-- 1 jenkins jenkins 2566 May 1 17:36 README.md 17:42:40 -rw-rw-r-- 1 jenkins jenkins 5 May 1 17:34 VERSION 17:42:40 drwxrwxr-x 2 jenkins jenkins 4096 May 1 17:36 bin 17:42:40 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:36 cmd 17:42:40 -rw-r--r-- 1 jenkins jenkins 78922 May 1 17:42 coverage.out 17:42:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:36 doc 17:42:40 -rw-rw-r-- 1 jenkins jenkins 3557 May 1 17:36 go.mod 17:42:40 -rw-rw-r-- 1 jenkins jenkins 32947 May 1 17:36 go.sum 17:42:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:36 internal 17:42:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:36 snap 17:42:40 -rw-rw-r-- 1 jenkins jenkins 236 May 1 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:41 + 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=7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 --label arch=arm64 --label version=0.0.0 . 17:42:41 Sending build context to Docker daemon 14.25MB 17:42:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:42:41 Step 2/26 : FROM ${BASE} AS builder 17:42:41 ---> 949bcf7e7d49 17:42:41 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:42:41 ---> Running in 0d4208e9a369 17:42:42 Removing intermediate container 0d4208e9a369 17:42:42 ---> e346ee5b33de 17:42:42 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:42 ---> Running in affdf460118e 17:42:42 Removing intermediate container affdf460118e 17:42:42 ---> d732e50938e1 17:42:42 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:42:42 ---> Running in e3dfa8df9f35 17:42:42 Removing intermediate container e3dfa8df9f35 17:42:42 ---> 8c1719213f50 17:42:42 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:42:42 ---> Running in 7eb0ad5a028d 17:42:43 Removing intermediate container 7eb0ad5a028d 17:42:43 ---> 06b2e99a1243 17:42:43 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:42:43 ---> Running in 098fa5801fca 17:42:43 Removing intermediate container 098fa5801fca 17:42:43 ---> 95c085eca750 17:42:43 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:43 ---> Running in a5d579ca63f7 17:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:42:46 OK: 263 MiB in 53 packages 17:42:46 Removing intermediate container a5d579ca63f7 17:42:46 ---> c79bf4cc3cd7 17:42:46 Step 9/26 : WORKDIR /device-onvif-camera 17:42:47 ---> Running in 8a3df4104be1 17:42:47 Removing intermediate container 8a3df4104be1 17:42:47 ---> a1f41aec389d 17:42:47 Step 10/26 : COPY go.mod vendor* ./ 17:42:47 ---> 37ddda4e4cf1 17:42:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:47 ---> Running in 8b93643a13f2 17:42:50 Removing intermediate container 8b93643a13f2 17:42:50 ---> b781f5a280db 17:42:50 Step 12/26 : COPY . . 17:42:51 ---> 735040a7b254 17:42:51 Step 13/26 : RUN ${MAKE} 17:42:51 ---> Running in 56d7fd5d7ab3 17:42:52 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 17:45:14 Removing intermediate container 56d7fd5d7ab3 17:45:14 ---> ca9c0512ed44 17:45:14 Step 14/26 : FROM alpine:3.17 17:45:14 3.17: Pulling from library/alpine 17:45:14 c41833b44d91: Already exists 17:45:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:45:14 Status: Downloaded newer image for alpine:3.17 17:45:14 ---> 51e60588ff2c 17:45:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:45:14 ---> Running in a8aed92557a6 17:45:14 Removing intermediate container a8aed92557a6 17:45:14 ---> 080238c430c0 17:45:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:45:14 ---> Running in db5a140d41d1 17:45:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:45:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:45:14 (1/1) Installing dumb-init (1.2.5-r2) 17:45:14 Executing busybox-1.35.0-r29.trigger 17:45:14 OK: 8 MiB in 16 packages 17:45:14 Removing intermediate container db5a140d41d1 17:45:14 ---> 436f8b6c2119 17:45:14 Step 17/26 : WORKDIR / 17:45:14 ---> Running in 9d4956c41330 17:45:14 Removing intermediate container 9d4956c41330 17:45:14 ---> d30202b96700 17:45:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:45:14 ---> 6a4a186dfa89 17:45:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:45:14 ---> cb401653bb5e 17:45:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:45:14 ---> 355b9dce1a54 17:45:14 Step 21/26 : EXPOSE 59984 17:45:14 ---> Running in fbc14b85dc10 17:45:14 Removing intermediate container fbc14b85dc10 17:45:14 ---> c73e15ec1f56 17:45:14 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:45:14 ---> Running in 4ebdf78fb7df 17:45:15 Removing intermediate container 4ebdf78fb7df 17:45:15 ---> ec1e65045811 17:45:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:45:15 ---> Running in 8728ee1109a3 17:45:15 Removing intermediate container 8728ee1109a3 17:45:15 ---> bf31072929aa 17:45:15 Step 24/26 : LABEL arch=arm64 17:45:15 ---> Running in c34c3e72990b 17:45:15 Removing intermediate container c34c3e72990b 17:45:15 ---> a11fdef79e7e 17:45:15 Step 25/26 : LABEL git_sha=7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 17:45:15 ---> Running in fd5f2410ab0f 17:45:16 Removing intermediate container fd5f2410ab0f 17:45:16 ---> dfb4288e923e 17:45:16 Step 26/26 : LABEL version=0.0.0 17:45:16 ---> Running in 6b80ea5805c2 17:45:16 Removing intermediate container 6b80ea5805c2 17:45:16 ---> 223800e4e003 17:45:16 [Warning] One or more build-args [ARCH] were not consumed 17:45:16 Successfully built 223800e4e003 17:45:16 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 17:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:17 17:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:17 arm64: Pulling from edgex-lftools-log-publisher 17:45:17 8998bd30e6a1: Pulling fs layer 17:45:17 04944245beec: Pulling fs layer 17:45:17 699f458cf7ca: Pulling fs layer 17:45:17 765212b225bb: Pulling fs layer 17:45:17 f23df028b6ca: Pulling fs layer 17:45:17 765212b225bb: Waiting 17:45:17 d65c8cfc05b1: Pulling fs layer 17:45:17 f23df028b6ca: Waiting 17:45:17 2437ff75d9bd: Pulling fs layer 17:45:17 d65c8cfc05b1: Waiting 17:45:17 2437ff75d9bd: Waiting 17:45:17 04944245beec: Verifying Checksum 17:45:17 04944245beec: Download complete 17:45:17 765212b225bb: Verifying Checksum 17:45:17 765212b225bb: Download complete 17:45:17 f23df028b6ca: Verifying Checksum 17:45:17 f23df028b6ca: Download complete 17:45:17 d65c8cfc05b1: Verifying Checksum 17:45:17 d65c8cfc05b1: Download complete 17:45:17 699f458cf7ca: Verifying Checksum 17:45:17 699f458cf7ca: Download complete 17:45:18 8998bd30e6a1: Verifying Checksum 17:45:18 8998bd30e6a1: Download complete 17:45:20 2437ff75d9bd: Verifying Checksum 17:45:20 2437ff75d9bd: Download complete 17:45:22 8998bd30e6a1: Pull complete 17:45:22 04944245beec: Pull complete 17:45:26 699f458cf7ca: Pull complete 17:45:26 765212b225bb: Pull complete 17:45:27 f23df028b6ca: Pull complete 17:45:27 d65c8cfc05b1: Pull complete 17:45:42 2437ff75d9bd: Pull complete 17:45:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:42 prd-ubuntu20.04-docker-arm64-4c-16g-12208 does not seem to be running inside a container 17:45:42 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:45:44 $ docker top ce34ff4723b68efcef8cf4aaa6e14ce55fc419184926bcc4bdc91f595659cc09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:45 ---> job-cost.sh 17:45:45 lf-activate-venv: SKIPPING 17:45:45 INFO: No Stack... 17:45:45 INFO: Retrieving Pricing Info for: v3-standard-4 17:45:46 INFO: Archiving Costs [Pipeline] sh 17:45:47 + cat /w/workspace/device-onvif-camera/10/archives/cost.csv 17:45:47 + cut -d, -f6 [Pipeline] lock 17:45:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] 17:45:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] did not exist. Created. 17:45:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:45:47 /w/workspace/device-onvif-camera/10@tmp/durable-d4e67c07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:45:47 + echo total: 0.10999999940395355 [Pipeline] stash 17:45:47 Warning: overwriting stash ‘stack-cost’ 17:45:48 Stashed 1 file(s) [Pipeline] } 17:45:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:45:48 $ docker stop --time=1 ce34ff4723b68efcef8cf4aaa6e14ce55fc419184926bcc4bdc91f595659cc09 17:45:49 $ docker rm -f --volumes ce34ff4723b68efcef8cf4aaa6e14ce55fc419184926bcc4bdc91f595659cc09 [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 17:45:49 provisioning config files... 17:45:49 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config9581101354279158047tmp [Pipeline] { [Pipeline] sh 17:45:50 + set +x 17:45:50 + + bash -s -- 17:45:50 curl -s https://codecov.io/bash 17:45:50 17:45:50 _____ _ 17:45:50 / ____| | | 17:45:50 | | ___ __| | ___ ___ _____ __ 17:45:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:45:50 | |___| (_) | (_| | __/ (_| (_) \ V / 17:45:50 \_____\___/ \__,_|\___|\___\___/ \_/ 17:45:50 Bash-1.0.6 17:45:50 17:45:50 17:45:50 ==> git version 2.25.1 found 17:45:50 ==> 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 17:45:50 Release-Date: 2020-01-08 17:45:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:45:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:45:50 ==> Jenkins CI detected. 17:45:50 current dir:  /w/workspace/undry_device-onvif-camera_PR-305 17:45:50 project root: . 17:45:50 --> token set from env 17:45:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:45:50 ==> Running gcov in . (disable via -X gcov) 17:45:50 ==> Python coveragepy not found 17:45:50 ==> Searching for coverage reports in: 17:45:50 + . 17:45:50 -> Found 1 reports 17:45:50 ==> Detecting git/mercurial file structure 17:45:50 ==> Reading reports 17:45:50 + ./coverage.out bytes=78922 17:45:50 ==> Appending adjustments 17:45:50 https://docs.codecov.io/docs/fixing-reports 17:45:50 + Found adjustments 17:45:50 ==> Gzipping contents 17:45:50 12K /tmp/codecov.wyWxb8.gz 17:45:50 ==> Uploading reports 17:45:50 url: https://codecov.io 17:45:50 query: branch=PR-305&commit=7b4103380c8fcdbe459d0b7d4f70ccb5c425e940&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 17:45:50 -> Pinging Codecov 17:45:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-305&commit=7b4103380c8fcdbe459d0b7d4f70ccb5c425e940&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 17:45:50 -> Uploading to 17:45:50 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/F29A59C45E3A92E06B3E522C9905F8EF/7b4103380c8fcdbe459d0b7d4f70ccb5c425e940/6786741f-236c-4211-87d7-1c38a43a6518.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T174550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9f622288f3fab1cd8f1b27ee949a00e8be4cbd479943a2e7ec24555ccfbb08b 17:45:50 % Total % Received % Xferd Average Speed Time Time Time Current 17:45:50 Dload Upload Total Spent Left Speed 17:45:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 42686 --:--:-- --:--:-- --:--:-- 42686 17:45:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 [Pipeline] } 17:45:51 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 17:45:51 + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] 17:45:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 17:45:51 total 16 17:45:51 drwxr-xr-x 3 root root 4096 May 1 17:36 . 17:45:51 drwxrwxr-x 11 jenkins jenkins 4096 May 1 17:36 .. 17:45:51 drwxr-xr-x 2 root root 4096 May 1 17:36 cost 17:45:51 -rw-r--r-- 1 root root 92 May 1 17:36 cost.csv 17:45:51 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives 17:45:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 17:45:51 total 16 17:45:51 drwxr-xr-x 3 jenkins jenkins 4096 May 1 17:36 . 17:45:51 drwxrwxr-x 11 jenkins jenkins 4096 May 1 17:36 .. 17:45:51 drwxr-xr-x 2 jenkins jenkins 4096 May 1 17:36 cost 17:45:51 -rw-r--r-- 1 jenkins jenkins 92 May 1 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:45:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:45:52 ---> package-listing.sh 17:45:52 ++ facter osfamily 17:45:52 ++ tr '[:upper:]' '[:lower:]' 17:45:53 + OS_FAMILY=debian 17:45:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-305 17:45:53 + START_PACKAGES=/tmp/packages_start.txt 17:45:53 + END_PACKAGES=/tmp/packages_end.txt 17:45:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:45:53 + PACKAGES=/tmp/packages_start.txt 17:45:53 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 17:45:53 + PACKAGES=/tmp/packages_end.txt 17:45:53 + case "${OS_FAMILY}" in 17:45:53 + dpkg -l 17:45:53 + grep '^ii' 17:45:53 + '[' -f /tmp/packages_start.txt ']' 17:45:53 + '[' -f /tmp/packages_end.txt ']' 17:45:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:45:53 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 17:45:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ 17:45:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-305/archives/ [Pipeline] echo 17:45:53 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:45:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:54 prd-ubuntu20.04-docker-8c-8g-12207 does not seem to be running inside a container 17:45:54 $ 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-305/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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 17:45:54 $ docker top 98901c67571834ab86b4ae956bb0c82e0bef8085514ab080730b8139d447b71f -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:45:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:45:55 + ls /var/log/sa-host 17:45:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:55 provisioning config files... 17:45:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config18046863286487745360tmp [Pipeline] { [Pipeline] echo 17:45:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:45:55 ---> create-netrc.sh [Pipeline] } 17:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:45:55 ---> python-tools-install.sh [Pipeline] echo 17:45:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:45:56 ---> sudo-logs.sh 17:45:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:45:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:45:56 ---> job-cost.sh 17:45:56 lf-activate-venv: SKIPPING 17:45:56 DEBUG: total: 0.2199999988079071 17:45:56 INFO: Retrieving Stack Cost... 17:45:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:45:57 INFO: Archiving Costs [Pipeline] echo 17:45:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:45:57 ---> logs-deploy.sh 17:45:57 lf-activate-venv: SKIPPING 17:45:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/10 17:45:57 INFO: archiving workspace using pattern(s): 17:45:58 Archives upload complete. 17:45:58 INFO: archiving logs to Nexus