Pull request #196 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 2545f5903fd01a4bbfd89758772e8743cfa7fbc4+85f19cd4395ab38c9fed3c9acaecd010dfd8799e (8c16349f032d40dd88408a9054afd2b41268e834) 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-ssh13149489618861653950.key Verifying host key using known hosts file > 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-ssh5962924006791022393.key Verifying host key using known hosts file > 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/PR-196/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/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11570317749601135472.key Verifying host key using known hosts file > 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/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8590650437166710690.key Verifying host key using known hosts file > 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-ssh12014147897819285750.key Verifying host key using known hosts file > 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/PR-196/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/PR-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5002416663909831657.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118618 in /w/workspace/undry_device-onvif-camera_PR-196 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-196 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 Merge succeeded, producing 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 Checking out Revision 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 (PR-196) > git config core.sparsecheckout # timeout=10 > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 Commit message: "build: Update to use released SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:09:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:09:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:09:19 ========================================================= 16:09:19 EdgeX Global Pipelines Version Info 16:09:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:09:19 ------------------- 16:09:19 stable info: 16:09:19 ------------------- 16:09:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:09:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:09:19 Message: update stable to v1.0.244 16:09:20 ------------------- 16:09:20 experimental info: 16:09:20 ------------------- 16:09:20 Commited By: **** collab-it+edgex@linuxfoundation.org 16:09:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:09:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:09:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo 16:09:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo 16:09:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2545f59 [Pipeline] echo 16:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:22 provisioning config files... 16:09:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config16692640511688455284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:22 ---> docker-login.sh 16:09:22 nexus3.edgexfoundry.org:10001 16:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:22 Configure a credential helper to remove this warning. See 16:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:22 16:09:22 Login Succeeded 16:09:22 nexus3.edgexfoundry.org:10002 16:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:23 Configure a credential helper to remove this warning. See 16:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:23 16:09:23 Login Succeeded 16:09:23 nexus3.edgexfoundry.org:10003 16:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:23 Configure a credential helper to remove this warning. See 16:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:23 16:09:23 Login Succeeded 16:09:23 nexus3.edgexfoundry.org:10004 16:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:23 Configure a credential helper to remove this warning. See 16:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:23 16:09:23 Login Succeeded 16:09:23 docker.io 16:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:23 Configure a credential helper to remove this warning. See 16:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:23 16:09:23 Login Succeeded 16:09:23 ---> docker-login.sh ends [Pipeline] } 16:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:09:24 + git rev-list -1 --merges 2545f5903fd01a4bbfd89758772e8743cfa7fbc4~1..2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo 16:09:24 -----------> git rev-list -1 --merges 2545f5903fd01a4bbfd89758772e8743cfa7fbc4~1..2545f5903fd01a4bbfd89758772e8743cfa7fbc4 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [false] [Pipeline] sh 16:09:24 + git log --format=format:%s -1 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo 16:09:24 ========================================================= 16:09:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:09:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:25 + git log --format=format:%s -1 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo 16:09:25 [semverPrep] GIT_COMMIT: 2545f5903fd01a4bbfd89758772e8743cfa7fbc4, Commit Message: build: Update to use released SDK [Pipeline] echo 16:09:25 [semverPrep] This is not a build commit. [Pipeline] sh 16:09:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:25 + grep -v github /etc/ssh/ssh_known_hosts 16:09:25 + [ -e /tmp/ssh_known_hosts ] 16:09:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:09:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:09:25 + sudo tee -a /etc/ssh/ssh_known_hosts 16:09:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:26 16:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:26 0.1.4: Pulling from edgex-devops/py-git-semver 16:09:26 b85a868b505f: Pulling fs layer 16:09:26 e2be974225ed: Pulling fs layer 16:09:26 339a4e72a1f5: Pulling fs layer 16:09:26 988bab9f4d93: Pulling fs layer 16:09:26 1469e6f7b9e6: Pulling fs layer 16:09:26 eaf3925da568: Pulling fs layer 16:09:26 bab4dde63d76: Pulling fs layer 16:09:26 bde34c3a00c8: Pulling fs layer 16:09:26 988bab9f4d93: Waiting 16:09:26 b352a97aabf1: Pulling fs layer 16:09:26 4872d77fe225: Pulling fs layer 16:09:26 5851b861e8e6: Pulling fs layer 16:09:26 1469e6f7b9e6: Waiting 16:09:26 eaf3925da568: Waiting 16:09:26 bab4dde63d76: Waiting 16:09:26 bde34c3a00c8: Waiting 16:09:26 b352a97aabf1: Waiting 16:09:26 5851b861e8e6: Waiting 16:09:26 4872d77fe225: Waiting 16:09:26 e2be974225ed: Download complete 16:09:26 988bab9f4d93: Download complete 16:09:26 1469e6f7b9e6: Verifying Checksum 16:09:26 1469e6f7b9e6: Download complete 16:09:26 339a4e72a1f5: Verifying Checksum 16:09:26 339a4e72a1f5: Download complete 16:09:26 eaf3925da568: Download complete 16:09:26 bde34c3a00c8: Download complete 16:09:26 b352a97aabf1: Download complete 16:09:26 4872d77fe225: Verifying Checksum 16:09:26 4872d77fe225: Download complete 16:09:26 5851b861e8e6: Download complete 16:09:26 b85a868b505f: Verifying Checksum 16:09:26 b85a868b505f: Download complete 16:09:27 bab4dde63d76: Verifying Checksum 16:09:27 bab4dde63d76: Download complete 16:09:28 b85a868b505f: Pull complete 16:09:28 e2be974225ed: Pull complete 16:09:28 339a4e72a1f5: Pull complete 16:09:28 988bab9f4d93: Pull complete 16:09:28 1469e6f7b9e6: Pull complete 16:09:29 eaf3925da568: Pull complete 16:09:31 bab4dde63d76: Pull complete 16:09:31 bde34c3a00c8: Pull complete 16:09:31 b352a97aabf1: Pull complete 16:09:31 4872d77fe225: Pull complete 16:09:31 5851b861e8e6: Pull complete 16:09:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:31 prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container 16:09:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:09:34 $ docker top cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 -eo pid,comm 16:09:34 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). 16:09:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:34 [ssh-agent] Looking for ssh-agent implementation... 16:09:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:34 $ docker exec cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent 16:09:34 SSH_AUTH_SOCK=/tmp/ssh-7a5m42S55fIR/agent.32 16:09:34 SSH_AGENT_PID=38 16:09:34 Running ssh-add (command line suppressed) 16:09:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_637708695843684875.key (/w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_637708695843684875.key) 16:09:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:34 + git tag --points-at HEAD [Pipeline] } 16:09:34 $ docker exec --env ******** --env ******** cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent -k 16:09:35 unset SSH_AUTH_SOCK; 16:09:35 unset SSH_AGENT_PID; 16:09:35 echo Agent pid 38 killed; 16:09:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:09:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:35 [ssh-agent] Looking for ssh-agent implementation... 16:09:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:35 $ docker exec cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent 16:09:35 SSH_AUTH_SOCK=/tmp/ssh-A6Op1G7SxfCV/agent.70 16:09:35 SSH_AGENT_PID=76 16:09:35 Running ssh-add (command line suppressed) 16:09:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_17945262099752182473.key (/w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_17945262099752182473.key) 16:09:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:35 + git semver init 16:09:36 2022-11-08 16:09:36,060 [run_init] DEBUG init version:0.0.0 force:False 16:09:36 2022-11-08 16:09:36,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-196/.semver 16:09:36 2022-11-08 16:09:36,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-196/.semver 16:09:36 2022-11-08 16:09:36,062 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-196/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-196, universal_newlines=False, shell=None, istream=None) 16:09:37 2022-11-08 16:09:37,201 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-196/.git/info/exclude 16:09:37 2022-11-08 16:09:37,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-196/.semver/PR-196 with force:False 16:09:37 2022-11-08 16:09:37,202 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-196/.semver/PR-196 16:09:37 2022-11-08 16:09:37,206 [execute] INFO git cat-file --batch-check 16:09:37 2022-11-08 16:09:37,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-196/.semver, universal_newlines=False, shell=None, istream=) 16:09:37 2022-11-08 16:09:37,213 [execute] INFO git cat-file --batch 16:09:37 2022-11-08 16:09:37,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-196/.semver, universal_newlines=False, shell=None, istream=) 16:09:37 2022-11-08 16:09:37,219 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-196/.semver/PR-196 16:09:37 0.0.0 [Pipeline] } 16:09:37 $ docker exec --env ******** --env ******** cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent -k 16:09:37 unset SSH_AUTH_SOCK; 16:09:37 unset SSH_AGENT_PID; 16:09:37 echo Agent pid 76 killed; 16:09:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:38 + git semver [Pipeline] } 16:09:38 $ docker stop --time=1 cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 16:09:39 $ docker rm -f cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:40 Stashed 1 file(s) [Pipeline] echo 16:09:40 [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 16:09:40 provisioning config files... 16:09:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config16541570295526904200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:41 ---> docker-login.sh 16:09:41 nexus3.edgexfoundry.org:10001 16:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:41 Configure a credential helper to remove this warning. See 16:09:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:41 16:09:41 Login Succeeded 16:09:41 nexus3.edgexfoundry.org:10002 16:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:41 Configure a credential helper to remove this warning. See 16:09:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:41 16:09:41 Login Succeeded 16:09:41 nexus3.edgexfoundry.org:10003 16:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:41 Configure a credential helper to remove this warning. See 16:09:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:41 16:09:41 Login Succeeded 16:09:41 nexus3.edgexfoundry.org:10004 16:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:41 Configure a credential helper to remove this warning. See 16:09:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:41 16:09:41 Login Succeeded 16:09:41 docker.io 16:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:42 Configure a credential helper to remove this warning. See 16:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:42 16:09:42 Login Succeeded 16:09:42 ---> docker-login.sh ends [Pipeline] } 16:09:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:42 ========================================================= 16:09:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:09:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:42 + 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 . 16:09:42 Sending build context to Docker daemon 27.54MB 16:09:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:09:42 Step 2/13 : FROM ${BASE} AS builder 16:09:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:09:43 213ec9aee27d: Pulling fs layer 16:09:43 4583459ba037: Pulling fs layer 16:09:43 93c1e223e6f2: Pulling fs layer 16:09:43 53926ce57604: Pulling fs layer 16:09:43 21b2b0c7a3f4: Pulling fs layer 16:09:43 22ff95d597cd: Pulling fs layer 16:09:43 12d6caf4c0d1: Pulling fs layer 16:09:43 96b7cbca73a9: Pulling fs layer 16:09:43 a7acece74701: Pulling fs layer 16:09:43 53926ce57604: Waiting 16:09:43 21b2b0c7a3f4: Waiting 16:09:43 12d6caf4c0d1: Waiting 16:09:43 96b7cbca73a9: Waiting 16:09:43 a7acece74701: Waiting 16:09:43 22ff95d597cd: Waiting 16:09:43 93c1e223e6f2: Verifying Checksum 16:09:43 93c1e223e6f2: Download complete 16:09:43 4583459ba037: Verifying Checksum 16:09:43 4583459ba037: Download complete 16:09:43 21b2b0c7a3f4: Verifying Checksum 16:09:43 21b2b0c7a3f4: Download complete 16:09:43 22ff95d597cd: Verifying Checksum 16:09:43 22ff95d597cd: Download complete 16:09:43 213ec9aee27d: Verifying Checksum 16:09:43 12d6caf4c0d1: Verifying Checksum 16:09:43 12d6caf4c0d1: Download complete 16:09:43 213ec9aee27d: Pull complete 16:09:43 4583459ba037: Pull complete 16:09:43 93c1e223e6f2: Pull complete 16:09:43 a7acece74701: Verifying Checksum 16:09:43 a7acece74701: Download complete 16:09:44 53926ce57604: Verifying Checksum 16:09:44 53926ce57604: Download complete 16:09:44 96b7cbca73a9: Verifying Checksum 16:09:44 96b7cbca73a9: Download complete 16:09:48 53926ce57604: Pull complete 16:09:48 21b2b0c7a3f4: Pull complete 16:09:48 22ff95d597cd: Pull complete 16:09:48 12d6caf4c0d1: Pull complete 16:09:51 96b7cbca73a9: Pull complete 16:09:51 a7acece74701: Pull complete 16:09:51 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:09:51 ---> db6d94c90886 16:09:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:09:55 ---> Running in ff33aeed1868 16:09:55 Removing intermediate container ff33aeed1868 16:09:55 ---> e7d098942ba8 16:09:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:09:55 ---> Running in 165b0471a944 16:09:55 Removing intermediate container 165b0471a944 16:09:55 ---> c9cc14ceb2cb 16:09:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:09:55 ---> Running in 4537d67503fc 16:09:55 Removing intermediate container 4537d67503fc 16:09:55 ---> 3da6e2818e15 16:09:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:09:55 Still waiting to schedule task 16:09:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:09:55 ---> Running in 93185086cd04 16:09:55 Removing intermediate container 93185086cd04 16:09:55 ---> b188b368a641 16:09:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:09:55 ---> Running in 840dc8885272 16:09:55 Removing intermediate container 840dc8885272 16:09:55 ---> 1cad4b358951 16:09:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:55 ---> Running in bc567876d328 16:09:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:09:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:09:56 OK: 211 MiB in 51 packages 16:09:57 Removing intermediate container bc567876d328 16:09:57 ---> aac4dac7b5f6 16:09:57 Step 9/13 : WORKDIR /device-onvif-camera 16:09:57 ---> Running in a570581590bf 16:09:57 Removing intermediate container a570581590bf 16:09:57 ---> a617f6bac134 16:09:57 Step 10/13 : COPY go.mod vendor* ./ 16:09:57 ---> deddabf43a9a 16:09:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:57 ---> Running in 39fe6d7f3ce7 16:10:19 Removing intermediate container 39fe6d7f3ce7 16:10:19 ---> 3c62e0c5b0dd 16:10:19 Step 12/13 : COPY . . 16:10:19 ---> 11f7da1c4d81 16:10:19 Step 13/13 : RUN ${MAKE} 16:10:19 ---> Running in 71e9a607be58 16:10:19 noop 16:10:19 Removing intermediate container 71e9a607be58 16:10:19 ---> 9c8d56b10b21 16:10:19 Successfully built 9c8d56b10b21 16:10:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:19 + docker inspect -f . ci-base-image-x86_64 16:10:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:19 prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container 16:10:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:19 $ docker top 95381dcb2fb6f92769789f96bb24d268c1d6a5b921f34ee478a581c25fc2809a -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:20 + go version 16:10:20 go version go1.18.7 linux/amd64 [Pipeline] } 16:10:20 $ docker stop --time=1 95381dcb2fb6f92769789f96bb24d268c1d6a5b921f34ee478a581c25fc2809a 16:10:21 $ docker rm -f 95381dcb2fb6f92769789f96bb24d268c1d6a5b921f34ee478a581c25fc2809a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:22 + docker inspect -f . ci-base-image-x86_64 16:10:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:22 prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container 16:10:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:22 $ docker top ed226870c550a492c0e2b025b780d1537446e103e8341aa99fba666245fc6e80 -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:23 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-196 [Pipeline] fileExists [Pipeline] sh 16:10:23 + make test 16:10:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:10:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:10:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:10:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements 16:10:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:10:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.250s coverage: 86.5% of statements 16:10: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." 16:10:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:10:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:10:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:10:47 ./bin/test-attribution-txt.sh [Pipeline] echo 16:10:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:10:47 $ docker stop --time=1 ed226870c550a492c0e2b025b780d1537446e103e8341aa99fba666245fc6e80 16:10:49 $ docker rm -f ed226870c550a492c0e2b025b780d1537446e103e8341aa99fba666245fc6e80 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:10:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:10:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:10:50 + ls -al . 16:10:50 total 248 16:10:50 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:10 . 16:10:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:09 .. 16:10:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:10 .git 16:10:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:09 .github 16:10:50 -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 16:09 .gitignore 16:10:50 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 16:09 .golangci.yml 16:10:50 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:09 .semver 16:10:50 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 16:09 Attribution.txt 16:10:50 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 16:09 CHANGELOG.md 16:10:50 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 16:09 Dockerfile 16:10:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:09 GOVERNANCE.md 16:10:50 -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 16:09 Jenkinsfile 16:10:50 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 16:09 LICENSE 16:10:50 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 16:09 Makefile 16:10:50 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 16:09 OWNERS.md 16:10:50 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 16:09 README.md 16:10:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 16:09 VERSION 16:10:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:09 bin 16:10:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:09 cmd 16:10:50 -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 16:10 coverage.out 16:10:50 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 16:09 doc 16:10:50 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 8 16:09 go.mod 16:10:50 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 8 16:09 go.sum 16:10:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:09 internal 16:10:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:09 snap 16:10:50 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:51 + 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=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 --label arch=amd64 --label version=0.0.0 . 16:10:51 Sending build context to Docker daemon 27.62MB 16:10:51 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:10:51 Step 2/26 : FROM ${BASE} AS builder 16:10:51 ---> 9c8d56b10b21 16:10:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:10:51 ---> Running in e5b11f21afaf 16:10:51 Removing intermediate container e5b11f21afaf 16:10:51 ---> 3341dc553b9b 16:10:51 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:10:51 ---> Running in d7b3619f6b95 16:10:51 Removing intermediate container d7b3619f6b95 16:10:51 ---> a4001a0d5178 16:10:51 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:10:51 ---> Running in b8f955049104 16:10:51 Removing intermediate container b8f955049104 16:10:51 ---> 7756d6f1b1e7 16:10:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:10:51 ---> Running in 74bf0b97e563 16:10:52 Removing intermediate container 74bf0b97e563 16:10:52 ---> e6ac42368d12 16:10:52 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:10:52 ---> Running in a2175aa44a64 16:10:52 Removing intermediate container a2175aa44a64 16:10:52 ---> e73d51a65a9f 16:10:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:10:52 ---> Running in f7b29173ef9d 16:10:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:10:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:10:52 OK: 211 MiB in 51 packages 16:10:53 Removing intermediate container f7b29173ef9d 16:10:53 ---> c831fe3e01b9 16:10:53 Step 9/26 : WORKDIR /device-onvif-camera 16:10:53 ---> Running in df75b40ce708 16:10:53 Removing intermediate container df75b40ce708 16:10:53 ---> d4500e407d2e 16:10:53 Step 10/26 : COPY go.mod vendor* ./ 16:10:53 ---> 8f6f31c5a3cf 16:10:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:53 ---> Running in af4d066b6eef 16:10:53 Removing intermediate container af4d066b6eef 16:10:53 ---> c69b7f2dc43e 16:10:53 Step 12/26 : COPY . . 16:10:54 ---> ab7291b59601 16:10:54 Step 13/26 : RUN ${MAKE} 16:10:54 ---> Running in 60aaf024c81c 16:10:55 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.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:11:17 Removing intermediate container 60aaf024c81c 16:11:17 ---> 5a9fe5ce23fc 16:11:17 Step 14/26 : FROM alpine:3.16 16:11:17 3.16: Pulling from library/alpine 16:11:17 213ec9aee27d: Already exists 16:11:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:11:17 Status: Downloaded newer image for alpine:3.16 16:11:17 ---> 9c6f07244728 16:11:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:11:17 ---> Running in 12ee1d4019ea 16:11:17 Removing intermediate container 12ee1d4019ea 16:11:17 ---> ec64d0dcbd07 16:11:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:11:17 ---> Running in 3c818079e831 16:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:11:17 (1/6) Installing dumb-init (1.2.5-r1) 16:11:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:11:17 (3/6) Installing libsodium (1.0.18-r0) 16:11:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:11:17 (5/6) Installing libzmq (4.3.4-r0) 16:11:17 (6/6) Installing zeromq (4.3.4-r0) 16:11:17 Executing busybox-1.35.0-r17.trigger 16:11:17 OK: 8 MiB in 20 packages 16:11:17 Removing intermediate container 3c818079e831 16:11:17 ---> 77f021876c8d 16:11:17 Step 17/26 : WORKDIR / 16:11:17 ---> Running in e2acc628cfe3 16:11:17 Removing intermediate container e2acc628cfe3 16:11:17 ---> 72d9642ac4fb 16:11:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:11:18 ---> cbfa10ff3f50 16:11:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:11:18 ---> f04ed38ff839 16:11:18 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:11:19 ---> 3c9ace7fe722 16:11:19 Step 21/26 : EXPOSE 59984 16:11:19 ---> Running in 9b43de9cd535 16:11:19 Removing intermediate container 9b43de9cd535 16:11:19 ---> 370009f83ef2 16:11:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:11:19 ---> Running in 0ce7a943f233 16:11:19 Removing intermediate container 0ce7a943f233 16:11:19 ---> fc6c19d4aed2 16:11:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:11:19 ---> Running in 7f8f2b01f750 16:11:19 Removing intermediate container 7f8f2b01f750 16:11:19 ---> 8a1a47a09aa9 16:11:19 Step 24/26 : LABEL arch=amd64 16:11:19 ---> Running in 7243f1518ba7 16:11:19 Removing intermediate container 7243f1518ba7 16:11:19 ---> a9ff67112d82 16:11:19 Step 25/26 : LABEL git_sha=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 16:11:19 ---> Running in 557a38c6af02 16:11:19 Removing intermediate container 557a38c6af02 16:11:19 ---> 5b6ced75d8c6 16:11:19 Step 26/26 : LABEL version=0.0.0 16:11:19 ---> Running in 586183aa773a 16:11:19 Removing intermediate container 586183aa773a 16:11:19 ---> db33b0577594 16:11:19 [Warning] One or more build-args [ARCH] were not consumed 16:11:19 Successfully built db33b0577594 16:11:19 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 16:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:20 16:11:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:20 latest: Pulling from edgex-lftools-log-publisher 16:11:20 5eb5b503b376: Pulling fs layer 16:11:20 5c69ac0246d0: Pulling fs layer 16:11:20 ec43610c2a17: Pulling fs layer 16:11:20 3a2ae6a8a46f: Pulling fs layer 16:11:20 33b1e0a273af: Pulling fs layer 16:11:20 5d3b04190fa2: Pulling fs layer 16:11:20 2f39f015ded8: Pulling fs layer 16:11:20 33b1e0a273af: Waiting 16:11:20 3a2ae6a8a46f: Waiting 16:11:20 5d3b04190fa2: Waiting 16:11:20 2f39f015ded8: Waiting 16:11:20 5c69ac0246d0: Download complete 16:11:20 3a2ae6a8a46f: Verifying Checksum 16:11:20 3a2ae6a8a46f: Download complete 16:11:20 33b1e0a273af: Verifying Checksum 16:11:20 33b1e0a273af: Download complete 16:11:20 5d3b04190fa2: Download complete 16:11:21 ec43610c2a17: Verifying Checksum 16:11:21 ec43610c2a17: Download complete 16:11:21 5eb5b503b376: Verifying Checksum 16:11:21 5eb5b503b376: Download complete 16:11:21 2f39f015ded8: Download complete 16:11:22 5eb5b503b376: Pull complete 16:11:22 5c69ac0246d0: Pull complete 16:11:22 ec43610c2a17: Pull complete 16:11:22 3a2ae6a8a46f: Pull complete 16:11:22 33b1e0a273af: Pull complete 16:11:22 5d3b04190fa2: Pull complete 16:11:27 2f39f015ded8: Pull complete 16:11:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:27 prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container 16:11:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:11:30 $ docker top c06abb4083afe71c117481495bf5974b01ebb13aa84ed81b1e07abdd706104ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:30 ---> job-cost.sh 16:11:30 lf-activate-venv: SKIPPING 16:11:30 INFO: No Stack... 16:11:31 INFO: Retrieving Pricing Info for: v3-standard-8 16:11:31 INFO: Archiving Costs [Pipeline] sh 16:11:31 + cat /w/workspace/undry_device-onvif-camera_PR-196/archives/cost.csv 16:11:31 + cut -d, -f6 [Pipeline] lock 16:11:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] 16:11:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] did not exist. Created. 16:11:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:11:32 + echo total: 0.2199999988079071 [Pipeline] stash 16:11:32 Stashed 1 file(s) [Pipeline] } 16:11:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:11:32 $ docker stop --time=1 c06abb4083afe71c117481495bf5974b01ebb13aa84ed81b1e07abdd706104ad 16:11:33 $ docker rm -f c06abb4083afe71c117481495bf5974b01ebb13aa84ed81b1e07abdd706104ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:12:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118621 in /w/workspace/undry_device-onvif-camera_PR-196 [Pipeline] { [Pipeline] ws 16:12:25 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 16:12:25 The recommended git tool is: git 16:12:31 using credential edgex-jenkins-ssh 16:12:31 Cloning the remote Git repository 16:12:31 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:12:31 > git init /w/workspace/device-onvif-camera/1 # timeout=10 16:12:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:12:31 > git --version # timeout=10 16:12:31 > git --version # 'git version 2.25.1' 16:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:31 Verifying host key using known hosts file 16:12:32 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:12:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:12:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:35 Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 16:12:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:12:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:12:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:35 Verifying host key using known hosts file 16:12:35 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:12:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:12:35 > git config core.sparsecheckout # timeout=10 16:12:36 > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 16:12:36 Merge succeeded, producing 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 16:12:36 Checking out Revision 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 (PR-196) 16:12:36 > git remote # timeout=10 16:12:36 > git config --get remote.origin.url # timeout=10 16:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:36 Verifying host key using known hosts file 16:12:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:12:36 > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 16:12:36 > git rev-parse HEAD^{commit} # timeout=10 16:12:36 > git config core.sparsecheckout # timeout=10 16:12:36 > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 16:12:40 Commit message: "build: Update to use released SDK" 16:12:40 > git --version # timeout=10 16:12:40 > git --version # 'git version 2.25.1' 16:12:40 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:12:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:12:41 % Total % Received % Xferd Average Speed Time Time Time Current 16:12:41 Dload Upload Total Spent Left Speed 16:12:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh 16:12:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:12:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:12:42 + sudo tee /etc/docker/daemon.new 16:12:42 { 16:12:42 "registry-mirrors": [ 16:12:42 "https://nexus3.edgexfoundry.org:10001" 16:12:42 ], 16:12:42 "bip": "10.250.0.254/24", 16:12:42 "hosts": [ 16:12:42 "tcp://0.0.0.0:5555", 16:12:42 "unix:///var/run/docker.sock" 16:12:42 ], 16:12:42 "mtu": 1458, 16:12:42 "selinux-enabled": true, 16:12:42 "seccomp-profile": "/etc/docker/seccomp.json" 16:12:42 } [Pipeline] sh 16:12:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:12:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:01 provisioning config files... 16:13:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1606849153097107015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:02 ---> docker-login.sh 16:13:02 nexus3.edgexfoundry.org:10001 16:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:02 Configure a credential helper to remove this warning. See 16:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:02 16:13:02 Login Succeeded 16:13:02 nexus3.edgexfoundry.org:10002 16:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:02 Configure a credential helper to remove this warning. See 16:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:02 16:13:02 Login Succeeded 16:13:02 nexus3.edgexfoundry.org:10003 16:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:03 Configure a credential helper to remove this warning. See 16:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:03 16:13:03 Login Succeeded 16:13:03 nexus3.edgexfoundry.org:10004 16:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:03 Configure a credential helper to remove this warning. See 16:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:03 16:13:03 Login Succeeded 16:13:03 docker.io 16:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:04 Configure a credential helper to remove this warning. See 16:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:04 16:13:04 Login Succeeded 16:13:04 ---> docker-login.sh ends [Pipeline] } 16:13:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:04 ========================================================= 16:13:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:13:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:05 + 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 . 16:13:05 Sending build context to Docker daemon 20.47MB 16:13:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:13:05 Step 2/13 : FROM ${BASE} AS builder 16:13:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:13:06 9b18e9b68314: Pulling fs layer 16:13:06 35d82f9e3411: Pulling fs layer 16:13:06 e16973657156: Pulling fs layer 16:13:06 fc693d55d65f: Pulling fs layer 16:13:06 7e9fc2657dce: Pulling fs layer 16:13:06 dda99020689f: Pulling fs layer 16:13:06 db1c61fa0a46: Pulling fs layer 16:13:06 891c053d2c06: Pulling fs layer 16:13:06 7e9fc2657dce: Waiting 16:13:06 dda99020689f: Waiting 16:13:06 db1c61fa0a46: Waiting 16:13:06 fc693d55d65f: Waiting 16:13:06 891c053d2c06: Waiting 16:13:06 e16973657156: Verifying Checksum 16:13:06 e16973657156: Download complete 16:13:06 35d82f9e3411: Verifying Checksum 16:13:06 35d82f9e3411: Download complete 16:13:06 7e9fc2657dce: Verifying Checksum 16:13:06 7e9fc2657dce: Download complete 16:13:06 dda99020689f: Verifying Checksum 16:13:06 dda99020689f: Download complete 16:13:06 9b18e9b68314: Verifying Checksum 16:13:06 9b18e9b68314: Download complete 16:13:07 9b18e9b68314: Pull complete 16:13:07 891c053d2c06: Verifying Checksum 16:13:07 891c053d2c06: Download complete 16:13:07 35d82f9e3411: Pull complete 16:13:08 e16973657156: Pull complete 16:13:08 db1c61fa0a46: Verifying Checksum 16:13:08 db1c61fa0a46: Download complete 16:13:09 fc693d55d65f: Verifying Checksum 16:13:09 fc693d55d65f: Download complete 16:13:21 fc693d55d65f: Pull complete 16:13:22 7e9fc2657dce: Pull complete 16:13:22 dda99020689f: Pull complete 16:13:29 db1c61fa0a46: Pull complete 16:13:30 891c053d2c06: Pull complete 16:13:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:13:30 ---> f96f9c87975a 16:13:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:13:34 ---> Running in 33740d8ffa1a 16:13:34 Removing intermediate container 33740d8ffa1a 16:13:34 ---> fc11cd7dccc4 16:13:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:13:34 ---> Running in 2dfc5ef2c7f5 16:13:34 Removing intermediate container 2dfc5ef2c7f5 16:13:34 ---> 5ac7df75ad5e 16:13:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:13:34 ---> Running in a9a463bccd51 16:13:34 Removing intermediate container a9a463bccd51 16:13:34 ---> e5f4a58d117f 16:13:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:13:35 ---> Running in 24b7abb89898 16:13:35 Removing intermediate container 24b7abb89898 16:13:35 ---> 7649b7ed9919 16:13:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:13:35 ---> Running in c1dcde66889f 16:13:35 Removing intermediate container c1dcde66889f 16:13:35 ---> 30214aba1afd 16:13:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:13:35 ---> Running in 793cee1416b5 16:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:13:38 OK: 221 MiB in 51 packages 16:13:39 Removing intermediate container 793cee1416b5 16:13:39 ---> 68ddcff01cf9 16:13:39 Step 9/13 : WORKDIR /device-onvif-camera 16:13:39 ---> Running in ab3cabfcb006 16:13:39 Removing intermediate container ab3cabfcb006 16:13:39 ---> 8dc0a80637b9 16:13:39 Step 10/13 : COPY go.mod vendor* ./ 16:13:40 ---> 02210588159a 16:13:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:13:40 ---> Running in e11c047e8937 16:14:48 Removing intermediate container e11c047e8937 16:14:48 ---> ba9963afd7cd 16:14:48 Step 12/13 : COPY . . 16:14:48 ---> 54421b1019ed 16:14:48 Step 13/13 : RUN ${MAKE} 16:14:48 ---> Running in 991807a78471 16:14:48 noop 16:14:48 Removing intermediate container 991807a78471 16:14:48 ---> 286a210dd2fc 16:14:48 Successfully built 286a210dd2fc 16:14:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:48 + docker inspect -f . ci-base-image-arm64 16:14:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:48 prd-ubuntu20.04-docker-arm64-4c-16g-118621 does not seem to be running inside a container 16:14:49 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:14:50 $ docker top 2668bbb74b03eb1bd7a92db4060ba937bcd7afb0d8a844224ea48480eb5ac889 -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:51 + go version 16:14:51 go version go1.18.7 linux/arm64 [Pipeline] } 16:14:51 $ docker stop --time=1 2668bbb74b03eb1bd7a92db4060ba937bcd7afb0d8a844224ea48480eb5ac889 16:14:52 $ docker rm -f 2668bbb74b03eb1bd7a92db4060ba937bcd7afb0d8a844224ea48480eb5ac889 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:53 + docker inspect -f . ci-base-image-arm64 16:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:53 prd-ubuntu20.04-docker-arm64-4c-16g-118621 does not seem to be running inside a container 16:14:53 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:14:55 $ docker top 09201a188a68f956fee3dcd3185df3e0192cf4c8db92279bf8bb57111155d61d -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 16:14:56 + make test 16:14:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:14:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:16:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:16:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 29.3% of statements 16:16:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:17:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.904s coverage: 86.5% of statements 16:17:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:17:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:18:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:18:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:18:03 ./bin/test-attribution-txt.sh [Pipeline] echo 16:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:18:03 $ docker stop --time=1 09201a188a68f956fee3dcd3185df3e0192cf4c8db92279bf8bb57111155d61d 16:18:05 $ docker rm -f 09201a188a68f956fee3dcd3185df3e0192cf4c8db92279bf8bb57111155d61d [Pipeline] // withDockerContainer [Pipeline] sh 16:18:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:06 Warning: overwriting stash ‘coverage-report’ 16:18:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:18:08 + ls -al . 16:18:08 total 244 16:18:08 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:14 . 16:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:12 .. 16:18:08 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:12 .git 16:18:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:12 .github 16:18:08 -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 16:12 .gitignore 16:18:08 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 16:12 .golangci.yml 16:18:08 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 16:12 Attribution.txt 16:18:08 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 16:12 CHANGELOG.md 16:18:08 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 16:12 Dockerfile 16:18:08 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:12 GOVERNANCE.md 16:18:08 -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 16:12 Jenkinsfile 16:18:08 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 16:12 LICENSE 16:18:08 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 16:12 Makefile 16:18:08 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 16:12 OWNERS.md 16:18:08 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 16:12 README.md 16:18:08 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 16:09 VERSION 16:18:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:12 bin 16:18:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:12 cmd 16:18:08 -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 16:17 coverage.out 16:18:08 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 16:12 doc 16:18:08 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 8 16:12 go.mod 16:18:08 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 8 16:12 go.sum 16:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:12 internal 16:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:12 snap 16:18:08 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 16:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:08 + 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=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 --label arch=arm64 --label version=0.0.0 . 16:18:09 Sending build context to Docker daemon 20.55MB 16:18:09 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:18:09 Step 2/26 : FROM ${BASE} AS builder 16:18:09 ---> 286a210dd2fc 16:18:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:18:09 ---> Running in 6a0b98d97a62 16:18:10 Removing intermediate container 6a0b98d97a62 16:18:10 ---> 3bfe3d537dbf 16:18:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:18:10 ---> Running in 831ca88076d6 16:18:10 Removing intermediate container 831ca88076d6 16:18:10 ---> 03ac358099a7 16:18:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:18:10 ---> Running in 72e5b9bd1ab2 16:18:11 Removing intermediate container 72e5b9bd1ab2 16:18:11 ---> 4a895a43ad7e 16:18:11 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:18:11 ---> Running in d130390f277a 16:18:11 Removing intermediate container d130390f277a 16:18:11 ---> 2b8041763e12 16:18:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:18:11 ---> Running in 03c720809a67 16:18:12 Removing intermediate container 03c720809a67 16:18:12 ---> caa9ce21e94e 16:18:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:18:12 ---> Running in 0ad53b6311e4 16:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:18:14 OK: 221 MiB in 51 packages 16:18:16 Removing intermediate container 0ad53b6311e4 16:18:16 ---> eb50e1c92dac 16:18:16 Step 9/26 : WORKDIR /device-onvif-camera 16:18:16 ---> Running in 0ca50bc66581 16:18:16 Removing intermediate container 0ca50bc66581 16:18:16 ---> ef82ec680b87 16:18:16 Step 10/26 : COPY go.mod vendor* ./ 16:18:16 ---> 55cb70a88c2b 16:18:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:18:17 ---> Running in 8387d2f35737 16:18:19 Removing intermediate container 8387d2f35737 16:18:19 ---> cc6d31a41630 16:18:19 Step 12/26 : COPY . . 16:18:21 ---> 6c94505ba665 16:18:21 Step 13/26 : RUN ${MAKE} 16:18:21 ---> Running in e5fe1dc1f0df 16:18:22 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.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:21:29 Removing intermediate container e5fe1dc1f0df 16:21:29 ---> 94ff65e7f3e5 16:21:29 Step 14/26 : FROM alpine:3.16 16:21:29 3.16: Pulling from library/alpine 16:21:29 9b18e9b68314: Already exists 16:21:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:21:29 Status: Downloaded newer image for alpine:3.16 16:21:29 ---> a6215f271958 16:21:29 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:21:29 ---> Running in 04cfa396f2ea 16:21:29 Removing intermediate container 04cfa396f2ea 16:21:29 ---> 8691c6a47971 16:21:29 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:21:29 ---> Running in 72500a41e195 16:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:21:29 (1/6) Installing dumb-init (1.2.5-r1) 16:21:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:21:29 (3/6) Installing libsodium (1.0.18-r0) 16:21:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:21:29 (5/6) Installing libzmq (4.3.4-r0) 16:21:29 (6/6) Installing zeromq (4.3.4-r0) 16:21:29 Executing busybox-1.35.0-r17.trigger 16:21:29 OK: 8 MiB in 20 packages 16:21:29 Removing intermediate container 72500a41e195 16:21:29 ---> d143c7f35c94 16:21:29 Step 17/26 : WORKDIR / 16:21:29 ---> Running in 908bc7088088 16:21:29 Removing intermediate container 908bc7088088 16:21:29 ---> 49ff99356eb3 16:21:29 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:21:29 ---> c25b553edd8c 16:21:29 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:21:29 ---> ddcf67267f27 16:21:29 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:21:29 ---> ccf790e05cdf 16:21:29 Step 21/26 : EXPOSE 59984 16:21:29 ---> Running in baa6d22c617b 16:21:29 Removing intermediate container baa6d22c617b 16:21:29 ---> 315b640ccbac 16:21:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:21:29 ---> Running in 5b4a43a411b3 16:21:29 Removing intermediate container 5b4a43a411b3 16:21:29 ---> 199047eece1b 16:21:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:21:29 ---> Running in a58d6b007459 16:21:29 Removing intermediate container a58d6b007459 16:21:29 ---> 9791cd47acc6 16:21:29 Step 24/26 : LABEL arch=arm64 16:21:29 ---> Running in f7fb248b9fe6 16:21:30 Removing intermediate container f7fb248b9fe6 16:21:30 ---> 905aa709ddb5 16:21:30 Step 25/26 : LABEL git_sha=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 16:21:30 ---> Running in b650e971fee6 16:21:30 Removing intermediate container b650e971fee6 16:21:30 ---> 1071480aa69e 16:21:30 Step 26/26 : LABEL version=0.0.0 16:21:30 ---> Running in 496ee59718d7 16:21:31 Removing intermediate container 496ee59718d7 16:21:31 ---> ab3f3ffb3982 16:21:31 [Warning] One or more build-args [ARCH] were not consumed 16:21:31 Successfully built ab3f3ffb3982 16:21:31 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 16:21:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:32 16:21:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:32 arm64: Pulling from edgex-lftools-log-publisher 16:21:32 8998bd30e6a1: Pulling fs layer 16:21:32 04944245beec: Pulling fs layer 16:21:32 699f458cf7ca: Pulling fs layer 16:21:32 765212b225bb: Pulling fs layer 16:21:32 f23df028b6ca: Pulling fs layer 16:21:32 d65c8cfc05b1: Pulling fs layer 16:21:32 2437ff75d9bd: Pulling fs layer 16:21:32 f23df028b6ca: Waiting 16:21:32 d65c8cfc05b1: Waiting 16:21:32 2437ff75d9bd: Waiting 16:21:32 765212b225bb: Waiting 16:21:32 04944245beec: Verifying Checksum 16:21:32 04944245beec: Download complete 16:21:32 765212b225bb: Verifying Checksum 16:21:32 765212b225bb: Download complete 16:21:32 f23df028b6ca: Verifying Checksum 16:21:32 f23df028b6ca: Download complete 16:21:32 d65c8cfc05b1: Verifying Checksum 16:21:32 d65c8cfc05b1: Download complete 16:21:33 699f458cf7ca: Verifying Checksum 16:21:33 699f458cf7ca: Download complete 16:21:33 8998bd30e6a1: Verifying Checksum 16:21:33 8998bd30e6a1: Download complete 16:21:36 2437ff75d9bd: Verifying Checksum 16:21:36 2437ff75d9bd: Download complete 16:21:38 8998bd30e6a1: Pull complete 16:21:38 04944245beec: Pull complete 16:21:39 699f458cf7ca: Pull complete 16:21:40 765212b225bb: Pull complete 16:21:40 f23df028b6ca: Pull complete 16:21:41 d65c8cfc05b1: Pull complete 16:21:56 2437ff75d9bd: Pull complete 16:21:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:21:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:56 prd-ubuntu20.04-docker-arm64-4c-16g-118621 does not seem to be running inside a container 16:21:56 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:21:59 $ docker top 99a2ee17d28400b5ea793077e3da5257545f3c2adfc59f68a9e81e3ef91fc662 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:00 ---> job-cost.sh 16:22:00 lf-activate-venv: SKIPPING 16:22:00 INFO: No Stack... 16:22:00 INFO: Retrieving Pricing Info for: v3-standard-4 16:22:01 INFO: Archiving Costs [Pipeline] sh 16:22:02 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 16:22:02 + cut -d, -f6 [Pipeline] lock 16:22:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] 16:22:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] did not exist. Created. 16:22:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:03 /w/workspace/device-onvif-camera/1@tmp/durable-eea5a65b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:22:03 + echo total: 0.10999999940395355 [Pipeline] stash 16:22:03 Warning: overwriting stash ‘stack-cost’ 16:22:03 Stashed 1 file(s) [Pipeline] } 16:22:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:03 $ docker stop --time=1 99a2ee17d28400b5ea793077e3da5257545f3c2adfc59f68a9e81e3ef91fc662 16:22:05 $ docker rm -f 99a2ee17d28400b5ea793077e3da5257545f3c2adfc59f68a9e81e3ef91fc662 [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 16:22:06 provisioning config files... 16:22:06 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config1571716734711267730tmp [Pipeline] { [Pipeline] sh 16:22:06 + set +x 16:22:06 + curl -s https://codecov.io/bash 16:22:06 + bash -s -- 16:22:06 16:22:06 _____ _ 16:22:06 / ____| | | 16:22:06 | | ___ __| | ___ ___ _____ __ 16:22:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:22:06 | |___| (_) | (_| | __/ (_| (_) \ V / 16:22:06 \_____\___/ \__,_|\___|\___\___/ \_/ 16:22:06 Bash-1.0.6 16:22:06 16:22:06 16:22:06 ==> git version 2.25.1 found 16:22:06 ==> 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 16:22:06 Release-Date: 2020-01-08 16:22:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:22:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:22:06 ==> Jenkins CI detected. 16:22:06 current dir:  /w/workspace/undry_device-onvif-camera_PR-196 16:22:06 project root: . 16:22:06 --> token set from env 16:22:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:22:06 ==> Running gcov in . (disable via -X gcov) 16:22:06 ==> Python coveragepy not found 16:22:06 ==> Searching for coverage reports in: 16:22:06 + . 16:22:06 -> Found 1 reports 16:22:06 ==> Detecting git/mercurial file structure 16:22:06 ==> Reading reports 16:22:06 + ./coverage.out bytes=79184 16:22:06 ==> Appending adjustments 16:22:06 https://docs.codecov.io/docs/fixing-reports 16:22:06 + Found adjustments 16:22:06 ==> Gzipping contents 16:22:06 12K /tmp/codecov.jJgyHI.gz 16:22:06 ==> Uploading reports 16:22:06 url: https://codecov.io 16:22:06 query: branch=PR-196&commit=2545f5903fd01a4bbfd89758772e8743cfa7fbc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=196&job=&cmd_args= 16:22:06 -> Pinging Codecov 16:22:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-196&commit=2545f5903fd01a4bbfd89758772e8743cfa7fbc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=196&job=&cmd_args= 16:22:07 -> Uploading to 16:22:07 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/F29A59C45E3A92E06B3E522C9905F8EF/2545f5903fd01a4bbfd89758772e8743cfa7fbc4/1081aa4c-1929-498e-a91a-1485a44b8a84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T162207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc5db45efb23715264379e416963508126be1941490e3726fb6d486b1efe7b72 16:22:07 % Total % Received % Xferd Average Speed Time Time Time Current 16:22:07 Dload Upload Total Spent Left Speed 16:22:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10871 0 0 100 10871 0 47471 --:--:-- --:--:-- --:--:-- 47265 100 10871 0 0 100 10871 0 47471 --:--:-- --:--:-- --:--:-- 47265 16:22:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] } 16:22:07 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 16:22:09 + [ -d /w/workspace/undry_device-onvif-camera_PR-196/archives ] 16:22:09 + ls -al /w/workspace/undry_device-onvif-camera_PR-196/archives 16:22:09 total 16 16:22:09 drwxr-xr-x 3 root root 4096 Nov 8 16:11 . 16:22:09 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:11 .. 16:22:09 drwxr-xr-x 2 root root 4096 Nov 8 16:11 cost 16:22:09 -rw-r--r-- 1 root root 91 Nov 8 16:11 cost.csv 16:22:09 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-196/archives 16:22:09 + ls -al /w/workspace/undry_device-onvif-camera_PR-196/archives 16:22:09 total 16 16:22:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:11 . 16:22:09 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:11 .. 16:22:09 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:11 cost 16:22:09 -rw-r--r-- 1 jenkins jenkins 91 Nov 8 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:22:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:22:10 ---> package-listing.sh 16:22:10 ++ facter osfamily 16:22:10 ++ tr '[:upper:]' '[:lower:]' 16:22:10 + OS_FAMILY=debian 16:22:10 + workspace=/w/workspace/undry_device-onvif-camera_PR-196 16:22:10 + START_PACKAGES=/tmp/packages_start.txt 16:22:10 + END_PACKAGES=/tmp/packages_end.txt 16:22:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:22:10 + PACKAGES=/tmp/packages_start.txt 16:22:10 + '[' /w/workspace/undry_device-onvif-camera_PR-196 ']' 16:22:10 + PACKAGES=/tmp/packages_end.txt 16:22:10 + case "${OS_FAMILY}" in 16:22:10 + dpkg -l 16:22:10 + grep '^ii' 16:22:10 + '[' -f /tmp/packages_start.txt ']' 16:22:10 + '[' -f /tmp/packages_end.txt ']' 16:22:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:22:10 + '[' /w/workspace/undry_device-onvif-camera_PR-196 ']' 16:22:10 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-196/archives/ 16:22:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-196/archives/ [Pipeline] echo 16:22:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:22:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:12 prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container 16:22:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:12 $ docker top a76556deb0a917aa7d7da7364067426f2ba5da78cff0d489dffbd681979663ce -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:12 + touch /tmp/pre-build-complete [Pipeline] sh 16:22:13 + mkdir -p /var/log/sysstat [Pipeline] sh 16:22:13 + ls /var/log/sa-host 16:22:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:13 provisioning config files... 16:22:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config2375095830066789466tmp [Pipeline] { [Pipeline] echo 16:22:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:22:13 ---> create-netrc.sh [Pipeline] } 16:22:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:22:14 ---> python-tools-install.sh [Pipeline] echo 16:22:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:22:14 ---> sudo-logs.sh 16:22:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:22:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:22:14 ---> job-cost.sh 16:22:14 lf-activate-venv: SKIPPING 16:22:14 DEBUG: total: 0.2199999988079071 16:22:14 INFO: Retrieving Stack Cost... 16:22:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:15 INFO: Archiving Costs [Pipeline] echo 16:22:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:22:16 ---> logs-deploy.sh 16:22:16 lf-activate-venv: SKIPPING 16:22:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-196/1 16:22:16 INFO: archiving workspace using pattern(s): 16:22:17 Archives upload complete. 16:22:17 INFO: archiving logs to Nexus