Push event to branch patch-levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10e92f17d01bd25b46edefd6a25baf6c1226522e 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-ssh991077095388103279.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14449780278659983941.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/patch-levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/patch-levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17591633832966830030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/patch-levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15376613909997083308.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15908339768193709963.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/patch-levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/patch-levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9963966822526349349.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 ‘prd-ubuntu20.04-docker-8c-8g-9920’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9923 in /w/workspace/device-onvif-camera_patch-levski [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/device-onvif-camera_patch-levski # 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 Avoid second fetch Checking out Revision 10e92f17d01bd25b46edefd6a25baf6c1226522e (patch-levski) Commit message: "fix: patch levski device sdk to fix cache issue" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10e92f17d01bd25b46edefd6a25baf6c1226522e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:34:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:34:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:34:19 ========================================================= 17:34:19 EdgeX Global Pipelines Version Info 17:34:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:34:20 ------------------- 17:34:20 stable info: 17:34:20 ------------------- 17:34:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:34:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:34:20 Message: update stable to v1.0.244 17:34:20 ------------------- 17:34:20 experimental info: 17:34:20 ------------------- 17:34:20 Commited By: **** collab-it+edgex@linuxfoundation.org 17:34:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:34:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:34:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:34:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:34:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:34:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = patch-levski [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = patch-levski [Pipeline] echo 17:34:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = patch-levski [Pipeline] echo 17:34:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo 17:34:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10e92f1 [Pipeline] echo 17:34:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:22 provisioning config files... 17:34:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera_patch-levski@tmp/config9636436533499355409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:22 ---> docker-login.sh 17:34:22 nexus3.edgexfoundry.org:10001 17:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:22 Configure a credential helper to remove this warning. See 17:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:22 17:34:22 Login Succeeded 17:34:22 nexus3.edgexfoundry.org:10002 17:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:22 Configure a credential helper to remove this warning. See 17:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:22 17:34:22 Login Succeeded 17:34:22 nexus3.edgexfoundry.org:10003 17:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:23 Configure a credential helper to remove this warning. See 17:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:23 17:34:23 Login Succeeded 17:34:23 nexus3.edgexfoundry.org:10004 17:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:23 Configure a credential helper to remove this warning. See 17:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:23 17:34:23 Login Succeeded 17:34:23 docker.io 17:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:23 Configure a credential helper to remove this warning. See 17:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:23 17:34:23 Login Succeeded 17:34:23 ---> docker-login.sh ends [Pipeline] } 17:34:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:34:24 + git rev-list -1 --merges 10e92f17d01bd25b46edefd6a25baf6c1226522e~1..10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo 17:34:24 -----------> git rev-list -1 --merges 10e92f17d01bd25b46edefd6a25baf6c1226522e~1..10e92f17d01bd25b46edefd6a25baf6c1226522e 10e92f17d01bd25b46edefd6a25baf6c1226522e [false] [Pipeline] sh 17:34:24 + git log --format=format:%s -1 10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo 17:34:24 ========================================================= 17:34:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:34:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:24 + git log --format=format:%s -1 10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] echo 17:34:24 [semverPrep] GIT_COMMIT: 10e92f17d01bd25b46edefd6a25baf6c1226522e, Commit Message: fix: patch levski device sdk to fix cache issue [Pipeline] echo 17:34:25 [semverPrep] This is not a build commit. [Pipeline] sh 17:34:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:34:25 + grep -v github /etc/ssh/ssh_known_hosts 17:34:25 + [ -e /tmp/ssh_known_hosts ] 17:34:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:34:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:34:25 + sudo tee -a /etc/ssh/ssh_known_hosts 17:34:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:25 17:34:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:26 0.1.4: Pulling from edgex-devops/py-git-semver 17:34:26 b85a868b505f: Pulling fs layer 17:34:26 e2be974225ed: Pulling fs layer 17:34:26 339a4e72a1f5: Pulling fs layer 17:34:26 988bab9f4d93: Pulling fs layer 17:34:26 1469e6f7b9e6: Pulling fs layer 17:34:26 eaf3925da568: Pulling fs layer 17:34:26 bab4dde63d76: Pulling fs layer 17:34:26 bde34c3a00c8: Pulling fs layer 17:34:26 b352a97aabf1: Pulling fs layer 17:34:26 4872d77fe225: Pulling fs layer 17:34:26 5851b861e8e6: Pulling fs layer 17:34:26 988bab9f4d93: Waiting 17:34:26 1469e6f7b9e6: Waiting 17:34:26 b352a97aabf1: Waiting 17:34:26 eaf3925da568: Waiting 17:34:26 bab4dde63d76: Waiting 17:34:26 4872d77fe225: Waiting 17:34:26 5851b861e8e6: Waiting 17:34:26 e2be974225ed: Download complete 17:34:26 988bab9f4d93: Verifying Checksum 17:34:26 988bab9f4d93: Download complete 17:34:26 1469e6f7b9e6: Verifying Checksum 17:34:26 1469e6f7b9e6: Download complete 17:34:26 339a4e72a1f5: Verifying Checksum 17:34:26 339a4e72a1f5: Download complete 17:34:26 eaf3925da568: Verifying Checksum 17:34:26 eaf3925da568: Download complete 17:34:26 bde34c3a00c8: Verifying Checksum 17:34:26 bde34c3a00c8: Download complete 17:34:26 b352a97aabf1: Verifying Checksum 17:34:26 b352a97aabf1: Download complete 17:34:26 4872d77fe225: Verifying Checksum 17:34:26 4872d77fe225: Download complete 17:34:26 5851b861e8e6: Download complete 17:34:26 b85a868b505f: Verifying Checksum 17:34:26 b85a868b505f: Download complete 17:34:27 bab4dde63d76: Verifying Checksum 17:34:27 bab4dde63d76: Download complete 17:34:27 b85a868b505f: Pull complete 17:34:27 e2be974225ed: Pull complete 17:34:28 339a4e72a1f5: Pull complete 17:34:28 988bab9f4d93: Pull complete 17:34:28 1469e6f7b9e6: Pull complete 17:34:28 eaf3925da568: Pull complete 17:34:30 bab4dde63d76: Pull complete 17:34:30 bde34c3a00c8: Pull complete 17:34:30 b352a97aabf1: Pull complete 17:34:30 4872d77fe225: Pull complete 17:34:30 5851b861e8e6: Pull complete 17:34:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:34:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:31 prd-ubuntu20.04-docker-8c-8g-9923 does not seem to be running inside a container 17:34:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/device-onvif-camera_patch-levski -v /w/workspace/device-onvif-camera_patch-levski:/w/workspace/device-onvif-camera_patch-levski:rw,z -v /w/workspace/device-onvif-camera_patch-levski@tmp:/w/workspace/device-onvif-camera_patch-levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:34:32 $ docker top 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f -eo pid,comm 17:34:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:34:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:32 [ssh-agent] Looking for ssh-agent implementation... 17:34:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:33 $ docker exec 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f ssh-agent 17:34:33 SSH_AUTH_SOCK=/tmp/ssh-lWqozq1BQczj/agent.33 17:34:33 SSH_AGENT_PID=39 17:34:33 Running ssh-add (command line suppressed) 17:34:33 Identity added: /w/workspace/device-onvif-camera_patch-levski@tmp/private_key_8626697713769206418.key (/w/workspace/device-onvif-camera_patch-levski@tmp/private_key_8626697713769206418.key) 17:34:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:33 + git tag --points-at HEAD [Pipeline] } 17:34:33 $ docker exec --env ******** --env ******** 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f ssh-agent -k 17:34:33 unset SSH_AUTH_SOCK; 17:34:33 unset SSH_AGENT_PID; 17:34:33 echo Agent pid 39 killed; 17:34:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:34:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:33 [ssh-agent] Looking for ssh-agent implementation... 17:34:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:33 $ docker exec 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f ssh-agent 17:34:34 SSH_AUTH_SOCK=/tmp/ssh-2352LO5haTzQ/agent.71 17:34:34 SSH_AGENT_PID=77 17:34:34 Running ssh-add (command line suppressed) 17:34:34 Identity added: /w/workspace/device-onvif-camera_patch-levski@tmp/private_key_7603916184845614375.key (/w/workspace/device-onvif-camera_patch-levski@tmp/private_key_7603916184845614375.key) 17:34:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:34 + git semver init 17:34:34 2023-03-13 17:34:34,726 [run_init] DEBUG init version:0.0.0 force:False 17:34:34 2023-03-13 17:34:34,727 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/device-onvif-camera_patch-levski/.semver 17:34:34 2023-03-13 17:34:34,727 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/device-onvif-camera_patch-levski/.semver 17:34:34 2023-03-13 17:34:34,728 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/device-onvif-camera_patch-levski/.semver'], cwd=/w/workspace/device-onvif-camera_patch-levski, universal_newlines=False, shell=None, istream=None) 17:34:35 2023-03-13 17:34:35,600 [append_file] DEBUG append to file:/w/workspace/device-onvif-camera_patch-levski/.git/info/exclude 17:34:35 2023-03-13 17:34:35,601 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/device-onvif-camera_patch-levski/.semver/patch-levski with force:False 17:34:35 2023-03-13 17:34:35,601 [write_file] DEBUG write to file:/w/workspace/device-onvif-camera_patch-levski/.semver/patch-levski 17:34:35 2023-03-13 17:34:35,605 [execute] INFO git cat-file --batch-check 17:34:35 2023-03-13 17:34:35,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/device-onvif-camera_patch-levski/.semver, universal_newlines=False, shell=None, istream=) 17:34:35 2023-03-13 17:34:35,611 [execute] INFO git cat-file --batch 17:34:35 2023-03-13 17:34:35,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/device-onvif-camera_patch-levski/.semver, universal_newlines=False, shell=None, istream=) 17:34:35 2023-03-13 17:34:35,615 [read_version] DEBUG read version from /w/workspace/device-onvif-camera_patch-levski/.semver/patch-levski 17:34:35 0.0.0 [Pipeline] } 17:34:35 $ docker exec --env ******** --env ******** 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f ssh-agent -k 17:34:35 unset SSH_AUTH_SOCK; 17:34:35 unset SSH_AGENT_PID; 17:34:35 echo Agent pid 77 killed; 17:34:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:36 + git semver [Pipeline] } 17:34:36 $ docker stop --time=1 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f 17:34:37 $ docker rm -f --volumes 4492d3745f8d546043537c088565e27362c4c07fe70d846add6c0b65ca5bf20f [Pipeline] // withDockerContainer [Pipeline] sh 17:34:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:34:38 Stashed 1 file(s) [Pipeline] echo 17:34:38 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:39 provisioning config files... 17:34:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera_patch-levski@tmp/config12601217271247816383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:39 ---> docker-login.sh 17:34:39 nexus3.edgexfoundry.org:10001 17:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:39 Configure a credential helper to remove this warning. See 17:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:39 17:34:39 Login Succeeded 17:34:39 nexus3.edgexfoundry.org:10002 17:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:39 Configure a credential helper to remove this warning. See 17:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:39 17:34:39 Login Succeeded 17:34:39 nexus3.edgexfoundry.org:10003 17:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:39 Configure a credential helper to remove this warning. See 17:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:39 17:34:39 Login Succeeded 17:34:39 nexus3.edgexfoundry.org:10004 17:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:39 Configure a credential helper to remove this warning. See 17:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:39 17:34:39 Login Succeeded 17:34:39 docker.io 17:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:40 Configure a credential helper to remove this warning. See 17:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:40 17:34:40 Login Succeeded 17:34:40 ---> docker-login.sh ends [Pipeline] } 17:34:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:34:40 [edgeX.isLTS] Checking if [patch-levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:40 [edgeX.isLTS] Checking if [patch-levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:40 ========================================================= 17:34:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:34:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:34:40 Sending build context to Docker daemon 27.91MB 17:34:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:34:40 Step 2/13 : FROM ${BASE} AS builder 17:34:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:34:41 213ec9aee27d: Pulling fs layer 17:34:41 4583459ba037: Pulling fs layer 17:34:41 93c1e223e6f2: Pulling fs layer 17:34:41 53926ce57604: Pulling fs layer 17:34:41 21b2b0c7a3f4: Pulling fs layer 17:34:41 53926ce57604: Waiting 17:34:41 22ff95d597cd: Pulling fs layer 17:34:41 12d6caf4c0d1: Pulling fs layer 17:34:41 21b2b0c7a3f4: Waiting 17:34:41 22ff95d597cd: Waiting 17:34:41 96b7cbca73a9: Pulling fs layer 17:34:41 a7acece74701: Pulling fs layer 17:34:41 12d6caf4c0d1: Waiting 17:34:41 96b7cbca73a9: Waiting 17:34:41 93c1e223e6f2: Verifying Checksum 17:34:41 93c1e223e6f2: Download complete 17:34:41 4583459ba037: Download complete 17:34:41 21b2b0c7a3f4: Download complete 17:34:41 22ff95d597cd: Verifying Checksum 17:34:41 22ff95d597cd: Download complete 17:34:41 213ec9aee27d: Verifying Checksum 17:34:41 213ec9aee27d: Download complete 17:34:41 12d6caf4c0d1: Verifying Checksum 17:34:41 12d6caf4c0d1: Download complete 17:34:41 213ec9aee27d: Pull complete 17:34:41 4583459ba037: Pull complete 17:34:41 93c1e223e6f2: Pull complete 17:34:41 a7acece74701: Verifying Checksum 17:34:41 a7acece74701: Download complete 17:34:41 53926ce57604: Verifying Checksum 17:34:41 53926ce57604: Download complete 17:34:42 96b7cbca73a9: Download complete 17:34:46 53926ce57604: Pull complete 17:34:46 21b2b0c7a3f4: Pull complete 17:34:46 22ff95d597cd: Pull complete 17:34:46 12d6caf4c0d1: Pull complete 17:34:48 96b7cbca73a9: Pull complete 17:34:49 a7acece74701: Pull complete 17:34:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:34:49 ---> db6d94c90886 17:34:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:34:50 ---> Running in bac13a6c2441 17:34:50 Removing intermediate container bac13a6c2441 17:34:50 ---> 2ffa19beb33b 17:34:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:50 ---> Running in 9ae441e7fe34 17:34:50 Removing intermediate container 9ae441e7fe34 17:34:50 ---> d36ff3fabf93 17:34:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:34:50 ---> Running in 32f88b3b2114 17:34:50 Removing intermediate container 32f88b3b2114 17:34:50 ---> facfe32ca0d6 17:34:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:34:51 ---> Running in 5e01e3de0e49 17:34:51 Removing intermediate container 5e01e3de0e49 17:34:51 ---> 9fc4d39811ae 17:34:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:34:51 ---> Running in 4e8bbe6be96e 17:34:51 Removing intermediate container 4e8bbe6be96e 17:34:51 ---> 601abd2cadd7 17:34:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:51 ---> Running in fd3b0f4a0533 17:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:34:51 OK: 211 MiB in 51 packages 17:34:52 Removing intermediate container fd3b0f4a0533 17:34:52 ---> a11bef475781 17:34:52 Step 9/13 : WORKDIR /device-onvif-camera 17:34:52 ---> Running in f3876f7aaefc 17:34:52 Removing intermediate container f3876f7aaefc 17:34:52 ---> 5261bf01a148 17:34:52 Step 10/13 : COPY go.mod vendor* ./ 17:34:52 ---> bdb35c7ead02 17:34:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:52 ---> Running in a40801585c9a 17:34:53 Still waiting to schedule task 17:34:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9922’ is offline 17:35:14 Removing intermediate container a40801585c9a 17:35:14 ---> e07ffa6d7f30 17:35:14 Step 12/13 : COPY . . 17:35:14 ---> 6b14778c9398 17:35:14 Step 13/13 : RUN ${MAKE} 17:35:14 ---> Running in 7888141c62aa 17:35:14 noop 17:35:15 Removing intermediate container 7888141c62aa 17:35:15 ---> 1ae74e02670b 17:35:15 Successfully built 1ae74e02670b 17:35:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:15 + docker inspect -f . ci-base-image-x86_64 17:35:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:15 prd-ubuntu20.04-docker-8c-8g-9923 does not seem to be running inside a container 17:35:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera_patch-levski -v /w/workspace/device-onvif-camera_patch-levski:/w/workspace/device-onvif-camera_patch-levski:rw,z -v /w/workspace/device-onvif-camera_patch-levski@tmp:/w/workspace/device-onvif-camera_patch-levski@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 ******** ci-base-image-x86_64 cat 17:35:16 $ docker top ba024f1265a2d60cc37bb4a235991984036ef649f5b33b21b0a746a3992bdb1e -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:16 + go version 17:35:16 go version go1.18.7 linux/amd64 [Pipeline] } 17:35:16 $ docker stop --time=1 ba024f1265a2d60cc37bb4a235991984036ef649f5b33b21b0a746a3992bdb1e 17:35:17 $ docker rm -f --volumes ba024f1265a2d60cc37bb4a235991984036ef649f5b33b21b0a746a3992bdb1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:18 + docker inspect -f . ci-base-image-x86_64 17:35:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:18 prd-ubuntu20.04-docker-8c-8g-9923 does not seem to be running inside a container 17:35:18 $ 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_patch-levski -v /w/workspace/device-onvif-camera_patch-levski:/w/workspace/device-onvif-camera_patch-levski:rw,z -v /w/workspace/device-onvif-camera_patch-levski@tmp:/w/workspace/device-onvif-camera_patch-levski@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 ******** ci-base-image-x86_64 cat 17:35:19 $ docker top a5cba6f426d09384eaa667305bbca84fade1f16b2f5e768fcd54aa509faa4888 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:19 + git config --global --add safe.directory /w/workspace/device-onvif-camera_patch-levski [Pipeline] fileExists [Pipeline] sh 17:35:19 + make test 17:35:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:35:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:35:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:35:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.049s coverage: 29.3% of statements 17:35:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:35:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.512s coverage: 86.5% of statements 17:35:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:35:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:35:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:46 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:46 [edgeX.isLTS] Checking if [patch-levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:46 $ docker stop --time=1 a5cba6f426d09384eaa667305bbca84fade1f16b2f5e768fcd54aa509faa4888 17:35:48 $ docker rm -f --volumes a5cba6f426d09384eaa667305bbca84fade1f16b2f5e768fcd54aa509faa4888 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:49 + ls -al . 17:35:49 total 252 17:35:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 17:35 . 17:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:34 .. 17:35:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:35 .git 17:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:34 .github 17:35:49 -rw-rw-r-- 1 jenkins jenkins 496 Mar 13 17:34 .gitignore 17:35:49 -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 17:34 .golangci.yml 17:35:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:34 .semver 17:35:49 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 13 17:34 Attribution.txt 17:35:49 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 13 17:34 CHANGELOG.md 17:35:49 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 13 17:34 Dockerfile 17:35:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:34 GOVERNANCE.md 17:35:49 -rw-rw-r-- 1 jenkins jenkins 734 Mar 13 17:34 Jenkinsfile 17:35:49 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 13 17:34 LICENSE 17:35:49 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 13 17:34 Makefile 17:35:49 -rw-rw-r-- 1 jenkins jenkins 625 Mar 13 17:34 OWNERS.md 17:35:49 -rw-rw-r-- 1 jenkins jenkins 6595 Mar 13 17:34 README.md 17:35:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:34 VERSION 17:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:34 bin 17:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:34 cmd 17:35:49 -rw-r--r-- 1 jenkins jenkins 79184 Mar 13 17:35 coverage.out 17:35:49 drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 17:34 doc 17:35:49 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 13 17:34 go.mod 17:35:49 -rw-rw-r-- 1 jenkins jenkins 53023 Mar 13 17:34 go.sum 17:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:34 internal 17:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:34 snap 17:35:49 -rw-rw-r-- 1 jenkins jenkins 236 Mar 13 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:50 + 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=10e92f17d01bd25b46edefd6a25baf6c1226522e --label arch=amd64 --label version=0.0.0 . 17:35:50 Sending build context to Docker daemon 27.99MB 17:35:50 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:35:50 Step 2/26 : FROM ${BASE} AS builder 17:35:50 ---> 1ae74e02670b 17:35:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:35:50 ---> Running in ceb5d3bd7842 17:35:50 Removing intermediate container ceb5d3bd7842 17:35:50 ---> 576d7d86e3f1 17:35:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:50 ---> Running in ed1b22b620ec 17:35:50 Removing intermediate container ed1b22b620ec 17:35:50 ---> 200068a7dcfd 17:35:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:35:50 ---> Running in 042a5415bb49 17:35:50 Removing intermediate container 042a5415bb49 17:35:50 ---> 1b4d02fbb62b 17:35:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:35:50 ---> Running in c5efcec41d70 17:35:50 Removing intermediate container c5efcec41d70 17:35:50 ---> 7c013885e8d5 17:35:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:35:50 ---> Running in 61ff8d0e2666 17:35:51 Removing intermediate container 61ff8d0e2666 17:35:51 ---> 941cf67d5074 17:35:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:51 ---> Running in a335c61376f8 17:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:35:51 OK: 211 MiB in 51 packages 17:35:51 Removing intermediate container a335c61376f8 17:35:51 ---> 65f71b445a70 17:35:51 Step 9/26 : WORKDIR /device-onvif-camera 17:35:51 ---> Running in 9719e133a07a 17:35:52 Removing intermediate container 9719e133a07a 17:35:52 ---> 7e14cd1d34b9 17:35:52 Step 10/26 : COPY go.mod vendor* ./ 17:35:52 ---> 1908335e823b 17:35:52 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:52 ---> Running in bb3bd37cbdab 17:35:53 Removing intermediate container bb3bd37cbdab 17:35:53 ---> 4e9e14eb1280 17:35:53 Step 12/26 : COPY . . 17:35:53 ---> 512db6604ea6 17:35:53 Step 13/26 : RUN ${MAKE} 17:35:53 ---> Running in 7789d9b71cc4 17:35:53 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:36:16 Removing intermediate container 7789d9b71cc4 17:36:16 ---> 16d7c2a35f06 17:36:16 Step 14/26 : FROM alpine:3.16 17:36:16 3.16: Pulling from library/alpine 17:36:16 ef5531b6e74e: Pulling fs layer 17:36:16 ef5531b6e74e: Verifying Checksum 17:36:16 ef5531b6e74e: Download complete 17:36:16 ef5531b6e74e: Pull complete 17:36:16 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 17:36:16 Status: Downloaded newer image for alpine:3.16 17:36:16 ---> dfd21b5a31f5 17:36:16 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:36:16 ---> Running in ca6dd87afe37 17:36:16 Removing intermediate container ca6dd87afe37 17:36:16 ---> e9399df8d62a 17:36:16 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:36:16 ---> Running in d132e8ff3544 17:36:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:36:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:36:16 (1/6) Installing dumb-init (1.2.5-r1) 17:36:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:36:16 (3/6) Installing libsodium (1.0.18-r0) 17:36:16 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:36:16 (5/6) Installing libzmq (4.3.4-r0) 17:36:16 (6/6) Installing zeromq (4.3.4-r0) 17:36:16 Executing busybox-1.35.0-r17.trigger 17:36:16 OK: 8 MiB in 20 packages 17:36:16 Removing intermediate container d132e8ff3544 17:36:16 ---> 69c63f46e2c8 17:36:16 Step 17/26 : WORKDIR / 17:36:16 ---> Running in 6d9e1803e127 17:36:17 Removing intermediate container 6d9e1803e127 17:36:17 ---> 5ac54523ea1e 17:36:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:36:17 ---> 52666fda1c6d 17:36:17 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:36:17 ---> 4f78f4e68df4 17:36:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:36:17 ---> 7db14afc0da7 17:36:17 Step 21/26 : EXPOSE 59984 17:36:17 ---> Running in c51718b6f9f9 17:36:17 Removing intermediate container c51718b6f9f9 17:36:17 ---> 25a146b61e33 17:36:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:36:17 ---> Running in 140162833eb6 17:36:17 Removing intermediate container 140162833eb6 17:36:17 ---> b2f1120fd851 17:36:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:36:18 ---> Running in 3ef4db063f60 17:36:18 Removing intermediate container 3ef4db063f60 17:36:18 ---> 098620226c5f 17:36:18 Step 24/26 : LABEL arch=amd64 17:36:18 ---> Running in 39c43e621ab0 17:36:18 Removing intermediate container 39c43e621ab0 17:36:18 ---> 53f73645bd08 17:36:18 Step 25/26 : LABEL git_sha=10e92f17d01bd25b46edefd6a25baf6c1226522e 17:36:18 ---> Running in 98e009ab0709 17:36:18 Removing intermediate container 98e009ab0709 17:36:18 ---> ecd836eda86d 17:36:18 Step 26/26 : LABEL version=0.0.0 17:36:18 ---> Running in 914ecaed74e9 17:36:18 Removing intermediate container 914ecaed74e9 17:36:18 ---> df9664b2949e 17:36:18 [Warning] One or more build-args [ARCH] were not consumed 17:36:18 Successfully built df9664b2949e 17:36:18 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:19 17:36:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:19 latest: Pulling from edgex-lftools-log-publisher 17:36:19 5eb5b503b376: Pulling fs layer 17:36:19 5c69ac0246d0: Pulling fs layer 17:36:19 ec43610c2a17: Pulling fs layer 17:36:19 3a2ae6a8a46f: Pulling fs layer 17:36:19 33b1e0a273af: Pulling fs layer 17:36:19 5d3b04190fa2: Pulling fs layer 17:36:19 2f39f015ded8: Pulling fs layer 17:36:19 33b1e0a273af: Waiting 17:36:19 5d3b04190fa2: Waiting 17:36:19 2f39f015ded8: Waiting 17:36:19 3a2ae6a8a46f: Waiting 17:36:19 5c69ac0246d0: Verifying Checksum 17:36:19 5c69ac0246d0: Download complete 17:36:19 3a2ae6a8a46f: Download complete 17:36:19 33b1e0a273af: Verifying Checksum 17:36:19 33b1e0a273af: Download complete 17:36:19 5d3b04190fa2: Verifying Checksum 17:36:19 5d3b04190fa2: Download complete 17:36:19 ec43610c2a17: Verifying Checksum 17:36:19 ec43610c2a17: Download complete 17:36:19 5eb5b503b376: Verifying Checksum 17:36:19 5eb5b503b376: Download complete 17:36:20 2f39f015ded8: Download complete 17:36:21 5eb5b503b376: Pull complete 17:36:21 5c69ac0246d0: Pull complete 17:36:21 ec43610c2a17: Pull complete 17:36:21 3a2ae6a8a46f: Pull complete 17:36:21 33b1e0a273af: Pull complete 17:36:22 5d3b04190fa2: Pull complete 17:36:26 2f39f015ded8: Pull complete 17:36:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:36:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:26 prd-ubuntu20.04-docker-8c-8g-9923 does not seem to be running inside a container 17:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera_patch-levski -v /w/workspace/device-onvif-camera_patch-levski:/w/workspace/device-onvif-camera_patch-levski:rw,z -v /w/workspace/device-onvif-camera_patch-levski@tmp:/w/workspace/device-onvif-camera_patch-levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:36:27 $ docker top b9d4829b850483628d71b432c946a5c88219082b1c1d7b0ab3297ed7008782c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:28 ---> job-cost.sh 17:36:28 lf-activate-venv: SKIPPING 17:36:28 INFO: No Stack... 17:36:28 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:28 INFO: Archiving Costs [Pipeline] sh 17:36:29 + cat /w/workspace/device-onvif-camera_patch-levski/archives/cost.csv 17:36:29 + cut -d, -f6 [Pipeline] lock 17:36:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] 17:36:29 Resource [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] did not exist. Created. 17:36:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:29 + echo total: 0.2199999988079071 [Pipeline] stash 17:36:29 Stashed 1 file(s) [Pipeline] } 17:36:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:29 $ docker stop --time=1 b9d4829b850483628d71b432c946a5c88219082b1c1d7b0ab3297ed7008782c5 17:36:30 $ docker rm -f --volumes b9d4829b850483628d71b432c946a5c88219082b1c1d7b0ab3297ed7008782c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:36:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9924 in /w/workspace/device-onvif-camera_patch-levski [Pipeline] { [Pipeline] ws 17:36:36 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 17:36:36 The recommended git tool is: git 17:36:45 using credential edgex-jenkins-ssh 17:36:45 Cloning the remote Git repository 17:36:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:36:46 > git init /w/workspace/device-onvif-camera/1 # timeout=10 17:36:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:36:46 > git --version # timeout=10 17:36:46 > git --version # 'git version 2.25.1' 17:36:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:36:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:50 Avoid second fetch 17:36:50 Checking out Revision 10e92f17d01bd25b46edefd6a25baf6c1226522e (patch-levski) 17:36:51 Commit message: "fix: patch levski device sdk to fix cache issue" 17:36:51 > git --version # timeout=10 17:36:51 > git --version # 'git version 2.25.1' 17:36:51 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 17:36:50 > git config core.sparsecheckout # timeout=10 17:36:50 > git checkout -f 10e92f17d01bd25b46edefd6a25baf6c1226522e # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:36:52 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:52 Dload Upload Total Spent Left Speed 17:36:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 61421 0 --:--:-- --:--:-- --:--:-- 61063 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 73281 [Pipeline] sh 17:36:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:36:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:36:53 + sudo tee /etc/docker/daemon.new 17:36:53 { 17:36:53 "registry-mirrors": [ 17:36:53 "https://nexus3.edgexfoundry.org:10001" 17:36:53 ], 17:36:53 "bip": "10.250.0.254/24", 17:36:53 "hosts": [ 17:36:53 "tcp://0.0.0.0:5555", 17:36:53 "unix:///var/run/docker.sock" 17:36:53 ], 17:36:53 "mtu": 1458, 17:36:53 "selinux-enabled": true, 17:36:53 "seccomp-profile": "/etc/docker/seccomp.json" 17:36:53 } [Pipeline] sh 17:36:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:36:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:13 provisioning config files... 17:37:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6477176462593714493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:13 ---> docker-login.sh 17:37:13 nexus3.edgexfoundry.org:10001 17:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:13 Configure a credential helper to remove this warning. See 17:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:13 17:37:13 Login Succeeded 17:37:13 nexus3.edgexfoundry.org:10002 17:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:14 Configure a credential helper to remove this warning. See 17:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:14 17:37:14 Login Succeeded 17:37:14 nexus3.edgexfoundry.org:10003 17:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:14 Configure a credential helper to remove this warning. See 17:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:14 17:37:14 Login Succeeded 17:37:14 nexus3.edgexfoundry.org:10004 17:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:15 Configure a credential helper to remove this warning. See 17:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:15 17:37:15 Login Succeeded 17:37:15 docker.io 17:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:15 Configure a credential helper to remove this warning. See 17:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:15 17:37:15 Login Succeeded 17:37:15 ---> docker-login.sh ends [Pipeline] } 17:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:37:16 [edgeX.isLTS] Checking if [patch-levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:37:16 [edgeX.isLTS] Checking if [patch-levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:37:16 ========================================================= 17:37:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:37:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:37:17 Sending build context to Docker daemon 20.66MB 17:37:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:37:17 Step 2/13 : FROM ${BASE} AS builder 17:37:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:37:17 9b18e9b68314: Pulling fs layer 17:37:17 35d82f9e3411: Pulling fs layer 17:37:17 e16973657156: Pulling fs layer 17:37:17 fc693d55d65f: Pulling fs layer 17:37:17 7e9fc2657dce: Pulling fs layer 17:37:17 dda99020689f: Pulling fs layer 17:37:17 db1c61fa0a46: Pulling fs layer 17:37:17 891c053d2c06: Pulling fs layer 17:37:17 7e9fc2657dce: Waiting 17:37:17 dda99020689f: Waiting 17:37:17 db1c61fa0a46: Waiting 17:37:17 891c053d2c06: Waiting 17:37:17 fc693d55d65f: Waiting 17:37:17 e16973657156: Download complete 17:37:17 35d82f9e3411: Verifying Checksum 17:37:17 35d82f9e3411: Download complete 17:37:17 7e9fc2657dce: Verifying Checksum 17:37:17 7e9fc2657dce: Download complete 17:37:17 dda99020689f: Verifying Checksum 17:37:17 dda99020689f: Download complete 17:37:17 9b18e9b68314: Verifying Checksum 17:37:18 9b18e9b68314: Pull complete 17:37:18 891c053d2c06: Verifying Checksum 17:37:18 891c053d2c06: Download complete 17:37:18 35d82f9e3411: Pull complete 17:37:18 e16973657156: Pull complete 17:37:19 db1c61fa0a46: Verifying Checksum 17:37:19 db1c61fa0a46: Download complete 17:37:20 fc693d55d65f: Verifying Checksum 17:37:20 fc693d55d65f: Download complete 17:37:32 fc693d55d65f: Pull complete 17:37:32 7e9fc2657dce: Pull complete 17:37:32 dda99020689f: Pull complete 17:37:37 db1c61fa0a46: Pull complete 17:37:39 891c053d2c06: Pull complete 17:37:39 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:37:39 ---> f96f9c87975a 17:37:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:37:41 ---> Running in 2e18114ec00c 17:37:41 Removing intermediate container 2e18114ec00c 17:37:41 ---> 8d53819c238d 17:37:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:42 ---> Running in cb5eabb2ab0d 17:37:42 Removing intermediate container cb5eabb2ab0d 17:37:42 ---> 645d45cc3cd2 17:37:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:37:42 ---> Running in 19dbe5d25a87 17:37:42 Removing intermediate container 19dbe5d25a87 17:37:42 ---> 0b9fcde81262 17:37:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:37:42 ---> Running in 0442cde25d56 17:37:42 Removing intermediate container 0442cde25d56 17:37:42 ---> c47217468582 17:37:42 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:37:43 ---> Running in 69355a8d67e9 17:37:43 Removing intermediate container 69355a8d67e9 17:37:43 ---> 220cec726641 17:37:43 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:43 ---> Running in 19dfa4861788 17:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:37:45 OK: 221 MiB in 51 packages 17:37:46 Removing intermediate container 19dfa4861788 17:37:46 ---> c4f21c6d8b11 17:37:46 Step 9/13 : WORKDIR /device-onvif-camera 17:37:46 ---> Running in 0c080b4fada3 17:37:47 Removing intermediate container 0c080b4fada3 17:37:47 ---> c106eb51fe8d 17:37:47 Step 10/13 : COPY go.mod vendor* ./ 17:37:47 ---> 68c3b3a77ba6 17:37:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:47 ---> Running in ff12f30b4bd3 17:38:44 Removing intermediate container ff12f30b4bd3 17:38:44 ---> 78bbe60c674c 17:38:44 Step 12/13 : COPY . . 17:38:45 ---> 7b0b72a6fee7 17:38:45 Step 13/13 : RUN ${MAKE} 17:38:45 ---> Running in c0884dc00991 17:38:46 noop 17:38:46 Removing intermediate container c0884dc00991 17:38:46 ---> 114f112b4ec9 17:38:46 Successfully built 114f112b4ec9 17:38:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:47 + docker inspect -f . ci-base-image-arm64 17:38:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:47 prd-ubuntu20.04-docker-arm64-4c-16g-9924 does not seem to be running inside a container 17:38:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 17:38:48 $ docker top 77d24d8662456cf77b4b585c507669983f6f4df1b115c1a42b22cc320db1c6f8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:49 + go version 17:38:49 go version go1.18.7 linux/arm64 [Pipeline] } 17:38:49 $ docker stop --time=1 77d24d8662456cf77b4b585c507669983f6f4df1b115c1a42b22cc320db1c6f8 17:38:51 $ docker rm -f --volumes 77d24d8662456cf77b4b585c507669983f6f4df1b115c1a42b22cc320db1c6f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:52 + docker inspect -f . ci-base-image-arm64 17:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:52 prd-ubuntu20.04-docker-arm64-4c-16g-9924 does not seem to be running inside a container 17:38:52 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 17:38:53 $ docker top 2347f98e54af1d8563be2c037ad009b175c1b5b514ce2b1c0e859eddf28b3e26 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:54 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 17:38:55 + make test 17:38:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:38:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:40:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:40:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 29.3% of statements 17:40:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:40:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.644s coverage: 86.5% of statements 17:40:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:40:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:41:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:41:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:41:13 ./bin/test-attribution-txt.sh [Pipeline] echo 17:41:13 [edgeX.isLTS] Checking if [patch-levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:41:13 $ docker stop --time=1 2347f98e54af1d8563be2c037ad009b175c1b5b514ce2b1c0e859eddf28b3e26 17:41:15 $ docker rm -f --volumes 2347f98e54af1d8563be2c037ad009b175c1b5b514ce2b1c0e859eddf28b3e26 [Pipeline] // withDockerContainer [Pipeline] sh 17:41:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:41:16 Warning: overwriting stash ‘coverage-report’ 17:41:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:41:18 + ls -al . 17:41:18 total 248 17:41:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:38 . 17:41:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:36 .. 17:41:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:36 .git 17:41:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:36 .github 17:41:18 -rw-rw-r-- 1 jenkins jenkins 496 Mar 13 17:36 .gitignore 17:41:18 -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 17:36 .golangci.yml 17:41:18 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 13 17:36 Attribution.txt 17:41:18 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 13 17:36 CHANGELOG.md 17:41:18 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 13 17:36 Dockerfile 17:41:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:36 GOVERNANCE.md 17:41:18 -rw-rw-r-- 1 jenkins jenkins 734 Mar 13 17:36 Jenkinsfile 17:41:18 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 13 17:36 LICENSE 17:41:18 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 13 17:36 Makefile 17:41:18 -rw-rw-r-- 1 jenkins jenkins 625 Mar 13 17:36 OWNERS.md 17:41:18 -rw-rw-r-- 1 jenkins jenkins 6595 Mar 13 17:36 README.md 17:41:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:34 VERSION 17:41:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:36 bin 17:41:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:36 cmd 17:41:18 -rw-r--r-- 1 jenkins jenkins 79184 Mar 13 17:40 coverage.out 17:41:18 drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 17:36 doc 17:41:18 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 13 17:36 go.mod 17:41:18 -rw-rw-r-- 1 jenkins jenkins 53023 Mar 13 17:36 go.sum 17:41:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:36 internal 17:41:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:36 snap 17:41:18 -rw-rw-r-- 1 jenkins jenkins 236 Mar 13 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:18 + 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=10e92f17d01bd25b46edefd6a25baf6c1226522e --label arch=arm64 --label version=0.0.0 . 17:41:19 Sending build context to Docker daemon 20.73MB 17:41:19 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:41:19 Step 2/26 : FROM ${BASE} AS builder 17:41:19 ---> 114f112b4ec9 17:41:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:41:19 ---> Running in 7896c4c41fbd 17:41:19 Removing intermediate container 7896c4c41fbd 17:41:19 ---> 17f1e3db6b73 17:41:19 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:41:19 ---> Running in 40d285515c61 17:41:19 Removing intermediate container 40d285515c61 17:41:19 ---> 39e68a176a31 17:41:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:41:19 ---> Running in a84213dd0293 17:41:20 Removing intermediate container a84213dd0293 17:41:20 ---> c961ade37bf1 17:41:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:41:20 ---> Running in c62da69e2a0c 17:41:20 Removing intermediate container c62da69e2a0c 17:41:20 ---> 8c6cb88e514c 17:41:20 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:41:20 ---> Running in d114e8c53b1a 17:41:20 Removing intermediate container d114e8c53b1a 17:41:20 ---> 629d4ffae2fd 17:41:20 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:41:21 ---> Running in b560b9e99955 17:41:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:41:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:41:23 OK: 221 MiB in 51 packages 17:41:24 Removing intermediate container b560b9e99955 17:41:24 ---> e4eab08dded9 17:41:24 Step 9/26 : WORKDIR /device-onvif-camera 17:41:24 ---> Running in a206154ad64e 17:41:24 Removing intermediate container a206154ad64e 17:41:24 ---> 372776e33cb9 17:41:24 Step 10/26 : COPY go.mod vendor* ./ 17:41:25 ---> fcd866747e3d 17:41:25 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:41:27 ---> Running in 97ad6ab05ff7 17:41:28 Removing intermediate container 97ad6ab05ff7 17:41:28 ---> 602b7e766fbc 17:41:28 Step 12/26 : COPY . . 17:41:30 ---> e991b229b72b 17:41:30 Step 13/26 : RUN ${MAKE} 17:41:30 ---> Running in 47275468f74a 17:41:31 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:44:08 Removing intermediate container 47275468f74a 17:44:08 ---> 2622840b8abc 17:44:08 Step 14/26 : FROM alpine:3.16 17:44:08 3.16: Pulling from library/alpine 17:44:08 3760b48202b3: Pulling fs layer 17:44:08 3760b48202b3: Verifying Checksum 17:44:08 3760b48202b3: Download complete 17:44:08 3760b48202b3: Pull complete 17:44:08 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 17:44:08 Status: Downloaded newer image for alpine:3.16 17:44:08 ---> 4c81e5bf8899 17:44:08 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:44:08 ---> Running in 6856e181dad0 17:44:08 Removing intermediate container 6856e181dad0 17:44:08 ---> 77070b8726ad 17:44:08 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:44:08 ---> Running in 59721988c5bc 17:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:44:08 (1/6) Installing dumb-init (1.2.5-r1) 17:44:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:44:08 (3/6) Installing libsodium (1.0.18-r0) 17:44:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:44:08 (5/6) Installing libzmq (4.3.4-r0) 17:44:08 (6/6) Installing zeromq (4.3.4-r0) 17:44:08 Executing busybox-1.35.0-r17.trigger 17:44:08 OK: 8 MiB in 20 packages 17:44:08 Removing intermediate container 59721988c5bc 17:44:08 ---> dea5e9d2266d 17:44:08 Step 17/26 : WORKDIR / 17:44:08 ---> Running in 22e23c410fac 17:44:08 Removing intermediate container 22e23c410fac 17:44:08 ---> ee8cf47604a0 17:44:08 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:44:08 ---> 07f5c8dec00e 17:44:08 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:44:08 ---> 8e693364fcd9 17:44:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:44:08 ---> 8938fe03489b 17:44:08 Step 21/26 : EXPOSE 59984 17:44:08 ---> Running in 54436b3b7e8b 17:44:08 Removing intermediate container 54436b3b7e8b 17:44:08 ---> a33c95c66dcf 17:44:08 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:44:08 ---> Running in 303b52ae4e23 17:44:08 Removing intermediate container 303b52ae4e23 17:44:08 ---> cc77916cc4cb 17:44:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:44:08 ---> Running in bfe57148d6d6 17:44:08 Removing intermediate container bfe57148d6d6 17:44:08 ---> 7ccabc6cb7ad 17:44:08 Step 24/26 : LABEL arch=arm64 17:44:08 ---> Running in 1608214db9e6 17:44:08 Removing intermediate container 1608214db9e6 17:44:08 ---> 6b9deaf8e115 17:44:08 Step 25/26 : LABEL git_sha=10e92f17d01bd25b46edefd6a25baf6c1226522e 17:44:08 ---> Running in 5a13e1bb35d2 17:44:08 Removing intermediate container 5a13e1bb35d2 17:44:08 ---> 62dcd821a6ad 17:44:08 Step 26/26 : LABEL version=0.0.0 17:44:08 ---> Running in 857549fd420b 17:44:08 Removing intermediate container 857549fd420b 17:44:08 ---> b87f5b0f087f 17:44:08 [Warning] One or more build-args [ARCH] were not consumed 17:44:08 Successfully built b87f5b0f087f 17:44:08 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:44:09 17:44:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:44:09 arm64: Pulling from edgex-lftools-log-publisher 17:44:09 8998bd30e6a1: Pulling fs layer 17:44:09 04944245beec: Pulling fs layer 17:44:09 699f458cf7ca: Pulling fs layer 17:44:09 765212b225bb: Pulling fs layer 17:44:09 f23df028b6ca: Pulling fs layer 17:44:09 d65c8cfc05b1: Pulling fs layer 17:44:09 2437ff75d9bd: Pulling fs layer 17:44:09 f23df028b6ca: Waiting 17:44:09 d65c8cfc05b1: Waiting 17:44:09 2437ff75d9bd: Waiting 17:44:09 765212b225bb: Waiting 17:44:10 04944245beec: Verifying Checksum 17:44:10 04944245beec: Download complete 17:44:10 765212b225bb: Verifying Checksum 17:44:10 765212b225bb: Download complete 17:44:10 f23df028b6ca: Verifying Checksum 17:44:10 f23df028b6ca: Download complete 17:44:10 d65c8cfc05b1: Verifying Checksum 17:44:10 d65c8cfc05b1: Download complete 17:44:10 699f458cf7ca: Verifying Checksum 17:44:10 699f458cf7ca: Download complete 17:44:10 8998bd30e6a1: Verifying Checksum 17:44:10 8998bd30e6a1: Download complete 17:44:12 2437ff75d9bd: Verifying Checksum 17:44:12 2437ff75d9bd: Download complete 17:44:14 8998bd30e6a1: Pull complete 17:44:14 04944245beec: Pull complete 17:44:17 699f458cf7ca: Pull complete 17:44:17 765212b225bb: Pull complete 17:44:17 f23df028b6ca: Pull complete 17:44:18 d65c8cfc05b1: Pull complete 17:44:30 2437ff75d9bd: Pull complete 17:44:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:44:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:30 prd-ubuntu20.04-docker-arm64-4c-16g-9924 does not seem to be running inside a container 17:44:30 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:44:33 $ docker top fe79b687e598b40a75a902d306fb81cae64ee6623b8f3ef7bbd979859a159619 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:34 ---> job-cost.sh 17:44:34 lf-activate-venv: SKIPPING 17:44:34 INFO: No Stack... 17:44:34 INFO: Retrieving Pricing Info for: v3-standard-4 17:44:35 INFO: Archiving Costs [Pipeline] sh 17:44:35 + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, 17:44:35 -f6 [Pipeline] lock 17:44:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] 17:44:35 Resource [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] did not exist. Created. 17:44:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:44:36 /w/workspace/device-onvif-camera/1@tmp/durable-4dd862f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:44:37 + echo total: 0.10999999940395355 [Pipeline] stash 17:44:37 Warning: overwriting stash ‘stack-cost’ 17:44:37 Stashed 1 file(s) [Pipeline] } 17:44:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-patch-levski-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:44:37 $ docker stop --time=1 fe79b687e598b40a75a902d306fb81cae64ee6623b8f3ef7bbd979859a159619 17:44:38 $ docker rm -f --volumes fe79b687e598b40a75a902d306fb81cae64ee6623b8f3ef7bbd979859a159619 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:44:39 provisioning config files... 17:44:39 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/device-onvif-camera_patch-levski@tmp/config10567775055452322313tmp [Pipeline] { [Pipeline] sh 17:44:40 + set +x 17:44:40 + bash -s -- 17:44:40 + curl -s https://codecov.io/bash 17:44:40 17:44:40 _____ _ 17:44:40 / ____| | | 17:44:40 | | ___ __| | ___ ___ _____ __ 17:44:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:44:40 | |___| (_) | (_| | __/ (_| (_) \ V / 17:44:40 \_____\___/ \__,_|\___|\___\___/ \_/ 17:44:40 Bash-1.0.6 17:44:40 17:44:40 17:44:40 ==> git version 2.25.1 found 17:44:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:44:40 Release-Date: 2020-01-08 17:44:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:44:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:44:40 ==> Jenkins CI detected. 17:44:40 current dir:  /w/workspace/device-onvif-camera_patch-levski 17:44:40 project root: . 17:44:40 --> token set from env 17:44:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:44:40 ==> Running gcov in . (disable via -X gcov) 17:44:40 ==> Python coveragepy not found 17:44:40 ==> Searching for coverage reports in: 17:44:40 + . 17:44:40 -> Found 1 reports 17:44:40 ==> Detecting git/mercurial file structure 17:44:40 ==> Reading reports 17:44:40 + ./coverage.out bytes=79184 17:44:40 ==> Appending adjustments 17:44:40 https://docs.codecov.io/docs/fixing-reports 17:44:40 + Found adjustments 17:44:40 ==> Gzipping contents 17:44:40 12K /tmp/codecov.iJmoyA.gz 17:44:40 ==> Uploading reports 17:44:40 url: https://codecov.io 17:44:40 query: branch=patch-levski&commit=10e92f17d01bd25b46edefd6a25baf6c1226522e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fpatch-levski%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:44:40 -> Pinging Codecov 17:44:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=patch-levski&commit=10e92f17d01bd25b46edefd6a25baf6c1226522e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fpatch-levski%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:44:40 -> Uploading to 17:44:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/F29A59C45E3A92E06B3E522C9905F8EF/10e92f17d01bd25b46edefd6a25baf6c1226522e/9cbff1e8-78c4-4d6e-9587-5235bb4757a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T174440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3229d25d7e98fd5e9bf4ace7cd9b1499b569a6e20ca1d77200733061983a1c6f 17:44:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:44:40 Dload Upload Total Spent Left Speed 17:44:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10870 0 0 100 10870 0 45672 --:--:-- --:--:-- --:--:-- 45672 17:44:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/10e92f17d01bd25b46edefd6a25baf6c1226522e [Pipeline] } 17:44:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:44:42 + [ -d /w/workspace/device-onvif-camera_patch-levski/archives ] 17:44:42 + ls -al /w/workspace/device-onvif-camera_patch-levski/archives 17:44:42 total 16 17:44:42 drwxr-xr-x 3 root root 4096 Mar 13 17:36 . 17:44:42 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:36 .. 17:44:42 drwxr-xr-x 2 root root 4096 Mar 13 17:36 cost 17:44:42 -rw-r--r-- 1 root root 97 Mar 13 17:36 cost.csv 17:44:42 + sudo chown -R jenkins:jenkins /w/workspace/device-onvif-camera_patch-levski/archives 17:44:42 + ls -al /w/workspace/device-onvif-camera_patch-levski/archives 17:44:42 total 16 17:44:42 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:36 . 17:44:42 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:36 .. 17:44:42 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 17:36 cost 17:44:42 -rw-r--r-- 1 jenkins jenkins 97 Mar 13 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:44:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:44:43 ---> package-listing.sh 17:44:43 ++ facter osfamily 17:44:43 ++ tr '[:upper:]' '[:lower:]' 17:44:44 + OS_FAMILY=debian 17:44:44 + workspace=/w/workspace/device-onvif-camera_patch-levski 17:44:44 + START_PACKAGES=/tmp/packages_start.txt 17:44:44 + END_PACKAGES=/tmp/packages_end.txt 17:44:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:44:44 + PACKAGES=/tmp/packages_start.txt 17:44:44 + '[' /w/workspace/device-onvif-camera_patch-levski ']' 17:44:44 + PACKAGES=/tmp/packages_end.txt 17:44:44 + case "${OS_FAMILY}" in 17:44:44 + dpkg -l 17:44:44 + grep '^ii' 17:44:44 + '[' -f /tmp/packages_start.txt ']' 17:44:44 + '[' -f /tmp/packages_end.txt ']' 17:44:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:44:44 + '[' /w/workspace/device-onvif-camera_patch-levski ']' 17:44:44 + mkdir -p /w/workspace/device-onvif-camera_patch-levski/archives/ 17:44:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/device-onvif-camera_patch-levski/archives/ [Pipeline] echo 17:44:44 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/device-onvif-camera_patch-levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:44:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:45 prd-ubuntu20.04-docker-8c-8g-9923 does not seem to be running inside a container 17:44:45 $ 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/device-onvif-camera_patch-levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera_patch-levski -v /w/workspace/device-onvif-camera_patch-levski:/w/workspace/device-onvif-camera_patch-levski:rw,z -v /w/workspace/device-onvif-camera_patch-levski@tmp:/w/workspace/device-onvif-camera_patch-levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:44:45 $ docker top d7db7cb6683ac5e9cca39b83689bff4d7e75bf4043a3ec78cd21340f069bd2f3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:45 + touch /tmp/pre-build-complete [Pipeline] sh 17:44:46 + mkdir -p /var/log/sysstat [Pipeline] sh 17:44:46 + ls /var/log/sa-host 17:44:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:46 provisioning config files... 17:44:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/device-onvif-camera_patch-levski@tmp/config11505469125095977598tmp [Pipeline] { [Pipeline] echo 17:44:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:44:46 ---> create-netrc.sh [Pipeline] } 17:44:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:44:47 ---> python-tools-install.sh [Pipeline] echo 17:44:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:44:47 ---> sudo-logs.sh 17:44:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:44:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:44:48 ---> job-cost.sh 17:44:48 lf-activate-venv: SKIPPING 17:44:48 DEBUG: total: 0.2199999988079071 17:44:48 INFO: Retrieving Stack Cost... 17:44:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:44:49 INFO: Archiving Costs [Pipeline] echo 17:44:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:44:49 ---> logs-deploy.sh 17:44:49 lf-activate-venv: SKIPPING 17:44:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/patch-levski/1 17:44:49 INFO: archiving workspace using pattern(s): 17:44:50 Archives upload complete. 17:44:50 INFO: archiving logs to Nexus