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 b19be15f1aae5ce963d99b90e51172ceff0b476d rather than 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 Obtained Jenkinsfile from b19be15f1aae5ce963d99b90e51172ceff0b476d 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-ssh7302489468799379062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6915812338794403367.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-263/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-263/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8916253028142311582.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1159465932243606675.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-263/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-263/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11446499201868037982.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2289’ Running on prd-ubuntu20.04-docker-8c-8g-2292 in /w/workspace/undry_device-onvif-camera_PR-263 [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-263 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 Merge succeeded, producing b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf Checking out Revision b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf (PR-263) > 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/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf # timeout=10 Commit message: "Merge commit 'b19be15f1aae5ce963d99b90e51172ceff0b476d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:01 ========================================================= 22:11:01 EdgeX Global Pipelines Version Info 22:11:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 64d18ebb08d31a6464ac7888722234fde2f998d1 # timeout=10 22:11:02 ------------------- 22:11:02 stable info: 22:11:02 ------------------- 22:11:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:02 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:11:02 Message: update stable to v1.0.245 22:11:02 ------------------- 22:11:02 experimental info: 22:11:02 ------------------- 22:11:02 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:02 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:11:02 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-263 [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-263 [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-263 [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6a6f95 [Pipeline] echo 22:11:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:03 provisioning config files... 22:11:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config14885271772429423220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:03 ---> docker-login.sh 22:11:03 nexus3.edgexfoundry.org:10001 22:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:04 Configure a credential helper to remove this warning. See 22:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:04 22:11:04 Login Succeeded 22:11:04 nexus3.edgexfoundry.org:10002 22:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:04 Configure a credential helper to remove this warning. See 22:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:04 22:11:04 Login Succeeded 22:11:04 nexus3.edgexfoundry.org:10003 22:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:04 Configure a credential helper to remove this warning. See 22:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:04 22:11:04 Login Succeeded 22:11:04 nexus3.edgexfoundry.org:10004 22:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:04 Configure a credential helper to remove this warning. See 22:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:04 22:11:04 Login Succeeded 22:11:04 docker.io 22:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:04 Configure a credential helper to remove this warning. See 22:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:04 22:11:04 Login Succeeded 22:11:04 ---> docker-login.sh ends [Pipeline] } 22:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:04 + git rev-list -1 --merges b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf~1..b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf [Pipeline] echo 22:11:05 -----------> git rev-list -1 --merges b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf~1..b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf 22:11:05 b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf [false] [Pipeline] sh 22:11:05 + git log --format=format:%s -1 b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf [Pipeline] echo 22:11:05 ========================================================= 22:11:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:05 + git log --format=format:%s -1 b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf [Pipeline] echo 22:11:05 [semverPrep] GIT_COMMIT: b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf, Commit Message: Merge commit 'b19be15f1aae5ce963d99b90e51172ceff0b476d' into HEAD [Pipeline] echo 22:11:05 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:05 + grep -v github /etc/ssh/ssh_known_hosts 22:11:05 + [ -e /tmp/ssh_known_hosts ] 22:11:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:05 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 22:11:05 -a /etc/ssh/ssh_known_hosts 22:11:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:06 22:11:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:06 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:06 b85a868b505f: Pulling fs layer 22:11:06 e2be974225ed: Pulling fs layer 22:11:06 339a4e72a1f5: Pulling fs layer 22:11:06 988bab9f4d93: Pulling fs layer 22:11:06 1469e6f7b9e6: Pulling fs layer 22:11:06 eaf3925da568: Pulling fs layer 22:11:06 bab4dde63d76: Pulling fs layer 22:11:06 bde34c3a00c8: Pulling fs layer 22:11:06 b352a97aabf1: Pulling fs layer 22:11:06 4872d77fe225: Pulling fs layer 22:11:06 5851b861e8e6: Pulling fs layer 22:11:06 bab4dde63d76: Waiting 22:11:06 bde34c3a00c8: Waiting 22:11:06 b352a97aabf1: Waiting 22:11:06 4872d77fe225: Waiting 22:11:06 5851b861e8e6: Waiting 22:11:06 988bab9f4d93: Waiting 22:11:06 1469e6f7b9e6: Waiting 22:11:06 eaf3925da568: Waiting 22:11:06 e2be974225ed: Download complete 22:11:06 988bab9f4d93: Verifying Checksum 22:11:06 988bab9f4d93: Download complete 22:11:06 1469e6f7b9e6: Verifying Checksum 22:11:06 1469e6f7b9e6: Download complete 22:11:06 eaf3925da568: Verifying Checksum 22:11:06 eaf3925da568: Download complete 22:11:06 339a4e72a1f5: Verifying Checksum 22:11:06 339a4e72a1f5: Download complete 22:11:06 bde34c3a00c8: Verifying Checksum 22:11:06 bde34c3a00c8: Download complete 22:11:06 b352a97aabf1: Download complete 22:11:06 4872d77fe225: Download complete 22:11:07 5851b861e8e6: Download complete 22:11:07 b85a868b505f: Verifying Checksum 22:11:07 b85a868b505f: Download complete 22:11:07 bab4dde63d76: Verifying Checksum 22:11:07 bab4dde63d76: Download complete 22:11:08 b85a868b505f: Pull complete 22:11:08 e2be974225ed: Pull complete 22:11:08 339a4e72a1f5: Pull complete 22:11:08 988bab9f4d93: Pull complete 22:11:09 1469e6f7b9e6: Pull complete 22:11:09 eaf3925da568: Pull complete 22:11:11 bab4dde63d76: Pull complete 22:11:11 bde34c3a00c8: Pull complete 22:11:11 b352a97aabf1: Pull complete 22:11:11 4872d77fe225: Pull complete 22:11:11 5851b861e8e6: Pull complete 22:11:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:11 prd-ubuntu20.04-docker-8c-8g-2292 does not seem to be running inside a container 22:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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:11:13 $ docker top 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 -eo pid,comm 22:11:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:11:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:13 [ssh-agent] Looking for ssh-agent implementation... 22:11:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:14 $ docker exec 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 ssh-agent 22:11:14 SSH_AUTH_SOCK=/tmp/ssh-VBYpNzBI7eqD/agent.33 22:11:14 SSH_AGENT_PID=39 22:11:14 Running ssh-add (command line suppressed) 22:11:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_1628869714342744877.key (/w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_1628869714342744877.key) 22:11:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:15 + git tag --points-at HEAD [Pipeline] } 22:11:15 $ docker exec --env ******** --env ******** 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 ssh-agent -k 22:11:15 unset SSH_AUTH_SOCK; 22:11:15 unset SSH_AGENT_PID; 22:11:15 echo Agent pid 39 killed; 22:11:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:15 [ssh-agent] Looking for ssh-agent implementation... 22:11:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:15 $ docker exec 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 ssh-agent 22:11:15 SSH_AUTH_SOCK=/tmp/ssh-ohjpM33mr9Nq/agent.71 22:11:15 SSH_AGENT_PID=77 22:11:15 Running ssh-add (command line suppressed) 22:11:15 Identity added: /w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_11413971207713412524.key (/w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_11413971207713412524.key) 22:11:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:15 + git semver init 22:11:16 2023-03-15 22:11:16,173 [run_init] DEBUG init version:0.0.0 force:False 22:11:16 2023-03-15 22:11:16,173 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-263/.semver 22:11:16 2023-03-15 22:11:16,174 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-263/.semver 22:11:16 2023-03-15 22:11:16,174 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-263/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-263, universal_newlines=False, shell=None, istream=None) 22:11:17 2023-03-15 22:11:17,002 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-263/.git/info/exclude 22:11:17 2023-03-15 22:11:17,002 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-263/.semver/PR-263 with force:False 22:11:17 2023-03-15 22:11:17,002 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-263/.semver/PR-263 22:11:17 2023-03-15 22:11:17,006 [execute] INFO git cat-file --batch-check 22:11:17 2023-03-15 22:11:17,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-263/.semver, universal_newlines=False, shell=None, istream=) 22:11:17 2023-03-15 22:11:17,012 [execute] INFO git cat-file --batch 22:11:17 2023-03-15 22:11:17,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-263/.semver, universal_newlines=False, shell=None, istream=) 22:11:17 2023-03-15 22:11:17,016 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-263/.semver/PR-263 22:11:17 0.0.0 [Pipeline] } 22:11:17 $ docker exec --env ******** --env ******** 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 ssh-agent -k 22:11:17 unset SSH_AUTH_SOCK; 22:11:17 unset SSH_AGENT_PID; 22:11:17 echo Agent pid 77 killed; 22:11:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:17 + git semver [Pipeline] } 22:11:17 $ docker stop --time=1 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 22:11:19 $ docker rm -f --volumes 28acd3e6d86882003798f9142ff9a84e8c7633167df84448893fc25767ea8b24 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:19 Stashed 1 file(s) [Pipeline] echo 22:11:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:19 provisioning config files... 22:11:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config4711157343831482070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:20 ---> docker-login.sh 22:11:20 nexus3.edgexfoundry.org:10001 22:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:20 Configure a credential helper to remove this warning. See 22:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:20 22:11:20 Login Succeeded 22:11:20 nexus3.edgexfoundry.org:10002 22:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:20 Configure a credential helper to remove this warning. See 22:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:20 22:11:20 Login Succeeded 22:11:20 nexus3.edgexfoundry.org:10003 22:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:20 Configure a credential helper to remove this warning. See 22:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:20 22:11:20 Login Succeeded 22:11:20 nexus3.edgexfoundry.org:10004 22:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:20 Configure a credential helper to remove this warning. See 22:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:20 22:11:20 Login Succeeded 22:11:20 docker.io 22:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:20 Configure a credential helper to remove this warning. See 22:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:20 22:11:20 Login Succeeded 22:11:20 ---> docker-login.sh ends [Pipeline] } 22:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:20 ========================================================= 22:11:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:11:21 Sending build context to Docker daemon 27.89MB 22:11:21 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:21 Step 2/13 : FROM ${BASE} AS builder 22:11:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:21 63b65145d645: Pulling fs layer 22:11:21 a2d21d5440eb: Pulling fs layer 22:11:21 935e6c44a52c: Pulling fs layer 22:11:21 94cc34f8dd06: Pulling fs layer 22:11:21 30dea6a524f1: Pulling fs layer 22:11:21 a2aff8979fd8: Pulling fs layer 22:11:21 6808be2612f2: Pulling fs layer 22:11:21 f25807f1079a: Pulling fs layer 22:11:21 6808be2612f2: Waiting 22:11:21 94cc34f8dd06: Waiting 22:11:21 f25807f1079a: Waiting 22:11:21 30dea6a524f1: Waiting 22:11:21 a2aff8979fd8: Waiting 22:11:21 a2d21d5440eb: Verifying Checksum 22:11:21 a2d21d5440eb: Download complete 22:11:21 94cc34f8dd06: Verifying Checksum 22:11:21 94cc34f8dd06: Download complete 22:11:21 30dea6a524f1: Verifying Checksum 22:11:21 30dea6a524f1: Download complete 22:11:21 63b65145d645: Download complete 22:11:21 a2aff8979fd8: Verifying Checksum 22:11:21 a2aff8979fd8: Download complete 22:11:21 63b65145d645: Pull complete 22:11:21 a2d21d5440eb: Pull complete 22:11:22 f25807f1079a: Download complete 22:11:22 935e6c44a52c: Download complete 22:11:22 6808be2612f2: Verifying Checksum 22:11:22 6808be2612f2: Download complete 22:11:25 935e6c44a52c: Pull complete 22:11:25 94cc34f8dd06: Pull complete 22:11:25 30dea6a524f1: Pull complete 22:11:25 a2aff8979fd8: Pull complete 22:11:28 6808be2612f2: Pull complete 22:11:28 f25807f1079a: Pull complete 22:11:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:11:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:28 ---> 3b553350e43f 22:11:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:30 ---> Running in e5460ecd3153 22:11:30 Removing intermediate container e5460ecd3153 22:11:30 ---> 95f89073b5d1 22:11:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:30 ---> Running in 137f367cc092 22:11:30 Removing intermediate container 137f367cc092 22:11:30 ---> 20f8ee36e0db 22:11:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:30 ---> Running in 84fcff9f63f4 22:11:30 Removing intermediate container 84fcff9f63f4 22:11:30 ---> 901eb74aea43 22:11:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:30 ---> Running in 26a264d7da65 22:11:31 Removing intermediate container 26a264d7da65 22:11:31 ---> 78417bd45348 22:11:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:31 ---> Running in 2ec3edd77003 22:11:31 Removing intermediate container 2ec3edd77003 22:11:31 ---> bd0917d603f5 22:11:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:31 ---> Running in 3da11b3e64d4 22:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:31 OK: 265 MiB in 53 packages 22:11:32 Removing intermediate container 3da11b3e64d4 22:11:32 ---> e882dad54c92 22:11:32 Step 9/13 : WORKDIR /device-onvif-camera 22:11:32 ---> Running in a34472adaa57 22:11:32 Removing intermediate container a34472adaa57 22:11:32 ---> 7fb00c169c5e 22:11:32 Step 10/13 : COPY go.mod vendor* ./ 22:11:32 ---> ad3d8a7f0ed8 22:11:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:32 ---> Running in d288c2914036 22:11:34 Still waiting to schedule task 22:11:34 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2290’ is offline 22:12:11 Removing intermediate container d288c2914036 22:12:11 ---> 6a151c04b21c 22:12:11 Step 12/13 : COPY . . 22:12:11 ---> 24e926667e46 22:12:11 Step 13/13 : RUN ${MAKE} 22:12:11 ---> Running in ad157eac03a4 22:12:11 noop 22:12:11 Removing intermediate container ad157eac03a4 22:12:11 ---> f5224b64c1af 22:12:11 Successfully built f5224b64c1af 22:12:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:11 + docker inspect -f . ci-base-image-x86_64 22:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:11 prd-ubuntu20.04-docker-8c-8g-2292 does not seem to be running inside a container 22:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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:12:12 $ docker top 0447273e36cf29e7a90e4ee2539d229ddb7cfecba2bb6a5609ac11b4495868c1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:12 + go version 22:12:12 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:12 $ docker stop --time=1 0447273e36cf29e7a90e4ee2539d229ddb7cfecba2bb6a5609ac11b4495868c1 22:12:13 $ docker rm -f --volumes 0447273e36cf29e7a90e4ee2539d229ddb7cfecba2bb6a5609ac11b4495868c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:14 + docker inspect -f . ci-base-image-x86_64 22:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:14 prd-ubuntu20.04-docker-8c-8g-2292 does not seem to be running inside a container 22:12:14 $ 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-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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:12:14 $ docker top 21d3f4193e5cb7085a3823136ae3e1f647f64b7c5961179523b126dceb8299e5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:14 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-263 [Pipeline] fileExists [Pipeline] sh 22:12:15 + make test 22:12:15 go test ./... -coverprofile=coverage.out ./... 22:12:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:31 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 30.5% of statements 22:12:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.190s coverage: 86.5% of statements 22:12:39 go vet ./... 22:12:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:43 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:43 $ docker stop --time=1 21d3f4193e5cb7085a3823136ae3e1f647f64b7c5961179523b126dceb8299e5 22:12:45 $ docker rm -f --volumes 21d3f4193e5cb7085a3823136ae3e1f647f64b7c5961179523b126dceb8299e5 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:46 + ls -al . 22:12:46 total 232 22:12:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 22:12 . 22:12:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 22:10 .. 22:12:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 22:11 .git 22:12:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 22:10 .github 22:12:46 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 22:10 .gitignore 22:12:46 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 22:10 .golangci.yml 22:12:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 22:11 .semver 22:12:46 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 22:10 Attribution.txt 22:12:46 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 22:10 CHANGELOG.md 22:12:46 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 22:10 Dockerfile 22:12:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 22:10 GOVERNANCE.md 22:12:46 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 22:10 Jenkinsfile 22:12:46 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 22:10 LICENSE 22:12:46 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 22:10 Makefile 22:12:46 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 22:10 OWNERS.md 22:12:46 -rw-rw-r-- 1 jenkins jenkins 6159 Mar 15 22:10 README.md 22:12:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 22:11 VERSION 22:12:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 22:10 bin 22:12:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 22:10 cmd 22:12:46 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 22:12 coverage.out 22:12:46 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 22:10 doc 22:12:46 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 22:10 go.mod 22:12:46 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 22:10 go.sum 22:12:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 22:10 internal 22:12:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 22:10 snap 22:12:46 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:47 + 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=b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf --label arch=amd64 --label version=0.0.0 . 22:12:47 Sending build context to Docker daemon 27.96MB 22:12:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:47 Step 2/26 : FROM ${BASE} AS builder 22:12:47 ---> f5224b64c1af 22:12:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:47 ---> Running in 71c1e7a2522d 22:12:47 Removing intermediate container 71c1e7a2522d 22:12:47 ---> a0ef4963e566 22:12:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:47 ---> Running in aa1e5f38801a 22:12:47 Removing intermediate container aa1e5f38801a 22:12:47 ---> ee54002b66e6 22:12:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:47 ---> Running in 32ce3f7769bd 22:12:47 Removing intermediate container 32ce3f7769bd 22:12:47 ---> 2c378be1f8a7 22:12:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:47 ---> Running in 019f93c63fcc 22:12:47 Removing intermediate container 019f93c63fcc 22:12:47 ---> b29f096d4fa6 22:12:47 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:47 ---> Running in 227bf0acf537 22:12:47 Removing intermediate container 227bf0acf537 22:12:47 ---> 707d145f8d1d 22:12:47 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:48 ---> Running in f16457f589af 22:12:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:48 OK: 265 MiB in 53 packages 22:12:48 Removing intermediate container f16457f589af 22:12:48 ---> 61ae7927e6aa 22:12:48 Step 9/26 : WORKDIR /device-onvif-camera 22:12:48 ---> Running in c4c5beafea2f 22:12:48 Removing intermediate container c4c5beafea2f 22:12:48 ---> 88cbf049e087 22:12:48 Step 10/26 : COPY go.mod vendor* ./ 22:12:49 ---> 959c30b78961 22:12:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:49 ---> Running in bf5949d7fed2 22:12:50 Removing intermediate container bf5949d7fed2 22:12:50 ---> 844061355758 22:12:50 Step 12/26 : COPY . . 22:12:50 ---> fc0018339f02 22:12:50 Step 13/26 : RUN ${MAKE} 22:12:50 ---> Running in 85fc9e861ba2 22:12:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:13:09 Removing intermediate container 85fc9e861ba2 22:13:09 ---> 5e03de820db3 22:13:09 Step 14/26 : FROM alpine:3.17 22:13:09 3.17: Pulling from library/alpine 22:13:09 63b65145d645: Already exists 22:13:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:13:09 Status: Downloaded newer image for alpine:3.17 22:13:09 ---> b2aa39c304c2 22:13:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:09 ---> Running in 5b6d684747ca 22:13:09 Removing intermediate container 5b6d684747ca 22:13:09 ---> f2919cd550de 22:13:09 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:09 ---> Running in 2604d2e925ee 22:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:10 (1/1) Installing dumb-init (1.2.5-r2) 22:13:10 Executing busybox-1.35.0-r29.trigger 22:13:10 OK: 7 MiB in 16 packages 22:13:10 Removing intermediate container 2604d2e925ee 22:13:10 ---> 76d9d5cb3e30 22:13:10 Step 17/26 : WORKDIR / 22:13:10 ---> Running in 8af53cc1cd12 22:13:10 Removing intermediate container 8af53cc1cd12 22:13:10 ---> cc5f7764797f 22:13:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:11 ---> e895b68d9e04 22:13:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:11 ---> 7ce79c01045b 22:13:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:11 ---> 1b5a801f885c 22:13:11 Step 21/26 : EXPOSE 59984 22:13:11 ---> Running in a13710c77f32 22:13:11 Removing intermediate container a13710c77f32 22:13:11 ---> ea531b0041d3 22:13:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:11 ---> Running in 596ecfc8e4e6 22:13:11 Removing intermediate container 596ecfc8e4e6 22:13:11 ---> 5cf3bfa4d631 22:13:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:11 ---> Running in 6c721788a2cc 22:13:11 Removing intermediate container 6c721788a2cc 22:13:11 ---> 35ffcc222386 22:13:11 Step 24/26 : LABEL arch=amd64 22:13:11 ---> Running in c4c800c315bf 22:13:11 Removing intermediate container c4c800c315bf 22:13:11 ---> a11c0c502607 22:13:11 Step 25/26 : LABEL git_sha=b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf 22:13:12 ---> Running in 9d065e31ae22 22:13:12 Removing intermediate container 9d065e31ae22 22:13:12 ---> 7f09f28c9758 22:13:12 Step 26/26 : LABEL version=0.0.0 22:13:12 ---> Running in b69000dd6f8c 22:13:12 Removing intermediate container b69000dd6f8c 22:13:12 ---> c4760589e1b3 22:13:12 [Warning] One or more build-args [ARCH] were not consumed 22:13:12 Successfully built c4760589e1b3 22:13:12 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:12 22:13:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:13 latest: Pulling from edgex-lftools-log-publisher 22:13:13 5eb5b503b376: Pulling fs layer 22:13:13 5c69ac0246d0: Pulling fs layer 22:13:13 ec43610c2a17: Pulling fs layer 22:13:13 3a2ae6a8a46f: Pulling fs layer 22:13:13 33b1e0a273af: Pulling fs layer 22:13:13 5d3b04190fa2: Pulling fs layer 22:13:13 2f39f015ded8: Pulling fs layer 22:13:13 33b1e0a273af: Waiting 22:13:13 5d3b04190fa2: Waiting 22:13:13 2f39f015ded8: Waiting 22:13:13 5c69ac0246d0: Verifying Checksum 22:13:13 3a2ae6a8a46f: Verifying Checksum 22:13:13 3a2ae6a8a46f: Download complete 22:13:13 ec43610c2a17: Verifying Checksum 22:13:13 ec43610c2a17: Download complete 22:13:13 33b1e0a273af: Verifying Checksum 22:13:13 33b1e0a273af: Download complete 22:13:13 5d3b04190fa2: Download complete 22:13:13 5eb5b503b376: Download complete 22:13:14 2f39f015ded8: Download complete 22:13:14 5eb5b503b376: Pull complete 22:13:14 5c69ac0246d0: Pull complete 22:13:15 ec43610c2a17: Pull complete 22:13:15 3a2ae6a8a46f: Pull complete 22:13:15 33b1e0a273af: Pull complete 22:13:15 5d3b04190fa2: Pull complete 22:13:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2294 in /w/workspace/undry_device-onvif-camera_PR-263 [Pipeline] { [Pipeline] ws 22:13:19 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 22:13:19 The recommended git tool is: git 22:13:20 2f39f015ded8: Pull complete 22:13:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:20 prd-ubuntu20.04-docker-8c-8g-2292 does not seem to be running inside a container 22:13:20 $ 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-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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:13:22 $ docker top e737c01374af78380ed8f7f6f53a51f86868d2ed73aa1968b63ca5011196e3d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:22 ---> job-cost.sh 22:13:22 lf-activate-venv: SKIPPING 22:13:22 INFO: No Stack... 22:13:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:23 INFO: Archiving Costs [Pipeline] sh 22:13:23 + cat /w/workspace/undry_device-onvif-camera_PR-263/archives/cost.csv 22:13:23 + cut -d, -f6 [Pipeline] lock 22:13:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] 22:13:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] did not exist. Created. 22:13:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:24 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:24 Stashed 1 file(s) [Pipeline] } 22:13:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:24 $ docker stop --time=1 e737c01374af78380ed8f7f6f53a51f86868d2ed73aa1968b63ca5011196e3d4 22:13:25 $ docker rm -f --volumes e737c01374af78380ed8f7f6f53a51f86868d2ed73aa1968b63ca5011196e3d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:26 using credential edgex-jenkins-ssh 22:13:26 Cloning the remote Git repository 22:13:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:13:26 > git init /w/workspace/device-onvif-camera/3 # timeout=10 22:13:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:26 > git --version # timeout=10 22:13:26 > git --version # 'git version 2.25.1' 22:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:31 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:13:31 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 22:13:31 > git config core.sparsecheckout # timeout=10 22:13:31 > git checkout -f 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 # timeout=10 22:13:32 > git remote # timeout=10 22:13:32 > git config --get remote.origin.url # timeout=10 22:13:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:32 > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 22:13:32 Merge succeeded, producing 9c362fad3858b0124ddeaf2eb131dd5ebd995070 22:13:32 Checking out Revision 9c362fad3858b0124ddeaf2eb131dd5ebd995070 (PR-263) 22:13:32 > git rev-parse HEAD^{commit} # timeout=10 22:13:32 > git config core.sparsecheckout # timeout=10 22:13:32 > git checkout -f 9c362fad3858b0124ddeaf2eb131dd5ebd995070 # timeout=10 22:13:36 Commit message: "Merge commit 'b19be15f1aae5ce963d99b90e51172ceff0b476d' into HEAD" 22:13:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:37 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:37 Dload Upload Total Spent Left Speed 22:13:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 22:13:36 > git rev-list --no-walk 64d18ebb08d31a6464ac7888722234fde2f998d1 # timeout=10 [Pipeline] sh 22:13:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:39 + sudo tee /etc/docker/daemon.new 22:13:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:39 { 22:13:39 "registry-mirrors": [ 22:13:39 "https://nexus3.edgexfoundry.org:10001" 22:13:39 ], 22:13:39 "bip": "10.250.0.254/24", 22:13:39 "hosts": [ 22:13:39 "tcp://0.0.0.0:5555", 22:13:39 "unix:///var/run/docker.sock" 22:13:39 ], 22:13:39 "mtu": 1458, 22:13:39 "selinux-enabled": true, 22:13:39 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:39 } [Pipeline] sh 22:13:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:57 provisioning config files... 22:13:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config2665042138938783737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:58 ---> docker-login.sh 22:13:58 nexus3.edgexfoundry.org:10001 22:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:58 Configure a credential helper to remove this warning. See 22:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:58 22:13:58 Login Succeeded 22:13:58 nexus3.edgexfoundry.org:10002 22:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:59 Configure a credential helper to remove this warning. See 22:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:59 22:13:59 Login Succeeded 22:13:59 nexus3.edgexfoundry.org:10003 22:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:59 Configure a credential helper to remove this warning. See 22:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:59 22:13:59 Login Succeeded 22:13:59 nexus3.edgexfoundry.org:10004 22:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:00 Configure a credential helper to remove this warning. See 22:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:00 22:14:00 Login Succeeded 22:14:00 docker.io 22:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:00 Configure a credential helper to remove this warning. See 22:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:00 22:14:00 Login Succeeded 22:14:00 ---> docker-login.sh ends [Pipeline] } 22:14:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:01 ========================================================= 22:14:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:14:02 Sending build context to Docker daemon 20.63MB 22:14:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:02 Step 2/13 : FROM ${BASE} AS builder 22:14:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:02 af6eaf76a39c: Pulling fs layer 22:14:02 55522c791124: Pulling fs layer 22:14:02 ce5c4a1c91eb: Pulling fs layer 22:14:02 169dfbe0d373: Pulling fs layer 22:14:02 e1ff8fa3b103: Pulling fs layer 22:14:02 52ebb69f0ebf: Pulling fs layer 22:14:02 5abe8eddf0d5: Pulling fs layer 22:14:02 e1ff8fa3b103: Waiting 22:14:02 52ebb69f0ebf: Waiting 22:14:02 5abe8eddf0d5: Waiting 22:14:02 169dfbe0d373: Waiting 22:14:02 55522c791124: Verifying Checksum 22:14:02 55522c791124: Download complete 22:14:02 169dfbe0d373: Verifying Checksum 22:14:02 169dfbe0d373: Download complete 22:14:02 e1ff8fa3b103: Verifying Checksum 22:14:02 e1ff8fa3b103: Download complete 22:14:02 af6eaf76a39c: Verifying Checksum 22:14:03 af6eaf76a39c: Pull complete 22:14:04 5abe8eddf0d5: Verifying Checksum 22:14:04 5abe8eddf0d5: Download complete 22:14:04 55522c791124: Pull complete 22:14:05 ce5c4a1c91eb: Verifying Checksum 22:14:05 ce5c4a1c91eb: Download complete 22:14:05 52ebb69f0ebf: Verifying Checksum 22:14:05 52ebb69f0ebf: Download complete 22:14:18 ce5c4a1c91eb: Pull complete 22:14:18 169dfbe0d373: Pull complete 22:14:18 e1ff8fa3b103: Pull complete 22:14:24 52ebb69f0ebf: Pull complete 22:14:25 5abe8eddf0d5: Pull complete 22:14:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:14:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:14:25 ---> 6cb57ee374ae 22:14:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:27 ---> Running in 7df725515af3 22:14:28 Removing intermediate container 7df725515af3 22:14:28 ---> b9c5998d233d 22:14:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:28 ---> Running in 5d3305578083 22:14:28 Removing intermediate container 5d3305578083 22:14:28 ---> 008b7a90d6e8 22:14:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:14:28 ---> Running in 7229ebab6776 22:14:29 Removing intermediate container 7229ebab6776 22:14:29 ---> 6ddf1be22cba 22:14:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:29 ---> Running in b8796954a6e1 22:14:29 Removing intermediate container b8796954a6e1 22:14:29 ---> 66578417b05c 22:14:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:29 ---> Running in d612b9e385cb 22:14:30 Removing intermediate container d612b9e385cb 22:14:30 ---> 135d2a070521 22:14:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:30 ---> Running in 121ab961fb0b 22:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:14:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:14:33 OK: 263 MiB in 53 packages 22:14:35 Removing intermediate container 121ab961fb0b 22:14:35 ---> 0f1d7bdc5547 22:14:35 Step 9/13 : WORKDIR /device-onvif-camera 22:14:35 ---> Running in 698062fa46c3 22:14:35 Removing intermediate container 698062fa46c3 22:14:35 ---> 9f3dd739b033 22:14:35 Step 10/13 : COPY go.mod vendor* ./ 22:14:35 ---> 03c8534bdf15 22:14:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:35 ---> Running in 911a409b0759 22:15:43 Removing intermediate container 911a409b0759 22:15:43 ---> 543302d7b695 22:15:43 Step 12/13 : COPY . . 22:15:43 ---> 2f76b4466dca 22:15:43 Step 13/13 : RUN ${MAKE} 22:15:43 ---> Running in de6bb829c62c 22:15:43 noop 22:15:44 Removing intermediate container de6bb829c62c 22:15:44 ---> 850ca25b273b 22:15:44 Successfully built 850ca25b273b 22:15:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:44 + docker inspect -f . ci-base-image-arm64 22:15:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:45 prd-ubuntu20.04-docker-arm64-4c-16g-2294 does not seem to be running inside a container 22:15:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:46 $ docker top 31150e96da163df8696c3ef6e2da582d436220fe31238b7fcd013b9236cb8ade -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:47 + go version 22:15:47 go version go1.20.2 linux/arm64 [Pipeline] } 22:15:47 $ docker stop --time=1 31150e96da163df8696c3ef6e2da582d436220fe31238b7fcd013b9236cb8ade 22:15:48 $ docker rm -f --volumes 31150e96da163df8696c3ef6e2da582d436220fe31238b7fcd013b9236cb8ade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:49 + docker inspect -f . ci-base-image-arm64 22:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:49 prd-ubuntu20.04-docker-arm64-4c-16g-2294 does not seem to be running inside a container 22:15:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:51 $ docker top 5683c1848844d7ccb0e9d771818be50e844f42f2f4ad1e492fbac5ba6f4e88c5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:51 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 22:15:52 + make test 22:15:52 go test ./... -coverprofile=coverage.out ./... 22:16:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:18:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:18:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:18:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 30.5% of statements 22:19:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.728s coverage: 86.5% of statements 22:19:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:19:08 go vet ./... 22:19:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:34 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:35 $ docker stop --time=1 5683c1848844d7ccb0e9d771818be50e844f42f2f4ad1e492fbac5ba6f4e88c5 22:19:37 $ docker rm -f --volumes 5683c1848844d7ccb0e9d771818be50e844f42f2f4ad1e492fbac5ba6f4e88c5 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:38 Warning: overwriting stash ‘coverage-report’ 22:19:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:40 + ls -al . 22:19:40 total 228 22:19:40 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 22:15 . 22:19:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 22:13 .. 22:19:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 22:13 .git 22:19:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 22:13 .github 22:19:40 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 22:13 .gitignore 22:19:40 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 22:13 .golangci.yml 22:19:40 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 22:13 Attribution.txt 22:19:40 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 22:13 CHANGELOG.md 22:19:40 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 22:13 Dockerfile 22:19:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 22:13 GOVERNANCE.md 22:19:40 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 22:13 Jenkinsfile 22:19:40 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 22:13 LICENSE 22:19:40 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 22:13 Makefile 22:19:40 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 22:13 OWNERS.md 22:19:40 -rw-rw-r-- 1 jenkins jenkins 6159 Mar 15 22:13 README.md 22:19:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 22:11 VERSION 22:19:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 22:13 bin 22:19:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 22:13 cmd 22:19:40 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 22:19 coverage.out 22:19:40 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 22:13 doc 22:19:40 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 22:13 go.mod 22:19:40 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 22:13 go.sum 22:19:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 22:13 internal 22:19:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 22:13 snap 22:19:40 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:40 + 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=9c362fad3858b0124ddeaf2eb131dd5ebd995070 --label arch=arm64 --label version=0.0.0 . 22:19:41 Sending build context to Docker daemon 20.71MB 22:19:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:19:41 Step 2/26 : FROM ${BASE} AS builder 22:19:41 ---> 850ca25b273b 22:19:41 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:19:41 ---> Running in 3bbd5917eb67 22:19:41 Removing intermediate container 3bbd5917eb67 22:19:41 ---> 8d4222616164 22:19:41 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:41 ---> Running in 73b6248abcd2 22:19:42 Removing intermediate container 73b6248abcd2 22:19:42 ---> f0bddd2a8213 22:19:42 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:19:42 ---> Running in 730f8df4a2dd 22:19:42 Removing intermediate container 730f8df4a2dd 22:19:42 ---> 701b12aac28c 22:19:42 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:19:42 ---> Running in 83a43a4b2c72 22:19:42 Removing intermediate container 83a43a4b2c72 22:19:42 ---> ef9e4886eaf5 22:19:42 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:19:43 ---> Running in 53e1cc25d30f 22:19:43 Removing intermediate container 53e1cc25d30f 22:19:43 ---> 0a30b8031c45 22:19:43 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:43 ---> Running in 892b0bb441c9 22:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:46 OK: 263 MiB in 53 packages 22:19:49 Removing intermediate container 892b0bb441c9 22:19:49 ---> d4a460b68362 22:19:49 Step 9/26 : WORKDIR /device-onvif-camera 22:19:49 ---> Running in 792d0857bbec 22:19:51 Removing intermediate container 792d0857bbec 22:19:51 ---> 399c9dbad9a0 22:19:51 Step 10/26 : COPY go.mod vendor* ./ 22:19:51 ---> 710b16646199 22:19:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:51 ---> Running in 999e7bceae8e 22:19:54 Removing intermediate container 999e7bceae8e 22:19:54 ---> 6842bf22e1b0 22:19:54 Step 12/26 : COPY . . 22:19:56 ---> d3c4f9e4e74b 22:19:56 Step 13/26 : RUN ${MAKE} 22:19:56 ---> Running in 968074a8bac8 22:19:57 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:18 Removing intermediate container 968074a8bac8 22:22:18 ---> d28a3ae8b833 22:22:18 Step 14/26 : FROM alpine:3.17 22:22:18 3.17: Pulling from library/alpine 22:22:18 af6eaf76a39c: Already exists 22:22:18 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:22:18 Status: Downloaded newer image for alpine:3.17 22:22:18 ---> d74e625d9115 22:22:18 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:22:18 ---> Running in 78f4bf82caec 22:22:18 Removing intermediate container 78f4bf82caec 22:22:18 ---> 13b43d411879 22:22:18 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:22:18 ---> Running in 4ee37ab854d6 22:22:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:22:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:22:18 (1/1) Installing dumb-init (1.2.5-r2) 22:22:18 Executing busybox-1.35.0-r29.trigger 22:22:18 OK: 8 MiB in 16 packages 22:22:19 Removing intermediate container 4ee37ab854d6 22:22:19 ---> 410c86661f34 22:22:19 Step 17/26 : WORKDIR / 22:22:19 ---> Running in acf1b65d3199 22:22:19 Removing intermediate container acf1b65d3199 22:22:19 ---> d1578873a4a5 22:22:19 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:22:21 ---> 6e26d8361471 22:22:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:22:21 ---> 2fc4f7c4c463 22:22:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:22:22 ---> fc5658a86e03 22:22:22 Step 21/26 : EXPOSE 59984 22:22:22 ---> Running in af3d9d2d0cfb 22:22:22 Removing intermediate container af3d9d2d0cfb 22:22:22 ---> 6764dd4a1ac5 22:22:22 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:22:22 ---> Running in b69c0da338e2 22:22:22 Removing intermediate container b69c0da338e2 22:22:22 ---> 7697c790bbef 22:22:22 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:22:22 ---> Running in 5889b06df584 22:22:23 Removing intermediate container 5889b06df584 22:22:23 ---> 26af61e4260b 22:22:23 Step 24/26 : LABEL arch=arm64 22:22:23 ---> Running in 0d0f372d6c3f 22:22:27 Removing intermediate container 0d0f372d6c3f 22:22:27 ---> 492b9d67ee8f 22:22:27 Step 25/26 : LABEL git_sha=9c362fad3858b0124ddeaf2eb131dd5ebd995070 22:22:27 ---> Running in 2e3dbca457f0 22:22:27 Removing intermediate container 2e3dbca457f0 22:22:27 ---> c4df2b83d699 22:22:27 Step 26/26 : LABEL version=0.0.0 22:22:27 ---> Running in bfa451666e29 22:22:27 Removing intermediate container bfa451666e29 22:22:27 ---> 56f03ae9e271 22:22:27 [Warning] One or more build-args [ARCH] were not consumed 22:22:27 Successfully built 56f03ae9e271 22:22:27 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:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:27 22:22:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:28 arm64: Pulling from edgex-lftools-log-publisher 22:22:28 8998bd30e6a1: Pulling fs layer 22:22:28 04944245beec: Pulling fs layer 22:22:28 699f458cf7ca: Pulling fs layer 22:22:28 765212b225bb: Pulling fs layer 22:22:28 f23df028b6ca: Pulling fs layer 22:22:28 d65c8cfc05b1: Pulling fs layer 22:22:28 2437ff75d9bd: Pulling fs layer 22:22:28 765212b225bb: Waiting 22:22:28 f23df028b6ca: Waiting 22:22:28 d65c8cfc05b1: Waiting 22:22:28 2437ff75d9bd: Waiting 22:22:28 04944245beec: Verifying Checksum 22:22:28 04944245beec: Download complete 22:22:28 765212b225bb: Verifying Checksum 22:22:28 765212b225bb: Download complete 22:22:28 f23df028b6ca: Verifying Checksum 22:22:28 d65c8cfc05b1: Verifying Checksum 22:22:28 d65c8cfc05b1: Download complete 22:22:28 699f458cf7ca: Verifying Checksum 22:22:28 699f458cf7ca: Download complete 22:22:29 8998bd30e6a1: Download complete 22:22:31 2437ff75d9bd: Verifying Checksum 22:22:31 2437ff75d9bd: Download complete 22:22:32 8998bd30e6a1: Pull complete 22:22:33 04944245beec: Pull complete 22:22:34 699f458cf7ca: Pull complete 22:22:34 765212b225bb: Pull complete 22:22:34 f23df028b6ca: Pull complete 22:22:35 d65c8cfc05b1: Pull complete 22:22:47 2437ff75d9bd: Pull complete 22:22:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:22:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:47 prd-ubuntu20.04-docker-arm64-4c-16g-2294 does not seem to be running inside a container 22:22:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:22:50 $ docker top 52ff937ff133ff060accabecb46f77c5f0a90cfd01e2a9fd762381437506d11c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:51 ---> job-cost.sh 22:22:51 lf-activate-venv: SKIPPING 22:22:51 INFO: No Stack... 22:22:51 INFO: Retrieving Pricing Info for: v3-standard-4 22:22:52 INFO: Archiving Costs [Pipeline] sh 22:22:52 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 22:22:52 + cut -d, -f6 [Pipeline] lock 22:22:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] 22:22:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] did not exist. Created. 22:22:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:53 /w/workspace/device-onvif-camera/3@tmp/durable-38a044cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:22:53 + echo total: 0.10999999940395355 [Pipeline] stash 22:22:53 Warning: overwriting stash ‘stack-cost’ 22:22:53 Stashed 1 file(s) [Pipeline] } 22:22:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:53 $ docker stop --time=1 52ff937ff133ff060accabecb46f77c5f0a90cfd01e2a9fd762381437506d11c 22:22:55 $ docker rm -f --volumes 52ff937ff133ff060accabecb46f77c5f0a90cfd01e2a9fd762381437506d11c [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:22:55 provisioning config files... 22:22:55 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config228041728821960075tmp [Pipeline] { [Pipeline] sh 22:22:56 + set +x 22:22:56 + curl -s https://codecov.io/bash 22:22:56 + bash -s -- 22:22:56 22:22:56 _____ _ 22:22:56 / ____| | | 22:22:56 | | ___ __| | ___ ___ _____ __ 22:22:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:22:56 | |___| (_) | (_| | __/ (_| (_) \ V / 22:22:56 \_____\___/ \__,_|\___|\___\___/ \_/ 22:22:56 Bash-1.0.6 22:22:56 22:22:56 22:22:56 ==> git version 2.25.1 found 22:22:56 ==> 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:22:56 Release-Date: 2020-01-08 22:22:56 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:22:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:22:56 ==> Jenkins CI detected. 22:22:56 current dir:  /w/workspace/undry_device-onvif-camera_PR-263 22:22:56 project root: . 22:22:56 --> token set from env 22:22:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:22:56 ==> Running gcov in . (disable via -X gcov) 22:22:56 ==> Python coveragepy not found 22:22:56 ==> Searching for coverage reports in: 22:22:56 + . 22:22:56 -> Found 1 reports 22:22:56 ==> Detecting git/mercurial file structure 22:22:56 ==> Reading reports 22:22:56 + ./coverage.out bytes=76650 22:22:56 ==> Appending adjustments 22:22:56 https://docs.codecov.io/docs/fixing-reports 22:22:56 + Found adjustments 22:22:56 ==> Gzipping contents 22:22:56 12K /tmp/codecov.pNUsHJ.gz 22:22:56 ==> Uploading reports 22:22:56 url: https://codecov.io 22:22:56 query: branch=PR-263&commit=b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-263%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=263&job=&cmd_args= 22:22:56 -> Pinging Codecov 22:22:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-263&commit=b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-263%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=263&job=&cmd_args= 22:22:56 -> Uploading to 22:22:56 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/F29A59C45E3A92E06B3E522C9905F8EF/b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf/80383172-207a-4534-bfe2-10fd645cab7d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T222256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b1af0185a01e214d684610966e72d0d072bd90bde57cea2e71a7d32030cefbe 22:22:56 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:56 Dload Upload Total Spent Left Speed 22:22:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 46850 --:--:-- --:--:-- --:--:-- 46639 100 10354 0 0 100 10354 0 40131 --:--:-- --:--:-- --:--:-- 39976 22:22:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b6a6f95cd42a6caac1f6b74365f7b3fc4137e1bf [Pipeline] } 22:22:56 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:22:57 + [ -d /w/workspace/undry_device-onvif-camera_PR-263/archives ] 22:22:57 + ls -al /w/workspace/undry_device-onvif-camera_PR-263/archives 22:22:57 total 16 22:22:57 drwxr-xr-x 3 root root 4096 Mar 15 22:13 . 22:22:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 22:13 .. 22:22:57 drwxr-xr-x 2 root root 4096 Mar 15 22:13 cost 22:22:57 -rw-r--r-- 1 root root 91 Mar 15 22:13 cost.csv 22:22:57 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-263/archives 22:22:57 + ls -al /w/workspace/undry_device-onvif-camera_PR-263/archives 22:22:57 total 16 22:22:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 22:13 . 22:22:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 22:13 .. 22:22:57 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 22:13 cost 22:22:57 -rw-r--r-- 1 jenkins jenkins 91 Mar 15 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:22:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:22:58 ---> package-listing.sh 22:22:58 ++ facter osfamily 22:22:58 ++ tr '[:upper:]' '[:lower:]' 22:22:59 + OS_FAMILY=debian 22:22:59 + workspace=/w/workspace/undry_device-onvif-camera_PR-263 22:22:59 + START_PACKAGES=/tmp/packages_start.txt 22:22:59 + END_PACKAGES=/tmp/packages_end.txt 22:22:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:22:59 + PACKAGES=/tmp/packages_start.txt 22:22:59 + '[' /w/workspace/undry_device-onvif-camera_PR-263 ']' 22:22:59 + PACKAGES=/tmp/packages_end.txt 22:22:59 + case "${OS_FAMILY}" in 22:22:59 + dpkg -l 22:22:59 + grep '^ii' 22:22:59 + '[' -f /tmp/packages_start.txt ']' 22:22:59 + '[' -f /tmp/packages_end.txt ']' 22:22:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:22:59 + '[' /w/workspace/undry_device-onvif-camera_PR-263 ']' 22:22:59 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-263/archives/ 22:22:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-263/archives/ [Pipeline] echo 22:22:59 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-263/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:22:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:00 prd-ubuntu20.04-docker-8c-8g-2292 does not seem to be running inside a container 22:23:00 $ 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-263/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-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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:01 $ docker top 5327b99fc8331bbd9ae4c7f9a81ff67ae94dbc15674e65918e67efb3bd1ec58e -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:01 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:01 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:01 + ls /var/log/sa-host 22:23:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:02 provisioning config files... 22:23:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config3492832380954138108tmp [Pipeline] { [Pipeline] echo 22:23:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:02 ---> create-netrc.sh [Pipeline] } 22:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:02 ---> python-tools-install.sh [Pipeline] echo 22:23:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:03 ---> sudo-logs.sh 22:23:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:23:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:03 ---> job-cost.sh 22:23:03 lf-activate-venv: SKIPPING 22:23:03 DEBUG: total: 0.2199999988079071 22:23:03 INFO: Retrieving Stack Cost... 22:23:03 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:04 INFO: Archiving Costs [Pipeline] echo 22:23:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:04 ---> logs-deploy.sh 22:23:04 lf-activate-venv: SKIPPING 22:23:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-263/3 22:23:04 INFO: archiving workspace using pattern(s): 22:23:05 Archives upload complete. 22:23:05 INFO: archiving logs to Nexus