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 9eeb5869fe14238815b3c1e3dc444c79f4372826 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-ssh14340878160955979721.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-ssh15628600041814109605.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-ssh18179111799530470856.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-ssh7461939416561777288.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-ssh18182914290175448370.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12211 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 > 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 Merging remotes/origin/main commit 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 into PR head commit 9eeb5869fe14238815b3c1e3dc444c79f4372826 Merge succeeded, producing 9eeb5869fe14238815b3c1e3dc444c79f4372826 Checking out Revision 9eeb5869fe14238815b3c1e3dc444c79f4372826 (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f 9eeb5869fe14238815b3c1e3dc444c79f4372826 # 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 9eeb5869fe14238815b3c1e3dc444c79f4372826 # timeout=10 Commit message: "docs: more clean up" > git rev-list --no-walk 7b4103380c8fcdbe459d0b7d4f70ccb5c425e940 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:48:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:48:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:48:53 ========================================================= 17:48:53 EdgeX Global Pipelines Version Info 17:48:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:48:54 ------------------- 17:48:54 stable info: 17:48:54 ------------------- 17:48:54 Commited By: Bill Mahoney bill.mahoney@intel.com 17:48:54 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 17:48:54 Message: update stable to v1.0.248 17:48:55 ------------------- 17:48:55 experimental info: 17:48:55 ------------------- 17:48:55 Commited By: **** collab-it+edgex@linuxfoundation.org 17:48:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:48:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9eeb5869fe14238815b3c1e3dc444c79f4372826 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9eeb586 [Pipeline] echo 17:48:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:55 provisioning config files... 17:48:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config16467317891019088775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:55 ---> docker-login.sh 17:48:55 nexus3.edgexfoundry.org:10001 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 nexus3.edgexfoundry.org:10002 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 nexus3.edgexfoundry.org:10003 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 nexus3.edgexfoundry.org:10004 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 docker.io 17:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:56 Configure a credential helper to remove this warning. See 17:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:56 17:48:56 Login Succeeded 17:48:56 ---> docker-login.sh ends [Pipeline] } 17:48:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:48:57 + git rev-list -1 --merges 9eeb5869fe14238815b3c1e3dc444c79f4372826~1..9eeb5869fe14238815b3c1e3dc444c79f4372826 [Pipeline] echo 17:48:57 -----------> git rev-list -1 --merges 9eeb5869fe14238815b3c1e3dc444c79f4372826~1..9eeb5869fe14238815b3c1e3dc444c79f4372826 9eeb5869fe14238815b3c1e3dc444c79f4372826 [false] [Pipeline] sh 17:48:57 + git log --format=format:%s -1 9eeb5869fe14238815b3c1e3dc444c79f4372826 [Pipeline] echo 17:48:57 ========================================================= 17:48:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:48:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:57 + git log --format=format:%s -1 9eeb5869fe14238815b3c1e3dc444c79f4372826 [Pipeline] echo 17:48:57 [semverPrep] GIT_COMMIT: 9eeb5869fe14238815b3c1e3dc444c79f4372826, Commit Message: docs: more clean up [Pipeline] echo 17:48:57 [semverPrep] This is not a build commit. [Pipeline] sh 17:48:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:48:58 + grep -v github /etc/ssh/ssh_known_hosts 17:48:58 + [ -e /tmp/ssh_known_hosts ] 17:48:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:48:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:48:58 + sudo tee -a /etc/ssh/ssh_known_hosts 17:48:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:58 17:48:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:58 0.1.4: Pulling from edgex-devops/py-git-semver 17:48:58 b85a868b505f: Pulling fs layer 17:48:58 e2be974225ed: Pulling fs layer 17:48:58 339a4e72a1f5: Pulling fs layer 17:48:58 988bab9f4d93: Pulling fs layer 17:48:58 1469e6f7b9e6: Pulling fs layer 17:48:58 eaf3925da568: Pulling fs layer 17:48:58 bab4dde63d76: Pulling fs layer 17:48:58 bde34c3a00c8: Pulling fs layer 17:48:58 b352a97aabf1: Pulling fs layer 17:48:58 4872d77fe225: Pulling fs layer 17:48:58 5851b861e8e6: Pulling fs layer 17:48:58 988bab9f4d93: Waiting 17:48:58 bab4dde63d76: Waiting 17:48:58 bde34c3a00c8: Waiting 17:48:58 b352a97aabf1: Waiting 17:48:58 eaf3925da568: Waiting 17:48:58 1469e6f7b9e6: Waiting 17:48:58 4872d77fe225: Waiting 17:48:58 e2be974225ed: Download complete 17:48:58 988bab9f4d93: Verifying Checksum 17:48:58 988bab9f4d93: Download complete 17:48:58 1469e6f7b9e6: Verifying Checksum 17:48:58 1469e6f7b9e6: Download complete 17:48:58 339a4e72a1f5: Verifying Checksum 17:48:58 339a4e72a1f5: Download complete 17:48:58 eaf3925da568: Verifying Checksum 17:48:58 eaf3925da568: Download complete 17:48:59 bde34c3a00c8: Verifying Checksum 17:48:59 bde34c3a00c8: Download complete 17:48:59 b352a97aabf1: Verifying Checksum 17:48:59 b352a97aabf1: Download complete 17:48:59 4872d77fe225: Verifying Checksum 17:48:59 4872d77fe225: Download complete 17:48:59 5851b861e8e6: Verifying Checksum 17:48:59 5851b861e8e6: Download complete 17:48:59 b85a868b505f: Verifying Checksum 17:48:59 b85a868b505f: Download complete 17:48:59 bab4dde63d76: Verifying Checksum 17:48:59 bab4dde63d76: Download complete 17:49:00 b85a868b505f: Pull complete 17:49:00 e2be974225ed: Pull complete 17:49:01 339a4e72a1f5: Pull complete 17:49:01 988bab9f4d93: Pull complete 17:49:01 1469e6f7b9e6: Pull complete 17:49:01 eaf3925da568: Pull complete 17:49:03 bab4dde63d76: Pull complete 17:49:03 bde34c3a00c8: Pull complete 17:49:03 b352a97aabf1: Pull complete 17:49:03 4872d77fe225: Pull complete 17:49:03 5851b861e8e6: Pull complete 17:49:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:49:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:03 prd-ubuntu20.04-docker-8c-8g-12211 does not seem to be running inside a container 17:49:03 $ 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:49:05 $ docker top 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 -eo pid,comm 17:49:05 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:49:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:05 [ssh-agent] Looking for ssh-agent implementation... 17:49:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:05 $ docker exec 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 ssh-agent 17:49:05 SSH_AUTH_SOCK=/tmp/ssh-rGynPHVqEG1M/agent.32 17:49:05 SSH_AGENT_PID=38 17:49:05 Running ssh-add (command line suppressed) 17:49:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_13014143712494300941.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_13014143712494300941.key) 17:49:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:06 + git tag --points-at HEAD [Pipeline] } 17:49:06 $ docker exec --env ******** --env ******** 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 ssh-agent -k 17:49:06 unset SSH_AUTH_SOCK; 17:49:06 unset SSH_AGENT_PID; 17:49:06 echo Agent pid 38 killed; 17:49:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:06 [ssh-agent] Looking for ssh-agent implementation... 17:49:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:06 $ docker exec 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 ssh-agent 17:49:06 SSH_AUTH_SOCK=/tmp/ssh-bb9rNH5igz6z/agent.70 17:49:06 SSH_AGENT_PID=76 17:49:06 Running ssh-add (command line suppressed) 17:49:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_14042197495129773257.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_14042197495129773257.key) 17:49:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:07 + git semver init 17:49:07 2023-05-01 17:49:07,262 [run_init] DEBUG init version:0.0.0 force:False 17:49:07 2023-05-01 17:49:07,263 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver 17:49:07 2023-05-01 17:49:07,263 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver 17:49:07 2023-05-01 17:49:07,263 [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:49:08 2023-05-01 17:49:08,145 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude 17:49:08 2023-05-01 17:49:08,146 [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:49:08 2023-05-01 17:49:08,146 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 17:49:08 2023-05-01 17:49:08,151 [execute] INFO git cat-file --batch-check 17:49:08 2023-05-01 17:49:08,151 [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:49:08 2023-05-01 17:49:08,158 [execute] INFO git cat-file --batch 17:49:08 2023-05-01 17:49:08,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 17:49:08 2023-05-01 17:49:08,163 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 17:49:08 0.0.0 [Pipeline] } 17:49:08 $ docker exec --env ******** --env ******** 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 ssh-agent -k 17:49:08 unset SSH_AUTH_SOCK; 17:49:08 unset SSH_AGENT_PID; 17:49:08 echo Agent pid 76 killed; 17:49:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:08 + git semver [Pipeline] } 17:49:08 $ docker stop --time=1 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 17:49:10 $ docker rm -f --volumes 140586c120914c22df6b032e49e6044175be91674a92bb12342ca93fdac53ab7 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:10 Stashed 1 file(s) [Pipeline] echo 17:49:10 [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:49:11 provisioning config files... 17:49:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config7277256391496397211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:11 ---> docker-login.sh 17:49:11 nexus3.edgexfoundry.org:10001 17:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 nexus3.edgexfoundry.org:10002 17:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 nexus3.edgexfoundry.org:10003 17:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 nexus3.edgexfoundry.org:10004 17:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 docker.io 17:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:11 Configure a credential helper to remove this warning. See 17:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:11 17:49:11 Login Succeeded 17:49:11 ---> docker-login.sh ends [Pipeline] } 17:49:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:49:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:11 ========================================================= 17:49:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:49:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:12 + 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:49:12 Sending build context to Docker daemon 21.47MB 17:49:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:49:12 Step 2/13 : FROM ${BASE} AS builder 17:49:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:49:12 f56be85fc22e: Pulling fs layer 17:49:12 85791d961cd3: Pulling fs layer 17:49:12 d694b5ae8c79: Pulling fs layer 17:49:12 9f32a84ed3da: Pulling fs layer 17:49:12 4d19c01a9841: Pulling fs layer 17:49:12 9325e15d5711: Pulling fs layer 17:49:12 556b6ee489ea: Pulling fs layer 17:49:12 c5a4b2cf53e6: Pulling fs layer 17:49:12 9f32a84ed3da: Waiting 17:49:12 c5a4b2cf53e6: Waiting 17:49:12 4d19c01a9841: Waiting 17:49:12 556b6ee489ea: Waiting 17:49:12 9325e15d5711: Waiting 17:49:12 85791d961cd3: Download complete 17:49:12 9f32a84ed3da: Verifying Checksum 17:49:12 9f32a84ed3da: Download complete 17:49:12 4d19c01a9841: Verifying Checksum 17:49:12 4d19c01a9841: Download complete 17:49:12 f56be85fc22e: Verifying Checksum 17:49:12 f56be85fc22e: Download complete 17:49:12 9325e15d5711: Verifying Checksum 17:49:12 9325e15d5711: Download complete 17:49:12 f56be85fc22e: Pull complete 17:49:12 85791d961cd3: Pull complete 17:49:13 c5a4b2cf53e6: Verifying Checksum 17:49:13 c5a4b2cf53e6: Download complete 17:49:13 d694b5ae8c79: Verifying Checksum 17:49:13 d694b5ae8c79: Download complete 17:49:13 556b6ee489ea: Verifying Checksum 17:49:13 556b6ee489ea: Download complete 17:49:16 d694b5ae8c79: Pull complete 17:49:16 9f32a84ed3da: Pull complete 17:49:17 4d19c01a9841: Pull complete 17:49:17 9325e15d5711: Pull complete 17:49:19 556b6ee489ea: Pull complete 17:49:20 c5a4b2cf53e6: Pull complete 17:49:20 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:49:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:49:20 ---> c4be618373d6 17:49:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:49:23 ---> Running in 89b946ccb404 17:49:23 Removing intermediate container 89b946ccb404 17:49:23 ---> fcc8b0c4db13 17:49:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:49:23 ---> Running in 7bd219a0cf41 17:49:23 Removing intermediate container 7bd219a0cf41 17:49:23 ---> 2d9ce1e93067 17:49:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:49:23 ---> Running in 775360391eb6 17:49:23 Removing intermediate container 775360391eb6 17:49:23 ---> 0555bc26dd1a 17:49:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:49:23 ---> Running in ae00437cbfe1 17:49:23 Removing intermediate container ae00437cbfe1 17:49:23 ---> 57f15d625df2 17:49:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:49:23 ---> Running in 7953c50455cd 17:49:23 Removing intermediate container 7953c50455cd 17:49:23 ---> f3137768dede 17:49:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:23 ---> Running in e27bd4e48e74 17:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:49:24 OK: 265 MiB in 53 packages 17:49:24 Removing intermediate container e27bd4e48e74 17:49:24 ---> 42fc512336b9 17:49:24 Step 9/13 : WORKDIR /device-onvif-camera 17:49:24 ---> Running in 39e88f64e9b1 17:49:24 Removing intermediate container 39e88f64e9b1 17:49:24 ---> 1600151a6107 17:49:24 Step 10/13 : COPY go.mod vendor* ./ 17:49:24 ---> ac6210dd4abc 17:49:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:24 ---> Running in fafc0da5b4e9 17:49:25 Still waiting to schedule task 17:49:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:49:56 Removing intermediate container fafc0da5b4e9 17:49:56 ---> 6eb58c31dce6 17:49:56 Step 12/13 : COPY . . 17:49:56 ---> 855f300db873 17:49:56 Step 13/13 : RUN ${MAKE} 17:49:56 ---> Running in 20d42be37a8d 17:49:56 noop 17:49:56 Removing intermediate container 20d42be37a8d 17:49:56 ---> 7caf27f18d82 17:49:56 Successfully built 7caf27f18d82 17:49:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:56 + docker inspect -f . ci-base-image-x86_64 17:49:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:57 prd-ubuntu20.04-docker-8c-8g-12211 does not seem to be running inside a container 17:49:57 $ 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:49:57 $ docker top 0be232069e18781c03ccf60231df64fd81cae30d4fbdf7a30298849de372c096 -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:57 + go version 17:49:57 go version go1.20.2 linux/amd64 [Pipeline] } 17:49:57 $ docker stop --time=1 0be232069e18781c03ccf60231df64fd81cae30d4fbdf7a30298849de372c096 17:49:59 $ docker rm -f --volumes 0be232069e18781c03ccf60231df64fd81cae30d4fbdf7a30298849de372c096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:59 + docker inspect -f . ci-base-image-x86_64 17:49:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:59 prd-ubuntu20.04-docker-8c-8g-12211 does not seem to be running inside a container 17:49:59 $ 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:49:59 $ docker top 7c8b1d05c694eabecd3b00f640b813de6f98cf3b97e93179cf1214c527145a24 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:00 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh 17:50:00 + make test 17:50:00 go test ./... -coverprofile=coverage.out ./... 17:50:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:50:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:50:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:50:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.6% of statements 17:50:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 8.124s coverage: 86.5% of statements 17:50:33 go vet ./... 17:50:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:50:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:50:36 ./bin/test-attribution-txt.sh [Pipeline] echo 17:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:50:36 $ docker stop --time=1 7c8b1d05c694eabecd3b00f640b813de6f98cf3b97e93179cf1214c527145a24 17:50:38 $ docker rm -f --volumes 7c8b1d05c694eabecd3b00f640b813de6f98cf3b97e93179cf1214c527145a24 [Pipeline] // withDockerContainer [Pipeline] sh 17:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:40 + ls -al . 17:50:40 total 232 17:50:40 drwxrwxr-x 10 jenkins jenkins 4096 May 1 17:50 . 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:48 .. 17:50:40 drwxrwxr-x 8 jenkins jenkins 4096 May 1 17:49 .git 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:48 .github 17:50:40 -rw-rw-r-- 1 jenkins jenkins 496 May 1 17:48 .gitignore 17:50:40 -rw-rw-r-- 1 jenkins jenkins 42 May 1 17:48 .golangci.yml 17:50:40 drwxr-xr-x 3 jenkins jenkins 4096 May 1 17:49 .semver 17:50:40 -rw-rw-r-- 1 jenkins jenkins 9861 May 1 17:48 Attribution.txt 17:50:40 -rw-rw-r-- 1 jenkins jenkins 6312 May 1 17:48 CHANGELOG.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 1574 May 1 17:48 Dockerfile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 677 May 1 17:48 GOVERNANCE.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 734 May 1 17:48 Jenkinsfile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 11348 May 1 17:48 LICENSE 17:50:40 -rw-rw-r-- 1 jenkins jenkins 2751 May 1 17:48 Makefile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 625 May 1 17:48 OWNERS.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 2591 May 1 17:48 README.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 5 May 1 17:49 VERSION 17:50:40 drwxrwxr-x 2 jenkins jenkins 4096 May 1 17:48 bin 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:48 cmd 17:50:40 -rw-r--r-- 1 jenkins jenkins 78922 May 1 17:50 coverage.out 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:48 doc 17:50:40 -rw-rw-r-- 1 jenkins jenkins 3557 May 1 17:48 go.mod 17:50:40 -rw-rw-r-- 1 jenkins jenkins 32947 May 1 17:48 go.sum 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:48 internal 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:48 snap 17:50:40 -rw-rw-r-- 1 jenkins jenkins 236 May 1 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:40 + 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=9eeb5869fe14238815b3c1e3dc444c79f4372826 --label arch=amd64 --label version=0.0.0 . 17:50:40 Sending build context to Docker daemon 21.55MB 17:50:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:50:40 Step 2/26 : FROM ${BASE} AS builder 17:50:40 ---> 7caf27f18d82 17:50:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:50:40 ---> Running in 94b24301ea69 17:50:40 Removing intermediate container 94b24301ea69 17:50:40 ---> 697e8475e338 17:50:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:50:40 ---> Running in 608fa98dcb70 17:50:40 Removing intermediate container 608fa98dcb70 17:50:40 ---> 81c5342ed2f9 17:50:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:50:40 ---> Running in 52b71e1faaba 17:50:40 Removing intermediate container 52b71e1faaba 17:50:40 ---> 13f4d21acb4e 17:50:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:50:40 ---> Running in dc9582c5a386 17:50:40 Removing intermediate container dc9582c5a386 17:50:40 ---> dc4bcaf28e13 17:50:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:50:41 ---> Running in 6e33724daec7 17:50:41 Removing intermediate container 6e33724daec7 17:50:41 ---> 8ec878f237f7 17:50:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:41 ---> Running in 249e7b5f1b91 17:50:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:50:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:50:41 OK: 265 MiB in 53 packages 17:50:42 Removing intermediate container 249e7b5f1b91 17:50:42 ---> 99b88403851a 17:50:42 Step 9/26 : WORKDIR /device-onvif-camera 17:50:42 ---> Running in 870cce53481a 17:50:42 Removing intermediate container 870cce53481a 17:50:42 ---> 39c3cbf9fb05 17:50:42 Step 10/26 : COPY go.mod vendor* ./ 17:50:42 ---> 1b2eafeee846 17:50:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:42 ---> Running in c6f8e06e5b8b 17:50:43 Removing intermediate container c6f8e06e5b8b 17:50:43 ---> ff58d765d454 17:50:43 Step 12/26 : COPY . . 17:50:43 ---> ea1949168a4f 17:50:43 Step 13/26 : RUN ${MAKE} 17:50:43 ---> Running in 6a5c7f4731d2 17:50:44 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:51:06 Removing intermediate container 6a5c7f4731d2 17:51:06 ---> 2e400bbf1ac5 17:51:06 Step 14/26 : FROM alpine:3.17 17:51:06 3.17: Pulling from library/alpine 17:51:06 f56be85fc22e: Already exists 17:51:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:51:06 Status: Downloaded newer image for alpine:3.17 17:51:06 ---> 9ed4aefc74f6 17:51:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:51:06 ---> Running in 54c430b17832 17:51:06 Removing intermediate container 54c430b17832 17:51:06 ---> 1b7ee08cfe0d 17:51:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:51:06 ---> Running in 7cbe010b731f 17:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:51:06 (1/1) Installing dumb-init (1.2.5-r2) 17:51:06 Executing busybox-1.35.0-r29.trigger 17:51:06 OK: 7 MiB in 16 packages 17:51:06 Removing intermediate container 7cbe010b731f 17:51:06 ---> 1c36bfc3baa7 17:51:06 Step 17/26 : WORKDIR / 17:51:06 ---> Running in dbb28547acd8 17:51:06 Removing intermediate container dbb28547acd8 17:51:06 ---> 44d7f4b17cb6 17:51:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:51:06 ---> 9b41c1ebdfba 17:51:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:51:06 ---> 76941ee77e56 17:51:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:51:06 ---> d902fabf9cfb 17:51:06 Step 21/26 : EXPOSE 59984 17:51:06 ---> Running in cf6737c2253c 17:51:06 Removing intermediate container cf6737c2253c 17:51:06 ---> 2170eb7bbbb3 17:51:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:51:06 ---> Running in 0e3e727b2ccc 17:51:06 Removing intermediate container 0e3e727b2ccc 17:51:06 ---> 10956d9baad1 17:51:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:51:06 ---> Running in 6c925badefad 17:51:06 Removing intermediate container 6c925badefad 17:51:06 ---> e7c263577705 17:51:06 Step 24/26 : LABEL arch=amd64 17:51:06 ---> Running in b564e4a82bea 17:51:06 Removing intermediate container b564e4a82bea 17:51:06 ---> 71751d019a06 17:51:06 Step 25/26 : LABEL git_sha=9eeb5869fe14238815b3c1e3dc444c79f4372826 17:51:06 ---> Running in 67e9825d06f6 17:51:06 Removing intermediate container 67e9825d06f6 17:51:06 ---> 00b9df0d0ecb 17:51:06 Step 26/26 : LABEL version=0.0.0 17:51:06 ---> Running in c05b46b8eaba 17:51:06 Removing intermediate container c05b46b8eaba 17:51:06 ---> b80b92207c78 17:51:06 [Warning] One or more build-args [ARCH] were not consumed 17:51:06 Successfully built b80b92207c78 17:51:06 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:51:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:06 17:51:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:07 latest: Pulling from edgex-lftools-log-publisher 17:51:07 5eb5b503b376: Pulling fs layer 17:51:07 5c69ac0246d0: Pulling fs layer 17:51:07 ec43610c2a17: Pulling fs layer 17:51:07 3a2ae6a8a46f: Pulling fs layer 17:51:07 33b1e0a273af: Pulling fs layer 17:51:07 5d3b04190fa2: Pulling fs layer 17:51:07 2f39f015ded8: Pulling fs layer 17:51:07 3a2ae6a8a46f: Waiting 17:51:07 33b1e0a273af: Waiting 17:51:07 5d3b04190fa2: Waiting 17:51:07 2f39f015ded8: Waiting 17:51:07 3a2ae6a8a46f: Verifying Checksum 17:51:07 33b1e0a273af: Verifying Checksum 17:51:07 33b1e0a273af: Download complete 17:51:07 5d3b04190fa2: Verifying Checksum 17:51:07 5d3b04190fa2: Download complete 17:51:07 ec43610c2a17: Verifying Checksum 17:51:07 ec43610c2a17: Download complete 17:51:07 5eb5b503b376: Verifying Checksum 17:51:07 5eb5b503b376: Download complete 17:51:08 2f39f015ded8: Download complete 17:51:08 5eb5b503b376: Pull complete 17:51:08 5c69ac0246d0: Pull complete 17:51:09 ec43610c2a17: Pull complete 17:51:09 3a2ae6a8a46f: Pull complete 17:51:09 33b1e0a273af: Pull complete 17:51:09 5d3b04190fa2: Pull complete 17:51:15 2f39f015ded8: Pull complete 17:51:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:51:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:15 prd-ubuntu20.04-docker-8c-8g-12211 does not seem to be running inside a container 17:51:15 $ 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:51:17 $ docker top 13610e55b2473b690ce9b54339cd66adc6e7b9aabe1a88321f582c41a22c20a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:17 ---> job-cost.sh 17:51:17 lf-activate-venv: SKIPPING 17:51:17 INFO: No Stack... 17:51:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:51:18 INFO: Archiving Costs [Pipeline] sh 17:51:18 + + cut -d, -f6 17:51:18 cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv [Pipeline] lock 17:51:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] 17:51:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] did not exist. Created. 17:51:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:51:18 + echo total: 0.2199999988079071 [Pipeline] stash 17:51:18 Stashed 1 file(s) [Pipeline] } 17:51:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] [Pipeline] // lock [Pipeline] } 17:51:18 $ docker stop --time=1 13610e55b2473b690ce9b54339cd66adc6e7b9aabe1a88321f582c41a22c20a2 17:51:20 $ docker rm -f --volumes 13610e55b2473b690ce9b54339cd66adc6e7b9aabe1a88321f582c41a22c20a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:52:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12212 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] ws 17:52:35 Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout 17:52:35 The recommended git tool is: git 17:52:41 using credential edgex-jenkins-ssh 17:52:41 Cloning the remote Git repository 17:52:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:52:41 > git init /w/workspace/device-onvif-camera/11 # timeout=10 17:52:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:52:41 > git --version # timeout=10 17:52:41 > git --version # 'git version 2.25.1' 17:52:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:52:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:46 Merging remotes/origin/main commit 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 into PR head commit 9eeb5869fe14238815b3c1e3dc444c79f4372826 17:52:47 Merge succeeded, producing 9eeb5869fe14238815b3c1e3dc444c79f4372826 17:52:47 Checking out Revision 9eeb5869fe14238815b3c1e3dc444c79f4372826 (PR-305) 17:52:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:52:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:52:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:46 > 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:52:46 > git config core.sparsecheckout # timeout=10 17:52:46 > git checkout -f 9eeb5869fe14238815b3c1e3dc444c79f4372826 # timeout=10 17:52:47 > git remote # timeout=10 17:52:47 > git config --get remote.origin.url # timeout=10 17:52:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:47 > git merge 9a0357f8d9b433a12ba9d14d0949e92e6265fbd6 # timeout=10 17:52:47 > git rev-parse HEAD^{commit} # timeout=10 17:52:47 > git config core.sparsecheckout # timeout=10 17:52:47 > git checkout -f 9eeb5869fe14238815b3c1e3dc444c79f4372826 # timeout=10 17:52:50 Commit message: "docs: more clean up" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:52:51 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:51 Dload Upload Total Spent Left Speed 17:52:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 17:52:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:52:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 17:52:52 sudo tee /etc/docker/daemon.new 17:52:52 { 17:52:52 "registry-mirrors": [ 17:52:52 "https://nexus3.edgexfoundry.org:10001" 17:52:52 ], 17:52:52 "bip": "10.250.0.254/24", 17:52:52 "hosts": [ 17:52:52 "tcp://0.0.0.0:5555", 17:52:52 "unix:///var/run/docker.sock" 17:52:52 ], 17:52:52 "mtu": 1458, 17:52:52 "selinux-enabled": true, 17:52:52 "seccomp-profile": "/etc/docker/seccomp.json" 17:52:52 } [Pipeline] sh 17:52:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:52:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:11 provisioning config files... 17:53:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config7529941059743366933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:12 ---> docker-login.sh 17:53:12 nexus3.edgexfoundry.org:10001 17:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:13 Configure a credential helper to remove this warning. See 17:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:13 17:53:13 Login Succeeded 17:53:13 nexus3.edgexfoundry.org:10002 17:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:13 Configure a credential helper to remove this warning. See 17:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:13 17:53:13 Login Succeeded 17:53:13 nexus3.edgexfoundry.org:10003 17:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:13 Configure a credential helper to remove this warning. See 17:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:13 17:53:13 Login Succeeded 17:53:13 nexus3.edgexfoundry.org:10004 17:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:14 Configure a credential helper to remove this warning. See 17:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:14 17:53:14 Login Succeeded 17:53:14 docker.io 17:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:14 Configure a credential helper to remove this warning. See 17:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:14 17:53:14 Login Succeeded 17:53:14 ---> docker-login.sh ends [Pipeline] } 17:53:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:14 ========================================================= 17:53:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:53:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:15 + 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:53:15 Sending build context to Docker daemon 14.17MB 17:53:15 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:53:15 Step 2/13 : FROM ${BASE} AS builder 17:53:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:53:15 c41833b44d91: Pulling fs layer 17:53:15 ed15518f5707: Pulling fs layer 17:53:15 feae8fd75edb: Pulling fs layer 17:53:15 242c74f7c9fa: Pulling fs layer 17:53:15 3cdef696dda3: Pulling fs layer 17:53:15 2ced38df9373: Pulling fs layer 17:53:15 58f1dce35555: Pulling fs layer 17:53:15 242c74f7c9fa: Waiting 17:53:15 3cdef696dda3: Waiting 17:53:15 2ced38df9373: Waiting 17:53:15 58f1dce35555: Waiting 17:53:15 ed15518f5707: Download complete 17:53:15 242c74f7c9fa: Verifying Checksum 17:53:15 242c74f7c9fa: Download complete 17:53:15 3cdef696dda3: Verifying Checksum 17:53:15 3cdef696dda3: Download complete 17:53:16 c41833b44d91: Verifying Checksum 17:53:17 c41833b44d91: Pull complete 17:53:17 58f1dce35555: Verifying Checksum 17:53:17 58f1dce35555: Download complete 17:53:17 ed15518f5707: Pull complete 17:53:18 feae8fd75edb: Verifying Checksum 17:53:18 2ced38df9373: Verifying Checksum 17:53:18 2ced38df9373: Download complete 17:53:28 feae8fd75edb: Pull complete 17:53:28 242c74f7c9fa: Pull complete 17:53:28 3cdef696dda3: Pull complete 17:53:34 2ced38df9373: Pull complete 17:53:38 58f1dce35555: Pull complete 17:53:38 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:53:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:53:38 ---> fadd8f120f05 17:53:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:53:39 ---> Running in 068361d0b081 17:53:39 Removing intermediate container 068361d0b081 17:53:39 ---> ecfbaa4eeaf4 17:53:39 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:39 ---> Running in ce3382e74aee 17:53:40 Removing intermediate container ce3382e74aee 17:53:40 ---> 395437503b32 17:53:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:53:40 ---> Running in 2818462bd7ca 17:53:40 Removing intermediate container 2818462bd7ca 17:53:40 ---> b7eec6e516eb 17:53:40 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:53:40 ---> Running in dad3eb4e40be 17:53:41 Removing intermediate container dad3eb4e40be 17:53:41 ---> 4cbe9cd5301b 17:53:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:53:41 ---> Running in 4310c464a5d8 17:53:41 Removing intermediate container 4310c464a5d8 17:53:41 ---> 199eed6e643a 17:53:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:41 ---> Running in 8302a66ab6c6 17:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:53:43 OK: 263 MiB in 53 packages 17:53:44 Removing intermediate container 8302a66ab6c6 17:53:44 ---> 355ebe0d4b99 17:53:44 Step 9/13 : WORKDIR /device-onvif-camera 17:53:44 ---> Running in fac3acfbe130 17:53:45 Removing intermediate container fac3acfbe130 17:53:45 ---> 7fce0ea5dcd6 17:53:45 Step 10/13 : COPY go.mod vendor* ./ 17:53:45 ---> f5a30fda0e47 17:53:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:45 ---> Running in cc2dd396e5e7 17:54:53 Removing intermediate container cc2dd396e5e7 17:54:53 ---> 2e1ac1164639 17:54:53 Step 12/13 : COPY . . 17:54:53 ---> af27a9fc308d 17:54:53 Step 13/13 : RUN ${MAKE} 17:54:53 ---> Running in 921f1062b685 17:54:53 noop 17:54:53 Removing intermediate container 921f1062b685 17:54:53 ---> 26b7230b5ebc 17:54:53 Successfully built 26b7230b5ebc 17:54:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:54 + docker inspect -f . ci-base-image-arm64 17:54:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:54 prd-ubuntu20.04-docker-arm64-4c-16g-12212 does not seem to be running inside a container 17:54:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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:54:55 $ docker top a0e7a79853c6eee495601d162408ed53d7d91a291927e13a90bf007b26dfbf64 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:56 + go version 17:54:56 go version go1.20.2 linux/arm64 [Pipeline] } 17:54:56 $ docker stop --time=1 a0e7a79853c6eee495601d162408ed53d7d91a291927e13a90bf007b26dfbf64 17:54:58 $ docker rm -f --volumes a0e7a79853c6eee495601d162408ed53d7d91a291927e13a90bf007b26dfbf64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:58 + docker inspect -f . ci-base-image-arm64 17:54:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:59 prd-ubuntu20.04-docker-arm64-4c-16g-12212 does not seem to be running inside a container 17:54: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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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:55:00 $ docker top 76bceb4f4ab8f8f65caa8f9791f7e6d36aeb08270a4aaae4611d5bc8ef16a074 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/11 [Pipeline] fileExists [Pipeline] sh 17:55:01 + make test 17:55:01 go test ./... -coverprofile=coverage.out ./... 17:55:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:57:25 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:57:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:57:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.178s coverage: 31.6% of statements 17:57:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.605s coverage: 86.5% of statements 17:57:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:57:50 go vet ./... 17:58:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:58:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:58:17 ./bin/test-attribution-txt.sh [Pipeline] echo 17:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:58:17 $ docker stop --time=1 76bceb4f4ab8f8f65caa8f9791f7e6d36aeb08270a4aaae4611d5bc8ef16a074 17:58:19 $ docker rm -f --volumes 76bceb4f4ab8f8f65caa8f9791f7e6d36aeb08270a4aaae4611d5bc8ef16a074 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:58:21 Warning: overwriting stash ‘coverage-report’ 17:58:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:58:22 + ls -al . 17:58:22 total 228 17:58:22 drwxrwxr-x 9 jenkins jenkins 4096 May 1 17:55 . 17:58:22 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:52 .. 17:58:22 drwxrwxr-x 8 jenkins jenkins 4096 May 1 17:52 .git 17:58:22 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:52 .github 17:58:22 -rw-rw-r-- 1 jenkins jenkins 496 May 1 17:52 .gitignore 17:58:22 -rw-rw-r-- 1 jenkins jenkins 42 May 1 17:52 .golangci.yml 17:58:22 -rw-rw-r-- 1 jenkins jenkins 9861 May 1 17:52 Attribution.txt 17:58:22 -rw-rw-r-- 1 jenkins jenkins 6312 May 1 17:52 CHANGELOG.md 17:58:22 -rw-rw-r-- 1 jenkins jenkins 1574 May 1 17:52 Dockerfile 17:58:22 -rw-rw-r-- 1 jenkins jenkins 677 May 1 17:52 GOVERNANCE.md 17:58:22 -rw-rw-r-- 1 jenkins jenkins 734 May 1 17:52 Jenkinsfile 17:58:22 -rw-rw-r-- 1 jenkins jenkins 11348 May 1 17:52 LICENSE 17:58:22 -rw-rw-r-- 1 jenkins jenkins 2751 May 1 17:52 Makefile 17:58:22 -rw-rw-r-- 1 jenkins jenkins 625 May 1 17:52 OWNERS.md 17:58:22 -rw-rw-r-- 1 jenkins jenkins 2591 May 1 17:52 README.md 17:58:22 -rw-rw-r-- 1 jenkins jenkins 5 May 1 17:49 VERSION 17:58:22 drwxrwxr-x 2 jenkins jenkins 4096 May 1 17:52 bin 17:58:22 drwxrwxr-x 3 jenkins jenkins 4096 May 1 17:52 cmd 17:58:22 -rw-r--r-- 1 jenkins jenkins 78922 May 1 17:57 coverage.out 17:58:22 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:52 doc 17:58:22 -rw-rw-r-- 1 jenkins jenkins 3557 May 1 17:52 go.mod 17:58:22 -rw-rw-r-- 1 jenkins jenkins 32947 May 1 17:52 go.sum 17:58:22 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:52 internal 17:58:22 drwxrwxr-x 4 jenkins jenkins 4096 May 1 17:52 snap 17:58:22 -rw-rw-r-- 1 jenkins jenkins 236 May 1 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:22 + 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=9eeb5869fe14238815b3c1e3dc444c79f4372826 --label arch=arm64 --label version=0.0.0 . 17:58:23 Sending build context to Docker daemon 14.25MB 17:58:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:58:23 Step 2/26 : FROM ${BASE} AS builder 17:58:23 ---> 26b7230b5ebc 17:58:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:58:23 ---> Running in f2581e999391 17:58:23 Removing intermediate container f2581e999391 17:58:23 ---> 72a0cdc7354f 17:58:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:23 ---> Running in 4ea7102f0ad9 17:58:24 Removing intermediate container 4ea7102f0ad9 17:58:24 ---> 073f0744f8c6 17:58:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:58:24 ---> Running in 7df2c7b24d96 17:58:24 Removing intermediate container 7df2c7b24d96 17:58:24 ---> 708b83a18fee 17:58:24 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:58:24 ---> Running in 402f8ccb56ff 17:58:24 Removing intermediate container 402f8ccb56ff 17:58:24 ---> 7413c3f863a2 17:58:24 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:58:25 ---> Running in 8ee4d2891c1c 17:58:25 Removing intermediate container 8ee4d2891c1c 17:58:25 ---> 2021439db3d4 17:58:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:25 ---> Running in a9f529e086a6 17:58:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:58:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:58:27 OK: 263 MiB in 53 packages 17:58:29 Removing intermediate container a9f529e086a6 17:58:29 ---> 35811adf1161 17:58:29 Step 9/26 : WORKDIR /device-onvif-camera 17:58:29 ---> Running in 25f8332f1189 17:58:29 Removing intermediate container 25f8332f1189 17:58:29 ---> b47a38750fdf 17:58:29 Step 10/26 : COPY go.mod vendor* ./ 17:58:29 ---> bed813423ec2 17:58:29 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:30 ---> Running in a4df5a6f9c14 17:58:32 Removing intermediate container a4df5a6f9c14 17:58:32 ---> 027142a2f51d 17:58:32 Step 12/26 : COPY . . 17:58:34 ---> 2fec88a18906 17:58:34 Step 13/26 : RUN ${MAKE} 17:58:34 ---> Running in 460d245c46d3 17:58:35 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 18:00:58 Removing intermediate container 460d245c46d3 18:00:58 ---> b713be8a6b6b 18:00:58 Step 14/26 : FROM alpine:3.17 18:00:58 3.17: Pulling from library/alpine 18:00:58 c41833b44d91: Already exists 18:00:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:00:58 Status: Downloaded newer image for alpine:3.17 18:00:58 ---> 51e60588ff2c 18:00:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:00:58 ---> Running in 9fcca2161995 18:00:58 Removing intermediate container 9fcca2161995 18:00:58 ---> 97c7b1a9df9f 18:00:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:00:58 ---> Running in db3a2f538199 18:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:00:58 (1/1) Installing dumb-init (1.2.5-r2) 18:00:58 Executing busybox-1.35.0-r29.trigger 18:00:58 OK: 8 MiB in 16 packages 18:00:58 Removing intermediate container db3a2f538199 18:00:58 ---> dd5d03fa00a4 18:00:58 Step 17/26 : WORKDIR / 18:00:58 ---> Running in 8eba7ea62472 18:00:58 Removing intermediate container 8eba7ea62472 18:00:58 ---> 0ef7b09eef12 18:00:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:00:58 ---> 1255d52488af 18:00:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:00:58 ---> 1419b18292c2 18:00:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:00:58 ---> e849a3364fac 18:00:58 Step 21/26 : EXPOSE 59984 18:00:58 ---> Running in 1563dd240423 18:00:58 Removing intermediate container 1563dd240423 18:00:58 ---> f66af8fca479 18:00:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:00:58 ---> Running in cc265a3f62ba 18:00:58 Removing intermediate container cc265a3f62ba 18:00:58 ---> b5c2efa78785 18:00:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:00:58 ---> Running in 58a675859c4f 18:00:58 Removing intermediate container 58a675859c4f 18:00:58 ---> 30eb0dea010d 18:00:58 Step 24/26 : LABEL arch=arm64 18:00:59 ---> Running in 11e9f254dc83 18:00:59 Removing intermediate container 11e9f254dc83 18:00:59 ---> 2d2d8aa02227 18:00:59 Step 25/26 : LABEL git_sha=9eeb5869fe14238815b3c1e3dc444c79f4372826 18:00:59 ---> Running in 7c008bba01b2 18:00:59 Removing intermediate container 7c008bba01b2 18:00:59 ---> 37c768028864 18:00:59 Step 26/26 : LABEL version=0.0.0 18:00:59 ---> Running in 9be6bb28eb85 18:00:59 Removing intermediate container 9be6bb28eb85 18:00:59 ---> f01d85174cdc 18:00:59 [Warning] One or more build-args [ARCH] were not consumed 18:01:00 Successfully built f01d85174cdc 18:01:00 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 18:01:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:00 18:01:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:01 arm64: Pulling from edgex-lftools-log-publisher 18:01:01 8998bd30e6a1: Pulling fs layer 18:01:01 04944245beec: Pulling fs layer 18:01:01 699f458cf7ca: Pulling fs layer 18:01:01 765212b225bb: Pulling fs layer 18:01:01 f23df028b6ca: Pulling fs layer 18:01:01 d65c8cfc05b1: Pulling fs layer 18:01:01 2437ff75d9bd: Pulling fs layer 18:01:01 765212b225bb: Waiting 18:01:01 f23df028b6ca: Waiting 18:01:01 d65c8cfc05b1: Waiting 18:01:01 2437ff75d9bd: Waiting 18:01:01 04944245beec: Verifying Checksum 18:01:01 04944245beec: Download complete 18:01:01 765212b225bb: Verifying Checksum 18:01:01 765212b225bb: Download complete 18:01:01 f23df028b6ca: Verifying Checksum 18:01:01 f23df028b6ca: Download complete 18:01:01 d65c8cfc05b1: Verifying Checksum 18:01:01 d65c8cfc05b1: Download complete 18:01:01 699f458cf7ca: Verifying Checksum 18:01:01 699f458cf7ca: Download complete 18:01:01 8998bd30e6a1: Verifying Checksum 18:01:04 2437ff75d9bd: Verifying Checksum 18:01:04 2437ff75d9bd: Download complete 18:01:05 8998bd30e6a1: Pull complete 18:01:09 04944245beec: Pull complete 18:01:10 699f458cf7ca: Pull complete 18:01:10 765212b225bb: Pull complete 18:01:10 f23df028b6ca: Pull complete 18:01:11 d65c8cfc05b1: Pull complete 18:01:26 2437ff75d9bd: Pull complete 18:01:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:01:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:26 prd-ubuntu20.04-docker-arm64-4c-16g-12212 does not seem to be running inside a container 18:01:26 $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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 18:01:29 $ docker top 00e1d5657673976fc187bf61c960243fd45d1ffc53e8e6908ab628bce3585677 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:29 ---> job-cost.sh 18:01:29 lf-activate-venv: SKIPPING 18:01:29 INFO: No Stack... 18:01:30 INFO: Retrieving Pricing Info for: v3-standard-4 18:01:31 INFO: Archiving Costs [Pipeline] sh 18:01:31 + cat /w/workspace/device-onvif-camera/11/archives/cost.csv 18:01:31 + cut -d, -f6 [Pipeline] lock 18:01:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] 18:01:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] did not exist. Created. 18:01:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:01:32 /w/workspace/device-onvif-camera/11@tmp/durable-19958357/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:01:33 + echo total: 0.10999999940395355 [Pipeline] stash 18:01:33 Warning: overwriting stash ‘stack-cost’ 18:01:33 Stashed 1 file(s) [Pipeline] } 18:01:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-11-stack-cost] [Pipeline] // lock [Pipeline] } 18:01:33 $ docker stop --time=1 00e1d5657673976fc187bf61c960243fd45d1ffc53e8e6908ab628bce3585677 18:01:36 $ docker rm -f --volumes 00e1d5657673976fc187bf61c960243fd45d1ffc53e8e6908ab628bce3585677 [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 18:01:37 provisioning config files... 18:01:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config6687188031235163361tmp [Pipeline] { [Pipeline] sh 18:01:37 + set +x 18:01:37 + bash -s -- 18:01:37 + curl -s https://codecov.io/bash 18:01:37 18:01:37 _____ _ 18:01:37 / ____| | | 18:01:37 | | ___ __| | ___ ___ _____ __ 18:01:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:01:37 | |___| (_) | (_| | __/ (_| (_) \ V / 18:01:37 \_____\___/ \__,_|\___|\___\___/ \_/ 18:01:37 Bash-1.0.6 18:01:37 18:01:37 18:01:37 ==> git version 2.25.1 found 18:01:37 ==> 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 18:01:37 Release-Date: 2020-01-08 18:01:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:01:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:01:37 ==> Jenkins CI detected. 18:01:37 current dir:  /w/workspace/undry_device-onvif-camera_PR-305 18:01:37 project root: . 18:01:37 --> token set from env 18:01:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:01:37 ==> Running gcov in . (disable via -X gcov) 18:01:37 ==> Python coveragepy not found 18:01:37 ==> Searching for coverage reports in: 18:01:37 + . 18:01:37 -> Found 1 reports 18:01:37 ==> Detecting git/mercurial file structure 18:01:37 ==> Reading reports 18:01:37 + ./coverage.out bytes=78922 18:01:37 ==> Appending adjustments 18:01:37 https://docs.codecov.io/docs/fixing-reports 18:01:37 + Found adjustments 18:01:37 ==> Gzipping contents 18:01:37 12K /tmp/codecov.vnPZuH.gz 18:01:37 ==> Uploading reports 18:01:37 url: https://codecov.io 18:01:37 query: branch=PR-305&commit=9eeb5869fe14238815b3c1e3dc444c79f4372826&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 18:01:37 -> Pinging Codecov 18:01:37 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=9eeb5869fe14238815b3c1e3dc444c79f4372826&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 18:01:38 -> Uploading to 18:01:38 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/F29A59C45E3A92E06B3E522C9905F8EF/9eeb5869fe14238815b3c1e3dc444c79f4372826/3c8bfa92-ad58-42df-8a69-cf26c2b4a30e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T180137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf383c04e5b71a0ae0c50996c1764981f410a4c76ac0670bd210381ae4f44acb 18:01:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:01:38 Dload Upload Total Spent Left Speed 18:01:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 41836 --:--:-- --:--:-- --:--:-- 41836 18:01:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9eeb5869fe14238815b3c1e3dc444c79f4372826 [Pipeline] } 18:01:38 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 18:01:39 + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] 18:01:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 18:01:39 total 16 18:01:39 drwxr-xr-x 3 root root 4096 May 1 17:51 . 18:01:39 drwxrwxr-x 11 jenkins jenkins 4096 May 1 17:51 .. 18:01:39 drwxr-xr-x 2 root root 4096 May 1 17:51 cost 18:01:39 -rw-r--r-- 1 root root 92 May 1 17:51 cost.csv 18:01:39 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives 18:01:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 18:01:39 total 16 18:01:39 drwxr-xr-x 3 jenkins jenkins 4096 May 1 17:51 . 18:01:39 drwxrwxr-x 11 jenkins jenkins 4096 May 1 17:51 .. 18:01:39 drwxr-xr-x 2 jenkins jenkins 4096 May 1 17:51 cost 18:01:39 -rw-r--r-- 1 jenkins jenkins 92 May 1 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:01:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:01:40 ---> package-listing.sh 18:01:40 ++ facter osfamily 18:01:40 ++ tr '[:upper:]' '[:lower:]' 18:01:40 + OS_FAMILY=debian 18:01:40 + workspace=/w/workspace/undry_device-onvif-camera_PR-305 18:01:40 + START_PACKAGES=/tmp/packages_start.txt 18:01:40 + END_PACKAGES=/tmp/packages_end.txt 18:01:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:01:40 + PACKAGES=/tmp/packages_start.txt 18:01:40 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 18:01:40 + PACKAGES=/tmp/packages_end.txt 18:01:40 + case "${OS_FAMILY}" in 18:01:40 + dpkg -l 18:01:40 + grep '^ii' 18:01:40 + '[' -f /tmp/packages_start.txt ']' 18:01:40 + '[' -f /tmp/packages_end.txt ']' 18:01:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:01:40 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 18:01:40 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ 18:01:40 + 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 18:01:40 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 18:01:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:41 prd-ubuntu20.04-docker-8c-8g-12211 does not seem to be running inside a container 18:01:41 $ 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 18:01:41 $ docker top bcd6326fb5fc20cf44b4e1d40e7da987e1aaf91fd33a77224cdf3bbb92c8d99e -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:42 + touch /tmp/pre-build-complete [Pipeline] sh 18:01:42 + mkdir -p /var/log/sysstat [Pipeline] sh 18:01:42 + ls /var/log/sa-host 18:01:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:42 provisioning config files... 18:01:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config8472757067563180999tmp [Pipeline] { [Pipeline] echo 18:01:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:01:42 ---> create-netrc.sh [Pipeline] } 18:01:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:01:43 ---> python-tools-install.sh [Pipeline] echo 18:01:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:01:43 ---> sudo-logs.sh 18:01:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:01:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:01:43 ---> job-cost.sh 18:01:43 lf-activate-venv: SKIPPING 18:01:43 DEBUG: total: 0.2199999988079071 18:01:43 INFO: Retrieving Stack Cost... 18:01:44 INFO: Retrieving Pricing Info for: v3-standard-8 18:01:44 INFO: Archiving Costs [Pipeline] echo 18:01:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:01:45 ---> logs-deploy.sh 18:01:45 lf-activate-venv: SKIPPING 18:01:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/11 18:01:45 INFO: archiving workspace using pattern(s): 18:01:45 Archives upload complete. 18:01:45 INFO: archiving logs to Nexus