Branch indexing 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 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 rather than 57af7d14efb7306e5f9e58ca019040386ae0255b Obtained Jenkinsfile from 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 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-ssh9605096522990517444.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-ssh10446400401892441228.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-ssh8108623696459212355.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-ssh7958581324294578080.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-ssh11591658414096786642.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11118 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 into PR head commit 57af7d14efb7306e5f9e58ca019040386ae0255b Merge succeeded, producing 29a9d92ca87cf983cf1773e94931cf96062f636f Checking out Revision 29a9d92ca87cf983cf1773e94931cf96062f636f (PR-305) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57af7d14efb7306e5f9e58ca019040386ae0255b # 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 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29a9d92ca87cf983cf1773e94931cf96062f636f # timeout=10 Commit message: "Merge commit '00bdd2cabb0c43dfb1f93a71ebf53860aad231a4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:03 ========================================================= 22:10:03 EdgeX Global Pipelines Version Info 22:10:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7d2cbb63aed719819b34146a89969042956db9a7 # timeout=10 22:10:04 ------------------- 22:10:04 stable info: 22:10:04 ------------------- 22:10:04 Commited By: Bill Mahoney bill.mahoney@intel.com 22:10:04 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:10:04 Message: update stable to v1.0.248 22:10:04 ------------------- 22:10:04 experimental info: 22:10:04 ------------------- 22:10:04 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:04 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:10:04 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29a9d92ca87cf983cf1773e94931cf96062f636f [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29a9d92 [Pipeline] echo 22:10:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:05 provisioning config files... 22:10:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config11680187785380885853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:05 ---> docker-login.sh 22:10:05 nexus3.edgexfoundry.org:10001 22:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:05 Configure a credential helper to remove this warning. See 22:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:05 22:10:05 Login Succeeded 22:10:05 nexus3.edgexfoundry.org:10002 22:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:05 Configure a credential helper to remove this warning. See 22:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:05 22:10:05 Login Succeeded 22:10:05 nexus3.edgexfoundry.org:10003 22:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:06 Configure a credential helper to remove this warning. See 22:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:06 22:10:06 Login Succeeded 22:10:06 nexus3.edgexfoundry.org:10004 22:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:06 Configure a credential helper to remove this warning. See 22:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:06 22:10:06 Login Succeeded 22:10:06 docker.io 22:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:06 Configure a credential helper to remove this warning. See 22:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:06 22:10:06 Login Succeeded 22:10:06 ---> docker-login.sh ends [Pipeline] } 22:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:06 + git rev-list -1 --merges 29a9d92ca87cf983cf1773e94931cf96062f636f~1..29a9d92ca87cf983cf1773e94931cf96062f636f [Pipeline] echo 22:10:06 -----------> git rev-list -1 --merges 29a9d92ca87cf983cf1773e94931cf96062f636f~1..29a9d92ca87cf983cf1773e94931cf96062f636f 29a9d92ca87cf983cf1773e94931cf96062f636f 22:10:06 29a9d92ca87cf983cf1773e94931cf96062f636f [false] [Pipeline] sh 22:10:07 + git log --format=format:%s -1 29a9d92ca87cf983cf1773e94931cf96062f636f [Pipeline] echo 22:10:07 ========================================================= 22:10:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:07 + git log --format=format:%s -1 29a9d92ca87cf983cf1773e94931cf96062f636f [Pipeline] echo 22:10:07 [semverPrep] GIT_COMMIT: 29a9d92ca87cf983cf1773e94931cf96062f636f, Commit Message: Merge commit '00bdd2cabb0c43dfb1f93a71ebf53860aad231a4' into HEAD [Pipeline] echo 22:10:07 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:07 + grep -v github /etc/ssh/ssh_known_hosts 22:10:07 + [ -e /tmp/ssh_known_hosts ] 22:10:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:07 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:08 22:10:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:08 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:08 b85a868b505f: Pulling fs layer 22:10:08 e2be974225ed: Pulling fs layer 22:10:08 339a4e72a1f5: Pulling fs layer 22:10:08 988bab9f4d93: Pulling fs layer 22:10:08 1469e6f7b9e6: Pulling fs layer 22:10:08 eaf3925da568: Pulling fs layer 22:10:08 bab4dde63d76: Pulling fs layer 22:10:08 bde34c3a00c8: Pulling fs layer 22:10:08 b352a97aabf1: Pulling fs layer 22:10:08 4872d77fe225: Pulling fs layer 22:10:08 5851b861e8e6: Pulling fs layer 22:10:08 1469e6f7b9e6: Waiting 22:10:08 eaf3925da568: Waiting 22:10:08 bab4dde63d76: Waiting 22:10:08 5851b861e8e6: Waiting 22:10:08 988bab9f4d93: Waiting 22:10:08 4872d77fe225: Waiting 22:10:08 bde34c3a00c8: Waiting 22:10:08 b352a97aabf1: Waiting 22:10:08 e2be974225ed: Download complete 22:10:08 988bab9f4d93: Verifying Checksum 22:10:08 988bab9f4d93: Download complete 22:10:08 1469e6f7b9e6: Verifying Checksum 22:10:08 1469e6f7b9e6: Download complete 22:10:08 eaf3925da568: Verifying Checksum 22:10:08 eaf3925da568: Download complete 22:10:08 339a4e72a1f5: Verifying Checksum 22:10:08 339a4e72a1f5: Download complete 22:10:08 bde34c3a00c8: Download complete 22:10:08 b352a97aabf1: Download complete 22:10:08 4872d77fe225: Download complete 22:10:08 5851b861e8e6: Download complete 22:10:08 b85a868b505f: Verifying Checksum 22:10:08 b85a868b505f: Download complete 22:10:08 bab4dde63d76: Verifying Checksum 22:10:08 bab4dde63d76: Download complete 22:10:09 b85a868b505f: Pull complete 22:10:10 e2be974225ed: Pull complete 22:10:10 339a4e72a1f5: Pull complete 22:10:10 988bab9f4d93: Pull complete 22:10:10 1469e6f7b9e6: Pull complete 22:10:10 eaf3925da568: Pull complete 22:10:12 bab4dde63d76: Pull complete 22:10:12 bde34c3a00c8: Pull complete 22:10:13 b352a97aabf1: Pull complete 22:10:13 4872d77fe225: Pull complete 22:10:13 5851b861e8e6: Pull complete 22:10:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:13 prd-ubuntu20.04-docker-8c-8g-11118 does not seem to be running inside a container 22:10:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:16 $ docker top 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca -eo pid,comm 22:10:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:10:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:16 [ssh-agent] Looking for ssh-agent implementation... 22:10:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:16 $ docker exec 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca ssh-agent 22:10:16 SSH_AUTH_SOCK=/tmp/ssh-AtqXDjp4wyW9/agent.34 22:10:16 SSH_AGENT_PID=40 22:10:16 Running ssh-add (command line suppressed) 22:10:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_10288886543008484966.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_10288886543008484966.key) 22:10:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:16 + git tag --points-at HEAD [Pipeline] } 22:10:16 $ docker exec --env ******** --env ******** 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca ssh-agent -k 22:10:16 unset SSH_AUTH_SOCK; 22:10:16 unset SSH_AGENT_PID; 22:10:16 echo Agent pid 40 killed; 22:10:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:16 [ssh-agent] Looking for ssh-agent implementation... 22:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:17 $ docker exec 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca ssh-agent 22:10:17 SSH_AUTH_SOCK=/tmp/ssh-clBeIWbmCNRm/agent.73 22:10:17 SSH_AGENT_PID=79 22:10:17 Running ssh-add (command line suppressed) 22:10:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_4351532405029392471.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_4351532405029392471.key) 22:10:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:17 + git semver init 22:10:17 2023-04-26 22:10:17,853 [run_init] DEBUG init version:0.0.0 force:False 22:10:17 2023-04-26 22:10:17,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver 22:10:17 2023-04-26 22:10:17,854 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver 22:10:17 2023-04-26 22:10:17,854 [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) 22:10:18 2023-04-26 22:10:18,724 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude 22:10:18 2023-04-26 22:10:18,724 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 with force:False 22:10:18 2023-04-26 22:10:18,725 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 22:10:18 2023-04-26 22:10:18,729 [execute] INFO git cat-file --batch-check 22:10:18 2023-04-26 22:10:18,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 22:10:18 2023-04-26 22:10:18,736 [execute] INFO git cat-file --batch 22:10:18 2023-04-26 22:10:18,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 22:10:18 2023-04-26 22:10:18,742 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 22:10:18 0.0.0 [Pipeline] } 22:10:18 $ docker exec --env ******** --env ******** 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca ssh-agent -k 22:10:18 unset SSH_AUTH_SOCK; 22:10:18 unset SSH_AGENT_PID; 22:10:18 echo Agent pid 79 killed; 22:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:19 + git semver [Pipeline] } 22:10:19 $ docker stop --time=1 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca 22:10:20 $ docker rm -f --volumes 0aa0211fcffe28b315ce2cee9d2d2534a544b2fd9755566d0cc0aae1022bbbca [Pipeline] // withDockerContainer [Pipeline] sh 22:10:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:21 Stashed 1 file(s) [Pipeline] echo 22:10:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:21 provisioning config files... 22:10:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config6088929571000827208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:21 ---> docker-login.sh 22:10:21 nexus3.edgexfoundry.org:10001 22:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:21 Configure a credential helper to remove this warning. See 22:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:21 22:10:21 Login Succeeded 22:10:21 nexus3.edgexfoundry.org:10002 22:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:21 Configure a credential helper to remove this warning. See 22:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:21 22:10:21 Login Succeeded 22:10:21 nexus3.edgexfoundry.org:10003 22:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:22 Configure a credential helper to remove this warning. See 22:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:22 22:10:22 Login Succeeded 22:10:22 nexus3.edgexfoundry.org:10004 22:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:22 Configure a credential helper to remove this warning. See 22:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:22 22:10:22 Login Succeeded 22:10:22 docker.io 22:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:22 Configure a credential helper to remove this warning. See 22:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:22 22:10:22 Login Succeeded 22:10:22 ---> docker-login.sh ends [Pipeline] } 22:10:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:22 ========================================================= 22:10:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:10:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:10:22 Sending build context to Docker daemon 21.43MB 22:10:22 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:10:22 Step 2/13 : FROM ${BASE} AS builder 22:10:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:23 f56be85fc22e: Pulling fs layer 22:10:23 85791d961cd3: Pulling fs layer 22:10:23 d694b5ae8c79: Pulling fs layer 22:10:23 9f32a84ed3da: Pulling fs layer 22:10:23 4d19c01a9841: Pulling fs layer 22:10:23 9325e15d5711: Pulling fs layer 22:10:23 556b6ee489ea: Pulling fs layer 22:10:23 c5a4b2cf53e6: Pulling fs layer 22:10:23 9f32a84ed3da: Waiting 22:10:23 4d19c01a9841: Waiting 22:10:23 9325e15d5711: Waiting 22:10:23 556b6ee489ea: Waiting 22:10:23 c5a4b2cf53e6: Waiting 22:10:23 85791d961cd3: Download complete 22:10:23 9f32a84ed3da: Download complete 22:10:23 4d19c01a9841: Verifying Checksum 22:10:23 4d19c01a9841: Download complete 22:10:23 f56be85fc22e: Verifying Checksum 22:10:23 f56be85fc22e: Download complete 22:10:23 9325e15d5711: Verifying Checksum 22:10:23 9325e15d5711: Download complete 22:10:23 f56be85fc22e: Pull complete 22:10:23 85791d961cd3: Pull complete 22:10:23 c5a4b2cf53e6: Download complete 22:10:23 d694b5ae8c79: Verifying Checksum 22:10:23 d694b5ae8c79: Download complete 22:10:23 556b6ee489ea: Verifying Checksum 22:10:23 556b6ee489ea: Download complete 22:10:27 d694b5ae8c79: Pull complete 22:10:27 9f32a84ed3da: Pull complete 22:10:27 4d19c01a9841: Pull complete 22:10:27 9325e15d5711: Pull complete 22:10:29 556b6ee489ea: Pull complete 22:10:30 c5a4b2cf53e6: Pull complete 22:10:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:10:30 ---> c4be618373d6 22:10:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:10:35 ---> Running in 14bd8b8f9e98 22:10:35 Removing intermediate container 14bd8b8f9e98 22:10:35 ---> 078a343fd878 22:10:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:10:35 ---> Running in 920c4e2a0438 22:10:35 Removing intermediate container 920c4e2a0438 22:10:35 ---> 0397c07cc03e 22:10:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:10:35 ---> Running in 61ea7eec2e96 22:10:35 Removing intermediate container 61ea7eec2e96 22:10:35 ---> 43626064e137 22:10:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:10:35 ---> Running in 61673c703f0b 22:10:35 Removing intermediate container 61673c703f0b 22:10:35 ---> b61c494ee08f 22:10:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:10:35 ---> Running in 90f2e38d9c54 22:10:35 Removing intermediate container 90f2e38d9c54 22:10:35 ---> 6d43997ecf88 22:10:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:10:35 ---> Running in 7456a4c40536 22:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:10:35 OK: 265 MiB in 53 packages 22:10:36 Removing intermediate container 7456a4c40536 22:10:36 ---> a8d6f71e5703 22:10:36 Step 9/13 : WORKDIR /device-onvif-camera 22:10:36 ---> Running in 51204de66531 22:10:36 Removing intermediate container 51204de66531 22:10:36 ---> 5483b8f6b6e4 22:10:36 Step 10/13 : COPY go.mod vendor* ./ 22:10:36 ---> 6ea663a38048 22:10:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:10:36 ---> Running in 710933df797f 22:10:36 Still waiting to schedule task 22:10:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:08 Removing intermediate container 710933df797f 22:11:08 ---> 85423c2e1059 22:11:08 Step 12/13 : COPY . . 22:11:08 ---> 5eea680450b1 22:11:08 Step 13/13 : RUN ${MAKE} 22:11:08 ---> Running in cdcf93761bbc 22:11:08 noop 22:11:08 Removing intermediate container cdcf93761bbc 22:11:08 ---> 1fdf3a8e01b2 22:11:08 Successfully built 1fdf3a8e01b2 22:11:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:08 + docker inspect -f . ci-base-image-x86_64 22:11:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:08 prd-ubuntu20.04-docker-8c-8g-11118 does not seem to be running inside a container 22:11:08 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:11:09 $ docker top 7ba251f245fbfb5e47b700093b601be44ccb0d0055b3570718928acca1cc833c -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:09 + go version 22:11:09 go version go1.20.2 linux/amd64 [Pipeline] } 22:11:09 $ docker stop --time=1 7ba251f245fbfb5e47b700093b601be44ccb0d0055b3570718928acca1cc833c 22:11:10 $ docker rm -f --volumes 7ba251f245fbfb5e47b700093b601be44ccb0d0055b3570718928acca1cc833c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:11 + docker inspect -f . ci-base-image-x86_64 22:11:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:11 prd-ubuntu20.04-docker-8c-8g-11118 does not seem to be running inside a container 22:11:11 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:11:11 $ docker top b9cae8f317f7e59eefd50bae97b5ab7bd37a6c2685f7113900dc015d09284501 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:11 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh 22:11:12 + make test 22:11:12 go test ./... -coverprofile=coverage.out ./... 22:11:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:11:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:11:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:11:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.6% of statements 22:11:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.919s coverage: 86.5% of statements 22:11:37 go vet ./... 22:11:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:11:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:11:40 ./bin/test-attribution-txt.sh [Pipeline] echo 22:11:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:11:40 $ docker stop --time=1 b9cae8f317f7e59eefd50bae97b5ab7bd37a6c2685f7113900dc015d09284501 22:11:43 $ docker rm -f --volumes b9cae8f317f7e59eefd50bae97b5ab7bd37a6c2685f7113900dc015d09284501 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:11:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:45 + ls -al . 22:11:45 total 232 22:11:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 22:11 . 22:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:09 .. 22:11:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 22:10 .git 22:11:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 22:09 .github 22:11:45 -rw-rw-r-- 1 jenkins jenkins 496 Apr 26 22:09 .gitignore 22:11:45 -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 22:09 .golangci.yml 22:11:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 22:10 .semver 22:11:45 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 26 22:09 Attribution.txt 22:11:45 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 26 22:09 CHANGELOG.md 22:11:45 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 26 22:09 Dockerfile 22:11:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 22:09 GOVERNANCE.md 22:11:45 -rw-rw-r-- 1 jenkins jenkins 734 Apr 26 22:09 Jenkinsfile 22:11:45 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 26 22:09 LICENSE 22:11:45 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 26 22:09 Makefile 22:11:45 -rw-rw-r-- 1 jenkins jenkins 625 Apr 26 22:09 OWNERS.md 22:11:45 -rw-rw-r-- 1 jenkins jenkins 2568 Apr 26 22:09 README.md 22:11:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 22:10 VERSION 22:11:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 22:09 bin 22:11:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 22:09 cmd 22:11:45 -rw-r--r-- 1 jenkins jenkins 78922 Apr 26 22:11 coverage.out 22:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:09 doc 22:11:45 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 26 22:09 go.mod 22:11:45 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 26 22:09 go.sum 22:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:09 internal 22:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:09 snap 22:11:45 -rw-rw-r-- 1 jenkins jenkins 236 Apr 26 22:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:45 + 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=29a9d92ca87cf983cf1773e94931cf96062f636f --label arch=amd64 --label version=0.0.0 . 22:11:45 Sending build context to Docker daemon 21.51MB 22:11:45 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:11:45 Step 2/26 : FROM ${BASE} AS builder 22:11:45 ---> 1fdf3a8e01b2 22:11:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:11:45 ---> Running in 3f178f2a90f5 22:11:45 Removing intermediate container 3f178f2a90f5 22:11:45 ---> 56ff77211408 22:11:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:45 ---> Running in 6bce366c46ff 22:11:45 Removing intermediate container 6bce366c46ff 22:11:45 ---> 6fee585103bf 22:11:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:11:45 ---> Running in 0512686a6917 22:11:45 Removing intermediate container 0512686a6917 22:11:45 ---> 0f822a8d6cd6 22:11:45 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:11:45 ---> Running in 209cf9affdab 22:11:45 Removing intermediate container 209cf9affdab 22:11:45 ---> ea62ea55f757 22:11:45 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:11:45 ---> Running in b8b48a9ea8cd 22:11:46 Removing intermediate container b8b48a9ea8cd 22:11:46 ---> a69f45b4c49a 22:11:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:46 ---> Running in 4366da6ac827 22:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:46 OK: 265 MiB in 53 packages 22:11:47 Removing intermediate container 4366da6ac827 22:11:47 ---> f4a2fb065ee7 22:11:47 Step 9/26 : WORKDIR /device-onvif-camera 22:11:47 ---> Running in 49e156b7bd60 22:11:47 Removing intermediate container 49e156b7bd60 22:11:47 ---> cd255089b145 22:11:47 Step 10/26 : COPY go.mod vendor* ./ 22:11:47 ---> 5c9251e8138c 22:11:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:47 ---> Running in b2005fe7e778 22:11:48 Removing intermediate container b2005fe7e778 22:11:48 ---> 347cab2707af 22:11:48 Step 12/26 : COPY . . 22:11:48 ---> e0e8782c44c9 22:11:48 Step 13/26 : RUN ${MAKE} 22:11:48 ---> Running in bc8a76bb2e74 22:11:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:12:10 Removing intermediate container bc8a76bb2e74 22:12:10 ---> 4609239f8904 22:12:10 Step 14/26 : FROM alpine:3.17 22:12:10 3.17: Pulling from library/alpine 22:12:10 f56be85fc22e: Already exists 22:12:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:12:10 Status: Downloaded newer image for alpine:3.17 22:12:10 ---> 9ed4aefc74f6 22:12:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:12:10 ---> Running in fa31690ad6ac 22:12:10 Removing intermediate container fa31690ad6ac 22:12:10 ---> fc8222b51cf1 22:12:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:10 ---> Running in e9864d962b36 22:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:10 (1/1) Installing dumb-init (1.2.5-r2) 22:12:10 Executing busybox-1.35.0-r29.trigger 22:12:10 OK: 7 MiB in 16 packages 22:12:10 Removing intermediate container e9864d962b36 22:12:10 ---> 7f83eeb80ad6 22:12:10 Step 17/26 : WORKDIR / 22:12:10 ---> Running in c5653e59c0cc 22:12:10 Removing intermediate container c5653e59c0cc 22:12:10 ---> 6f4891e3b48b 22:12:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:10 ---> 70c05f5661a7 22:12:10 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:10 ---> 955dc0548052 22:12:10 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:10 ---> 037361a3acbb 22:12:10 Step 21/26 : EXPOSE 59984 22:12:10 ---> Running in 17c98763d598 22:12:10 Removing intermediate container 17c98763d598 22:12:10 ---> fb1d871079f0 22:12:10 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:10 ---> Running in 4f05b8921280 22:12:10 Removing intermediate container 4f05b8921280 22:12:10 ---> 1f4f9c639339 22:12:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:10 ---> Running in 3e701c07a093 22:12:10 Removing intermediate container 3e701c07a093 22:12:10 ---> f6dd6e15a66a 22:12:10 Step 24/26 : LABEL arch=amd64 22:12:10 ---> Running in 6107ff11d062 22:12:10 Removing intermediate container 6107ff11d062 22:12:10 ---> 7fe41c389005 22:12:10 Step 25/26 : LABEL git_sha=29a9d92ca87cf983cf1773e94931cf96062f636f 22:12:10 ---> Running in e4d7383fc8e0 22:12:10 Removing intermediate container e4d7383fc8e0 22:12:10 ---> 83022eeea4ff 22:12:10 Step 26/26 : LABEL version=0.0.0 22:12:10 ---> Running in 5924da1805ee 22:12:10 Removing intermediate container 5924da1805ee 22:12:10 ---> ebc963dbae8e 22:12:10 [Warning] One or more build-args [ARCH] were not consumed 22:12:10 Successfully built ebc963dbae8e 22:12:10 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:11 22:12:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:11 latest: Pulling from edgex-lftools-log-publisher 22:12:11 5eb5b503b376: Pulling fs layer 22:12:11 5c69ac0246d0: Pulling fs layer 22:12:11 ec43610c2a17: Pulling fs layer 22:12:11 3a2ae6a8a46f: Pulling fs layer 22:12:11 33b1e0a273af: Pulling fs layer 22:12:11 5d3b04190fa2: Pulling fs layer 22:12:11 3a2ae6a8a46f: Waiting 22:12:11 33b1e0a273af: Waiting 22:12:11 2f39f015ded8: Pulling fs layer 22:12:11 5d3b04190fa2: Waiting 22:12:11 5c69ac0246d0: Verifying Checksum 22:12:11 5c69ac0246d0: Download complete 22:12:11 3a2ae6a8a46f: Verifying Checksum 22:12:11 3a2ae6a8a46f: Download complete 22:12:11 33b1e0a273af: Verifying Checksum 22:12:11 33b1e0a273af: Download complete 22:12:11 5d3b04190fa2: Verifying Checksum 22:12:11 5d3b04190fa2: Download complete 22:12:11 ec43610c2a17: Verifying Checksum 22:12:11 ec43610c2a17: Download complete 22:12:12 5eb5b503b376: Verifying Checksum 22:12:12 5eb5b503b376: Download complete 22:12:12 2f39f015ded8: Download complete 22:12:13 5eb5b503b376: Pull complete 22:12:13 5c69ac0246d0: Pull complete 22:12:13 ec43610c2a17: Pull complete 22:12:13 3a2ae6a8a46f: Pull complete 22:12:13 33b1e0a273af: Pull complete 22:12:13 5d3b04190fa2: Pull complete 22:12:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11120 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] ws 22:12:14 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 22:12:14 The recommended git tool is: git 22:12:18 2f39f015ded8: Pull complete 22:12:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:18 prd-ubuntu20.04-docker-8c-8g-11118 does not seem to be running inside a container 22:12:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:12:20 using credential edgex-jenkins-ssh 22:12:20 Cloning the remote Git repository 22:12:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:20 > git init /w/workspace/device-onvif-camera/7 # timeout=10 22:12:21 $ docker top 68faff1eeab57e8e5c36ba4f7900963eb31b8396f920635a452daf1f13e3029f -eo pid,comm 22:12:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:20 > git --version # timeout=10 22:12:20 > git --version # 'git version 2.25.1' 22:12:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:22 ---> job-cost.sh 22:12:22 lf-activate-venv: SKIPPING 22:12:22 INFO: No Stack... 22:12:22 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:22 INFO: Archiving Costs [Pipeline] sh 22:12:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:23 + cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv 22:12:23 + cut -d, -f6 [Pipeline] lock 22:12:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] 22:12:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] did not exist. Created. 22:12:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:23 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:23 Stashed 1 file(s) [Pipeline] } 22:12:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:23 $ docker stop --time=1 68faff1eeab57e8e5c36ba4f7900963eb31b8396f920635a452daf1f13e3029f 22:12:24 Merging remotes/origin/main commit 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 into PR head commit 57af7d14efb7306e5f9e58ca019040386ae0255b 22:12:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:23 > 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 22:12:24 > git config core.sparsecheckout # timeout=10 22:12:24 > git checkout -f 57af7d14efb7306e5f9e58ca019040386ae0255b # timeout=10 22:12:24 $ docker rm -f --volumes 68faff1eeab57e8e5c36ba4f7900963eb31b8396f920635a452daf1f13e3029f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:12:25 Merge succeeded, producing 2472655090298e822214f45e64257c8ff698a557 22:12:25 Checking out Revision 2472655090298e822214f45e64257c8ff698a557 (PR-305) 22:12:24 > git remote # timeout=10 22:12:24 > git config --get remote.origin.url # timeout=10 22:12:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:24 > git merge 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 # timeout=10 22:12:25 > git rev-parse HEAD^{commit} # timeout=10 22:12:25 > git config core.sparsecheckout # timeout=10 22:12:25 > git checkout -f 2472655090298e822214f45e64257c8ff698a557 # timeout=10 22:12:28 Commit message: "Merge commit '00bdd2cabb0c43dfb1f93a71ebf53860aad231a4' into HEAD" 22:12:28 First time build. Skipping changelog. 22:12:28 > git rev-list --no-walk 7d2cbb63aed719819b34146a89969042956db9a7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:12:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:29 Dload Upload Total Spent Left Speed 22:12:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 22:12:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:12:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:12:30 + sudo tee /etc/docker/daemon.new 22:12:30 { 22:12:30 "registry-mirrors": [ 22:12:30 "https://nexus3.edgexfoundry.org:10001" 22:12:30 ], 22:12:30 "bip": "10.250.0.254/24", 22:12:30 "hosts": [ 22:12:30 "tcp://0.0.0.0:5555", 22:12:30 "unix:///var/run/docker.sock" 22:12:30 ], 22:12:30 "mtu": 1458, 22:12:30 "selinux-enabled": true, 22:12:30 "seccomp-profile": "/etc/docker/seccomp.json" 22:12:30 } [Pipeline] sh 22:12:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:12:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:49 provisioning config files... 22:12:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config5175415968329682626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:50 ---> docker-login.sh 22:12:50 nexus3.edgexfoundry.org:10001 22:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:50 Configure a credential helper to remove this warning. See 22:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:50 22:12:50 Login Succeeded 22:12:50 nexus3.edgexfoundry.org:10002 22:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:50 Configure a credential helper to remove this warning. See 22:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:50 22:12:50 Login Succeeded 22:12:50 nexus3.edgexfoundry.org:10003 22:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:51 Configure a credential helper to remove this warning. See 22:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:51 22:12:51 Login Succeeded 22:12:51 nexus3.edgexfoundry.org:10004 22:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:51 Configure a credential helper to remove this warning. See 22:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:51 22:12:51 Login Succeeded 22:12:51 docker.io 22:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:52 Configure a credential helper to remove this warning. See 22:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:52 22:12:52 Login Succeeded 22:12:52 ---> docker-login.sh ends [Pipeline] } 22:12:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:52 ========================================================= 22:12:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:12:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:12:53 Sending build context to Docker daemon 14.14MB 22:12:53 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:12:53 Step 2/13 : FROM ${BASE} AS builder 22:12:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:12:53 c41833b44d91: Pulling fs layer 22:12:53 ed15518f5707: Pulling fs layer 22:12:53 feae8fd75edb: Pulling fs layer 22:12:53 242c74f7c9fa: Pulling fs layer 22:12:53 3cdef696dda3: Pulling fs layer 22:12:53 2ced38df9373: Pulling fs layer 22:12:53 58f1dce35555: Pulling fs layer 22:12:53 3cdef696dda3: Waiting 22:12:53 58f1dce35555: Waiting 22:12:53 2ced38df9373: Waiting 22:12:53 242c74f7c9fa: Waiting 22:12:53 ed15518f5707: Verifying Checksum 22:12:53 ed15518f5707: Download complete 22:12:53 242c74f7c9fa: Verifying Checksum 22:12:53 242c74f7c9fa: Download complete 22:12:53 3cdef696dda3: Verifying Checksum 22:12:53 3cdef696dda3: Download complete 22:12:53 c41833b44d91: Verifying Checksum 22:12:54 c41833b44d91: Pull complete 22:12:55 58f1dce35555: Verifying Checksum 22:12:55 58f1dce35555: Download complete 22:12:55 ed15518f5707: Pull complete 22:12:56 feae8fd75edb: Verifying Checksum 22:12:56 feae8fd75edb: Download complete 22:12:56 2ced38df9373: Verifying Checksum 22:12:56 2ced38df9373: Download complete 22:13:08 feae8fd75edb: Pull complete 22:13:08 242c74f7c9fa: Pull complete 22:13:08 3cdef696dda3: Pull complete 22:13:14 2ced38df9373: Pull complete 22:13:16 58f1dce35555: Pull complete 22:13:16 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:13:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:13:16 ---> fadd8f120f05 22:13:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:13:18 ---> Running in a08269f2ec1d 22:13:18 Removing intermediate container a08269f2ec1d 22:13:18 ---> 31e997f11b2c 22:13:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:18 ---> Running in c44ad10a14db 22:13:19 Removing intermediate container c44ad10a14db 22:13:19 ---> 278da6b80dad 22:13:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:13:19 ---> Running in 6fc1ccdf3301 22:13:19 Removing intermediate container 6fc1ccdf3301 22:13:19 ---> 3255788fbc5d 22:13:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:13:19 ---> Running in f9421f3baba0 22:13:19 Removing intermediate container f9421f3baba0 22:13:19 ---> 9173f4b31f9f 22:13:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:13:19 ---> Running in 03c6256cabf1 22:13:20 Removing intermediate container 03c6256cabf1 22:13:20 ---> 80e7ac5af631 22:13:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:20 ---> Running in bc796f843505 22:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:23 OK: 263 MiB in 53 packages 22:13:23 Removing intermediate container bc796f843505 22:13:23 ---> 026d642d94ab 22:13:23 Step 9/13 : WORKDIR /device-onvif-camera 22:13:23 ---> Running in 4df0cfb9ead3 22:13:24 Removing intermediate container 4df0cfb9ead3 22:13:24 ---> 23fefb42483c 22:13:24 Step 10/13 : COPY go.mod vendor* ./ 22:13:24 ---> 86c44beadbeb 22:13:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:24 ---> Running in a1ca64999e81 22:14:32 Removing intermediate container a1ca64999e81 22:14:32 ---> e39ecd4c461e 22:14:32 Step 12/13 : COPY . . 22:14:32 ---> 6b74e02b2cef 22:14:32 Step 13/13 : RUN ${MAKE} 22:14:32 ---> Running in 20006e56e0fe 22:14:32 noop 22:14:32 Removing intermediate container 20006e56e0fe 22:14:32 ---> 7e29bfad4e21 22:14:32 Successfully built 7e29bfad4e21 22:14:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:32 + docker inspect -f . ci-base-image-arm64 22:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:33 prd-ubuntu20.04-docker-arm64-4c-16g-11120 does not seem to be running inside a container 22:14:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 22:14:34 $ docker top b4560b60c7cd1f2342beebeb14666bc3786eced0052721ee2c388d441908210a -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:35 + go version 22:14:35 go version go1.20.2 linux/arm64 [Pipeline] } 22:14:35 $ docker stop --time=1 b4560b60c7cd1f2342beebeb14666bc3786eced0052721ee2c388d441908210a 22:14:36 $ docker rm -f --volumes b4560b60c7cd1f2342beebeb14666bc3786eced0052721ee2c388d441908210a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker inspect -f . ci-base-image-arm64 22:14:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:37 prd-ubuntu20.04-docker-arm64-4c-16g-11120 does not seem to be running inside a container 22:14:37 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 22:14:38 $ docker top efc2fab0794a4bcfa8db3aa76eec28a52b9127ab74a81c36fca065d52dfdf8f0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:39 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 22:14:39 + make test 22:14:39 go test ./... -coverprofile=coverage.out ./... 22:15:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.394s coverage: 31.6% of statements 22:17:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.675s coverage: 86.5% of statements 22:17:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:33 go vet ./... 22:17:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:17:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:17:59 ./bin/test-attribution-txt.sh [Pipeline] echo 22:17:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:17:59 $ docker stop --time=1 efc2fab0794a4bcfa8db3aa76eec28a52b9127ab74a81c36fca065d52dfdf8f0 22:18:01 $ docker rm -f --volumes efc2fab0794a4bcfa8db3aa76eec28a52b9127ab74a81c36fca065d52dfdf8f0 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:02 Warning: overwriting stash ‘coverage-report’ 22:18:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:04 + ls -al . 22:18:04 total 228 22:18:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 22:14 . 22:18:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:12 .. 22:18:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 22:12 .git 22:18:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 22:12 .github 22:18:04 -rw-rw-r-- 1 jenkins jenkins 496 Apr 26 22:12 .gitignore 22:18:04 -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 22:12 .golangci.yml 22:18:04 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 26 22:12 Attribution.txt 22:18:04 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 26 22:12 CHANGELOG.md 22:18:04 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 26 22:12 Dockerfile 22:18:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 22:12 GOVERNANCE.md 22:18:04 -rw-rw-r-- 1 jenkins jenkins 734 Apr 26 22:12 Jenkinsfile 22:18:04 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 26 22:12 LICENSE 22:18:04 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 26 22:12 Makefile 22:18:04 -rw-rw-r-- 1 jenkins jenkins 625 Apr 26 22:12 OWNERS.md 22:18:04 -rw-rw-r-- 1 jenkins jenkins 2568 Apr 26 22:12 README.md 22:18:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 22:10 VERSION 22:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 22:12 bin 22:18:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 22:12 cmd 22:18:04 -rw-r--r-- 1 jenkins jenkins 78922 Apr 26 22:17 coverage.out 22:18:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:12 doc 22:18:04 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 26 22:12 go.mod 22:18:04 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 26 22:12 go.sum 22:18:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:12 internal 22:18:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:12 snap 22:18:04 -rw-rw-r-- 1 jenkins jenkins 236 Apr 26 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:04 + 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=2472655090298e822214f45e64257c8ff698a557 --label arch=arm64 --label version=0.0.0 . 22:18:05 Sending build context to Docker daemon 14.22MB 22:18:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:18:05 Step 2/26 : FROM ${BASE} AS builder 22:18:05 ---> 7e29bfad4e21 22:18:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:18:05 ---> Running in fd2ad6baf40f 22:18:05 Removing intermediate container fd2ad6baf40f 22:18:05 ---> 76e40fb91b63 22:18:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:05 ---> Running in d4cf04a814b0 22:18:05 Removing intermediate container d4cf04a814b0 22:18:05 ---> d951dbc97420 22:18:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:18:05 ---> Running in ebf57ae56943 22:18:06 Removing intermediate container ebf57ae56943 22:18:06 ---> 56e165a1c65b 22:18:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:18:06 ---> Running in afc73f8a87ef 22:18:06 Removing intermediate container afc73f8a87ef 22:18:06 ---> 5df0c49edeef 22:18:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:18:06 ---> Running in 0384b651e3c5 22:18:06 Removing intermediate container 0384b651e3c5 22:18:06 ---> c354c0a75ea5 22:18:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:07 ---> Running in aa069811b6b9 22:18:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:18:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:18:09 OK: 263 MiB in 53 packages 22:18:10 Removing intermediate container aa069811b6b9 22:18:10 ---> fb78837af7f9 22:18:10 Step 9/26 : WORKDIR /device-onvif-camera 22:18:10 ---> Running in c60b8029fdbb 22:18:10 Removing intermediate container c60b8029fdbb 22:18:10 ---> cb40e0a6c0ec 22:18:10 Step 10/26 : COPY go.mod vendor* ./ 22:18:11 ---> 7e8c04440808 22:18:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:11 ---> Running in 8f12f52544aa 22:18:14 Removing intermediate container 8f12f52544aa 22:18:14 ---> c3f31396d44b 22:18:14 Step 12/26 : COPY . . 22:18:15 ---> a6257525ddb4 22:18:15 Step 13/26 : RUN ${MAKE} 22:18:15 ---> Running in 281eb4a87f4c 22:18:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:20:38 Removing intermediate container 281eb4a87f4c 22:20:38 ---> ea63cbe355b0 22:20:38 Step 14/26 : FROM alpine:3.17 22:20:38 3.17: Pulling from library/alpine 22:20:38 c41833b44d91: Already exists 22:20:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:20:38 Status: Downloaded newer image for alpine:3.17 22:20:38 ---> 51e60588ff2c 22:20:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:20:38 ---> Running in 761da9d8442d 22:20:38 Removing intermediate container 761da9d8442d 22:20:38 ---> 3cc552346ec4 22:20:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:20:38 ---> Running in ab9ff12563ac 22:20:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:20:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:20:38 (1/1) Installing dumb-init (1.2.5-r2) 22:20:38 Executing busybox-1.35.0-r29.trigger 22:20:38 OK: 8 MiB in 16 packages 22:20:38 Removing intermediate container ab9ff12563ac 22:20:38 ---> 1ebeda825049 22:20:38 Step 17/26 : WORKDIR / 22:20:38 ---> Running in 91bddb785e2f 22:20:38 Removing intermediate container 91bddb785e2f 22:20:38 ---> f90ec330a0e8 22:20:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:20:38 ---> 7ecaec99bca7 22:20:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:20:38 ---> e3bfff170f35 22:20:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:20:38 ---> 645bd580ba0b 22:20:38 Step 21/26 : EXPOSE 59984 22:20:38 ---> Running in b83a630c3c58 22:20:38 Removing intermediate container b83a630c3c58 22:20:38 ---> 5b1a114f4ec5 22:20:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:20:38 ---> Running in c291ed7cf382 22:20:38 Removing intermediate container c291ed7cf382 22:20:38 ---> a75f828a1e7d 22:20:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:20:38 ---> Running in 166f366c0698 22:20:38 Removing intermediate container 166f366c0698 22:20:38 ---> 835500512693 22:20:38 Step 24/26 : LABEL arch=arm64 22:20:38 ---> Running in 2e2afc5713e3 22:20:38 Removing intermediate container 2e2afc5713e3 22:20:38 ---> 603beadb0b88 22:20:38 Step 25/26 : LABEL git_sha=2472655090298e822214f45e64257c8ff698a557 22:20:38 ---> Running in 98db729f90ed 22:20:38 Removing intermediate container 98db729f90ed 22:20:38 ---> 08e260b86f0b 22:20:38 Step 26/26 : LABEL version=0.0.0 22:20:38 ---> Running in a839ee98867b 22:20:38 Removing intermediate container a839ee98867b 22:20:38 ---> 49dab1c42f6f 22:20:38 [Warning] One or more build-args [ARCH] were not consumed 22:20:38 Successfully built 49dab1c42f6f 22:20:38 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:39 22:20:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:39 arm64: Pulling from edgex-lftools-log-publisher 22:20:39 8998bd30e6a1: Pulling fs layer 22:20:39 04944245beec: Pulling fs layer 22:20:39 699f458cf7ca: Pulling fs layer 22:20:39 765212b225bb: Pulling fs layer 22:20:39 f23df028b6ca: Pulling fs layer 22:20:39 d65c8cfc05b1: Pulling fs layer 22:20:39 2437ff75d9bd: Pulling fs layer 22:20:39 f23df028b6ca: Waiting 22:20:39 d65c8cfc05b1: Waiting 22:20:39 2437ff75d9bd: Waiting 22:20:39 765212b225bb: Waiting 22:20:39 04944245beec: Verifying Checksum 22:20:39 04944245beec: Download complete 22:20:39 765212b225bb: Verifying Checksum 22:20:39 765212b225bb: Download complete 22:20:39 f23df028b6ca: Verifying Checksum 22:20:39 f23df028b6ca: Download complete 22:20:39 d65c8cfc05b1: Verifying Checksum 22:20:39 d65c8cfc05b1: Download complete 22:20:39 699f458cf7ca: Verifying Checksum 22:20:39 699f458cf7ca: Download complete 22:20:40 8998bd30e6a1: Verifying Checksum 22:20:40 8998bd30e6a1: Download complete 22:20:42 2437ff75d9bd: Verifying Checksum 22:20:42 2437ff75d9bd: Download complete 22:20:44 8998bd30e6a1: Pull complete 22:20:44 04944245beec: Pull complete 22:20:46 699f458cf7ca: Pull complete 22:20:46 765212b225bb: Pull complete 22:20:47 f23df028b6ca: Pull complete 22:20:47 d65c8cfc05b1: Pull complete 22:21:02 2437ff75d9bd: Pull complete 22:21:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:02 prd-ubuntu20.04-docker-arm64-4c-16g-11120 does not seem to be running inside a container 22:21:02 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 22:21:04 $ docker top bfce08131247c4c2d8a124152ebc2781099460476de712023019701b93e8ae19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:05 ---> job-cost.sh 22:21:05 lf-activate-venv: SKIPPING 22:21:05 INFO: No Stack... 22:21:05 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:06 INFO: Archiving Costs [Pipeline] sh 22:21:07 + cut -d, -f6 22:21:07 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock 22:21:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] 22:21:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] did not exist. Created. 22:21:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:07 /w/workspace/device-onvif-camera/7@tmp/durable-dca58eb2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:08 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:08 Warning: overwriting stash ‘stack-cost’ 22:21:08 Stashed 1 file(s) [Pipeline] } 22:21:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:08 $ docker stop --time=1 bfce08131247c4c2d8a124152ebc2781099460476de712023019701b93e8ae19 22:21:10 $ docker rm -f --volumes bfce08131247c4c2d8a124152ebc2781099460476de712023019701b93e8ae19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:21:10 provisioning config files... 22:21:10 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config18240392899930239708tmp [Pipeline] { [Pipeline] sh 22:21:10 + set +x 22:21:10 + + curl -s https://codecov.io/bash 22:21:10 bash -s -- 22:21:10 22:21:10 _____ _ 22:21:10 / ____| | | 22:21:10 | | ___ __| | ___ ___ _____ __ 22:21:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:21:10 | |___| (_) | (_| | __/ (_| (_) \ V / 22:21:10 \_____\___/ \__,_|\___|\___\___/ \_/ 22:21:10 Bash-1.0.6 22:21:10 22:21:10 22:21:10 ==> git version 2.25.1 found 22:21:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:21:10 Release-Date: 2020-01-08 22:21:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:21:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:21:10 ==> Jenkins CI detected. 22:21:10 current dir:  /w/workspace/undry_device-onvif-camera_PR-305 22:21:10 project root: . 22:21:10 --> token set from env 22:21:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:21:10 ==> Running gcov in . (disable via -X gcov) 22:21:11 ==> Python coveragepy not found 22:21:11 ==> Searching for coverage reports in: 22:21:11 + . 22:21:11 -> Found 1 reports 22:21:11 ==> Detecting git/mercurial file structure 22:21:11 ==> Reading reports 22:21:11 + ./coverage.out bytes=78922 22:21:11 ==> Appending adjustments 22:21:11 https://docs.codecov.io/docs/fixing-reports 22:21:11 + Found adjustments 22:21:11 ==> Gzipping contents 22:21:11 12K /tmp/codecov.Hbd0Jn.gz 22:21:11 ==> Uploading reports 22:21:11 url: https://codecov.io 22:21:11 query: branch=PR-305&commit=29a9d92ca87cf983cf1773e94931cf96062f636f&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 22:21:11 -> Pinging Codecov 22:21:11 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=29a9d92ca87cf983cf1773e94931cf96062f636f&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 22:21:11 -> Uploading to 22:21:11 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/F29A59C45E3A92E06B3E522C9905F8EF/29a9d92ca87cf983cf1773e94931cf96062f636f/18dd9881-3d89-4eb4-a3fc-8d788143cdf1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T222111Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7de3ee8d57d39d84fde35d273869f57420dd29370cb3647161167b0276cd873f 22:21:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:11 Dload Upload Total Spent Left Speed 22:21:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 40233 --:--:-- --:--:-- --:--:-- 40233 22:21:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/29a9d92ca87cf983cf1773e94931cf96062f636f [Pipeline] } 22:21:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:21:12 + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] 22:21:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 22:21:12 total 16 22:21:12 drwxr-xr-x 3 root root 4096 Apr 26 22:12 . 22:21:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 22:12 .. 22:21:12 drwxr-xr-x 2 root root 4096 Apr 26 22:12 cost 22:21:12 -rw-r--r-- 1 root root 91 Apr 26 22:12 cost.csv 22:21:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives 22:21:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 22:21:12 total 16 22:21:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 22:12 . 22:21:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 22:12 .. 22:21:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 22:12 cost 22:21:12 -rw-r--r-- 1 jenkins jenkins 91 Apr 26 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:13 ---> package-listing.sh 22:21:13 ++ facter osfamily 22:21:13 ++ tr '[:upper:]' '[:lower:]' 22:21:13 + OS_FAMILY=debian 22:21:13 + workspace=/w/workspace/undry_device-onvif-camera_PR-305 22:21:13 + START_PACKAGES=/tmp/packages_start.txt 22:21:13 + END_PACKAGES=/tmp/packages_end.txt 22:21:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:13 + PACKAGES=/tmp/packages_start.txt 22:21:13 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 22:21:13 + PACKAGES=/tmp/packages_end.txt 22:21:13 + case "${OS_FAMILY}" in 22:21:13 + dpkg -l 22:21:13 + grep '^ii' 22:21:13 + '[' -f /tmp/packages_start.txt ']' 22:21:13 + '[' -f /tmp/packages_end.txt ']' 22:21:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:13 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 22:21:13 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ 22:21:13 + 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 22:21:13 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 22:21:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:14 prd-ubuntu20.04-docker-8c-8g-11118 does not seem to be running inside a container 22:21:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:21:14 $ docker top 747f222aefba0dda8d55637455b1788738bdd95d08d4c4d78cd7a2c0e9c97eb8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:15 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:15 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:15 + ls /var/log/sa-host 22:21:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:16 provisioning config files... 22:21:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config7506049351289603185tmp [Pipeline] { [Pipeline] echo 22:21:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:16 ---> create-netrc.sh [Pipeline] } 22:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:16 ---> python-tools-install.sh [Pipeline] echo 22:21:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:17 ---> sudo-logs.sh 22:21:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:17 ---> job-cost.sh 22:21:17 lf-activate-venv: SKIPPING 22:21:17 DEBUG: total: 0.2199999988079071 22:21:17 INFO: Retrieving Stack Cost... 22:21:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:18 INFO: Archiving Costs [Pipeline] echo 22:21:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:18 ---> logs-deploy.sh 22:21:18 lf-activate-venv: SKIPPING 22:21:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/7 22:21:18 INFO: archiving workspace using pattern(s): 22:21:19 Archives upload complete. 22:21:19 INFO: archiving logs to Nexus