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 bc8694f62f775b1f1e37640ae017c5441854d813 rather than fd4777afe46c4383f8c38b5395ba9d659bc72f1f Obtained Jenkinsfile from bc8694f62f775b1f1e37640ae017c5441854d813 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-ssh5727850254663001319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6950295701497362534.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-356/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-356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7959877488641305775.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh16692278248503902913.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-356/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-356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14481185345567557041.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-14968 in /w/workspace/undry_device-onvif-camera_PR-356 [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-356 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc8694f62f775b1f1e37640ae017c5441854d813 into PR head commit fd4777afe46c4383f8c38b5395ba9d659bc72f1f Merge succeeded, producing 1373a681178ce0bf999a697e55775e76a0ee26c8 Checking out Revision 1373a681178ce0bf999a697e55775e76a0ee26c8 (PR-356) > git config core.sparsecheckout # timeout=10 > git checkout -f fd4777afe46c4383f8c38b5395ba9d659bc72f1f # 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 bc8694f62f775b1f1e37640ae017c5441854d813 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1373a681178ce0bf999a697e55775e76a0ee26c8 # timeout=10 Commit message: "Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD" > git rev-list --no-walk fd4777afe46c4383f8c38b5395ba9d659bc72f1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:32 ========================================================= 22:10:32 EdgeX Global Pipelines Version Info 22:10:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:33 ------------------- 22:10:33 stable info: 22:10:33 ------------------- 22:10:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:10:33 Message: update stable to v1.0.249 22:10:34 ------------------- 22:10:34 experimental info: 22:10:34 ------------------- 22:10:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:10:34 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-356 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-356 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-356 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1373a681178ce0bf999a697e55775e76a0ee26c8 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1373a68 [Pipeline] echo 22:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:34 provisioning config files... 22:10:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config7950918050648893557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:35 ---> docker-login.sh 22:10:35 nexus3.edgexfoundry.org:10001 22:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:35 Configure a credential helper to remove this warning. See 22:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:35 22:10:35 Login Succeeded 22:10:35 nexus3.edgexfoundry.org:10002 22:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:35 Configure a credential helper to remove this warning. See 22:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:35 22:10:35 Login Succeeded 22:10:35 nexus3.edgexfoundry.org:10003 22:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:35 Configure a credential helper to remove this warning. See 22:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:35 22:10:35 Login Succeeded 22:10:35 nexus3.edgexfoundry.org:10004 22:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:35 Configure a credential helper to remove this warning. See 22:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:35 22:10:35 Login Succeeded 22:10:35 docker.io 22:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:36 Configure a credential helper to remove this warning. See 22:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:36 22:10:36 Login Succeeded 22:10:36 ---> docker-login.sh ends [Pipeline] } 22:10:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:36 + git rev-list -1 --merges 1373a681178ce0bf999a697e55775e76a0ee26c8~1..1373a681178ce0bf999a697e55775e76a0ee26c8 [Pipeline] echo 22:10:36 -----------> git rev-list -1 --merges 1373a681178ce0bf999a697e55775e76a0ee26c8~1..1373a681178ce0bf999a697e55775e76a0ee26c8 1373a681178ce0bf999a697e55775e76a0ee26c8 22:10:36 1373a681178ce0bf999a697e55775e76a0ee26c8 [false] [Pipeline] sh 22:10:36 + git log --format=format:%s -1 1373a681178ce0bf999a697e55775e76a0ee26c8 [Pipeline] echo 22:10:36 ========================================================= 22:10:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:37 + git log --format=format:%s -1 1373a681178ce0bf999a697e55775e76a0ee26c8 [Pipeline] echo 22:10:37 [semverPrep] GIT_COMMIT: 1373a681178ce0bf999a697e55775e76a0ee26c8, Commit Message: Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD [Pipeline] echo 22:10:37 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:37 + grep -v github /etc/ssh/ssh_known_hosts 22:10:37 + [ -e /tmp/ssh_known_hosts ] 22:10:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:37 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:37 22:10:37 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:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:38 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:38 b85a868b505f: Pulling fs layer 22:10:38 e2be974225ed: Pulling fs layer 22:10:38 339a4e72a1f5: Pulling fs layer 22:10:38 988bab9f4d93: Pulling fs layer 22:10:38 1469e6f7b9e6: Pulling fs layer 22:10:38 eaf3925da568: Pulling fs layer 22:10:38 bab4dde63d76: Pulling fs layer 22:10:38 bde34c3a00c8: Pulling fs layer 22:10:38 b352a97aabf1: Pulling fs layer 22:10:38 4872d77fe225: Pulling fs layer 22:10:38 5851b861e8e6: Pulling fs layer 22:10:38 988bab9f4d93: Waiting 22:10:38 bab4dde63d76: Waiting 22:10:38 b352a97aabf1: Waiting 22:10:38 4872d77fe225: Waiting 22:10:38 bde34c3a00c8: Waiting 22:10:38 5851b861e8e6: Waiting 22:10:38 1469e6f7b9e6: Waiting 22:10:38 eaf3925da568: Waiting 22:10:38 e2be974225ed: Verifying Checksum 22:10:38 e2be974225ed: Download complete 22:10:38 988bab9f4d93: Verifying Checksum 22:10:38 988bab9f4d93: Download complete 22:10:38 1469e6f7b9e6: Verifying Checksum 22:10:38 1469e6f7b9e6: Download complete 22:10:38 eaf3925da568: Verifying Checksum 22:10:38 eaf3925da568: Download complete 22:10:38 339a4e72a1f5: Verifying Checksum 22:10:38 339a4e72a1f5: Download complete 22:10:38 bde34c3a00c8: Verifying Checksum 22:10:38 bde34c3a00c8: Download complete 22:10:38 b352a97aabf1: Verifying Checksum 22:10:38 b352a97aabf1: Download complete 22:10:38 4872d77fe225: Download complete 22:10:38 5851b861e8e6: Verifying Checksum 22:10:38 5851b861e8e6: Download complete 22:10:38 b85a868b505f: Verifying Checksum 22:10:38 b85a868b505f: Download complete 22:10:38 bab4dde63d76: Verifying Checksum 22:10:38 bab4dde63d76: Download complete 22:10:39 b85a868b505f: Pull complete 22:10:39 e2be974225ed: Pull complete 22:10:40 339a4e72a1f5: Pull complete 22:10:40 988bab9f4d93: Pull complete 22:10:40 1469e6f7b9e6: Pull complete 22:10:40 eaf3925da568: Pull complete 22:10:42 bab4dde63d76: Pull complete 22:10:42 bde34c3a00c8: Pull complete 22:10:42 b352a97aabf1: Pull complete 22:10:42 4872d77fe225: Pull complete 22:10:42 5851b861e8e6: Pull complete 22:10:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:42 prd-ubuntu20.04-docker-8c-8g-14968 does not seem to be running inside a container 22:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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-devops/py-git-semver:0.1.4 cat 22:10:44 $ docker top 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b -eo pid,comm 22:10:44 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:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:44 [ssh-agent] Looking for ssh-agent implementation... 22:10:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:44 $ docker exec 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b ssh-agent 22:10:44 SSH_AUTH_SOCK=/tmp/ssh-bdYbCYwWvN3O/agent.32 22:10:44 SSH_AGENT_PID=38 22:10:44 Running ssh-add (command line suppressed) 22:10:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_7981961943937954902.key (/w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_7981961943937954902.key) 22:10:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:45 + git tag --points-at HEAD [Pipeline] } 22:10:45 $ docker exec --env ******** --env ******** 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b ssh-agent -k 22:10:45 unset SSH_AUTH_SOCK; 22:10:45 unset SSH_AGENT_PID; 22:10:45 echo Agent pid 38 killed; 22:10:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:45 [ssh-agent] Looking for ssh-agent implementation... 22:10:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:45 $ docker exec 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b ssh-agent 22:10:45 SSH_AUTH_SOCK=/tmp/ssh-wxlYauakk8Jz/agent.70 22:10:45 SSH_AGENT_PID=76 22:10:45 Running ssh-add (command line suppressed) 22:10:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_9115207504740208340.key (/w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_9115207504740208340.key) 22:10:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:46 + git semver init 22:10:46 2023-05-10 22:10:46,303 [run_init] DEBUG init version:0.0.0 force:False 22:10:46 2023-05-10 22:10:46,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-356/.semver 22:10:46 2023-05-10 22:10:46,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-356/.semver 22:10:46 2023-05-10 22:10:46,304 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-356/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-356, universal_newlines=False, shell=None, istream=None) 22:10:47 2023-05-10 22:10:47,183 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-356/.git/info/exclude 22:10:47 2023-05-10 22:10:47,184 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-356/.semver/PR-356 with force:False 22:10:47 2023-05-10 22:10:47,184 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-356/.semver/PR-356 22:10:47 2023-05-10 22:10:47,188 [execute] INFO git cat-file --batch-check 22:10:47 2023-05-10 22:10:47,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-356/.semver, universal_newlines=False, shell=None, istream=) 22:10:47 2023-05-10 22:10:47,194 [execute] INFO git cat-file --batch 22:10:47 2023-05-10 22:10:47,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-356/.semver, universal_newlines=False, shell=None, istream=) 22:10:47 2023-05-10 22:10:47,198 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-356/.semver/PR-356 22:10:47 0.0.0 [Pipeline] } 22:10:47 $ docker exec --env ******** --env ******** 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b ssh-agent -k 22:10:47 unset SSH_AUTH_SOCK; 22:10:47 unset SSH_AGENT_PID; 22:10:47 echo Agent pid 76 killed; 22:10:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:47 + git semver [Pipeline] } 22:10:48 $ docker stop --time=1 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b 22:10:49 $ docker rm -f --volumes 3ea43ba806bcf3fff941074040631e01d2131c4be5462574ebd65a1c36f9dd7b [Pipeline] // withDockerContainer [Pipeline] sh 22:10:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:50 Stashed 1 file(s) [Pipeline] echo 22:10:50 [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:50 provisioning config files... 22:10:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config686160951674192601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:50 ---> docker-login.sh 22:10:50 nexus3.edgexfoundry.org:10001 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 nexus3.edgexfoundry.org:10002 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 nexus3.edgexfoundry.org:10003 22:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:51 Configure a credential helper to remove this warning. See 22:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:51 22:10:51 Login Succeeded 22:10:51 nexus3.edgexfoundry.org:10004 22:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:51 Configure a credential helper to remove this warning. See 22:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:51 22:10:51 Login Succeeded 22:10:51 docker.io 22:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:51 Configure a credential helper to remove this warning. See 22:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:51 22:10:51 Login Succeeded 22:10:51 ---> docker-login.sh ends [Pipeline] } 22:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:51 ========================================================= 22:10:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:10:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:52 + 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:52 Sending build context to Docker daemon 21.9MB 22:10:52 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:10:52 Step 2/13 : FROM ${BASE} AS builder 22:10:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:52 f56be85fc22e: Pulling fs layer 22:10:52 85791d961cd3: Pulling fs layer 22:10:52 d694b5ae8c79: Pulling fs layer 22:10:52 9f32a84ed3da: Pulling fs layer 22:10:52 4d19c01a9841: Pulling fs layer 22:10:52 9325e15d5711: Pulling fs layer 22:10:52 556b6ee489ea: Pulling fs layer 22:10:52 c5a4b2cf53e6: Pulling fs layer 22:10:52 9325e15d5711: Waiting 22:10:52 4d19c01a9841: Waiting 22:10:52 556b6ee489ea: Waiting 22:10:52 c5a4b2cf53e6: Waiting 22:10:52 9f32a84ed3da: Waiting 22:10:52 85791d961cd3: Verifying Checksum 22:10:52 85791d961cd3: Download complete 22:10:52 9f32a84ed3da: Verifying Checksum 22:10:52 9f32a84ed3da: Download complete 22:10:52 4d19c01a9841: Verifying Checksum 22:10:52 4d19c01a9841: Download complete 22:10:52 f56be85fc22e: Download complete 22:10:52 9325e15d5711: Verifying Checksum 22:10:52 9325e15d5711: Download complete 22:10:52 f56be85fc22e: Pull complete 22:10:52 85791d961cd3: Pull complete 22:10:52 c5a4b2cf53e6: Verifying Checksum 22:10:52 c5a4b2cf53e6: Download complete 22:10:53 d694b5ae8c79: Verifying Checksum 22:10:53 d694b5ae8c79: Download complete 22:10:53 556b6ee489ea: Verifying Checksum 22:10:53 556b6ee489ea: Download complete 22:10:56 d694b5ae8c79: Pull complete 22:10:56 9f32a84ed3da: Pull complete 22:10:56 4d19c01a9841: Pull complete 22:10:56 9325e15d5711: Pull complete 22:10:58 556b6ee489ea: Pull complete 22:10:59 c5a4b2cf53e6: Pull complete 22:10:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:10:59 ---> c4be618373d6 22:10:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:02 ---> Running in f814b98247dc 22:11:02 Removing intermediate container f814b98247dc 22:11:02 ---> b8de0a42616d 22:11:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:02 ---> Running in b1fdccc6c799 22:11:02 Removing intermediate container b1fdccc6c799 22:11:02 ---> c5fdc405b6cc 22:11:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:02 ---> Running in 7da0ea9f13b4 22:11:02 Removing intermediate container 7da0ea9f13b4 22:11:02 ---> f89de82c8617 22:11:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:02 ---> Running in 47a9a8032bd9 22:11:02 Removing intermediate container 47a9a8032bd9 22:11:02 ---> 5a102081484a 22:11:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:02 ---> Running in a80acc8a2ef6 22:11:02 Removing intermediate container a80acc8a2ef6 22:11:02 ---> f6ac46c5e67c 22:11:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:02 ---> Running in cd9304f60c10 22:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:03 OK: 265 MiB in 53 packages 22:11:03 Removing intermediate container cd9304f60c10 22:11:03 ---> 72c49ec6d759 22:11:03 Step 9/13 : WORKDIR /device-onvif-camera 22:11:03 ---> Running in 0ddd38af87c9 22:11:03 Removing intermediate container 0ddd38af87c9 22:11:03 ---> 4eb100b27c61 22:11:03 Step 10/13 : COPY go.mod vendor* ./ 22:11:04 ---> 426f981d1c98 22:11:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:04 ---> Running in be4306259d84 22:11:05 Still waiting to schedule task 22:11:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:42 Removing intermediate container be4306259d84 22:11:42 ---> 90cdc031e9c2 22:11:42 Step 12/13 : COPY . . 22:11:42 ---> afed81ad00e6 22:11:42 Step 13/13 : RUN ${MAKE} 22:11:42 ---> Running in 79f895fdd5ac 22:11:42 noop 22:11:42 Removing intermediate container 79f895fdd5ac 22:11:42 ---> 5bcf77b4735b 22:11:42 Successfully built 5bcf77b4735b 22:11:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:43 + docker inspect -f . ci-base-image-x86_64 22:11:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:43 prd-ubuntu20.04-docker-8c-8g-14968 does not seem to be running inside a container 22:11:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:43 $ docker top f4ecbdc374c50d592a55c890f8d1ac0713fee99830d77ac09e2763aed33af3cb -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:43 + go version 22:11:43 go version go1.20.2 linux/amd64 [Pipeline] } 22:11:44 $ docker stop --time=1 f4ecbdc374c50d592a55c890f8d1ac0713fee99830d77ac09e2763aed33af3cb 22:11:45 $ docker rm -f --volumes f4ecbdc374c50d592a55c890f8d1ac0713fee99830d77ac09e2763aed33af3cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:45 + docker inspect -f . ci-base-image-x86_64 22:11:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:45 prd-ubuntu20.04-docker-8c-8g-14968 does not seem to be running inside a container 22:11:45 $ 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-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:46 $ docker top 7d8e282e0240f0260058a3e84fc24c4ab7ef593b7134f3f1f31b6bde2c80a6ab -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-356 [Pipeline] fileExists [Pipeline] sh 22:11:46 + make test 22:11:46 go test ./... -coverprofile=coverage.out ./... 22:11:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:02 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.050s coverage: 31.2% of statements 22:12:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.400s coverage: 86.5% of statements 22:12:15 go vet ./... 22:12:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:18 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:18 $ docker stop --time=1 7d8e282e0240f0260058a3e84fc24c4ab7ef593b7134f3f1f31b6bde2c80a6ab 22:12:20 $ docker rm -f --volumes 7d8e282e0240f0260058a3e84fc24c4ab7ef593b7134f3f1f31b6bde2c80a6ab [Pipeline] // withDockerContainer [Pipeline] sh 22:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:22 + ls -al . 22:12:22 total 232 22:12:22 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:11 . 22:12:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:10 .. 22:12:22 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:10 .git 22:12:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:10 .github 22:12:22 -rw-rw-r-- 1 jenkins jenkins 496 May 10 22:10 .gitignore 22:12:22 -rw-rw-r-- 1 jenkins jenkins 42 May 10 22:10 .golangci.yml 22:12:22 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:10 .semver 22:12:22 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 22:10 Attribution.txt 22:12:22 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 22:10 CHANGELOG.md 22:12:22 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 22:10 Dockerfile 22:12:22 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:10 GOVERNANCE.md 22:12:22 -rw-rw-r-- 1 jenkins jenkins 734 May 10 22:10 Jenkinsfile 22:12:22 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 22:10 LICENSE 22:12:22 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 22:10 Makefile 22:12:22 -rw-rw-r-- 1 jenkins jenkins 625 May 10 22:10 OWNERS.md 22:12:22 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 22:10 README.md 22:12:22 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:10 VERSION 22:12:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:10 bin 22:12:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:10 cmd 22:12:22 -rw-r--r-- 1 jenkins jenkins 78385 May 10 22:12 coverage.out 22:12:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:10 doc 22:12:22 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 22:10 go.mod 22:12:22 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 22:10 go.sum 22:12:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:10 internal 22:12:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:10 snap 22:12:22 -rw-rw-r-- 1 jenkins jenkins 236 May 10 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + 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=1373a681178ce0bf999a697e55775e76a0ee26c8 --label arch=amd64 --label version=0.0.0 . 22:12:22 Sending build context to Docker daemon 21.98MB 22:12:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:22 Step 2/26 : FROM ${BASE} AS builder 22:12:22 ---> 5bcf77b4735b 22:12:22 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:22 ---> Running in 0514f76e1dac 22:12:22 Removing intermediate container 0514f76e1dac 22:12:22 ---> a5b33ea380cc 22:12:22 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:22 ---> Running in d11ee495ff04 22:12:23 Removing intermediate container d11ee495ff04 22:12:23 ---> 8743a246a15e 22:12:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:23 ---> Running in 4ba4bacb19b2 22:12:23 Removing intermediate container 4ba4bacb19b2 22:12:23 ---> 0aa295ced325 22:12:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:23 ---> Running in 67eb2cc4ef53 22:12:23 Removing intermediate container 67eb2cc4ef53 22:12:23 ---> f6f23df4bdaa 22:12:23 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:23 ---> Running in e6165f0722e3 22:12:23 Removing intermediate container e6165f0722e3 22:12:23 ---> ab934e8eea7b 22:12:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:23 ---> Running in 1b6331ecc3fb 22:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:23 OK: 265 MiB in 53 packages 22:12:24 Removing intermediate container 1b6331ecc3fb 22:12:24 ---> ab57952e67e2 22:12:24 Step 9/26 : WORKDIR /device-onvif-camera 22:12:24 ---> Running in 061c654a559f 22:12:24 Removing intermediate container 061c654a559f 22:12:24 ---> 9c381daf800f 22:12:24 Step 10/26 : COPY go.mod vendor* ./ 22:12:24 ---> 4ee4121b9da4 22:12:24 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:24 ---> Running in f15e14867292 22:12:25 Removing intermediate container f15e14867292 22:12:25 ---> 1dbc6dcb8b4d 22:12:25 Step 12/26 : COPY . . 22:12:25 ---> 5ce5893553ec 22:12:25 Step 13/26 : RUN ${MAKE} 22:12:25 ---> Running in 027a2af04b7b 22:12:25 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:44 Removing intermediate container 027a2af04b7b 22:12:44 ---> c79ad386003c 22:12:44 Step 14/26 : FROM alpine:3.17 22:12:44 3.17: Pulling from library/alpine 22:12:44 f56be85fc22e: Already exists 22:12:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:12:44 Status: Downloaded newer image for alpine:3.17 22:12:44 ---> 9ed4aefc74f6 22:12:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:12:44 ---> Running in f13f3322ef63 22:12:44 Removing intermediate container f13f3322ef63 22:12:44 ---> 08892d7a5d4a 22:12:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:44 ---> Running in 1c1a9c9c43fc 22:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:45 (1/1) Installing dumb-init (1.2.5-r2) 22:12:45 Executing busybox-1.35.0-r29.trigger 22:12:45 OK: 7 MiB in 16 packages 22:12:45 Removing intermediate container 1c1a9c9c43fc 22:12:45 ---> ea83429f2785 22:12:45 Step 17/26 : WORKDIR / 22:12:45 ---> Running in 4fa2306e6dab 22:12:45 Removing intermediate container 4fa2306e6dab 22:12:45 ---> 31e42eece233 22:12:45 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14970 in /w/workspace/undry_device-onvif-camera_PR-356 [Pipeline] { [Pipeline] ws 22:12:45 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 22:12:45 The recommended git tool is: git 22:12:46 ---> dc364f7655c3 22:12:46 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:46 ---> 48bfd5298421 22:12:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:46 ---> c272f84fbc58 22:12:46 Step 21/26 : EXPOSE 59984 22:12:46 ---> Running in fee6ee7b2787 22:12:46 Removing intermediate container fee6ee7b2787 22:12:46 ---> 5582f4ea44a6 22:12:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:46 ---> Running in 30bbac312648 22:12:46 Removing intermediate container 30bbac312648 22:12:46 ---> c563e80e802b 22:12:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:46 ---> Running in 49ee0a33276c 22:12:46 Removing intermediate container 49ee0a33276c 22:12:46 ---> 891f5fced64a 22:12:46 Step 24/26 : LABEL arch=amd64 22:12:46 ---> Running in 76f01df442a4 22:12:46 Removing intermediate container 76f01df442a4 22:12:46 ---> 8d5e82846e6e 22:12:46 Step 25/26 : LABEL git_sha=1373a681178ce0bf999a697e55775e76a0ee26c8 22:12:46 ---> Running in 044810399a7b 22:12:46 Removing intermediate container 044810399a7b 22:12:46 ---> 1b469c639c1a 22:12:46 Step 26/26 : LABEL version=0.0.0 22:12:46 ---> Running in 2e25294f34ec 22:12:46 Removing intermediate container 2e25294f34ec 22:12:46 ---> 51312b6c584e 22:12:46 [Warning] One or more build-args [ARCH] were not consumed 22:12:46 Successfully built 51312b6c584e 22:12:46 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:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:47 22:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:47 latest: Pulling from edgex-lftools-log-publisher 22:12:47 5eb5b503b376: Pulling fs layer 22:12:47 5c69ac0246d0: Pulling fs layer 22:12:47 ec43610c2a17: Pulling fs layer 22:12:47 3a2ae6a8a46f: Pulling fs layer 22:12:47 33b1e0a273af: Pulling fs layer 22:12:47 5d3b04190fa2: Pulling fs layer 22:12:47 2f39f015ded8: Pulling fs layer 22:12:47 33b1e0a273af: Waiting 22:12:47 5d3b04190fa2: Waiting 22:12:47 2f39f015ded8: Waiting 22:12:47 3a2ae6a8a46f: Waiting 22:12:47 5c69ac0246d0: Download complete 22:12:47 3a2ae6a8a46f: Verifying Checksum 22:12:47 3a2ae6a8a46f: Download complete 22:12:47 33b1e0a273af: Verifying Checksum 22:12:47 33b1e0a273af: Download complete 22:12:47 5d3b04190fa2: Verifying Checksum 22:12:47 5d3b04190fa2: Download complete 22:12:47 ec43610c2a17: Verifying Checksum 22:12:47 ec43610c2a17: Download complete 22:12:47 5eb5b503b376: Verifying Checksum 22:12:47 5eb5b503b376: Download complete 22:12:48 2f39f015ded8: Verifying Checksum 22:12:48 2f39f015ded8: Download complete 22:12:49 5eb5b503b376: Pull complete 22:12:49 5c69ac0246d0: Pull complete 22:12:49 ec43610c2a17: Pull complete 22:12:49 3a2ae6a8a46f: Pull complete 22:12:49 33b1e0a273af: Pull complete 22:12:49 5d3b04190fa2: Pull complete 22:12:52 using credential edgex-jenkins-ssh 22:12:52 Cloning the remote Git repository 22:12:52 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:52 > git init /w/workspace/device-onvif-camera/4 # timeout=10 22:12:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:52 > git --version # timeout=10 22:12:52 > git --version # 'git version 2.25.1' 22:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:54 2f39f015ded8: Pull complete 22:12:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:54 prd-ubuntu20.04-docker-8c-8g-14968 does not seem to be running inside a container 22:12:54 $ 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-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:12:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:12:56 $ docker top 2eab3a937243edf530ab0cd8150701918cb491d07182578fbdd5a542a5983f1b -eo pid,comm [Pipeline] { 22:12:56 Merging remotes/origin/main commit bc8694f62f775b1f1e37640ae017c5441854d813 into PR head commit fd4777afe46c4383f8c38b5395ba9d659bc72f1f [Pipeline] libraryResource [Pipeline] sh 22:12:56 ---> job-cost.sh 22:12:56 lf-activate-venv: SKIPPING 22:12:56 INFO: No Stack... 22:12:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:57 Merge succeeded, producing 7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 22:12:57 Checking out Revision 7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 (PR-356) 22:12:57 INFO: Archiving Costs [Pipeline] sh 22:12:56 > git config core.sparsecheckout # timeout=10 22:12:56 > git checkout -f fd4777afe46c4383f8c38b5395ba9d659bc72f1f # timeout=10 22:12:56 > git remote # timeout=10 22:12:56 > git config --get remote.origin.url # timeout=10 22:12:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:56 > git merge bc8694f62f775b1f1e37640ae017c5441854d813 # timeout=10 22:12:57 > git rev-parse HEAD^{commit} # timeout=10 22:12:57 > git config core.sparsecheckout # timeout=10 22:12:57 > git checkout -f 7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 # timeout=10 22:12:57 + cat /w/workspace/undry_device-onvif-camera_PR-356/archives/cost.csv 22:12:57 + cut -d, -f6 [Pipeline] lock 22:12:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] 22:12:57 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] did not exist. Created. 22:12:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:58 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:58 Stashed 1 file(s) [Pipeline] } 22:12:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:58 $ docker stop --time=1 2eab3a937243edf530ab0cd8150701918cb491d07182578fbdd5a542a5983f1b 22:12:59 $ docker rm -f --volumes 2eab3a937243edf530ab0cd8150701918cb491d07182578fbdd5a542a5983f1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:00 Commit message: "Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD" 22:13:00 > git rev-list --no-walk fd4777afe46c4383f8c38b5395ba9d659bc72f1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:01 Dload Upload Total Spent Left Speed 22:13:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 22:13:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:02 + sudo tee /etc/docker/daemon.new 22:13:02 { 22:13:02 "registry-mirrors": [ 22:13:02 "https://nexus3.edgexfoundry.org:10001" 22:13:02 ], 22:13:02 "bip": "10.250.0.254/24", 22:13:02 "hosts": [ 22:13:02 "tcp://0.0.0.0:5555", 22:13:02 "unix:///var/run/docker.sock" 22:13:02 ], 22:13:02 "mtu": 1458, 22:13:02 "selinux-enabled": true, 22:13:02 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:02 } [Pipeline] sh 22:13:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:21 provisioning config files... 22:13:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config10772856631012061440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:22 ---> docker-login.sh 22:13:22 nexus3.edgexfoundry.org:10001 22:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:22 Configure a credential helper to remove this warning. See 22:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:22 22:13:22 Login Succeeded 22:13:22 nexus3.edgexfoundry.org:10002 22:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:23 Configure a credential helper to remove this warning. See 22:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:23 22:13:23 Login Succeeded 22:13:23 nexus3.edgexfoundry.org:10003 22:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:23 Configure a credential helper to remove this warning. See 22:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:23 22:13:23 Login Succeeded 22:13:23 nexus3.edgexfoundry.org:10004 22:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:24 Configure a credential helper to remove this warning. See 22:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:24 22:13:24 Login Succeeded 22:13:24 docker.io 22:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:24 Configure a credential helper to remove this warning. See 22:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:24 22:13:24 Login Succeeded 22:13:24 ---> docker-login.sh ends [Pipeline] } 22:13:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:25 ========================================================= 22:13:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:13:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:25 + 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:13:26 Sending build context to Docker daemon 14.43MB 22:13:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:13:26 Step 2/13 : FROM ${BASE} AS builder 22:13:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:26 c41833b44d91: Pulling fs layer 22:13:26 ed15518f5707: Pulling fs layer 22:13:26 feae8fd75edb: Pulling fs layer 22:13:26 242c74f7c9fa: Pulling fs layer 22:13:26 3cdef696dda3: Pulling fs layer 22:13:26 2ced38df9373: Pulling fs layer 22:13:26 58f1dce35555: Pulling fs layer 22:13:26 3cdef696dda3: Waiting 22:13:26 2ced38df9373: Waiting 22:13:26 58f1dce35555: Waiting 22:13:26 242c74f7c9fa: Waiting 22:13:26 ed15518f5707: Verifying Checksum 22:13:26 ed15518f5707: Download complete 22:13:27 242c74f7c9fa: Verifying Checksum 22:13:27 242c74f7c9fa: Download complete 22:13:27 3cdef696dda3: Download complete 22:13:27 c41833b44d91: Verifying Checksum 22:13:27 c41833b44d91: Download complete 22:13:28 c41833b44d91: Pull complete 22:13:28 58f1dce35555: Verifying Checksum 22:13:28 58f1dce35555: Download complete 22:13:28 ed15518f5707: Pull complete 22:13:29 feae8fd75edb: Verifying Checksum 22:13:29 feae8fd75edb: Download complete 22:13:30 2ced38df9373: Download complete 22:13:42 feae8fd75edb: Pull complete 22:13:42 242c74f7c9fa: Pull complete 22:13:42 3cdef696dda3: Pull complete 22:13:49 2ced38df9373: Pull complete 22:13:53 58f1dce35555: Pull complete 22:13:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:13:53 ---> fadd8f120f05 22:13:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:13:54 ---> Running in 038b8aeed8b4 22:13:55 Removing intermediate container 038b8aeed8b4 22:13:55 ---> 40fefe7857f2 22:13:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:55 ---> Running in 08fb2fb3924f 22:13:55 Removing intermediate container 08fb2fb3924f 22:13:55 ---> 64f12bcdd43c 22:13:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:13:55 ---> Running in 9e50baca3d56 22:13:55 Removing intermediate container 9e50baca3d56 22:13:55 ---> de93f2c3266e 22:13:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:13:55 ---> Running in 0cb614047142 22:13:56 Removing intermediate container 0cb614047142 22:13:56 ---> dae0800ed573 22:13:56 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:13:56 ---> Running in 8110a5050f3c 22:13:56 Removing intermediate container 8110a5050f3c 22:13:56 ---> 5d190da9493d 22:13:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:56 ---> Running in 37dce99d35f8 22:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:59 OK: 263 MiB in 53 packages 22:14:00 Removing intermediate container 37dce99d35f8 22:14:00 ---> ea68dece7ea3 22:14:00 Step 9/13 : WORKDIR /device-onvif-camera 22:14:00 ---> Running in c0e9eb012bda 22:14:00 Removing intermediate container c0e9eb012bda 22:14:00 ---> 2b723b67a50b 22:14:00 Step 10/13 : COPY go.mod vendor* ./ 22:14:01 ---> 8bfbe3d5266a 22:14:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:01 ---> Running in 3f7e9a644353 22:15:09 Removing intermediate container 3f7e9a644353 22:15:09 ---> ec4cffc2050f 22:15:09 Step 12/13 : COPY . . 22:15:09 ---> 7f35d61b28b5 22:15:09 Step 13/13 : RUN ${MAKE} 22:15:09 ---> Running in 9a7627365a86 22:15:09 noop 22:15:09 Removing intermediate container 9a7627365a86 22:15:09 ---> 951caa6bb967 22:15:09 Successfully built 951caa6bb967 22:15:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:09 + docker inspect -f . ci-base-image-arm64 22:15:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:09 prd-ubuntu20.04-docker-arm64-4c-16g-14970 does not seem to be running inside a container 22:15:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:11 $ docker top d818476f4243f89715d37cdce9660671a234229e49d9fc87d6ba9b9e0a770801 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:12 + go version 22:15:12 go version go1.20.2 linux/arm64 [Pipeline] } 22:15:12 $ docker stop --time=1 d818476f4243f89715d37cdce9660671a234229e49d9fc87d6ba9b9e0a770801 22:15:14 $ docker rm -f --volumes d818476f4243f89715d37cdce9660671a234229e49d9fc87d6ba9b9e0a770801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:14 + docker inspect -f . ci-base-image-arm64 22:15:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:14 prd-ubuntu20.04-docker-arm64-4c-16g-14970 does not seem to be running inside a container 22:15:14 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:16 $ docker top eddf5b2dd1067c3f636e1da64e3c57c1e46ff03f37c703f2974f4a6b0c7640cf -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 22:15:17 + make test 22:15:17 go test ./... -coverprofile=coverage.out ./... 22:15:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:18:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:18:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:18:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.199s coverage: 31.2% of statements 22:19:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.373s coverage: 86.5% of statements 22:19:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:19:10 go vet ./... 22:19:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:42 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:42 $ docker stop --time=1 eddf5b2dd1067c3f636e1da64e3c57c1e46ff03f37c703f2974f4a6b0c7640cf 22:19:44 $ docker rm -f --volumes eddf5b2dd1067c3f636e1da64e3c57c1e46ff03f37c703f2974f4a6b0c7640cf [Pipeline] // withDockerContainer [Pipeline] sh 22:19:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:45 Warning: overwriting stash ‘coverage-report’ 22:19:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:47 + ls -al . 22:19:47 total 228 22:19:47 drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:15 . 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:12 .. 22:19:47 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:12 .git 22:19:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:12 .github 22:19:47 -rw-rw-r-- 1 jenkins jenkins 496 May 10 22:12 .gitignore 22:19:47 -rw-rw-r-- 1 jenkins jenkins 42 May 10 22:12 .golangci.yml 22:19:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 22:12 Attribution.txt 22:19:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 22:12 CHANGELOG.md 22:19:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 22:12 Dockerfile 22:19:47 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:12 GOVERNANCE.md 22:19:47 -rw-rw-r-- 1 jenkins jenkins 734 May 10 22:12 Jenkinsfile 22:19:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 22:12 LICENSE 22:19:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 22:12 Makefile 22:19:47 -rw-rw-r-- 1 jenkins jenkins 625 May 10 22:12 OWNERS.md 22:19:47 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 22:12 README.md 22:19:47 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:10 VERSION 22:19:47 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:12 bin 22:19:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:12 cmd 22:19:47 -rw-r--r-- 1 jenkins jenkins 78385 May 10 22:19 coverage.out 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:12 doc 22:19:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 22:12 go.mod 22:19:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 22:12 go.sum 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:12 internal 22:19:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:12 snap 22:19:47 -rw-rw-r-- 1 jenkins jenkins 236 May 10 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:47 + 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=7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 --label arch=arm64 --label version=0.0.0 . 22:19:48 Sending build context to Docker daemon 14.51MB 22:19:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:19:48 Step 2/26 : FROM ${BASE} AS builder 22:19:48 ---> 951caa6bb967 22:19:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:19:48 ---> Running in 1592ed5cb92e 22:19:49 Removing intermediate container 1592ed5cb92e 22:19:49 ---> a98d11ed9346 22:19:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:49 ---> Running in 8bbd9c686569 22:19:49 Removing intermediate container 8bbd9c686569 22:19:49 ---> cca2a17fe5dd 22:19:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:19:49 ---> Running in 95a89d7aa28e 22:19:50 Removing intermediate container 95a89d7aa28e 22:19:50 ---> 42430cba1e17 22:19:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:19:50 ---> Running in 6938a6347680 22:19:50 Removing intermediate container 6938a6347680 22:19:50 ---> 75edb052c73a 22:19:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:19:50 ---> Running in 0b13ea82510e 22:19:50 Removing intermediate container 0b13ea82510e 22:19:50 ---> 043e90358131 22:19:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:50 ---> Running in eaa29ddf3ae0 22:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:54 OK: 263 MiB in 53 packages 22:19:55 Removing intermediate container eaa29ddf3ae0 22:19:55 ---> 865f09c0e0dc 22:19:55 Step 9/26 : WORKDIR /device-onvif-camera 22:19:55 ---> Running in c9433ddb8c02 22:19:55 Removing intermediate container c9433ddb8c02 22:19:55 ---> 03df08ab3b43 22:19:55 Step 10/26 : COPY go.mod vendor* ./ 22:19:56 ---> 844a54b57db2 22:19:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:56 ---> Running in 6aa02972c0e9 22:19:59 Removing intermediate container 6aa02972c0e9 22:19:59 ---> a788e56f5200 22:19:59 Step 12/26 : COPY . . 22:20:01 ---> faa140c3c388 22:20:01 Step 13/26 : RUN ${MAKE} 22:20:01 ---> Running in e320be8ba1e4 22:20:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:22:53 Removing intermediate container e320be8ba1e4 22:22:53 ---> 0dc427e30255 22:22:53 Step 14/26 : FROM alpine:3.17 22:22:53 3.17: Pulling from library/alpine 22:22:53 c41833b44d91: Already exists 22:22:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:22:53 Status: Downloaded newer image for alpine:3.17 22:22:53 ---> 51e60588ff2c 22:22:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:22:53 ---> Running in 3ffb49b6f8d7 22:22:53 Removing intermediate container 3ffb49b6f8d7 22:22:53 ---> bd093564f249 22:22:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:22:53 ---> Running in dbb79bf1cc8f 22:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:22:53 (1/1) Installing dumb-init (1.2.5-r2) 22:22:53 Executing busybox-1.35.0-r29.trigger 22:22:53 OK: 8 MiB in 16 packages 22:22:53 Removing intermediate container dbb79bf1cc8f 22:22:53 ---> dd75805c25c2 22:22:53 Step 17/26 : WORKDIR / 22:22:53 ---> Running in 021d5c487885 22:22:53 Removing intermediate container 021d5c487885 22:22:53 ---> 53cc002d3aab 22:22:53 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:22:53 ---> 68420f5822ce 22:22:53 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:22:55 ---> 187fffa3934b 22:22:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:22:55 ---> 311baec4cab0 22:22:55 Step 21/26 : EXPOSE 59984 22:22:55 ---> Running in e2cc3810d90b 22:22:56 Removing intermediate container e2cc3810d90b 22:22:56 ---> fb2839961b41 22:22:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:22:56 ---> Running in 37bf29d6a64f 22:22:56 Removing intermediate container 37bf29d6a64f 22:22:56 ---> c8254287a08c 22:22:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:22:56 ---> Running in 602924e23593 22:22:57 Removing intermediate container 602924e23593 22:22:57 ---> 6f9d8bcc61a6 22:22:57 Step 24/26 : LABEL arch=arm64 22:22:57 ---> Running in 12c349708c0e 22:22:57 Removing intermediate container 12c349708c0e 22:22:57 ---> 77a09e825d34 22:22:57 Step 25/26 : LABEL git_sha=7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 22:22:57 ---> Running in 98543f44c376 22:22:57 Removing intermediate container 98543f44c376 22:22:57 ---> eed16fd421b6 22:22:57 Step 26/26 : LABEL version=0.0.0 22:22:57 ---> Running in a5ac09a4e5bf 22:22:58 Removing intermediate container a5ac09a4e5bf 22:22:58 ---> 4caf31f75b6d 22:22:58 [Warning] One or more build-args [ARCH] were not consumed 22:22:58 Successfully built 4caf31f75b6d 22:22:58 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:22:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:58 22:22:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:59 arm64: Pulling from edgex-lftools-log-publisher 22:22:59 8998bd30e6a1: Pulling fs layer 22:22:59 04944245beec: Pulling fs layer 22:22:59 699f458cf7ca: Pulling fs layer 22:22:59 765212b225bb: Pulling fs layer 22:22:59 f23df028b6ca: Pulling fs layer 22:22:59 d65c8cfc05b1: Pulling fs layer 22:22:59 2437ff75d9bd: Pulling fs layer 22:22:59 f23df028b6ca: Waiting 22:22:59 d65c8cfc05b1: Waiting 22:22:59 2437ff75d9bd: Waiting 22:22:59 765212b225bb: Waiting 22:22:59 04944245beec: Verifying Checksum 22:22:59 04944245beec: Download complete 22:22:59 765212b225bb: Download complete 22:22:59 f23df028b6ca: Verifying Checksum 22:22:59 f23df028b6ca: Download complete 22:22:59 d65c8cfc05b1: Verifying Checksum 22:22:59 d65c8cfc05b1: Download complete 22:22:59 699f458cf7ca: Verifying Checksum 22:22:59 699f458cf7ca: Download complete 22:22:59 8998bd30e6a1: Verifying Checksum 22:22:59 8998bd30e6a1: Download complete 22:23:02 2437ff75d9bd: Verifying Checksum 22:23:02 2437ff75d9bd: Download complete 22:23:03 8998bd30e6a1: Pull complete 22:23:04 04944245beec: Pull complete 22:23:05 699f458cf7ca: Pull complete 22:23:05 765212b225bb: Pull complete 22:23:08 f23df028b6ca: Pull complete 22:23:08 d65c8cfc05b1: Pull complete 22:23:23 2437ff75d9bd: Pull complete 22:23:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:23:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:23:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:24 prd-ubuntu20.04-docker-arm64-4c-16g-14970 does not seem to be running inside a container 22:23:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:23:27 $ docker top de4492618e92d65c1f9907e369c04ec130b00ca9afe15f5282a4182e83d41290 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:28 ---> job-cost.sh 22:23:28 lf-activate-venv: SKIPPING 22:23:28 INFO: No Stack... 22:23:28 INFO: Retrieving Pricing Info for: v3-standard-4 22:23:29 INFO: Archiving Costs [Pipeline] sh 22:23:30 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 22:23:30 + cut -d, -f6 [Pipeline] lock 22:23:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] 22:23:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] did not exist. Created. 22:23:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:31 /w/workspace/device-onvif-camera/4@tmp/durable-e23df9bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:23:31 + echo total: 0.10999999940395355 [Pipeline] stash 22:23:31 Warning: overwriting stash ‘stack-cost’ 22:23:31 Stashed 1 file(s) [Pipeline] } 22:23:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:31 $ docker stop --time=1 de4492618e92d65c1f9907e369c04ec130b00ca9afe15f5282a4182e83d41290 22:23:33 $ docker rm -f --volumes de4492618e92d65c1f9907e369c04ec130b00ca9afe15f5282a4182e83d41290 [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:23:33 provisioning config files... 22:23:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config5093751475841112007tmp [Pipeline] { [Pipeline] sh 22:23:34 + set +x 22:23:34 + + bash -s -- 22:23:34 curl -s https://codecov.io/bash 22:23:34 22:23:34 _____ _ 22:23:34 / ____| | | 22:23:34 | | ___ __| | ___ ___ _____ __ 22:23:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:23:34 | |___| (_) | (_| | __/ (_| (_) \ V / 22:23:34 \_____\___/ \__,_|\___|\___\___/ \_/ 22:23:34 Bash-1.0.6 22:23:34 22:23:34 22:23:34 ==> git version 2.25.1 found 22:23:34 ==> 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:23:34 Release-Date: 2020-01-08 22:23:34 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:23:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:23:34 ==> Jenkins CI detected. 22:23:34 current dir:  /w/workspace/undry_device-onvif-camera_PR-356 22:23:34 project root: . 22:23:34 --> token set from env 22:23:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:23:34 ==> Running gcov in . (disable via -X gcov) 22:23:34 ==> Python coveragepy not found 22:23:34 ==> Searching for coverage reports in: 22:23:34 + . 22:23:34 -> Found 1 reports 22:23:34 ==> Detecting git/mercurial file structure 22:23:34 ==> Reading reports 22:23:34 + ./coverage.out bytes=78385 22:23:34 ==> Appending adjustments 22:23:34 https://docs.codecov.io/docs/fixing-reports 22:23:34 + Found adjustments 22:23:34 ==> Gzipping contents 22:23:34 12K /tmp/codecov.c3LE1S.gz 22:23:34 ==> Uploading reports 22:23:34 url: https://codecov.io 22:23:34 query: branch=PR-356&commit=1373a681178ce0bf999a697e55775e76a0ee26c8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-356%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=356&job=&cmd_args= 22:23:34 -> Pinging Codecov 22:23:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-356&commit=1373a681178ce0bf999a697e55775e76a0ee26c8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-356%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=356&job=&cmd_args= 22:23:34 -> Uploading to 22:23:34 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/F29A59C45E3A92E06B3E522C9905F8EF/1373a681178ce0bf999a697e55775e76a0ee26c8/d66f115a-1ba4-475c-a56b-e3cf23ca0e92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T222334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6086cb7a9e9337ee41ae023f9fa89f5dc36fe35e3138375f6c5e4949862a8b1c 22:23:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:34 Dload Upload Total Spent Left Speed 22:23:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10499 0 0 100 10499 0 44676 --:--:-- --:--:-- --:--:-- 44676 22:23:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1373a681178ce0bf999a697e55775e76a0ee26c8 [Pipeline] } 22:23:35 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:23:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-356/archives ] 22:23:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-356/archives 22:23:35 total 16 22:23:35 drwxr-xr-x 3 root root 4096 May 10 22:12 . 22:23:35 drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:12 .. 22:23:35 drwxr-xr-x 2 root root 4096 May 10 22:12 cost 22:23:35 -rw-r--r-- 1 root root 91 May 10 22:12 cost.csv 22:23:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-356/archives 22:23:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-356/archives 22:23:35 total 16 22:23:35 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:12 . 22:23:35 drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:12 .. 22:23:35 drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:12 cost 22:23:35 -rw-r--r-- 1 jenkins jenkins 91 May 10 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:23:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:23:36 ---> package-listing.sh 22:23:36 ++ facter osfamily 22:23:36 ++ tr '[:upper:]' '[:lower:]' 22:23:37 + OS_FAMILY=debian 22:23:37 + workspace=/w/workspace/undry_device-onvif-camera_PR-356 22:23:37 + START_PACKAGES=/tmp/packages_start.txt 22:23:37 + END_PACKAGES=/tmp/packages_end.txt 22:23:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:23:37 + PACKAGES=/tmp/packages_start.txt 22:23:37 + '[' /w/workspace/undry_device-onvif-camera_PR-356 ']' 22:23:37 + PACKAGES=/tmp/packages_end.txt 22:23:37 + case "${OS_FAMILY}" in 22:23:37 + dpkg -l 22:23:37 + grep '^ii' 22:23:37 + '[' -f /tmp/packages_start.txt ']' 22:23:37 + '[' -f /tmp/packages_end.txt ']' 22:23:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:23:37 + '[' /w/workspace/undry_device-onvif-camera_PR-356 ']' 22:23:37 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-356/archives/ 22:23:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-356/archives/ [Pipeline] echo 22:23:37 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-356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:23:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:38 prd-ubuntu20.04-docker-8c-8g-14968 does not seem to be running inside a container 22:23:38 $ 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-356/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-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:23:38 $ docker top 72f3e95a4bc3c7e8aca320ff3dcc12eaf19be3df725e094898dd93651078cf68 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:38 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:38 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:39 + ls /var/log/sa-host 22:23:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:39 provisioning config files... 22:23:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config1132078266936804484tmp [Pipeline] { [Pipeline] echo 22:23:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:39 ---> create-netrc.sh [Pipeline] } 22:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:39 ---> python-tools-install.sh [Pipeline] echo 22:23:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:40 ---> sudo-logs.sh 22:23:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:23:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:40 ---> job-cost.sh 22:23:40 lf-activate-venv: SKIPPING 22:23:40 DEBUG: total: 0.2199999988079071 22:23:40 INFO: Retrieving Stack Cost... 22:23:41 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:41 INFO: Archiving Costs [Pipeline] echo 22:23:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:41 ---> logs-deploy.sh 22:23:41 lf-activate-venv: SKIPPING 22:23:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-356/4 22:23:41 INFO: archiving workspace using pattern(s): 22:23:42 Archives upload complete. 22:23:42 INFO: archiving logs to Nexus