Pull request #166 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at f5732e31f5803dbff04c89d6285bbaabf5e55c73 rather than c3626bb86b21f48d8941a27b221fb9960f911969 Obtained Jenkinsfile from f5732e31f5803dbff04c89d6285bbaabf5e55c73 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-ssh13671523091248874241.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16414672878302878128.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-166/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-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4786582745740700910.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-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2521122015261990135.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh197603868278589321.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-166/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-166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7399377168110776878.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1847 in /w/workspace/undry_device-onvif-camera_PR-166 [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-166 # 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/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f5732e31f5803dbff04c89d6285bbaabf5e55c73 into PR head commit c3626bb86b21f48d8941a27b221fb9960f911969 Merge succeeded, producing c3626bb86b21f48d8941a27b221fb9960f911969 Checking out Revision c3626bb86b21f48d8941a27b221fb9960f911969 (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # 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 f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into main" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:57:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:57:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:57:14 ========================================================= 17:57:14 EdgeX Global Pipelines Version Info 17:57:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:57:15 ------------------- 17:57:15 stable info: 17:57:15 ------------------- 17:57:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:57:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:57:15 Message: update stable to v1.0.239 17:57:15 ------------------- 17:57:15 experimental info: 17:57:15 ------------------- 17:57:15 Commited By: **** collab-it+edgex@linuxfoundation.org 17:57:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:57:15 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:57:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3626bb [Pipeline] echo 17:57:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:17 provisioning config files... 17:57:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config18406324299208518832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:17 ---> docker-login.sh 17:57:17 nexus3.edgexfoundry.org:10001 17:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:17 Configure a credential helper to remove this warning. See 17:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:17 17:57:17 Login Succeeded 17:57:17 nexus3.edgexfoundry.org:10002 17:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:17 Configure a credential helper to remove this warning. See 17:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:17 17:57:17 Login Succeeded 17:57:17 nexus3.edgexfoundry.org:10003 17:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:18 Configure a credential helper to remove this warning. See 17:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:18 17:57:18 Login Succeeded 17:57:18 nexus3.edgexfoundry.org:10004 17:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:18 Configure a credential helper to remove this warning. See 17:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:18 17:57:18 Login Succeeded 17:57:18 docker.io 17:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:18 Configure a credential helper to remove this warning. See 17:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:18 17:57:18 Login Succeeded 17:57:18 ---> docker-login.sh ends [Pipeline] } 17:57:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:57:19 + git rev-list -1 --merges c3626bb86b21f48d8941a27b221fb9960f911969~1..c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo 17:57:19 -----------> git rev-list -1 --merges c3626bb86b21f48d8941a27b221fb9960f911969~1..c3626bb86b21f48d8941a27b221fb9960f911969 c3626bb86b21f48d8941a27b221fb9960f911969 17:57:19 c3626bb86b21f48d8941a27b221fb9960f911969 [false] [Pipeline] sh 17:57:19 + git log --format=format:%s -1 c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo 17:57:19 ========================================================= 17:57:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:57:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:20 + git log --format=format:%s -1 c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] echo 17:57:20 [semverPrep] GIT_COMMIT: c3626bb86b21f48d8941a27b221fb9960f911969, Commit Message: Merge branch 'edgexfoundry:main' into main [Pipeline] echo 17:57:20 [semverPrep] This is not a build commit. [Pipeline] sh 17:57:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:57:20 + grep -v github /etc/ssh/ssh_known_hosts 17:57:20 + [ -e /tmp/ssh_known_hosts ] 17:57:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:57:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:57:20 + sudo tee -a /etc/ssh/ssh_known_hosts 17:57:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:21 17:57:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:21 0.1.4: Pulling from edgex-devops/py-git-semver 17:57:21 b85a868b505f: Pulling fs layer 17:57:21 e2be974225ed: Pulling fs layer 17:57:21 339a4e72a1f5: Pulling fs layer 17:57:21 988bab9f4d93: Pulling fs layer 17:57:21 1469e6f7b9e6: Pulling fs layer 17:57:21 eaf3925da568: Pulling fs layer 17:57:21 bab4dde63d76: Pulling fs layer 17:57:21 bde34c3a00c8: Pulling fs layer 17:57:21 b352a97aabf1: Pulling fs layer 17:57:21 4872d77fe225: Pulling fs layer 17:57:21 5851b861e8e6: Pulling fs layer 17:57:21 b352a97aabf1: Waiting 17:57:21 1469e6f7b9e6: Waiting 17:57:21 4872d77fe225: Waiting 17:57:21 5851b861e8e6: Waiting 17:57:21 eaf3925da568: Waiting 17:57:21 bab4dde63d76: Waiting 17:57:21 bde34c3a00c8: Waiting 17:57:21 e2be974225ed: Verifying Checksum 17:57:21 e2be974225ed: Download complete 17:57:21 988bab9f4d93: Download complete 17:57:21 339a4e72a1f5: Verifying Checksum 17:57:21 339a4e72a1f5: Download complete 17:57:21 1469e6f7b9e6: Verifying Checksum 17:57:21 1469e6f7b9e6: Download complete 17:57:21 eaf3925da568: Verifying Checksum 17:57:21 eaf3925da568: Download complete 17:57:21 bde34c3a00c8: Verifying Checksum 17:57:21 bde34c3a00c8: Download complete 17:57:21 b352a97aabf1: Verifying Checksum 17:57:21 b352a97aabf1: Download complete 17:57:21 4872d77fe225: Verifying Checksum 17:57:21 4872d77fe225: Download complete 17:57:21 5851b861e8e6: Verifying Checksum 17:57:21 5851b861e8e6: Download complete 17:57:21 b85a868b505f: Download complete 17:57:21 bab4dde63d76: Verifying Checksum 17:57:21 bab4dde63d76: Download complete 17:57:23 b85a868b505f: Pull complete 17:57:23 e2be974225ed: Pull complete 17:57:23 339a4e72a1f5: Pull complete 17:57:23 988bab9f4d93: Pull complete 17:57:24 1469e6f7b9e6: Pull complete 17:57:24 eaf3925da568: Pull complete 17:57:26 bab4dde63d76: Pull complete 17:57:26 bde34c3a00c8: Pull complete 17:57:26 b352a97aabf1: Pull complete 17:57:26 4872d77fe225: Pull complete 17:57:26 5851b861e8e6: Pull complete 17:57:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:57:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:27 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 17:57:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:57:28 $ docker top c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab -eo pid,comm 17:57:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:57:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:57:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:29 [ssh-agent] Looking for ssh-agent implementation... 17:57:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:29 $ docker exec c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent 17:57:29 SSH_AUTH_SOCK=/tmp/ssh-NTMo3CLcRXk3/agent.32 17:57:29 SSH_AGENT_PID=38 17:57:29 Running ssh-add (command line suppressed) 17:57:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_11247477650501650117.key (/w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_11247477650501650117.key) 17:57:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:29 + git tag --points-at HEAD [Pipeline] } 17:57:29 $ docker exec --env ******** --env ******** c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent -k 17:57:29 unset SSH_AUTH_SOCK; 17:57:29 unset SSH_AGENT_PID; 17:57:29 echo Agent pid 38 killed; 17:57:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:57:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:30 [ssh-agent] Looking for ssh-agent implementation... 17:57:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:30 $ docker exec c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent 17:57:30 SSH_AUTH_SOCK=/tmp/ssh-ykZRcQlPdWWZ/agent.70 17:57:30 SSH_AGENT_PID=76 17:57:30 Running ssh-add (command line suppressed) 17:57:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_15458985053096504412.key (/w/workspace/undry_device-onvif-camera_PR-166@tmp/private_key_15458985053096504412.key) 17:57:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:30 + git semver init 17:57:31 2022-09-28 17:57:30,967 [run_init] DEBUG init version:0.0.0 force:False 17:57:31 2022-09-28 17:57:30,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-166/.semver 17:57:31 2022-09-28 17:57:30,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-166/.semver 17:57:31 2022-09-28 17:57:30,968 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-166/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-166, universal_newlines=False, shell=None, istream=None) 17:57:32 2022-09-28 17:57:31,984 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-166/.git/info/exclude 17:57:32 2022-09-28 17:57:31,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-166/.semver/PR-166 with force:False 17:57:32 2022-09-28 17:57:31,985 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-166/.semver/PR-166 17:57:32 2022-09-28 17:57:31,990 [execute] INFO git cat-file --batch-check 17:57:32 2022-09-28 17:57:31,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-166/.semver, universal_newlines=False, shell=None, istream=) 17:57:32 2022-09-28 17:57:31,997 [execute] INFO git cat-file --batch 17:57:32 2022-09-28 17:57:31,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-166/.semver, universal_newlines=False, shell=None, istream=) 17:57:32 2022-09-28 17:57:32,002 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-166/.semver/PR-166 17:57:32 0.0.0 [Pipeline] } 17:57:32 $ docker exec --env ******** --env ******** c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab ssh-agent -k 17:57:32 unset SSH_AUTH_SOCK; 17:57:32 unset SSH_AGENT_PID; 17:57:32 echo Agent pid 76 killed; 17:57:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:57:32 + git semver [Pipeline] } 17:57:33 $ docker stop --time=1 c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab 17:57:34 $ docker rm -f c9d616087875e237ca463ae764403a0e246fd5066f460433cc5c6df30ce848ab [Pipeline] // withDockerContainer [Pipeline] sh 17:57:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:57:35 Stashed 1 file(s) [Pipeline] echo 17:57:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:35 provisioning config files... 17:57:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config9028321796293658359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:36 ---> docker-login.sh 17:57:36 nexus3.edgexfoundry.org:10001 17:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:36 Configure a credential helper to remove this warning. See 17:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:36 17:57:36 Login Succeeded 17:57:36 nexus3.edgexfoundry.org:10002 17:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:36 Configure a credential helper to remove this warning. See 17:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:36 17:57:36 Login Succeeded 17:57:36 nexus3.edgexfoundry.org:10003 17:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:36 Configure a credential helper to remove this warning. See 17:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:36 17:57:36 Login Succeeded 17:57:36 nexus3.edgexfoundry.org:10004 17:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:36 Configure a credential helper to remove this warning. See 17:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:36 17:57:36 Login Succeeded 17:57:36 docker.io 17:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:37 Configure a credential helper to remove this warning. See 17:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:37 17:57:37 Login Succeeded 17:57:37 ---> docker-login.sh ends [Pipeline] } 17:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:37 ========================================================= 17:57:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:57:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:57:37 Sending build context to Docker daemon 20.74MB 17:57:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:57:37 Step 2/13 : FROM ${BASE} AS builder 17:57:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:57:38 2408cc74d12b: Pulling fs layer 17:57:38 ea60b727a1ce: Pulling fs layer 17:57:38 30c4a7721957: Pulling fs layer 17:57:38 370296b7ddb6: Pulling fs layer 17:57:38 7c6cee850709: Pulling fs layer 17:57:38 39a5fcdaea64: Pulling fs layer 17:57:38 d94ebbe4e438: Pulling fs layer 17:57:38 bcfd1f05c69d: Pulling fs layer 17:57:38 59ccb84bbe0f: Pulling fs layer 17:57:38 370296b7ddb6: Waiting 17:57:38 7c6cee850709: Waiting 17:57:38 39a5fcdaea64: Waiting 17:57:38 d94ebbe4e438: Waiting 17:57:38 bcfd1f05c69d: Waiting 17:57:38 59ccb84bbe0f: Waiting 17:57:38 30c4a7721957: Download complete 17:57:38 ea60b727a1ce: Download complete 17:57:38 7c6cee850709: Verifying Checksum 17:57:38 7c6cee850709: Download complete 17:57:38 39a5fcdaea64: Verifying Checksum 17:57:38 39a5fcdaea64: Download complete 17:57:38 2408cc74d12b: Verifying Checksum 17:57:38 2408cc74d12b: Download complete 17:57:38 d94ebbe4e438: Verifying Checksum 17:57:38 d94ebbe4e438: Download complete 17:57:38 2408cc74d12b: Pull complete 17:57:38 ea60b727a1ce: Pull complete 17:57:38 30c4a7721957: Pull complete 17:57:39 370296b7ddb6: Verifying Checksum 17:57:39 370296b7ddb6: Download complete 17:57:39 59ccb84bbe0f: Verifying Checksum 17:57:39 59ccb84bbe0f: Download complete 17:57:39 bcfd1f05c69d: Verifying Checksum 17:57:39 bcfd1f05c69d: Download complete 17:57:43 370296b7ddb6: Pull complete 17:57:43 7c6cee850709: Pull complete 17:57:43 39a5fcdaea64: Pull complete 17:57:43 d94ebbe4e438: Pull complete 17:57:45 bcfd1f05c69d: Pull complete 17:57:45 59ccb84bbe0f: Pull complete 17:57:45 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:57:45 ---> a4fb48ad2a94 17:57:45 Step 3/13 : ARG MAKE="make build" 17:57:48 ---> Running in 5a267f616a25 17:57:48 Removing intermediate container 5a267f616a25 17:57:48 ---> 5701ef6ad794 17:57:48 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:57:48 ---> Running in 15230c682cd0 17:57:48 Removing intermediate container 15230c682cd0 17:57:48 ---> 88ff3cc90ace 17:57:48 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:57:48 ---> Running in 6f74ed844d13 17:57:48 Removing intermediate container 6f74ed844d13 17:57:48 ---> 6e92e67e09b0 17:57:48 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:57:48 ---> Running in 23c9692ad473 17:57:48 Removing intermediate container 23c9692ad473 17:57:48 ---> 326f49b54497 17:57:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:48 ---> Running in 25381ed02668 17:57:49 Removing intermediate container 25381ed02668 17:57:49 ---> 0a34a20a9afe 17:57:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:49 ---> Running in 24bfedf45153 17:57:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:57:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:57:50 Still waiting to schedule task 17:57:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:57:50 OK: 211 MiB in 51 packages 17:57:51 Removing intermediate container 24bfedf45153 17:57:51 ---> 10f5c6195662 17:57:51 Step 9/13 : WORKDIR /device-onvif-camera 17:57:51 ---> Running in 175d4a023ac0 17:57:51 Removing intermediate container 175d4a023ac0 17:57:51 ---> 19af2849b6ed 17:57:51 Step 10/13 : COPY go.mod vendor* ./ 17:57:51 ---> 5acaf3302718 17:57:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:51 ---> Running in 235d8c241975 17:58:09 Removing intermediate container 235d8c241975 17:58:09 ---> 493ac7c52197 17:58:09 Step 12/13 : COPY . . 17:58:09 ---> 2e01d628094e 17:58:09 Step 13/13 : RUN ${MAKE} 17:58:09 ---> Running in 0f7852e0baa4 17:58:09 noop 17:58:09 Removing intermediate container 0f7852e0baa4 17:58:09 ---> ff84a03ec77a 17:58:09 Successfully built ff84a03ec77a 17:58:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:10 + docker inspect -f . ci-base-image-x86_64 17:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:10 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 17:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@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 ******** ci-base-image-x86_64 cat 17:58:10 $ docker top f2a9ad624a33865422713375dd1f311a22e7504ca65a268e00cd497ac4b5c5a4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:11 + go version 17:58:11 go version go1.18.3 linux/amd64 [Pipeline] } 17:58:11 $ docker stop --time=1 f2a9ad624a33865422713375dd1f311a22e7504ca65a268e00cd497ac4b5c5a4 17:58:12 $ docker rm -f f2a9ad624a33865422713375dd1f311a22e7504ca65a268e00cd497ac4b5c5a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:13 + docker inspect -f . ci-base-image-x86_64 17:58:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:13 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 17:58:13 $ 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-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@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 ******** ci-base-image-x86_64 cat 17:58:13 $ docker top cc0817614d4afe3af99a24210a3e52e0944c13d0fb97a7b6b2dc31a4c3c411b1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:14 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-166 [Pipeline] fileExists [Pipeline] sh 17:58:14 + make test 17:58:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:58:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:58:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:58:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 17:58:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:58:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.514s coverage: 86.5% of statements 17:58:35 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:58:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:58:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:58:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:58:39 ./bin/test-attribution-txt.sh [Pipeline] echo 17:58:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:58:39 $ docker stop --time=1 cc0817614d4afe3af99a24210a3e52e0944c13d0fb97a7b6b2dc31a4c3c411b1 17:58:41 $ docker rm -f cc0817614d4afe3af99a24210a3e52e0944c13d0fb97a7b6b2dc31a4c3c411b1 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:58:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:58:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:58:42 + ls -al . 17:58:42 total 236 17:58:42 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 17:58 . 17:58:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:57 .. 17:58:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 17:58 .git 17:58:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:57 .github 17:58:42 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 17:57 .gitignore 17:58:42 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 17:57 .golangci.yml 17:58:42 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:57 .semver 17:58:42 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 17:57 Attribution.txt 17:58:42 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 17:57 CHANGELOG.md 17:58:42 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 17:57 Dockerfile 17:58:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 17:57 GOVERNANCE.md 17:58:42 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 17:57 Jenkinsfile 17:58:42 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 17:57 LICENSE 17:58:42 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 17:57 Makefile 17:58:42 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 17:57 OWNERS.md 17:58:42 -rw-rw-r-- 1 jenkins jenkins 5931 Sep 28 17:57 README.md 17:58:42 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 17:57 VERSION 17:58:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 17:57 bin 17:58:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:57 cmd 17:58:42 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 17:58 coverage.out 17:58:42 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 17:57 doc 17:58:42 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 17:57 go.mod 17:58:42 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 17:57 go.sum 17:58:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:57 internal 17:58:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:57 snap 17:58:42 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:43 + 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=c3626bb86b21f48d8941a27b221fb9960f911969 --label arch=amd64 --label version=0.0.0 . 17:58:43 Sending build context to Docker daemon 20.82MB 17:58:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:58:43 Step 2/26 : FROM ${BASE} AS builder 17:58:43 ---> ff84a03ec77a 17:58:43 Step 3/26 : ARG MAKE="make build" 17:58:43 ---> Running in 76cad9ce40fa 17:58:43 Removing intermediate container 76cad9ce40fa 17:58:43 ---> 09cc860dfd02 17:58:43 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:58:43 ---> Running in a29b77fdf0a0 17:58:43 Removing intermediate container a29b77fdf0a0 17:58:43 ---> a5c599d3021e 17:58:43 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:58:43 ---> Running in c615a0fdb3ee 17:58:43 Removing intermediate container c615a0fdb3ee 17:58:43 ---> fbcd982b96ab 17:58:43 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:58:44 ---> Running in 91200c59f6e4 17:58:44 Removing intermediate container 91200c59f6e4 17:58:44 ---> b16d2ff3238c 17:58:44 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:58:44 ---> Running in 8c0a8706a3ec 17:58:44 Removing intermediate container 8c0a8706a3ec 17:58:44 ---> d842fd689b6c 17:58:44 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:44 ---> Running in d5e3a9355699 17:58:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:58:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:58:46 OK: 211 MiB in 51 packages 17:58:46 Removing intermediate container d5e3a9355699 17:58:46 ---> d1433d8ad621 17:58:46 Step 9/26 : WORKDIR /device-onvif-camera 17:58:46 ---> Running in 122b57bf792d 17:58:46 Removing intermediate container 122b57bf792d 17:58:46 ---> 41f5142bb2d0 17:58:46 Step 10/26 : COPY go.mod vendor* ./ 17:58:46 ---> bc3ec5761e58 17:58:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:46 ---> Running in 0766785d149b 17:58:47 Removing intermediate container 0766785d149b 17:58:47 ---> d7929b22a773 17:58:47 Step 12/26 : COPY . . 17:58:48 ---> 698de307bfc7 17:58:48 Step 13/26 : RUN ${MAKE} 17:58:48 ---> Running in 8618000ccfa6 17:58:48 CGO_ENABLED=1 GO111MODULE=on go build -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-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:59:15 Removing intermediate container 8618000ccfa6 17:59:15 ---> 0d3d56fee772 17:59:15 Step 14/26 : FROM alpine:3.16 17:59:15 3.16: Pulling from library/alpine 17:59:15 213ec9aee27d: Pulling fs layer 17:59:15 213ec9aee27d: Verifying Checksum 17:59:15 213ec9aee27d: Download complete 17:59:15 213ec9aee27d: Pull complete 17:59:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:59:15 Status: Downloaded newer image for alpine:3.16 17:59:15 ---> 9c6f07244728 17:59:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:59:15 ---> Running in 6e2b8ca69d21 17:59:15 Removing intermediate container 6e2b8ca69d21 17:59:15 ---> 765f410400ab 17:59:15 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:59:15 ---> Running in 815b9970b57c 17:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:59:15 (1/6) Installing dumb-init (1.2.5-r1) 17:59:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:59:15 (3/6) Installing libsodium (1.0.18-r0) 17:59:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:59:15 (5/6) Installing libzmq (4.3.4-r0) 17:59:15 (6/6) Installing zeromq (4.3.4-r0) 17:59:15 Executing busybox-1.35.0-r17.trigger 17:59:15 OK: 8 MiB in 20 packages 17:59:15 Removing intermediate container 815b9970b57c 17:59:15 ---> 134819fea3bf 17:59:15 Step 17/26 : WORKDIR / 17:59:15 ---> Running in fa285087def0 17:59:15 Removing intermediate container fa285087def0 17:59:15 ---> 3ebe08f8cda9 17:59:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:59:15 ---> ccaa0b65ec5f 17:59:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:59:15 ---> 31690d8f3fdb 17:59:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:59:15 ---> eb763f97e388 17:59:15 Step 21/26 : EXPOSE 59984 17:59:15 ---> Running in 9c1ed1a7e63e 17:59:15 Removing intermediate container 9c1ed1a7e63e 17:59:15 ---> 1d944eeddb4a 17:59:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:59:15 ---> Running in c86f47353cfe 17:59:15 Removing intermediate container c86f47353cfe 17:59:15 ---> 3f509daeab93 17:59:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:59:15 ---> Running in d433d8ce4ddd 17:59:16 Removing intermediate container d433d8ce4ddd 17:59:16 ---> 1afb121390ca 17:59:16 Step 24/26 : LABEL arch=amd64 17:59:16 ---> Running in 3329a2fe686d 17:59:16 Removing intermediate container 3329a2fe686d 17:59:16 ---> 279bed5645ce 17:59:16 Step 25/26 : LABEL git_sha=c3626bb86b21f48d8941a27b221fb9960f911969 17:59:16 ---> Running in 2f49bad6a847 17:59:16 Removing intermediate container 2f49bad6a847 17:59:16 ---> 7bc98f59f6b4 17:59:16 Step 26/26 : LABEL version=0.0.0 17:59:16 ---> Running in 478e2426c6ee 17:59:16 Removing intermediate container 478e2426c6ee 17:59:16 ---> 6a497e56e46f 17:59:16 [Warning] One or more build-args [ARCH] were not consumed 17:59:16 Successfully built 6a497e56e46f 17:59:16 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:17 17:59:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:17 latest: Pulling from edgex-lftools-log-publisher 17:59:17 5eb5b503b376: Pulling fs layer 17:59:17 5c69ac0246d0: Pulling fs layer 17:59:17 ec43610c2a17: Pulling fs layer 17:59:17 3a2ae6a8a46f: Pulling fs layer 17:59:17 33b1e0a273af: Pulling fs layer 17:59:17 5d3b04190fa2: Pulling fs layer 17:59:17 2f39f015ded8: Pulling fs layer 17:59:17 33b1e0a273af: Waiting 17:59:17 5d3b04190fa2: Waiting 17:59:17 2f39f015ded8: Waiting 17:59:17 3a2ae6a8a46f: Waiting 17:59:17 5c69ac0246d0: Download complete 17:59:17 3a2ae6a8a46f: Verifying Checksum 17:59:17 3a2ae6a8a46f: Download complete 17:59:17 33b1e0a273af: Verifying Checksum 17:59:17 33b1e0a273af: Download complete 17:59:17 ec43610c2a17: Verifying Checksum 17:59:17 ec43610c2a17: Download complete 17:59:17 5d3b04190fa2: Verifying Checksum 17:59:17 5d3b04190fa2: Download complete 17:59:17 5eb5b503b376: Download complete 17:59:18 2f39f015ded8: Download complete 17:59:19 5eb5b503b376: Pull complete 17:59:19 5c69ac0246d0: Pull complete 17:59:19 ec43610c2a17: Pull complete 17:59:19 3a2ae6a8a46f: Pull complete 17:59:20 33b1e0a273af: Pull complete 17:59:20 5d3b04190fa2: Pull complete 17:59:24 2f39f015ded8: Pull complete 17:59:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:59:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:24 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 17:59:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@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-lftools-log-publisher:latest cat 17:59:27 $ docker top 69d94d78c61cbf507843474f8edcd4baf81bdf438d2ec8ecd6861dd30d78bce7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:27 ---> job-cost.sh 17:59:27 lf-activate-venv: SKIPPING 17:59:27 INFO: No Stack... 17:59:28 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:28 INFO: Archiving Costs [Pipeline] sh 17:59:29 + cat /w/workspace/undry_device-onvif-camera_PR-166/archives/cost.csv 17:59:29 + cut -d, -f6 [Pipeline] lock 17:59:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] 17:59:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] did not exist. Created. 17:59:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:29 + echo total: 0.2199999988079071 [Pipeline] stash 17:59:29 Stashed 1 file(s) [Pipeline] } 17:59:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:59:29 $ docker stop --time=1 69d94d78c61cbf507843474f8edcd4baf81bdf438d2ec8ecd6861dd30d78bce7 17:59:30 $ docker rm -f 69d94d78c61cbf507843474f8edcd4baf81bdf438d2ec8ecd6861dd30d78bce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:00:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1849 in /w/workspace/undry_device-onvif-camera_PR-166 [Pipeline] { [Pipeline] ws 18:00:44 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 18:00:44 The recommended git tool is: git 18:00:49 using credential edgex-jenkins-ssh 18:00:49 Cloning the remote Git repository 18:00:49 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:00:49 > git init /w/workspace/device-onvif-camera/1 # timeout=10 18:00:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:00:49 > git --version # timeout=10 18:00:50 > git --version # 'git version 2.25.1' 18:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:50 Verifying host key using known hosts file 18:00:50 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. 18:00:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:00:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:00:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:52 Verifying host key using known hosts file 18:00:52 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. 18:00:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:00:53 Merging remotes/origin/main commit f5732e31f5803dbff04c89d6285bbaabf5e55c73 into PR head commit c3626bb86b21f48d8941a27b221fb9960f911969 18:00:53 Merge succeeded, producing c3626bb86b21f48d8941a27b221fb9960f911969 18:00:53 Checking out Revision c3626bb86b21f48d8941a27b221fb9960f911969 (PR-166) 18:00:53 > git config core.sparsecheckout # timeout=10 18:00:53 > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # timeout=10 18:00:53 > git remote # timeout=10 18:00:53 > git config --get remote.origin.url # timeout=10 18:00:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:53 Verifying host key using known hosts file 18:00:53 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. 18:00:53 > git merge f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 18:00:53 > git rev-parse HEAD^{commit} # timeout=10 18:00:53 > git config core.sparsecheckout # timeout=10 18:00:53 > git checkout -f c3626bb86b21f48d8941a27b221fb9960f911969 # timeout=10 18:00:57 Commit message: "Merge branch 'edgexfoundry:main' into main" 18:00:57 > git --version # timeout=10 18:00:57 > git --version # 'git version 2.25.1' 18:00:57 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:00:58 % Total % Received % Xferd Average Speed Time Time Time Current 18:00:58 Dload Upload Total Spent Left Speed 18:00:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 18:00:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:00:59 + sudo tee /etc/docker/daemon.new 18:00:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:00:59 { 18:00:59 "registry-mirrors": [ 18:00:59 "https://nexus3.edgexfoundry.org:10001" 18:00:59 ], 18:00:59 "bip": "10.250.0.254/24", 18:00:59 "hosts": [ 18:00:59 "tcp://0.0.0.0:5555", 18:00:59 "unix:///var/run/docker.sock" 18:00:59 ], 18:00:59 "mtu": 1458, 18:00:59 "selinux-enabled": true, 18:00:59 "seccomp-profile": "/etc/docker/seccomp.json" 18:00:59 } [Pipeline] sh 18:01:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:01:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:18 provisioning config files... 18:01:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9442690118079263784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:19 ---> docker-login.sh 18:01:19 nexus3.edgexfoundry.org:10001 18:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:19 Configure a credential helper to remove this warning. See 18:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:19 18:01:19 Login Succeeded 18:01:19 nexus3.edgexfoundry.org:10002 18:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:20 Configure a credential helper to remove this warning. See 18:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:20 18:01:20 Login Succeeded 18:01:20 nexus3.edgexfoundry.org:10003 18:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:20 Configure a credential helper to remove this warning. See 18:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:20 18:01:20 Login Succeeded 18:01:20 nexus3.edgexfoundry.org:10004 18:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:20 Configure a credential helper to remove this warning. See 18:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:20 18:01:20 Login Succeeded 18:01:20 docker.io 18:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:21 Configure a credential helper to remove this warning. See 18:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:21 18:01:21 Login Succeeded 18:01:21 ---> docker-login.sh ends [Pipeline] } 18:01:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:01:22 ========================================================= 18:01:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:01:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:22 + 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 . 18:01:23 Sending build context to Docker daemon 14.18MB 18:01:23 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:01:23 Step 2/13 : FROM ${BASE} AS builder 18:01:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:01:23 b3c136eddcbf: Pulling fs layer 18:01:23 c0a3192eca97: Pulling fs layer 18:01:23 a050256f5b6f: Pulling fs layer 18:01:23 656be50a0ddc: Pulling fs layer 18:01:23 2bbca73fdf42: Pulling fs layer 18:01:23 46d945488cbd: Pulling fs layer 18:01:23 8a5474983e97: Pulling fs layer 18:01:23 329c88fbcd65: Pulling fs layer 18:01:23 46d945488cbd: Waiting 18:01:23 8a5474983e97: Waiting 18:01:23 329c88fbcd65: Waiting 18:01:23 656be50a0ddc: Waiting 18:01:23 2bbca73fdf42: Waiting 18:01:23 a050256f5b6f: Verifying Checksum 18:01:23 a050256f5b6f: Download complete 18:01:23 c0a3192eca97: Verifying Checksum 18:01:23 c0a3192eca97: Download complete 18:01:23 2bbca73fdf42: Download complete 18:01:23 46d945488cbd: Verifying Checksum 18:01:23 46d945488cbd: Download complete 18:01:23 b3c136eddcbf: Download complete 18:01:23 b3c136eddcbf: Pull complete 18:01:24 329c88fbcd65: Verifying Checksum 18:01:24 329c88fbcd65: Download complete 18:01:24 c0a3192eca97: Pull complete 18:01:25 a050256f5b6f: Pull complete 18:01:25 8a5474983e97: Verifying Checksum 18:01:25 8a5474983e97: Download complete 18:01:26 656be50a0ddc: Verifying Checksum 18:01:26 656be50a0ddc: Download complete 18:01:38 656be50a0ddc: Pull complete 18:01:38 2bbca73fdf42: Pull complete 18:01:38 46d945488cbd: Pull complete 18:01:45 8a5474983e97: Pull complete 18:01:46 329c88fbcd65: Pull complete 18:01:46 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:01:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:01:46 ---> ff4287adb874 18:01:46 Step 3/13 : ARG MAKE="make build" 18:01:49 ---> Running in c88d6adba194 18:01:49 Removing intermediate container c88d6adba194 18:01:49 ---> 3e5d0411c9d3 18:01:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:01:49 ---> Running in ea71d85a3e3c 18:01:49 Removing intermediate container ea71d85a3e3c 18:01:49 ---> aa5b23e9d98e 18:01:49 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:01:49 ---> Running in 0e383407bbf7 18:01:50 Removing intermediate container 0e383407bbf7 18:01:50 ---> faee089caa93 18:01:50 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:01:50 ---> Running in 10e0df4a4ae0 18:01:50 Removing intermediate container 10e0df4a4ae0 18:01:50 ---> 859a77a2ac9a 18:01:50 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:01:50 ---> Running in 7e0ab1e2d1ed 18:01:52 Removing intermediate container 7e0ab1e2d1ed 18:01:52 ---> 8b799ecb4a70 18:01:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:52 ---> Running in f9d3472ebab2 18:01:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:01:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:01:55 OK: 221 MiB in 51 packages 18:01:56 Removing intermediate container f9d3472ebab2 18:01:56 ---> 531e06b7a21e 18:01:56 Step 9/13 : WORKDIR /device-onvif-camera 18:01:56 ---> Running in 57e54a912153 18:01:56 Removing intermediate container 57e54a912153 18:01:56 ---> 1775e1f7c7f6 18:01:56 Step 10/13 : COPY go.mod vendor* ./ 18:01:56 ---> 42acc491481d 18:01:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:56 ---> Running in 37af53751106 18:02:53 Removing intermediate container 37af53751106 18:02:53 ---> 969df0624a6a 18:02:53 Step 12/13 : COPY . . 18:02:53 ---> 42f2b0ccbe0d 18:02:53 Step 13/13 : RUN ${MAKE} 18:02:53 ---> Running in 6147f4ed4fb9 18:02:53 noop 18:02:53 Removing intermediate container 6147f4ed4fb9 18:02:53 ---> 3cc76c3bee50 18:02:53 Successfully built 3cc76c3bee50 18:02:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:53 + docker inspect -f . ci-base-image-arm64 18:02:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:54 prd-ubuntu20.04-docker-arm64-4c-16g-1849 does not seem to be running inside a container 18:02:54 $ 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 ******** ci-base-image-arm64 cat 18:02:55 $ docker top 1d069fb95b08df48d9967947fe6623510598c5e47432d901f1ff7a99f464c521 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:56 + go version 18:02:56 go version go1.18.3 linux/arm64 [Pipeline] } 18:02:56 $ docker stop --time=1 1d069fb95b08df48d9967947fe6623510598c5e47432d901f1ff7a99f464c521 18:02:58 $ docker rm -f 1d069fb95b08df48d9967947fe6623510598c5e47432d901f1ff7a99f464c521 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:59 + docker inspect -f . ci-base-image-arm64 18:02:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:59 prd-ubuntu20.04-docker-arm64-4c-16g-1849 does not seem to be running inside a container 18:02:59 $ 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 ******** ci-base-image-arm64 cat 18:03:00 $ docker top 40044a502309662222dd0a524e997c6e6801caa8bfb2856b8d0ed74b0a3b9af6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 18:03:02 + make test 18:03:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:03:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:04:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:04:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.200s coverage: 28.2% of statements 18:04:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:05:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.116s coverage: 86.5% of statements 18:05:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:05:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:05:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:05:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:05:39 ./bin/test-attribution-txt.sh [Pipeline] echo 18:05:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:05:39 $ docker stop --time=1 40044a502309662222dd0a524e997c6e6801caa8bfb2856b8d0ed74b0a3b9af6 18:05:41 $ docker rm -f 40044a502309662222dd0a524e997c6e6801caa8bfb2856b8d0ed74b0a3b9af6 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:05:42 Warning: overwriting stash ‘coverage-report’ 18:05:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:05:44 + ls -al . 18:05:44 total 232 18:05:44 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 18:03 . 18:05:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:00 .. 18:05:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 18:00 .git 18:05:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:00 .github 18:05:44 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 18:00 .gitignore 18:05:44 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 18:00 .golangci.yml 18:05:44 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 18:00 Attribution.txt 18:05:44 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 18:00 CHANGELOG.md 18:05:44 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 18:00 Dockerfile 18:05:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 18:00 GOVERNANCE.md 18:05:44 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 18:00 Jenkinsfile 18:05:44 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 18:00 LICENSE 18:05:44 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 18:00 Makefile 18:05:44 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 18:00 OWNERS.md 18:05:44 -rw-rw-r-- 1 jenkins jenkins 5931 Sep 28 18:00 README.md 18:05:44 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 17:57 VERSION 18:05:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 18:00 bin 18:05:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:00 cmd 18:05:44 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 18:05 coverage.out 18:05:44 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 18:00 doc 18:05:44 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 18:00 go.mod 18:05:44 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 18:00 go.sum 18:05:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:00 internal 18:05:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:00 snap 18:05:44 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 18:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:44 + 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=c3626bb86b21f48d8941a27b221fb9960f911969 --label arch=arm64 --label version=0.0.0 . 18:05:45 Sending build context to Docker daemon 14.26MB 18:05:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:05:45 Step 2/26 : FROM ${BASE} AS builder 18:05:45 ---> 3cc76c3bee50 18:05:45 Step 3/26 : ARG MAKE="make build" 18:05:45 ---> Running in 94df4afed77b 18:05:45 Removing intermediate container 94df4afed77b 18:05:45 ---> e1f55872b48e 18:05:45 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:05:45 ---> Running in 99798cdbfc32 18:05:46 Removing intermediate container 99798cdbfc32 18:05:46 ---> cf429dcbc1b8 18:05:46 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:05:46 ---> Running in d090bbc7ddea 18:05:48 Removing intermediate container d090bbc7ddea 18:05:48 ---> 05405573d5a6 18:05:48 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:05:48 ---> Running in 679f735c63af 18:05:48 Removing intermediate container 679f735c63af 18:05:48 ---> c63ed8731104 18:05:48 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:05:48 ---> Running in a02f31edaa0e 18:05:51 Removing intermediate container a02f31edaa0e 18:05:51 ---> 0f96cd36f493 18:05:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:51 ---> Running in d2ed07a7c432 18:05:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:05:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:05:54 OK: 221 MiB in 51 packages 18:05:55 Removing intermediate container d2ed07a7c432 18:05:55 ---> 8970f36db0a9 18:05:55 Step 9/26 : WORKDIR /device-onvif-camera 18:05:55 ---> Running in 01d952e8c4bd 18:05:57 Removing intermediate container 01d952e8c4bd 18:05:57 ---> 970b802462ab 18:05:57 Step 10/26 : COPY go.mod vendor* ./ 18:05:58 ---> 763290e911f0 18:05:58 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:58 ---> Running in 3e4c83308c71 18:06:00 Removing intermediate container 3e4c83308c71 18:06:00 ---> 11f12a5b6deb 18:06:00 Step 12/26 : COPY . . 18:06:01 ---> f8cfc95d9829 18:06:01 Step 13/26 : RUN ${MAKE} 18:06:01 ---> Running in 2a90fa012dda 18:06:02 CGO_ENABLED=1 GO111MODULE=on go build -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-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:08:24 Removing intermediate container 2a90fa012dda 18:08:24 ---> 78f814004d5e 18:08:24 Step 14/26 : FROM alpine:3.16 18:08:24 3.16: Pulling from library/alpine 18:08:24 9b18e9b68314: Pulling fs layer 18:08:24 9b18e9b68314: Verifying Checksum 18:08:24 9b18e9b68314: Download complete 18:08:24 9b18e9b68314: Pull complete 18:08:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:08:24 Status: Downloaded newer image for alpine:3.16 18:08:24 ---> a6215f271958 18:08:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:08:24 ---> Running in ca9d6046f57c 18:08:24 Removing intermediate container ca9d6046f57c 18:08:24 ---> aa0d43c83add 18:08:24 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:08:24 ---> Running in 2a29e06304b0 18:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:08:25 (1/6) Installing dumb-init (1.2.5-r1) 18:08:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:08:25 (3/6) Installing libsodium (1.0.18-r0) 18:08:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:08:25 (5/6) Installing libzmq (4.3.4-r0) 18:08:25 (6/6) Installing zeromq (4.3.4-r0) 18:08:25 Executing busybox-1.35.0-r17.trigger 18:08:25 OK: 8 MiB in 20 packages 18:08:26 Removing intermediate container 2a29e06304b0 18:08:26 ---> 1ab7e99ddb5c 18:08:26 Step 17/26 : WORKDIR / 18:08:26 ---> Running in 8a3d4b8276ed 18:08:26 Removing intermediate container 8a3d4b8276ed 18:08:26 ---> bf4a070563b7 18:08:26 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:08:28 ---> e0d76656d7c0 18:08:28 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:08:28 ---> 562b2f8d2f4d 18:08:28 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:08:29 ---> 1bfd928fa1f1 18:08:29 Step 21/26 : EXPOSE 59984 18:08:29 ---> Running in 87795e125c7c 18:08:29 Removing intermediate container 87795e125c7c 18:08:29 ---> eadb2497586c 18:08:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:08:29 ---> Running in 3c0e87919d01 18:08:29 Removing intermediate container 3c0e87919d01 18:08:29 ---> 2e8dceee48aa 18:08:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:08:29 ---> Running in 601d52e8db8c 18:08:29 Removing intermediate container 601d52e8db8c 18:08:29 ---> e554ca39dbe6 18:08:29 Step 24/26 : LABEL arch=arm64 18:08:30 ---> Running in f2b9e5b166e0 18:08:30 Removing intermediate container f2b9e5b166e0 18:08:30 ---> 4b65ce6be621 18:08:30 Step 25/26 : LABEL git_sha=c3626bb86b21f48d8941a27b221fb9960f911969 18:08:30 ---> Running in ffee3c321206 18:08:30 Removing intermediate container ffee3c321206 18:08:30 ---> 9246ea3cf0dc 18:08:30 Step 26/26 : LABEL version=0.0.0 18:08:30 ---> Running in c580e9042623 18:08:30 Removing intermediate container c580e9042623 18:08:30 ---> 55ac80d8e9dc 18:08:30 [Warning] One or more build-args [ARCH] were not consumed 18:08:30 Successfully built 55ac80d8e9dc 18:08:30 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 18:08:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:31 18:08:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:32 arm64: Pulling from edgex-lftools-log-publisher 18:08:32 8998bd30e6a1: Pulling fs layer 18:08:32 04944245beec: Pulling fs layer 18:08:32 699f458cf7ca: Pulling fs layer 18:08:32 765212b225bb: Pulling fs layer 18:08:32 f23df028b6ca: Pulling fs layer 18:08:32 d65c8cfc05b1: Pulling fs layer 18:08:32 2437ff75d9bd: Pulling fs layer 18:08:32 765212b225bb: Waiting 18:08:32 f23df028b6ca: Waiting 18:08:32 2437ff75d9bd: Waiting 18:08:32 d65c8cfc05b1: Waiting 18:08:32 04944245beec: Download complete 18:08:32 765212b225bb: Verifying Checksum 18:08:32 765212b225bb: Download complete 18:08:32 f23df028b6ca: Download complete 18:08:32 d65c8cfc05b1: Verifying Checksum 18:08:32 d65c8cfc05b1: Download complete 18:08:32 699f458cf7ca: Verifying Checksum 18:08:32 699f458cf7ca: Download complete 18:08:33 8998bd30e6a1: Verifying Checksum 18:08:33 8998bd30e6a1: Download complete 18:08:35 2437ff75d9bd: Verifying Checksum 18:08:35 2437ff75d9bd: Download complete 18:08:37 8998bd30e6a1: Pull complete 18:08:37 04944245beec: Pull complete 18:08:38 699f458cf7ca: Pull complete 18:08:38 765212b225bb: Pull complete 18:08:39 f23df028b6ca: Pull complete 18:08:39 d65c8cfc05b1: Pull complete 18:08:54 2437ff75d9bd: Pull complete 18:08:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:54 prd-ubuntu20.04-docker-arm64-4c-16g-1849 does not seem to be running inside a container 18:08:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:08:57 $ docker top cd0c4e2dbe7695bad4475c9b18daf266f02f5c06beb6a077d49493b985482e4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:58 ---> job-cost.sh 18:08:58 lf-activate-venv: SKIPPING 18:08:58 INFO: No Stack... 18:08:58 INFO: Retrieving Pricing Info for: v3-standard-4 18:08:59 INFO: Archiving Costs [Pipeline] sh 18:08:59 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 18:08:59 + cut -d, -f6 [Pipeline] lock 18:09:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] 18:09:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] did not exist. Created. 18:09:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:00 /w/workspace/device-onvif-camera/1@tmp/durable-38423574/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:09:01 + echo total: 0.10999999940395355 [Pipeline] stash 18:09:01 Warning: overwriting stash ‘stack-cost’ 18:09:01 Stashed 1 file(s) [Pipeline] } 18:09:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:09:01 $ docker stop --time=1 cd0c4e2dbe7695bad4475c9b18daf266f02f5c06beb6a077d49493b985482e4c 18:09:02 $ docker rm -f cd0c4e2dbe7695bad4475c9b18daf266f02f5c06beb6a077d49493b985482e4c [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 18:09:03 provisioning config files... 18:09:03 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config12210795789575231607tmp [Pipeline] { [Pipeline] sh 18:09:04 + set +x 18:09:04 + bash -s -- 18:09:04 + curl -s https://codecov.io/bash 18:09:04 18:09:04 _____ _ 18:09:04 / ____| | | 18:09:04 | | ___ __| | ___ ___ _____ __ 18:09:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:09:04 | |___| (_) | (_| | __/ (_| (_) \ V / 18:09:04 \_____\___/ \__,_|\___|\___\___/ \_/ 18:09:04 Bash-1.0.6 18:09:04 18:09:04 18:09:04 ==> git version 2.25.1 found 18:09:04 ==> 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 18:09:04 Release-Date: 2020-01-08 18:09:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:09:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:09:04 ==> Jenkins CI detected. 18:09:04 current dir:  /w/workspace/undry_device-onvif-camera_PR-166 18:09:04 project root: . 18:09:04 --> token set from env 18:09:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:09:04 ==> Running gcov in . (disable via -X gcov) 18:09:04 ==> Python coveragepy not found 18:09:04 ==> Searching for coverage reports in: 18:09:04 + . 18:09:04 -> Found 1 reports 18:09:04 ==> Detecting git/mercurial file structure 18:09:04 ==> Reading reports 18:09:04 + ./coverage.out bytes=78461 18:09:04 ==> Appending adjustments 18:09:04 https://docs.codecov.io/docs/fixing-reports 18:09:04 + Found adjustments 18:09:04 ==> Gzipping contents 18:09:04 12K /tmp/codecov.6jMIsw.gz 18:09:04 ==> Uploading reports 18:09:04 url: https://codecov.io 18:09:04 query: branch=PR-166&commit=c3626bb86b21f48d8941a27b221fb9960f911969&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=166&job=&cmd_args= 18:09:04 -> Pinging Codecov 18:09:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-166&commit=c3626bb86b21f48d8941a27b221fb9960f911969&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=166&job=&cmd_args= 18:09:05 -> Uploading to 18:09:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/c3626bb86b21f48d8941a27b221fb9960f911969/50bac81c-0812-4876-81fb-d0241a044e8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T180904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=669eb1bc63c36127dd1aeb4d0936ab4210471c72ee05b63a6e754d88d7ee22af 18:09:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:09:05 Dload Upload Total Spent Left Speed 18:09:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10750 0 0 100 10750 0 47149 --:--:-- --:--:-- --:--:-- 47149 18:09:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c3626bb86b21f48d8941a27b221fb9960f911969 [Pipeline] } 18:09:05 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 18:09:06 + [ -d /w/workspace/undry_device-onvif-camera_PR-166/archives ] 18:09:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-166/archives 18:09:06 total 16 18:09:06 drwxr-xr-x 3 root root 4096 Sep 28 17:59 . 18:09:06 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 17:59 .. 18:09:06 drwxr-xr-x 2 root root 4096 Sep 28 17:59 cost 18:09:06 -rw-r--r-- 1 root root 91 Sep 28 17:59 cost.csv 18:09:06 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-166/archives 18:09:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-166/archives 18:09:06 total 16 18:09:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:59 . 18:09:06 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 17:59 .. 18:09:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 17:59 cost 18:09:06 -rw-r--r-- 1 jenkins jenkins 91 Sep 28 17:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:09:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:09:07 ---> package-listing.sh 18:09:07 ++ facter osfamily 18:09:07 ++ tr '[:upper:]' '[:lower:]' 18:09:08 + OS_FAMILY=debian 18:09:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-166 18:09:08 + START_PACKAGES=/tmp/packages_start.txt 18:09:08 + END_PACKAGES=/tmp/packages_end.txt 18:09:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:09:08 + PACKAGES=/tmp/packages_start.txt 18:09:08 + '[' /w/workspace/undry_device-onvif-camera_PR-166 ']' 18:09:08 + PACKAGES=/tmp/packages_end.txt 18:09:08 + case "${OS_FAMILY}" in 18:09:08 + dpkg -l 18:09:08 + grep '^ii' 18:09:08 + '[' -f /tmp/packages_start.txt ']' 18:09:08 + '[' -f /tmp/packages_end.txt ']' 18:09:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:09:08 + '[' /w/workspace/undry_device-onvif-camera_PR-166 ']' 18:09:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-166/archives/ 18:09:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-166/archives/ [Pipeline] echo 18:09:08 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:09:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:09 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 18:09:09 $ 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-166/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-166 -v /w/workspace/undry_device-onvif-camera_PR-166:/w/workspace/undry_device-onvif-camera_PR-166:rw,z -v /w/workspace/undry_device-onvif-camera_PR-166@tmp:/w/workspace/undry_device-onvif-camera_PR-166@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:09:09 $ docker top d412aef365ededb5cc2698e7c3590f1abdeb6ebfb336c5d42264b6629698fd49 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:09 + touch /tmp/pre-build-complete [Pipeline] sh 18:09:10 + mkdir -p /var/log/sysstat [Pipeline] sh 18:09:10 + ls /var/log/sa-host 18:09:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:10 provisioning config files... 18:09:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-166@tmp/config167035826605934194tmp [Pipeline] { [Pipeline] echo 18:09:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:09:11 ---> create-netrc.sh [Pipeline] } 18:09:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:09:11 ---> python-tools-install.sh [Pipeline] echo 18:09:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:09:11 ---> sudo-logs.sh 18:09:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:09:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:09:12 ---> job-cost.sh 18:09:12 lf-activate-venv: SKIPPING 18:09:12 DEBUG: total: 0.2199999988079071 18:09:12 INFO: Retrieving Stack Cost... 18:09:12 INFO: Retrieving Pricing Info for: v3-standard-8 18:09:13 INFO: Archiving Costs [Pipeline] echo 18:09:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:09:13 ---> logs-deploy.sh 18:09:13 lf-activate-venv: SKIPPING 18:09:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-166/1 18:09:13 INFO: archiving workspace using pattern(s): 18:09:14 Archives upload complete. 18:09:14 INFO: archiving logs to Nexus