Pull request #170 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46+0803938d3e117362d3c6c6e4e1a4697135dfbf5d (cbc1d58ba9c601779fbb42ef3142a0aa1d93e7a2) 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-ssh15712440336193462515.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-ssh3345592772650994346.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-170/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-170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8633279148743783670.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-170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2480961253488579034.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-ssh13209126954803495081.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-170/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-170/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13646377528760506304.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 ‘prd-ubuntu20.04-docker-8c-8g-6799’ Running on prd-ubuntu20.04-docker-8c-8g-6805 in /w/workspace/undry_device-onvif-camera_PR-170 [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-170 # 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/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 Merge succeeded, producing 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 Checking out Revision 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 (PR-170) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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 03:22:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 # 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 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 # timeout=10 [Pipeline] withCredentials 03:22:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:22:10 ========================================================= 03:22:10 EdgeX Global Pipelines Version Info 03:22:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:22:11 ------------------- 03:22:11 stable info: 03:22:11 ------------------- 03:22:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:11 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:22:11 Message: update stable to v1.0.239 03:22:12 ------------------- 03:22:12 experimental info: 03:22:12 ------------------- 03:22:12 Commited By: **** collab-it+edgex@linuxfoundation.org 03:22:12 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:22:12 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:22:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dcda7d [Pipeline] echo 03:22:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:13 provisioning config files... 03:22:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config13063798063926099312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:14 ---> docker-login.sh 03:22:14 nexus3.edgexfoundry.org:10001 03:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:14 Configure a credential helper to remove this warning. See 03:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:14 03:22:14 Login Succeeded 03:22:14 nexus3.edgexfoundry.org:10002 03:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:14 Configure a credential helper to remove this warning. See 03:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:14 03:22:14 Login Succeeded 03:22:14 nexus3.edgexfoundry.org:10003 03:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:14 Configure a credential helper to remove this warning. See 03:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:14 03:22:14 Login Succeeded 03:22:14 nexus3.edgexfoundry.org:10004 03:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:14 Configure a credential helper to remove this warning. See 03:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:14 03:22:14 Login Succeeded 03:22:14 docker.io 03:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:15 Configure a credential helper to remove this warning. See 03:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:15 03:22:15 Login Succeeded 03:22:15 ---> docker-login.sh ends [Pipeline] } 03:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:22:15 + git rev-list -1 --merges 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46~1..9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 [Pipeline] echo 03:22:16 -----------> git rev-list -1 --merges 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46~1..9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 [false] [Pipeline] sh 03:22:16 + git log --format=format:%s -1 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 [Pipeline] echo 03:22:16 ========================================================= 03:22:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:22:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:16 + git log --format=format:%s -1 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 [Pipeline] echo 03:22:16 [semverPrep] GIT_COMMIT: 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 03:22:16 [semverPrep] This is not a build commit. [Pipeline] sh 03:22:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:22:17 + grep -v github /etc/ssh/ssh_known_hosts 03:22:17 + [ -e /tmp/ssh_known_hosts ] 03:22:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:22:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:22:17 + sudo tee -a /etc/ssh/ssh_known_hosts 03:22:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:17 03:22:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:18 0.1.4: Pulling from edgex-devops/py-git-semver 03:22:18 b85a868b505f: Pulling fs layer 03:22:18 e2be974225ed: Pulling fs layer 03:22:18 339a4e72a1f5: Pulling fs layer 03:22:18 988bab9f4d93: Pulling fs layer 03:22:18 1469e6f7b9e6: Pulling fs layer 03:22:18 eaf3925da568: Pulling fs layer 03:22:18 bab4dde63d76: Pulling fs layer 03:22:18 1469e6f7b9e6: Waiting 03:22:18 eaf3925da568: Waiting 03:22:18 988bab9f4d93: Waiting 03:22:18 bab4dde63d76: Waiting 03:22:18 bde34c3a00c8: Pulling fs layer 03:22:18 b352a97aabf1: Pulling fs layer 03:22:18 4872d77fe225: Pulling fs layer 03:22:18 5851b861e8e6: Pulling fs layer 03:22:18 5851b861e8e6: Waiting 03:22:18 b352a97aabf1: Waiting 03:22:18 4872d77fe225: Waiting 03:22:18 bde34c3a00c8: Waiting 03:22:18 e2be974225ed: Verifying Checksum 03:22:18 e2be974225ed: Download complete 03:22:18 988bab9f4d93: Download complete 03:22:18 1469e6f7b9e6: Verifying Checksum 03:22:18 1469e6f7b9e6: Download complete 03:22:18 eaf3925da568: Verifying Checksum 03:22:18 eaf3925da568: Download complete 03:22:18 339a4e72a1f5: Verifying Checksum 03:22:18 339a4e72a1f5: Download complete 03:22:18 bde34c3a00c8: Verifying Checksum 03:22:18 bde34c3a00c8: Download complete 03:22:18 b352a97aabf1: Verifying Checksum 03:22:18 b352a97aabf1: Download complete 03:22:18 4872d77fe225: Verifying Checksum 03:22:18 4872d77fe225: Download complete 03:22:18 5851b861e8e6: Download complete 03:22:18 b85a868b505f: Verifying Checksum 03:22:18 b85a868b505f: Download complete 03:22:18 bab4dde63d76: Verifying Checksum 03:22:18 bab4dde63d76: Download complete 03:22:19 b85a868b505f: Pull complete 03:22:19 e2be974225ed: Pull complete 03:22:20 339a4e72a1f5: Pull complete 03:22:20 988bab9f4d93: Pull complete 03:22:20 1469e6f7b9e6: Pull complete 03:22:20 eaf3925da568: Pull complete 03:22:22 bab4dde63d76: Pull complete 03:22:22 bde34c3a00c8: Pull complete 03:22:22 b352a97aabf1: Pull complete 03:22:22 4872d77fe225: Pull complete 03:22:22 5851b861e8e6: Pull complete 03:22:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:22:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:22 prd-ubuntu20.04-docker-8c-8g-6805 does not seem to be running inside a container 03:22:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:22:25 $ docker top 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 -eo pid,comm 03:22:25 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). 03:22:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:22:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:25 [ssh-agent] Looking for ssh-agent implementation... 03:22:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:25 $ docker exec 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 ssh-agent 03:22:25 SSH_AUTH_SOCK=/tmp/ssh-MDM0OTEhNWWN/agent.32 03:22:25 SSH_AGENT_PID=38 03:22:25 Running ssh-add (command line suppressed) 03:22:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_17505903448895060306.key (/w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_17505903448895060306.key) 03:22:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:26 + git tag --points-at HEAD [Pipeline] } 03:22:26 $ docker exec --env ******** --env ******** 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 ssh-agent -k 03:22:26 unset SSH_AUTH_SOCK; 03:22:26 unset SSH_AGENT_PID; 03:22:26 echo Agent pid 38 killed; 03:22:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:22:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:26 [ssh-agent] Looking for ssh-agent implementation... 03:22:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:26 $ docker exec 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 ssh-agent 03:22:26 SSH_AUTH_SOCK=/tmp/ssh-7cD3ZPOXF0LH/agent.70 03:22:26 SSH_AGENT_PID=76 03:22:26 Running ssh-add (command line suppressed) 03:22:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_8100766037973962605.key (/w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_8100766037973962605.key) 03:22:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:27 + git semver init 03:22:27 2022-10-03 03:22:27,199 [run_init] DEBUG init version:0.0.0 force:False 03:22:27 2022-10-03 03:22:27,200 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-170/.semver 03:22:27 2022-10-03 03:22:27,200 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-170/.semver 03:22:27 2022-10-03 03:22:27,201 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-170/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-170, universal_newlines=False, shell=None, istream=None) 03:22:28 2022-10-03 03:22:28,156 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-170/.git/info/exclude 03:22:28 2022-10-03 03:22:28,157 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-170/.semver/PR-170 with force:False 03:22:28 2022-10-03 03:22:28,157 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-170/.semver/PR-170 03:22:28 2022-10-03 03:22:28,162 [execute] INFO git cat-file --batch-check 03:22:28 2022-10-03 03:22:28,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-170/.semver, universal_newlines=False, shell=None, istream=) 03:22:28 2022-10-03 03:22:28,169 [execute] INFO git cat-file --batch 03:22:28 2022-10-03 03:22:28,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-170/.semver, universal_newlines=False, shell=None, istream=) 03:22:28 2022-10-03 03:22:28,173 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-170/.semver/PR-170 03:22:28 0.0.0 [Pipeline] } 03:22:28 $ docker exec --env ******** --env ******** 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 ssh-agent -k 03:22:28 unset SSH_AUTH_SOCK; 03:22:28 unset SSH_AGENT_PID; 03:22:28 echo Agent pid 76 killed; 03:22:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:22:28 + git semver [Pipeline] } 03:22:29 $ docker stop --time=1 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 03:22:30 $ docker rm -f 2120374e3612d2ad87f10869176e0fd8c75f70da6e52f57246d02d674e052166 [Pipeline] // withDockerContainer [Pipeline] sh 03:22:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:22:30 Stashed 1 file(s) [Pipeline] echo 03:22:30 [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 03:22:31 provisioning config files... 03:22:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config13554899435047400360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:31 ---> docker-login.sh 03:22:31 nexus3.edgexfoundry.org:10001 03:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:31 Configure a credential helper to remove this warning. See 03:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:31 03:22:31 Login Succeeded 03:22:31 nexus3.edgexfoundry.org:10002 03:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:31 Configure a credential helper to remove this warning. See 03:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:31 03:22:31 Login Succeeded 03:22:31 nexus3.edgexfoundry.org:10003 03:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:32 Configure a credential helper to remove this warning. See 03:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:32 03:22:32 Login Succeeded 03:22:32 nexus3.edgexfoundry.org:10004 03:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:32 Configure a credential helper to remove this warning. See 03:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:32 03:22:32 Login Succeeded 03:22:32 docker.io 03:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:32 Configure a credential helper to remove this warning. See 03:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:32 03:22:32 Login Succeeded 03:22:32 ---> docker-login.sh ends [Pipeline] } 03:22:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:22:32 ========================================================= 03:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:22:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:33 + 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 . 03:22:33 Sending build context to Docker daemon 20.78MB 03:22:33 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:22:33 Step 2/14 : FROM ${BASE} AS builder 03:22:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:22:33 2408cc74d12b: Pulling fs layer 03:22:33 ea60b727a1ce: Pulling fs layer 03:22:33 30c4a7721957: Pulling fs layer 03:22:33 370296b7ddb6: Pulling fs layer 03:22:33 7c6cee850709: Pulling fs layer 03:22:33 aa9baa53a306: Pulling fs layer 03:22:33 8b309c321861: Pulling fs layer 03:22:33 d8d76fd02f46: Pulling fs layer 03:22:33 fa31f396de31: Pulling fs layer 03:22:33 aa9baa53a306: Waiting 03:22:33 370296b7ddb6: Waiting 03:22:33 7c6cee850709: Waiting 03:22:33 fa31f396de31: Waiting 03:22:33 8b309c321861: Waiting 03:22:33 d8d76fd02f46: Waiting 03:22:33 30c4a7721957: Verifying Checksum 03:22:33 30c4a7721957: Download complete 03:22:33 ea60b727a1ce: Verifying Checksum 03:22:33 ea60b727a1ce: Download complete 03:22:33 7c6cee850709: Verifying Checksum 03:22:33 7c6cee850709: Download complete 03:22:33 aa9baa53a306: Verifying Checksum 03:22:33 aa9baa53a306: Download complete 03:22:33 2408cc74d12b: Verifying Checksum 03:22:33 2408cc74d12b: Download complete 03:22:33 8b309c321861: Download complete 03:22:33 2408cc74d12b: Pull complete 03:22:33 ea60b727a1ce: Pull complete 03:22:33 30c4a7721957: Pull complete 03:22:34 fa31f396de31: Verifying Checksum 03:22:34 fa31f396de31: Download complete 03:22:34 d8d76fd02f46: Verifying Checksum 03:22:34 d8d76fd02f46: Download complete 03:22:34 370296b7ddb6: Verifying Checksum 03:22:34 370296b7ddb6: Download complete 03:22:38 370296b7ddb6: Pull complete 03:22:38 7c6cee850709: Pull complete 03:22:38 aa9baa53a306: Pull complete 03:22:38 8b309c321861: Pull complete 03:22:40 d8d76fd02f46: Pull complete 03:22:41 fa31f396de31: Pull complete 03:22:41 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 03:22:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:22:41 ---> cef68f9685f8 03:22:41 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:22:44 ---> Running in f4bfa4dd6226 03:22:44 Removing intermediate container f4bfa4dd6226 03:22:44 ---> c7ced31c15ba 03:22:44 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:22:44 ---> Running in 9f56214d5011 03:22:44 Removing intermediate container 9f56214d5011 03:22:44 ---> a3502499b3aa 03:22:44 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:22:44 ---> Running in 15ac983cb670 03:22:44 Removing intermediate container 15ac983cb670 03:22:44 ---> 37317e317603 03:22:44 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:22:44 ---> Running in ba5233620fc5 03:22:44 Removing intermediate container ba5233620fc5 03:22:44 ---> bac6295333a4 03:22:44 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:22:44 ---> Running in e6004995d6c2 03:22:44 Removing intermediate container e6004995d6c2 03:22:44 ---> dc3c35053b54 03:22:44 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:22:45 ---> Running in d99a7974f655 03:22:45 Removing intermediate container d99a7974f655 03:22:45 ---> 8a98e4b9789a 03:22:45 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:22:45 ---> Running in e28057edbdeb 03:22:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:22:46 Still waiting to schedule task 03:22:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6800’ 03:22:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:22:46 OK: 211 MiB in 51 packages 03:22:47 Removing intermediate container e28057edbdeb 03:22:47 ---> bfae07af81e6 03:22:47 Step 10/14 : WORKDIR /device-onvif-camera 03:22:47 ---> Running in e56de12f44ce 03:22:47 Removing intermediate container e56de12f44ce 03:22:47 ---> e683ddc5d710 03:22:47 Step 11/14 : COPY go.mod vendor* ./ 03:22:47 ---> d853b356911a 03:22:47 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:47 ---> Running in d209feeadfd5 03:23:05 Removing intermediate container d209feeadfd5 03:23:05 ---> 037db5a62731 03:23:05 Step 13/14 : COPY . . 03:23:06 ---> 34edf0a15ce3 03:23:06 Step 14/14 : RUN ${MAKE} 03:23:06 ---> Running in 422e1d36e180 03:23:06 noop 03:23:06 Removing intermediate container 422e1d36e180 03:23:06 ---> ea829ca02b83 03:23:06 Successfully built ea829ca02b83 03:23:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:07 + docker inspect -f . ci-base-image-x86_64 03:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:07 prd-ubuntu20.04-docker-8c-8g-6805 does not seem to be running inside a container 03:23:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** ci-base-image-x86_64 cat 03:23:07 $ docker top 1fef945afd20823ebf4af7e25a3a14701d8c9d968569f7bb0f7120f8a8437188 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:08 + go version 03:23:08 go version go1.18.3 linux/amd64 [Pipeline] } 03:23:08 $ docker stop --time=1 1fef945afd20823ebf4af7e25a3a14701d8c9d968569f7bb0f7120f8a8437188 03:23:09 $ docker rm -f 1fef945afd20823ebf4af7e25a3a14701d8c9d968569f7bb0f7120f8a8437188 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:10 + docker inspect -f . ci-base-image-x86_64 03:23:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:10 prd-ubuntu20.04-docker-8c-8g-6805 does not seem to be running inside a container 03:23:10 $ 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-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** ci-base-image-x86_64 cat 03:23:10 $ docker top 61b65a370550e3702fe36f281d67bdbf23f4d8ba9630ac1965408c4cf4e59eee -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:10 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-170 [Pipeline] fileExists [Pipeline] sh 03:23:11 + make test 03:23:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:23:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:23:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:23:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.2% of statements 03:23:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:23:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.266s coverage: 86.5% of statements 03:23:32 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." 03:23:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:23:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:23:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:23:36 ./bin/test-attribution-txt.sh [Pipeline] echo 03:23:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:23:36 $ docker stop --time=1 61b65a370550e3702fe36f281d67bdbf23f4d8ba9630ac1965408c4cf4e59eee 03:23:38 $ docker rm -f 61b65a370550e3702fe36f281d67bdbf23f4d8ba9630ac1965408c4cf4e59eee [Pipeline] // withDockerContainer [Pipeline] sh 03:23:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:23:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:23:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:23:40 + ls -al . 03:23:40 total 236 03:23:40 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 03:23 . 03:23:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:22 .. 03:23:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:23 .git 03:23:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:22 .github 03:23:40 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:22 .gitignore 03:23:40 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:22 .golangci.yml 03:23:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:22 .semver 03:23:40 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:22 Attribution.txt 03:23:40 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:22 CHANGELOG.md 03:23:40 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:22 Dockerfile 03:23:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:22 GOVERNANCE.md 03:23:40 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:22 Jenkinsfile 03:23:40 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:22 LICENSE 03:23:40 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:22 Makefile 03:23:40 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:22 OWNERS.md 03:23:40 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:22 README.md 03:23:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:22 VERSION 03:23:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:22 bin 03:23:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:22 cmd 03:23:40 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:23 coverage.out 03:23:40 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:22 doc 03:23:40 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:22 go.mod 03:23:40 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:22 go.sum 03:23:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:22 internal 03:23:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:22 snap 03:23:40 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:40 + 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=9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 --label arch=amd64 --label version=0.0.0 . 03:23:40 Sending build context to Docker daemon 20.86MB 03:23:40 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:23:40 Step 2/27 : FROM ${BASE} AS builder 03:23:40 ---> ea829ca02b83 03:23:40 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:23:41 ---> Running in fda93e94fc6a 03:23:41 Removing intermediate container fda93e94fc6a 03:23:41 ---> 4ab708015657 03:23:41 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:41 ---> Running in d2ff61c53c6b 03:23:41 Removing intermediate container d2ff61c53c6b 03:23:41 ---> 908e51db348e 03:23:41 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:23:41 ---> Running in 56963daabcaa 03:23:41 Removing intermediate container 56963daabcaa 03:23:41 ---> 97d693d6bb0d 03:23:41 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:23:41 ---> Running in 17ec89b507aa 03:23:41 Removing intermediate container 17ec89b507aa 03:23:41 ---> 632102e8d75d 03:23:41 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:23:41 ---> Running in 0679966efb08 03:23:41 Removing intermediate container 0679966efb08 03:23:41 ---> 87e81b08837e 03:23:41 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:23:41 ---> Running in 83bd0f917e4c 03:23:42 Removing intermediate container 83bd0f917e4c 03:23:42 ---> ce0afc379ebf 03:23:42 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:42 ---> Running in 82f43b6b295b 03:23:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:23:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:23:43 OK: 211 MiB in 51 packages 03:23:43 Removing intermediate container 82f43b6b295b 03:23:43 ---> 82bf44ab81b9 03:23:43 Step 10/27 : WORKDIR /device-onvif-camera 03:23:44 ---> Running in 981d0d0cde72 03:23:44 Removing intermediate container 981d0d0cde72 03:23:44 ---> 590d840daad6 03:23:44 Step 11/27 : COPY go.mod vendor* ./ 03:23:44 ---> c3f1596e8b81 03:23:44 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:44 ---> Running in fd4f2a57c9ca 03:23:45 Removing intermediate container fd4f2a57c9ca 03:23:45 ---> b6c8057d78db 03:23:45 Step 13/27 : COPY . . 03:23:45 ---> 7c74d9028fdc 03:23:45 Step 14/27 : RUN ${MAKE} 03:23:45 ---> Running in d14e14a244e9 03:23:46 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:24:12 Removing intermediate container d14e14a244e9 03:24:12 ---> 5125db104c7d 03:24:12 Step 15/27 : FROM alpine:3.16 03:24:12 3.16: Pulling from library/alpine 03:24:12 213ec9aee27d: Pulling fs layer 03:24:12 213ec9aee27d: Verifying Checksum 03:24:12 213ec9aee27d: Download complete 03:24:12 213ec9aee27d: Pull complete 03:24:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:24:12 Status: Downloaded newer image for alpine:3.16 03:24:12 ---> 9c6f07244728 03:24:12 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:24:12 ---> Running in 8a95d91f1ad3 03:24:12 Removing intermediate container 8a95d91f1ad3 03:24:12 ---> 2631c9472790 03:24:12 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:24:12 ---> Running in 9129503815f1 03:24:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:24:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:24:12 (1/6) Installing dumb-init (1.2.5-r1) 03:24:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:24:12 (3/6) Installing libsodium (1.0.18-r0) 03:24:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:24:12 (5/6) Installing libzmq (4.3.4-r0) 03:24:12 (6/6) Installing zeromq (4.3.4-r0) 03:24:12 Executing busybox-1.35.0-r17.trigger 03:24:12 OK: 8 MiB in 20 packages 03:24:12 Removing intermediate container 9129503815f1 03:24:12 ---> ee8102dc91af 03:24:12 Step 18/27 : WORKDIR / 03:24:12 ---> Running in a2fdfdaaf8fb 03:24:12 Removing intermediate container a2fdfdaaf8fb 03:24:12 ---> e45c58bc0327 03:24:12 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:24:12 ---> 7253d8e1de42 03:24:12 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:24:12 ---> 38d09321981b 03:24:12 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:24:12 ---> f82d188f7961 03:24:12 Step 22/27 : EXPOSE 59984 03:24:12 ---> Running in 6d896a3970b3 03:24:13 Removing intermediate container 6d896a3970b3 03:24:13 ---> 152a56ec9002 03:24:13 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:24:13 ---> Running in 77f5694aca13 03:24:13 Removing intermediate container 77f5694aca13 03:24:13 ---> d149da604116 03:24:13 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:24:13 ---> Running in 8e5477de9bf9 03:24:13 Removing intermediate container 8e5477de9bf9 03:24:13 ---> 5f1746f07185 03:24:13 Step 25/27 : LABEL arch=amd64 03:24:13 ---> Running in 253a3b55d7e7 03:24:13 Removing intermediate container 253a3b55d7e7 03:24:13 ---> 83105d7d9a28 03:24:13 Step 26/27 : LABEL git_sha=9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 03:24:13 ---> Running in 05251101cc6e 03:24:13 Removing intermediate container 05251101cc6e 03:24:13 ---> 67605f37dfd6 03:24:13 Step 27/27 : LABEL version=0.0.0 03:24:13 ---> Running in 1f6dfdf8ce47 03:24:13 Removing intermediate container 1f6dfdf8ce47 03:24:13 ---> f779f7aecf42 03:24:13 [Warning] One or more build-args [ARCH] were not consumed 03:24:13 Successfully built f779f7aecf42 03:24:13 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 03:24:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:14 03:24:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:14 latest: Pulling from edgex-lftools-log-publisher 03:24:14 5eb5b503b376: Pulling fs layer 03:24:14 5c69ac0246d0: Pulling fs layer 03:24:14 ec43610c2a17: Pulling fs layer 03:24:14 3a2ae6a8a46f: Pulling fs layer 03:24:14 33b1e0a273af: Pulling fs layer 03:24:14 5d3b04190fa2: Pulling fs layer 03:24:14 2f39f015ded8: Pulling fs layer 03:24:14 33b1e0a273af: Waiting 03:24:14 5d3b04190fa2: Waiting 03:24:14 2f39f015ded8: Waiting 03:24:14 3a2ae6a8a46f: Waiting 03:24:14 5c69ac0246d0: Verifying Checksum 03:24:14 5c69ac0246d0: Download complete 03:24:14 3a2ae6a8a46f: Download complete 03:24:15 33b1e0a273af: Verifying Checksum 03:24:15 33b1e0a273af: Download complete 03:24:15 5d3b04190fa2: Verifying Checksum 03:24:15 ec43610c2a17: Verifying Checksum 03:24:15 ec43610c2a17: Download complete 03:24:15 5eb5b503b376: Download complete 03:24:15 2f39f015ded8: Download complete 03:24:16 5eb5b503b376: Pull complete 03:24:16 5c69ac0246d0: Pull complete 03:24:17 ec43610c2a17: Pull complete 03:24:17 3a2ae6a8a46f: Pull complete 03:24:17 33b1e0a273af: Pull complete 03:24:17 5d3b04190fa2: Pull complete 03:24:22 2f39f015ded8: Pull complete 03:24:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:24:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:23 prd-ubuntu20.04-docker-8c-8g-6805 does not seem to be running inside a container 03:24:23 $ 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-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 03:24:26 $ docker top 9461c7246e17ca3a6dd3f6ad0e67917d2fbe33ca6c5138d1d35f3e270cbe2d41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:26 ---> job-cost.sh 03:24:26 lf-activate-venv: SKIPPING 03:24:26 INFO: No Stack... 03:24:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:24:27 INFO: Archiving Costs [Pipeline] sh 03:24:27 + cat /w/workspace/undry_device-onvif-camera_PR-170/archives/cost.csv 03:24:27 + cut -d, -f6 [Pipeline] lock 03:24:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] 03:24:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] did not exist. Created. 03:24:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:24:28 + echo total: 0.2199999988079071 [Pipeline] stash 03:24:28 Stashed 1 file(s) [Pipeline] } 03:24:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:24:28 $ docker stop --time=1 9461c7246e17ca3a6dd3f6ad0e67917d2fbe33ca6c5138d1d35f3e270cbe2d41 03:24:29 $ docker rm -f 9461c7246e17ca3a6dd3f6ad0e67917d2fbe33ca6c5138d1d35f3e270cbe2d41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:24:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6808 in /w/workspace/undry_device-onvif-camera_PR-170 [Pipeline] { [Pipeline] ws 03:24:57 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:24:57 The recommended git tool is: git 03:25:02 using credential edgex-jenkins-ssh 03:25:02 Cloning the remote Git repository 03:25:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:25:02 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:25:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:25:03 > git --version # timeout=10 03:25:03 > git --version # 'git version 2.25.1' 03:25:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:03 Verifying host key using known hosts file 03:25:03 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. 03:25:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:25:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:25:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:25:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:05 Verifying host key using known hosts file 03:25:05 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. 03:25:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:25:06 Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 03:25:06 Merge succeeded, producing 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 03:25:06 Checking out Revision 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 (PR-170) 03:25:07 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 03:25:07 > git --version # timeout=10 03:25:07 > git --version # 'git version 2.25.1' 03:25:07 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 03:25:06 > git config core.sparsecheckout # timeout=10 03:25:06 > git checkout -f 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 # timeout=10 03:25:06 > git remote # timeout=10 03:25:06 > git config --get remote.origin.url # timeout=10 03:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:06 Verifying host key using known hosts file 03:25:06 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. 03:25:06 > git merge 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 03:25:06 > git rev-parse HEAD^{commit} # timeout=10 03:25:06 > git config core.sparsecheckout # timeout=10 03:25:06 > git checkout -f 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:25:08 % Total % Received % Xferd Average Speed Time Time Time Current 03:25:08 Dload Upload Total Spent Left Speed 03:25:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 03:25:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:25:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:25:09 + sudo tee /etc/docker/daemon.new 03:25:09 { 03:25:09 "registry-mirrors": [ 03:25:09 "https://nexus3.edgexfoundry.org:10001" 03:25:09 ], 03:25:09 "bip": "10.250.0.254/24", 03:25:09 "hosts": [ 03:25:09 "tcp://0.0.0.0:5555", 03:25:09 "unix:///var/run/docker.sock" 03:25:09 ], 03:25:09 "mtu": 1458, 03:25:09 "selinux-enabled": true, 03:25:09 "seccomp-profile": "/etc/docker/seccomp.json" 03:25:09 } [Pipeline] sh 03:25:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:25:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:28 provisioning config files... 03:25:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2023867982519910838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:28 ---> docker-login.sh 03:25:28 nexus3.edgexfoundry.org:10001 03:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:29 Configure a credential helper to remove this warning. See 03:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:29 03:25:29 Login Succeeded 03:25:29 nexus3.edgexfoundry.org:10002 03:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:29 Configure a credential helper to remove this warning. See 03:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:29 03:25:29 Login Succeeded 03:25:29 nexus3.edgexfoundry.org:10003 03:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:30 Configure a credential helper to remove this warning. See 03:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:30 03:25:30 Login Succeeded 03:25:30 nexus3.edgexfoundry.org:10004 03:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:30 Configure a credential helper to remove this warning. See 03:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:30 03:25:30 Login Succeeded 03:25:30 docker.io 03:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:31 Configure a credential helper to remove this warning. See 03:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:31 03:25:31 Login Succeeded 03:25:31 ---> docker-login.sh ends [Pipeline] } 03:25:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:25:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:31 ========================================================= 03:25:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:25:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:32 + 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 . 03:25:32 Sending build context to Docker daemon 14.2MB 03:25:32 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:25:32 Step 2/14 : FROM ${BASE} AS builder 03:25:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:25:32 b3c136eddcbf: Pulling fs layer 03:25:32 c0a3192eca97: Pulling fs layer 03:25:32 a050256f5b6f: Pulling fs layer 03:25:32 656be50a0ddc: Pulling fs layer 03:25:32 2bbca73fdf42: Pulling fs layer 03:25:32 f607e4fc86c3: Pulling fs layer 03:25:32 4d572c569a2c: Pulling fs layer 03:25:32 fcf976331f73: Pulling fs layer 03:25:32 656be50a0ddc: Waiting 03:25:32 2bbca73fdf42: Waiting 03:25:32 f607e4fc86c3: Waiting 03:25:32 4d572c569a2c: Waiting 03:25:32 fcf976331f73: Waiting 03:25:32 a050256f5b6f: Download complete 03:25:32 c0a3192eca97: Verifying Checksum 03:25:32 c0a3192eca97: Download complete 03:25:32 2bbca73fdf42: Verifying Checksum 03:25:32 2bbca73fdf42: Download complete 03:25:32 f607e4fc86c3: Verifying Checksum 03:25:32 f607e4fc86c3: Download complete 03:25:32 b3c136eddcbf: Verifying Checksum 03:25:32 b3c136eddcbf: Download complete 03:25:33 b3c136eddcbf: Pull complete 03:25:34 fcf976331f73: Verifying Checksum 03:25:34 fcf976331f73: Download complete 03:25:34 c0a3192eca97: Pull complete 03:25:34 a050256f5b6f: Pull complete 03:25:35 4d572c569a2c: Verifying Checksum 03:25:35 4d572c569a2c: Download complete 03:25:36 656be50a0ddc: Verifying Checksum 03:25:36 656be50a0ddc: Download complete 03:25:48 656be50a0ddc: Pull complete 03:25:48 2bbca73fdf42: Pull complete 03:25:48 f607e4fc86c3: Pull complete 03:25:55 4d572c569a2c: Pull complete 03:25:57 fcf976331f73: Pull complete 03:25:57 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 03:25:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:25:57 ---> 3970a7415f9e 03:25:57 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:25:57 ---> Running in 8e77598795d8 03:25:58 Removing intermediate container 8e77598795d8 03:25:58 ---> a5c30492eb06 03:25:58 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:25:58 ---> Running in 9e116b7bd51f 03:25:58 Removing intermediate container 9e116b7bd51f 03:25:58 ---> 0f97bdf5cf34 03:25:58 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:25:58 ---> Running in 4b5db13763b5 03:25:59 Removing intermediate container 4b5db13763b5 03:25:59 ---> ad8c4e2ef1d0 03:25:59 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:25:59 ---> Running in a7e2aa078f0e 03:25:59 Removing intermediate container a7e2aa078f0e 03:25:59 ---> 420eadfc2e40 03:25:59 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:25:59 ---> Running in 28d0a86d3366 03:25:59 Removing intermediate container 28d0a86d3366 03:25:59 ---> f1be46bb0f95 03:25:59 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:26:00 ---> Running in 0f993a7eec37 03:26:02 Removing intermediate container 0f993a7eec37 03:26:02 ---> 6cbe83945f70 03:26:02 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:02 ---> Running in 34812f960476 03:26:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:26:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:26:04 OK: 221 MiB in 51 packages 03:26:05 Removing intermediate container 34812f960476 03:26:05 ---> 94144f4bc032 03:26:05 Step 10/14 : WORKDIR /device-onvif-camera 03:26:05 ---> Running in 64d21dff2ed6 03:26:06 Removing intermediate container 64d21dff2ed6 03:26:06 ---> fcf33d266260 03:26:06 Step 11/14 : COPY go.mod vendor* ./ 03:26:06 ---> ad595a8b7dbb 03:26:06 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:06 ---> Running in 51d66e8c2d04 03:27:03 Removing intermediate container 51d66e8c2d04 03:27:03 ---> ec7591c973d4 03:27:03 Step 13/14 : COPY . . 03:27:03 ---> a97124d40a99 03:27:03 Step 14/14 : RUN ${MAKE} 03:27:03 ---> Running in 99da1b228e9b 03:27:03 noop 03:27:03 Removing intermediate container 99da1b228e9b 03:27:03 ---> 5be20ecc2bdf 03:27:03 Successfully built 5be20ecc2bdf 03:27:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:03 + docker inspect -f . ci-base-image-arm64 03:27:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:03 prd-ubuntu20.04-docker-arm64-4c-16g-6808 does not seem to be running inside a container 03:27:04 $ 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 ******** ci-base-image-arm64 cat 03:27:05 $ docker top 95b2d36affa0a8af32e23532e89f83f28711a3963f35e048c7d8b40c6cabec05 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:06 + go version 03:27:06 go version go1.18.3 linux/arm64 [Pipeline] } 03:27:06 $ docker stop --time=1 95b2d36affa0a8af32e23532e89f83f28711a3963f35e048c7d8b40c6cabec05 03:27:07 $ docker rm -f 95b2d36affa0a8af32e23532e89f83f28711a3963f35e048c7d8b40c6cabec05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:08 + docker inspect -f . ci-base-image-arm64 03:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:08 prd-ubuntu20.04-docker-arm64-4c-16g-6808 does not seem to be running inside a container 03:27:09 $ 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 ******** ci-base-image-arm64 cat 03:27:10 $ docker top ebc38563452df8b98a37e72edd1a345d65c1bcfe28828e02810e97594386083e -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:11 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:27:11 + make test 03:27:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:27:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:29:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:29:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 03:29:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:29:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.788s coverage: 86.5% of statements 03:29:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:29:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:29:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:29:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:29:58 ./bin/test-attribution-txt.sh [Pipeline] echo 03:29:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:29:58 $ docker stop --time=1 ebc38563452df8b98a37e72edd1a345d65c1bcfe28828e02810e97594386083e 03:30:00 $ docker rm -f ebc38563452df8b98a37e72edd1a345d65c1bcfe28828e02810e97594386083e [Pipeline] // withDockerContainer [Pipeline] sh 03:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:01 Warning: overwriting stash ‘coverage-report’ 03:30:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:03 + ls -al . 03:30:03 total 232 03:30:03 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 03:27 . 03:30:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:25 .. 03:30:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:25 .git 03:30:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:25 .github 03:30:03 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:25 .gitignore 03:30:03 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:25 .golangci.yml 03:30:03 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:25 Attribution.txt 03:30:03 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:25 CHANGELOG.md 03:30:03 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:25 Dockerfile 03:30:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:25 GOVERNANCE.md 03:30:03 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:25 Jenkinsfile 03:30:03 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:25 LICENSE 03:30:03 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:25 Makefile 03:30:03 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:25 OWNERS.md 03:30:03 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:25 README.md 03:30:03 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:22 VERSION 03:30:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:25 bin 03:30:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:25 cmd 03:30:03 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:29 coverage.out 03:30:03 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:25 doc 03:30:03 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:25 go.mod 03:30:03 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:25 go.sum 03:30:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:25 internal 03:30:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:25 snap 03:30:03 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:04 + 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=9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 --label arch=arm64 --label version=0.0.0 . 03:30:05 Sending build context to Docker daemon 14.28MB 03:30:05 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:30:05 Step 2/27 : FROM ${BASE} AS builder 03:30:05 ---> 5be20ecc2bdf 03:30:05 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:30:05 ---> Running in a90e34bc474b 03:30:05 Removing intermediate container a90e34bc474b 03:30:05 ---> 2ddba734b259 03:30:05 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:30:05 ---> Running in 31e6db9adc49 03:30:06 Removing intermediate container 31e6db9adc49 03:30:06 ---> 3e9bbe3c3728 03:30:06 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:30:06 ---> Running in e9187e44bb69 03:30:07 Removing intermediate container e9187e44bb69 03:30:07 ---> b0f42264982e 03:30:07 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:30:07 ---> Running in 9d377b9a9165 03:30:07 Removing intermediate container 9d377b9a9165 03:30:07 ---> a130c9a690bf 03:30:07 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:30:07 ---> Running in 0896be8fe9fb 03:30:08 Removing intermediate container 0896be8fe9fb 03:30:08 ---> 578698bfeb1a 03:30:08 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:30:08 ---> Running in d89307ee8b1a 03:30:12 Removing intermediate container d89307ee8b1a 03:30:12 ---> ba960dd118d8 03:30:12 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:12 ---> Running in f59dd4a5e034 03:30:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:30:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:30:15 OK: 221 MiB in 51 packages 03:30:16 Removing intermediate container f59dd4a5e034 03:30:16 ---> 155a9a387a63 03:30:16 Step 10/27 : WORKDIR /device-onvif-camera 03:30:16 ---> Running in d6eb68c798dc 03:30:16 Removing intermediate container d6eb68c798dc 03:30:16 ---> 14079ad2726d 03:30:16 Step 11/27 : COPY go.mod vendor* ./ 03:30:17 ---> 344a112242bb 03:30:17 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:17 ---> Running in 571c3a932ffa 03:30:19 Removing intermediate container 571c3a932ffa 03:30:19 ---> 6eddf7929850 03:30:19 Step 13/27 : COPY . . 03:30:20 ---> e2bd2d33d65b 03:30:20 Step 14/27 : RUN ${MAKE} 03:30:20 ---> Running in 89dc5cf80a8d 03:30:22 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:32:59 Removing intermediate container 89dc5cf80a8d 03:32:59 ---> 403109baf451 03:32:59 Step 15/27 : FROM alpine:3.16 03:32:59 3.16: Pulling from library/alpine 03:32:59 9b18e9b68314: Pulling fs layer 03:32:59 9b18e9b68314: Verifying Checksum 03:32:59 9b18e9b68314: Download complete 03:32:59 9b18e9b68314: Pull complete 03:32:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:32:59 Status: Downloaded newer image for alpine:3.16 03:32:59 ---> a6215f271958 03:32:59 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:32:59 ---> Running in f93310007fbf 03:32:59 Removing intermediate container f93310007fbf 03:32:59 ---> 8b6fcb3d250b 03:32:59 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:32:59 ---> Running in 5b7065a59676 03:32:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:32:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:32:59 (1/6) Installing dumb-init (1.2.5-r1) 03:32:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:32:59 (3/6) Installing libsodium (1.0.18-r0) 03:32:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:32:59 (5/6) Installing libzmq (4.3.4-r0) 03:32:59 (6/6) Installing zeromq (4.3.4-r0) 03:32:59 Executing busybox-1.35.0-r17.trigger 03:32:59 OK: 8 MiB in 20 packages 03:32:59 Removing intermediate container 5b7065a59676 03:32:59 ---> e18f6a85fb77 03:32:59 Step 18/27 : WORKDIR / 03:32:59 ---> Running in 2fd617217378 03:32:59 Removing intermediate container 2fd617217378 03:32:59 ---> 395aa571fb95 03:32:59 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:33:00 ---> 85c639b5dac2 03:33:00 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:33:01 ---> c63b327ae51c 03:33:01 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:33:01 ---> 1eb12fe8367c 03:33:01 Step 22/27 : EXPOSE 59984 03:33:01 ---> Running in 0ab609156784 03:33:01 Removing intermediate container 0ab609156784 03:33:01 ---> 021133dc2278 03:33:01 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:33:01 ---> Running in f2a4057150b0 03:33:02 Removing intermediate container f2a4057150b0 03:33:02 ---> 2dfdd3dc7e20 03:33:02 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:33:02 ---> Running in 38ae2a825dc9 03:33:02 Removing intermediate container 38ae2a825dc9 03:33:02 ---> b88bc390edd9 03:33:02 Step 25/27 : LABEL arch=arm64 03:33:02 ---> Running in fd1f811a5106 03:33:03 Removing intermediate container fd1f811a5106 03:33:03 ---> d045ffc33bc9 03:33:03 Step 26/27 : LABEL git_sha=9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 03:33:03 ---> Running in 9d7a27adec16 03:33:03 Removing intermediate container 9d7a27adec16 03:33:03 ---> fe3c97e52333 03:33:03 Step 27/27 : LABEL version=0.0.0 03:33:03 ---> Running in a54388021bf2 03:33:03 Removing intermediate container a54388021bf2 03:33:03 ---> d59e018b56b8 03:33:03 [Warning] One or more build-args [ARCH] were not consumed 03:33:03 Successfully built d59e018b56b8 03:33:03 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 03:33:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:04 03:33:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:05 arm64: Pulling from edgex-lftools-log-publisher 03:33:05 8998bd30e6a1: Pulling fs layer 03:33:05 04944245beec: Pulling fs layer 03:33:05 699f458cf7ca: Pulling fs layer 03:33:05 765212b225bb: Pulling fs layer 03:33:05 f23df028b6ca: Pulling fs layer 03:33:05 d65c8cfc05b1: Pulling fs layer 03:33:05 2437ff75d9bd: Pulling fs layer 03:33:05 765212b225bb: Waiting 03:33:05 f23df028b6ca: Waiting 03:33:05 d65c8cfc05b1: Waiting 03:33:05 2437ff75d9bd: Waiting 03:33:05 04944245beec: Verifying Checksum 03:33:05 04944245beec: Download complete 03:33:05 765212b225bb: Verifying Checksum 03:33:05 765212b225bb: Download complete 03:33:05 f23df028b6ca: Verifying Checksum 03:33:05 f23df028b6ca: Download complete 03:33:05 d65c8cfc05b1: Verifying Checksum 03:33:05 d65c8cfc05b1: Download complete 03:33:05 699f458cf7ca: Verifying Checksum 03:33:05 8998bd30e6a1: Verifying Checksum 03:33:05 8998bd30e6a1: Download complete 03:33:08 2437ff75d9bd: Verifying Checksum 03:33:08 2437ff75d9bd: Download complete 03:33:09 8998bd30e6a1: Pull complete 03:33:10 04944245beec: Pull complete 03:33:11 699f458cf7ca: Pull complete 03:33:11 765212b225bb: Pull complete 03:33:12 f23df028b6ca: Pull complete 03:33:12 d65c8cfc05b1: Pull complete 03:33:27 2437ff75d9bd: Pull complete 03:33:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:33:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:28 prd-ubuntu20.04-docker-arm64-4c-16g-6808 does not seem to be running inside a container 03:33:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:33:30 $ docker top 19e3d155dac9755a6c0d54518958b8307990904011bf4ca6688be8afd4cdc97d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:31 ---> job-cost.sh 03:33:31 lf-activate-venv: SKIPPING 03:33:31 INFO: No Stack... 03:33:32 INFO: Retrieving Pricing Info for: v3-standard-4 03:33:33 INFO: Archiving Costs [Pipeline] sh 03:33:33 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:33:33 + cut -d, -f6 [Pipeline] lock 03:33:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] 03:33:33 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] did not exist. Created. 03:33:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:33:33 /w/workspace/device-onvif-camera/1@tmp/durable-6ee64a10/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:33:34 + echo total: 0.10999999940395355 [Pipeline] stash 03:33:34 Warning: overwriting stash ‘stack-cost’ 03:33:34 Stashed 1 file(s) [Pipeline] } 03:33:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:33:34 $ docker stop --time=1 19e3d155dac9755a6c0d54518958b8307990904011bf4ca6688be8afd4cdc97d 03:33:35 $ docker rm -f 19e3d155dac9755a6c0d54518958b8307990904011bf4ca6688be8afd4cdc97d [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 03:33:36 provisioning config files... 03:33:36 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config13012182092184860099tmp [Pipeline] { [Pipeline] sh 03:33:37 + set +x 03:33:37 + bash -s -- 03:33:37 + curl -s https://codecov.io/bash 03:33:37 03:33:37 _____ _ 03:33:37 / ____| | | 03:33:37 | | ___ __| | ___ ___ _____ __ 03:33:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:33:37 | |___| (_) | (_| | __/ (_| (_) \ V / 03:33:37 \_____\___/ \__,_|\___|\___\___/ \_/ 03:33:37 Bash-1.0.6 03:33:37 03:33:37 03:33:37 ==> git version 2.25.1 found 03:33:37 ==> 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 03:33:37 Release-Date: 2020-01-08 03:33:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:33:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:33:37 ==> Jenkins CI detected. 03:33:37 current dir:  /w/workspace/undry_device-onvif-camera_PR-170 03:33:37 project root: . 03:33:37 --> token set from env 03:33:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:33:37 ==> Running gcov in . (disable via -X gcov) 03:33:37 ==> Python coveragepy not found 03:33:37 ==> Searching for coverage reports in: 03:33:37 + . 03:33:37 -> Found 1 reports 03:33:37 ==> Detecting git/mercurial file structure 03:33:37 ==> Reading reports 03:33:37 + ./coverage.out bytes=78461 03:33:37 ==> Appending adjustments 03:33:37 https://docs.codecov.io/docs/fixing-reports 03:33:37 + Found adjustments 03:33:37 ==> Gzipping contents 03:33:37 12K /tmp/codecov.UFW3wi.gz 03:33:37 ==> Uploading reports 03:33:37 url: https://codecov.io 03:33:37 query: branch=PR-170&commit=9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=170&job=&cmd_args= 03:33:37 -> Pinging Codecov 03:33:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-170&commit=9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=170&job=&cmd_args= 03:33:37 -> Uploading to 03:33:37 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46/a7972fdb-c834-488f-9ee1-3d49529ea6dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T033337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=345d58d43c37c7ef6c1c0cf16a798c551435c87bdfd780e0e8457eefc18de690 03:33:37 % Total % Received % Xferd Average Speed Time Time Time Current 03:33:37 Dload Upload Total Spent Left Speed 03:33:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10683 0 0 100 10683 0 46047 --:--:-- --:--:-- --:--:-- 45849 03:33:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 [Pipeline] } 03:33:37 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 03:33:39 + [ -d /w/workspace/undry_device-onvif-camera_PR-170/archives ] 03:33:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-170/archives 03:33:39 total 16 03:33:39 drwxr-xr-x 3 root root 4096 Oct 3 03:24 . 03:33:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:24 .. 03:33:39 drwxr-xr-x 2 root root 4096 Oct 3 03:24 cost 03:33:39 -rw-r--r-- 1 root root 91 Oct 3 03:24 cost.csv 03:33:39 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-170/archives 03:33:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-170/archives 03:33:39 total 16 03:33:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:24 . 03:33:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:24 .. 03:33:39 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:24 cost 03:33:39 -rw-r--r-- 1 jenkins jenkins 91 Oct 3 03:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:33:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:33:40 ---> package-listing.sh 03:33:40 ++ facter osfamily 03:33:40 ++ tr '[:upper:]' '[:lower:]' 03:33:41 + OS_FAMILY=debian 03:33:41 + workspace=/w/workspace/undry_device-onvif-camera_PR-170 03:33:41 + START_PACKAGES=/tmp/packages_start.txt 03:33:41 + END_PACKAGES=/tmp/packages_end.txt 03:33:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:33:41 + PACKAGES=/tmp/packages_start.txt 03:33:41 + '[' /w/workspace/undry_device-onvif-camera_PR-170 ']' 03:33:41 + PACKAGES=/tmp/packages_end.txt 03:33:41 + case "${OS_FAMILY}" in 03:33:41 + dpkg -l 03:33:41 + grep '^ii' 03:33:41 + '[' -f /tmp/packages_start.txt ']' 03:33:41 + '[' -f /tmp/packages_end.txt ']' 03:33:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:33:41 + '[' /w/workspace/undry_device-onvif-camera_PR-170 ']' 03:33:41 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-170/archives/ 03:33:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-170/archives/ [Pipeline] echo 03:33:41 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-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:33:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:42 prd-ubuntu20.04-docker-8c-8g-6805 does not seem to be running inside a container 03:33:42 $ 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-170/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-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:33:42 $ docker top 4d0d74471d4f0e30b6476bb36ea3880699be4c789953b26d719fb81abab178d6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:42 + touch /tmp/pre-build-complete [Pipeline] sh 03:33:43 + mkdir -p /var/log/sysstat [Pipeline] sh 03:33:43 + ls /var/log/sa-host 03:33:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:43 provisioning config files... 03:33:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config883690708575292854tmp [Pipeline] { [Pipeline] echo 03:33:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:33:44 ---> create-netrc.sh [Pipeline] } 03:33:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:33:44 ---> python-tools-install.sh [Pipeline] echo 03:33:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:33:44 ---> sudo-logs.sh 03:33:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:33:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:33:45 ---> job-cost.sh 03:33:45 lf-activate-venv: SKIPPING 03:33:45 DEBUG: total: 0.2199999988079071 03:33:45 INFO: Retrieving Stack Cost... 03:33:45 INFO: Retrieving Pricing Info for: v3-standard-8 03:33:46 INFO: Archiving Costs [Pipeline] echo 03:33:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:33:46 ---> logs-deploy.sh 03:33:46 lf-activate-venv: SKIPPING 03:33:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-170/1 03:33:46 INFO: archiving workspace using pattern(s): 03:33:47 Archives upload complete. 03:33:47 INFO: archiving logs to Nexus