Pull request #162 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f+d3157763bdfd8f49e0a7266dceddd97d249ca275 (f8e91da9f1ce6d99fe04bb6169e06442a6d36f0c) 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-ssh16083305943968790556.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-ssh7737553551170130938.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-162/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-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1797564901048607031.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-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15574049157544241856.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-ssh5112356044023366418.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-162/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-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12365621196575607630.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 Running on prd-ubuntu20.04-docker-8c-8g-460 in /w/workspace/undry_device-onvif-camera_PR-162 [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-162 # 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/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f Merge succeeded, producing 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f Checking out Revision 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f (PR-162) > git config core.sparsecheckout # timeout=10 > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # 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 d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # timeout=10 Commit message: "Testing Conventional Commit Bot" 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 20:11:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:11:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:11:16 ========================================================= 20:11:16 EdgeX Global Pipelines Version Info 20:11:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:11:17 ------------------- 20:11:17 stable info: 20:11:17 ------------------- 20:11:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:11:17 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:11:17 Message: update stable to v1.0.239 20:11:17 ------------------- 20:11:17 experimental info: 20:11:17 ------------------- 20:11:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:11:17 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:11:17 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:11:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13e3a24 [Pipeline] echo 20:11:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:19 provisioning config files... 20:11:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config4348275679093164832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:19 ---> docker-login.sh 20:11:19 nexus3.edgexfoundry.org:10001 20:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:20 Configure a credential helper to remove this warning. See 20:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:20 20:11:20 Login Succeeded 20:11:20 nexus3.edgexfoundry.org:10002 20:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:20 Configure a credential helper to remove this warning. See 20:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:20 20:11:20 Login Succeeded 20:11:20 nexus3.edgexfoundry.org:10003 20:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:20 Configure a credential helper to remove this warning. See 20:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:20 20:11:20 Login Succeeded 20:11:20 nexus3.edgexfoundry.org:10004 20:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:20 Configure a credential helper to remove this warning. See 20:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:20 20:11:20 Login Succeeded 20:11:20 docker.io 20:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:20 Configure a credential helper to remove this warning. See 20:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:20 20:11:20 Login Succeeded 20:11:20 ---> docker-login.sh ends [Pipeline] } 20:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:11:21 + git rev-list -1 --merges 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f~1..13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo 20:11:21 -----------> git rev-list -1 --merges 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f~1..13e3a24582a5b40a5cbcd28dc5de342f4d74b90f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [false] [Pipeline] sh 20:11:21 + git log --format=format:%s -1 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo 20:11:21 ========================================================= 20:11:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:11:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:22 + git log --format=format:%s -1 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] echo 20:11:22 [semverPrep] GIT_COMMIT: 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f, Commit Message: Testing Conventional Commit Bot [Pipeline] echo 20:11:22 [semverPrep] This is not a build commit. [Pipeline] sh 20:11:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:11:23 + grep -v github /etc/ssh/ssh_known_hosts 20:11:23 + [ -e /tmp/ssh_known_hosts ] 20:11:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:11:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:11:23 + sudo tee -a /etc/ssh/ssh_known_hosts 20:11:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:23 20:11:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:24 0.1.4: Pulling from edgex-devops/py-git-semver 20:11:24 b85a868b505f: Pulling fs layer 20:11:24 e2be974225ed: Pulling fs layer 20:11:24 339a4e72a1f5: Pulling fs layer 20:11:24 988bab9f4d93: Pulling fs layer 20:11:24 1469e6f7b9e6: Pulling fs layer 20:11:24 eaf3925da568: Pulling fs layer 20:11:24 bab4dde63d76: Pulling fs layer 20:11:24 bde34c3a00c8: Pulling fs layer 20:11:24 b352a97aabf1: Pulling fs layer 20:11:24 4872d77fe225: Pulling fs layer 20:11:24 5851b861e8e6: Pulling fs layer 20:11:24 988bab9f4d93: Waiting 20:11:24 bde34c3a00c8: Waiting 20:11:24 eaf3925da568: Waiting 20:11:24 b352a97aabf1: Waiting 20:11:24 bab4dde63d76: Waiting 20:11:24 4872d77fe225: Waiting 20:11:24 1469e6f7b9e6: Waiting 20:11:24 5851b861e8e6: Waiting 20:11:24 e2be974225ed: Verifying Checksum 20:11:24 e2be974225ed: Download complete 20:11:24 988bab9f4d93: Verifying Checksum 20:11:24 988bab9f4d93: Download complete 20:11:24 339a4e72a1f5: Verifying Checksum 20:11:24 339a4e72a1f5: Download complete 20:11:24 eaf3925da568: Download complete 20:11:24 1469e6f7b9e6: Verifying Checksum 20:11:24 1469e6f7b9e6: Download complete 20:11:24 bde34c3a00c8: Download complete 20:11:24 b352a97aabf1: Verifying Checksum 20:11:24 b352a97aabf1: Download complete 20:11:24 4872d77fe225: Verifying Checksum 20:11:24 4872d77fe225: Download complete 20:11:24 5851b861e8e6: Verifying Checksum 20:11:24 5851b861e8e6: Download complete 20:11:24 b85a868b505f: Verifying Checksum 20:11:24 b85a868b505f: Download complete 20:11:24 bab4dde63d76: Verifying Checksum 20:11:24 bab4dde63d76: Download complete 20:11:25 b85a868b505f: Pull complete 20:11:25 e2be974225ed: Pull complete 20:11:26 339a4e72a1f5: Pull complete 20:11:26 988bab9f4d93: Pull complete 20:11:26 1469e6f7b9e6: Pull complete 20:11:26 eaf3925da568: Pull complete 20:11:28 bab4dde63d76: Pull complete 20:11:28 bde34c3a00c8: Pull complete 20:11:28 b352a97aabf1: Pull complete 20:11:28 4872d77fe225: Pull complete 20:11:28 5851b861e8e6: Pull complete 20:11:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:11:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:29 prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container 20:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@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-devops/py-git-semver:0.1.4 cat 20:11:31 $ docker top f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca -eo pid,comm 20:11:31 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). 20:11:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:11:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:31 [ssh-agent] Looking for ssh-agent implementation... 20:11:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:31 $ docker exec f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent 20:11:31 SSH_AUTH_SOCK=/tmp/ssh-unGd579IKcWA/agent.31 20:11:31 SSH_AGENT_PID=37 20:11:31 Running ssh-add (command line suppressed) 20:11:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_7069964459829405966.key (/w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_7069964459829405966.key) 20:11:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:32 + git tag --points-at HEAD [Pipeline] } 20:11:32 $ docker exec --env ******** --env ******** f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent -k 20:11:32 unset SSH_AUTH_SOCK; 20:11:32 unset SSH_AGENT_PID; 20:11:32 echo Agent pid 37 killed; 20:11:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:11:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:32 [ssh-agent] Looking for ssh-agent implementation... 20:11:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:32 $ docker exec f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent 20:11:32 SSH_AUTH_SOCK=/tmp/ssh-oIy4umJEOoTo/agent.69 20:11:32 SSH_AGENT_PID=75 20:11:32 Running ssh-add (command line suppressed) 20:11:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_8725250315682662845.key (/w/workspace/undry_device-onvif-camera_PR-162@tmp/private_key_8725250315682662845.key) 20:11:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:33 + git semver init 20:11:33 2022-09-21 20:11:33,492 [run_init] DEBUG init version:0.0.0 force:False 20:11:33 2022-09-21 20:11:33,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-162/.semver 20:11:33 2022-09-21 20:11:33,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-162/.semver 20:11:33 2022-09-21 20:11:33,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-162/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-162, universal_newlines=False, shell=None, istream=None) 20:11:34 2022-09-21 20:11:34,467 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-162/.git/info/exclude 20:11:34 2022-09-21 20:11:34,468 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-162/.semver/PR-162 with force:False 20:11:34 2022-09-21 20:11:34,468 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-162/.semver/PR-162 20:11:34 2022-09-21 20:11:34,472 [execute] INFO git cat-file --batch-check 20:11:34 2022-09-21 20:11:34,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) 20:11:34 2022-09-21 20:11:34,479 [execute] INFO git cat-file --batch 20:11:34 2022-09-21 20:11:34,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) 20:11:34 2022-09-21 20:11:34,484 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-162/.semver/PR-162 20:11:34 0.0.0 [Pipeline] } 20:11:34 $ docker exec --env ******** --env ******** f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca ssh-agent -k 20:11:34 unset SSH_AUTH_SOCK; 20:11:34 unset SSH_AGENT_PID; 20:11:34 echo Agent pid 75 killed; 20:11:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:11:35 + git semver [Pipeline] } 20:11:35 $ docker stop --time=1 f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca 20:11:36 $ docker rm -f f16ff790f69cd34d75fec1849f6f5f87748d811f970004d057b340aab402c4ca [Pipeline] // withDockerContainer [Pipeline] sh 20:11:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:11:37 Stashed 1 file(s) [Pipeline] echo 20:11:37 [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 20:11:38 provisioning config files... 20:11:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config459644717412091347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:38 ---> docker-login.sh 20:11:38 nexus3.edgexfoundry.org:10001 20:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:38 Configure a credential helper to remove this warning. See 20:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:38 20:11:38 Login Succeeded 20:11:38 nexus3.edgexfoundry.org:10002 20:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:38 Configure a credential helper to remove this warning. See 20:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:38 20:11:38 Login Succeeded 20:11:38 nexus3.edgexfoundry.org:10003 20:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:38 Configure a credential helper to remove this warning. See 20:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:38 20:11:38 Login Succeeded 20:11:38 nexus3.edgexfoundry.org:10004 20:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:38 Configure a credential helper to remove this warning. See 20:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:38 20:11:38 Login Succeeded 20:11:38 docker.io 20:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:39 Configure a credential helper to remove this warning. See 20:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:39 20:11:39 Login Succeeded 20:11:39 ---> docker-login.sh ends [Pipeline] } 20:11:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:39 ========================================================= 20:11:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:11:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:11:40 Sending build context to Docker daemon 20.7MB 20:11:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:11:40 Step 2/13 : FROM ${BASE} AS builder 20:11:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:11:40 2408cc74d12b: Pulling fs layer 20:11:40 ea60b727a1ce: Pulling fs layer 20:11:40 30c4a7721957: Pulling fs layer 20:11:40 370296b7ddb6: Pulling fs layer 20:11:40 7c6cee850709: Pulling fs layer 20:11:40 39a5fcdaea64: Pulling fs layer 20:11:40 d94ebbe4e438: Pulling fs layer 20:11:40 bcfd1f05c69d: Pulling fs layer 20:11:40 59ccb84bbe0f: Pulling fs layer 20:11:40 370296b7ddb6: Waiting 20:11:40 7c6cee850709: Waiting 20:11:40 39a5fcdaea64: Waiting 20:11:40 d94ebbe4e438: Waiting 20:11:40 bcfd1f05c69d: Waiting 20:11:40 59ccb84bbe0f: Waiting 20:11:40 30c4a7721957: Verifying Checksum 20:11:40 30c4a7721957: Download complete 20:11:40 ea60b727a1ce: Verifying Checksum 20:11:40 ea60b727a1ce: Download complete 20:11:40 7c6cee850709: Verifying Checksum 20:11:40 7c6cee850709: Download complete 20:11:40 2408cc74d12b: Verifying Checksum 20:11:40 2408cc74d12b: Download complete 20:11:40 39a5fcdaea64: Verifying Checksum 20:11:40 39a5fcdaea64: Download complete 20:11:40 d94ebbe4e438: Verifying Checksum 20:11:40 d94ebbe4e438: Download complete 20:11:40 2408cc74d12b: Pull complete 20:11:40 ea60b727a1ce: Pull complete 20:11:40 30c4a7721957: Pull complete 20:11:40 59ccb84bbe0f: Verifying Checksum 20:11:40 59ccb84bbe0f: Download complete 20:11:40 bcfd1f05c69d: Verifying Checksum 20:11:40 bcfd1f05c69d: Download complete 20:11:41 370296b7ddb6: Verifying Checksum 20:11:41 370296b7ddb6: Download complete 20:11:45 370296b7ddb6: Pull complete 20:11:45 7c6cee850709: Pull complete 20:11:45 39a5fcdaea64: Pull complete 20:11:45 d94ebbe4e438: Pull complete 20:11:47 bcfd1f05c69d: Pull complete 20:11:47 59ccb84bbe0f: Pull complete 20:11:47 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:11:48 ---> a4fb48ad2a94 20:11:48 Step 3/13 : ARG MAKE="make build" 20:11:50 ---> Running in f8fc5cb97c6d 20:11:50 Removing intermediate container f8fc5cb97c6d 20:11:50 ---> 3873062aea46 20:11:50 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:11:50 ---> Running in 9353a0e5e461 20:11:50 Removing intermediate container 9353a0e5e461 20:11:50 ---> 7ece6f302516 20:11:50 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:11:50 ---> Running in 36af5cb7de69 20:11:51 Removing intermediate container 36af5cb7de69 20:11:51 ---> 45c012f4624b 20:11:51 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:11:51 ---> Running in 8fcc381c5cbc 20:11:51 Removing intermediate container 8fcc381c5cbc 20:11:51 ---> 8bcb3a50a483 20:11:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:11:51 ---> Running in b3ed01a42a53 20:11:51 Removing intermediate container b3ed01a42a53 20:11:51 ---> cb55a602b2f6 20:11:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:52 ---> Running in fdcf4d1df16e 20:11:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:11:53 Still waiting to schedule task 20:11:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:11:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:11:53 OK: 211 MiB in 51 packages 20:11:53 Removing intermediate container fdcf4d1df16e 20:11:53 ---> 8b03d268e14a 20:11:53 Step 9/13 : WORKDIR /device-onvif-camera 20:11:53 ---> Running in 7ebb4d45a999 20:11:53 Removing intermediate container 7ebb4d45a999 20:11:53 ---> 08e78ceda591 20:11:53 Step 10/13 : COPY go.mod vendor* ./ 20:11:53 ---> 435a096e3762 20:11:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:54 ---> Running in 668941fd4b5b 20:12:16 Removing intermediate container 668941fd4b5b 20:12:16 ---> f4601f92d178 20:12:16 Step 12/13 : COPY . . 20:12:16 ---> 5815cd5142a6 20:12:16 Step 13/13 : RUN ${MAKE} 20:12:16 ---> Running in 03c2d8dbe350 20:12:16 noop 20:12:16 Removing intermediate container 03c2d8dbe350 20:12:16 ---> db085de700cb 20:12:16 Successfully built db085de700cb 20:12:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:16 + docker inspect -f . ci-base-image-x86_64 20:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:16 prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container 20:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:17 $ docker top 7b23d2e47dc307c9e9a62c55fd61c46f50b43e88dcb8feb0161b8d306e02b3fa -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:17 + go version 20:12:17 go version go1.18.3 linux/amd64 [Pipeline] } 20:12:17 $ docker stop --time=1 7b23d2e47dc307c9e9a62c55fd61c46f50b43e88dcb8feb0161b8d306e02b3fa 20:12:18 $ docker rm -f 7b23d2e47dc307c9e9a62c55fd61c46f50b43e88dcb8feb0161b8d306e02b3fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:19 + docker inspect -f . ci-base-image-x86_64 20:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:19 prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container 20:12:19 $ 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-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:20 $ docker top 0123ded921ae7cc3dbc6c5e5637d21adc99bceb83d780c85b7cd2e523c88b69d -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:20 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-162 [Pipeline] fileExists [Pipeline] sh 20:12:20 + make test 20:12:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:12:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:12:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:12:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements 20:12:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:12:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.490s coverage: 86.5% of statements 20:12:41 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." 20:12:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:12:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:44 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:45 $ docker stop --time=1 0123ded921ae7cc3dbc6c5e5637d21adc99bceb83d780c85b7cd2e523c88b69d 20:12:47 $ docker rm -f 0123ded921ae7cc3dbc6c5e5637d21adc99bceb83d780c85b7cd2e523c88b69d [Pipeline] // withDockerContainer [Pipeline] sh 20:12:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:12:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:48 + ls -al . 20:12:48 total 236 20:12:48 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 20:12 . 20:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:11 .. 20:12:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:12 .git 20:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:11 .github 20:12:48 -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 20:11 .gitignore 20:12:48 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 20:11 .golangci.yml 20:12:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 20:11 .semver 20:12:48 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 20:11 Attribution.txt 20:12:48 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 20:11 CHANGELOG.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 20:11 Dockerfile 20:12:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 20:11 GOVERNANCE.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 20:11 Jenkinsfile 20:12:48 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 20:11 LICENSE 20:12:48 -rw-rw-r-- 1 jenkins jenkins 2703 Sep 21 20:11 Makefile 20:12:48 -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 20:11 OWNERS.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 20:11 README.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 20:11 VERSION 20:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:11 bin 20:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:11 cmd 20:12:48 -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 20:12 coverage.out 20:12:48 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 20:11 doc 20:12:48 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 20:11 go.mod 20:12:48 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 20:11 go.sum 20:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:11 internal 20:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:11 snap 20:12:48 -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 20:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:49 + 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=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f --label arch=amd64 --label version=0.0.0 . 20:12:49 Sending build context to Docker daemon 20.78MB 20:12:49 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:12:49 Step 2/26 : FROM ${BASE} AS builder 20:12:49 ---> db085de700cb 20:12:49 Step 3/26 : ARG MAKE="make build" 20:12:49 ---> Running in d227c47a7706 20:12:49 Removing intermediate container d227c47a7706 20:12:49 ---> ee3a6f947c1f 20:12:49 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:12:49 ---> Running in 59e4c09e7dc0 20:12:49 Removing intermediate container 59e4c09e7dc0 20:12:49 ---> 5a018f8a1102 20:12:49 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:12:49 ---> Running in 547300ab7f62 20:12:49 Removing intermediate container 547300ab7f62 20:12:49 ---> 7648cbd634ae 20:12:49 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:12:49 ---> Running in 222faa3d78c3 20:12:49 Removing intermediate container 222faa3d78c3 20:12:49 ---> 83e5aa0abc8c 20:12:49 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:49 ---> Running in 976ccb66a292 20:12:50 Removing intermediate container 976ccb66a292 20:12:50 ---> e1b09d68969c 20:12:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:50 ---> Running in ae3b764d1e5f 20:12:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:12:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:12:51 OK: 211 MiB in 51 packages 20:12:52 Removing intermediate container ae3b764d1e5f 20:12:52 ---> 1d92d5d45dec 20:12:52 Step 9/26 : WORKDIR /device-onvif-camera 20:12:52 ---> Running in 46386a68fa4f 20:12:52 Removing intermediate container 46386a68fa4f 20:12:52 ---> 8391871ff3ec 20:12:52 Step 10/26 : COPY go.mod vendor* ./ 20:12:52 ---> 8a8020f5b237 20:12:52 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:52 ---> Running in 5971fbff6377 20:12:52 Removing intermediate container 5971fbff6377 20:12:52 ---> ae0cca5f5436 20:12:52 Step 12/26 : COPY . . 20:12:53 ---> e02543bf737d 20:12:53 Step 13/26 : RUN ${MAKE} 20:12:53 ---> Running in ebc7c4e0e870 20:12:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:13:15 Removing intermediate container ebc7c4e0e870 20:13:15 ---> 8a81055e2623 20:13:15 Step 14/26 : FROM alpine:3.16 20:13:16 3.16: Pulling from library/alpine 20:13:16 213ec9aee27d: Pulling fs layer 20:13:16 213ec9aee27d: Verifying Checksum 20:13:16 213ec9aee27d: Download complete 20:13:16 213ec9aee27d: Pull complete 20:13:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:13:16 Status: Downloaded newer image for alpine:3.16 20:13:16 ---> 9c6f07244728 20:13:16 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:13:16 ---> Running in 930145d73748 20:13:16 Removing intermediate container 930145d73748 20:13:16 ---> 16c68d05066e 20:13:16 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:13:16 ---> Running in 9a7811c0069a 20:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:13:17 (1/6) Installing dumb-init (1.2.5-r1) 20:13:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:13:17 (3/6) Installing libsodium (1.0.18-r0) 20:13:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:13:17 (5/6) Installing libzmq (4.3.4-r0) 20:13:17 (6/6) Installing zeromq (4.3.4-r0) 20:13:17 Executing busybox-1.35.0-r17.trigger 20:13:17 OK: 8 MiB in 20 packages 20:13:17 Removing intermediate container 9a7811c0069a 20:13:17 ---> 64f2147dc967 20:13:17 Step 17/26 : WORKDIR / 20:13:17 ---> Running in 66b191ba8053 20:13:17 Removing intermediate container 66b191ba8053 20:13:17 ---> 624b90d43414 20:13:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:13:18 ---> 7544ca8f6af7 20:13:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:13:18 ---> 87610ffd9285 20:13:18 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:13:18 ---> 7ce358e29c12 20:13:18 Step 21/26 : EXPOSE 59984 20:13:18 ---> Running in 58e030bbd01f 20:13:18 Removing intermediate container 58e030bbd01f 20:13:18 ---> 7fcd32676f89 20:13:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:13:18 ---> Running in 4d6b80621dd8 20:13:18 Removing intermediate container 4d6b80621dd8 20:13:18 ---> 6430eb9a3325 20:13:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:13:18 ---> Running in c27cea0e13b4 20:13:18 Removing intermediate container c27cea0e13b4 20:13:18 ---> 986843404084 20:13:18 Step 24/26 : LABEL arch=amd64 20:13:19 ---> Running in a411641721f4 20:13:19 Removing intermediate container a411641721f4 20:13:19 ---> 0da15a9d5247 20:13:19 Step 25/26 : LABEL git_sha=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f 20:13:19 ---> Running in 72b52786f5ec 20:13:19 Removing intermediate container 72b52786f5ec 20:13:19 ---> 34a5e52347f1 20:13:19 Step 26/26 : LABEL version=0.0.0 20:13:19 ---> Running in 6f6c5393463c 20:13:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-461 in /w/workspace/undry_device-onvif-camera_PR-162 [Pipeline] { [Pipeline] ws 20:13:19 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { 20:13:19 Removing intermediate container 6f6c5393463c 20:13:19 ---> ea0fb77f48ee 20:13:19 [Warning] One or more build-args [ARCH] were not consumed 20:13:19 Successfully built ea0fb77f48ee 20:13:19 Successfully tagged device-onvif-camera:latest [Pipeline] checkout 20:13:19 The recommended git tool is: git [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 20:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:20 20:13:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:20 latest: Pulling from edgex-lftools-log-publisher 20:13:20 5eb5b503b376: Pulling fs layer 20:13:20 5c69ac0246d0: Pulling fs layer 20:13:20 ec43610c2a17: Pulling fs layer 20:13:20 3a2ae6a8a46f: Pulling fs layer 20:13:20 33b1e0a273af: Pulling fs layer 20:13:20 5d3b04190fa2: Pulling fs layer 20:13:20 2f39f015ded8: Pulling fs layer 20:13:20 3a2ae6a8a46f: Waiting 20:13:20 33b1e0a273af: Waiting 20:13:20 5d3b04190fa2: Waiting 20:13:20 2f39f015ded8: Waiting 20:13:20 5c69ac0246d0: Verifying Checksum 20:13:20 5c69ac0246d0: Download complete 20:13:20 3a2ae6a8a46f: Verifying Checksum 20:13:20 3a2ae6a8a46f: Download complete 20:13:20 33b1e0a273af: Verifying Checksum 20:13:20 33b1e0a273af: Download complete 20:13:20 5d3b04190fa2: Verifying Checksum 20:13:20 5d3b04190fa2: Download complete 20:13:20 ec43610c2a17: Verifying Checksum 20:13:20 ec43610c2a17: Download complete 20:13:20 5eb5b503b376: Verifying Checksum 20:13:20 5eb5b503b376: Download complete 20:13:21 2f39f015ded8: Download complete 20:13:22 5eb5b503b376: Pull complete 20:13:22 5c69ac0246d0: Pull complete 20:13:22 ec43610c2a17: Pull complete 20:13:22 3a2ae6a8a46f: Pull complete 20:13:23 33b1e0a273af: Pull complete 20:13:23 5d3b04190fa2: Pull complete 20:13:23 using credential edgex-jenkins-ssh 20:13:23 Cloning the remote Git repository 20:13:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:13:24 > git init /w/workspace/device-onvif-camera/1 # timeout=10 20:13:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:13:24 > git --version # timeout=10 20:13:24 > git --version # 'git version 2.25.1' 20:13:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:24 Verifying host key using known hosts file 20:13:24 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. 20:13:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:13:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:13:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:26 Verifying host key using known hosts file 20:13:26 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. 20:13:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:13:27 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f 20:13:27 Merge succeeded, producing 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f 20:13:27 Checking out Revision 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f (PR-162) 20:13:27 > git config core.sparsecheckout # timeout=10 20:13:27 > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # timeout=10 20:13:27 > git remote # timeout=10 20:13:27 > git config --get remote.origin.url # timeout=10 20:13:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:27 Verifying host key using known hosts file 20:13:27 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. 20:13:27 > git merge d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 20:13:27 > git rev-parse HEAD^{commit} # timeout=10 20:13:27 > git config core.sparsecheckout # timeout=10 20:13:27 > git checkout -f 13e3a24582a5b40a5cbcd28dc5de342f4d74b90f # timeout=10 20:13:28 2f39f015ded8: Pull complete 20:13:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:28 prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container 20:13: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/undry_device-onvif-camera_PR-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:31 Commit message: "Testing Conventional Commit Bot" 20:13:31 > git --version # timeout=10 20:13:31 > git --version # 'git version 2.25.1' 20:13:31 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 20:13:31 $ docker top 5ed08570434909d3dace19f86b65fb42647f10e393b5add514b2f5991fea3a18 -eo pid,comm [Pipeline] { 20:13:31 20:13:31 GitHub has been notified of this commit’s build result 20:13:31 [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:31 ---> job-cost.sh 20:13:31 lf-activate-venv: SKIPPING 20:13:31 INFO: No Stack... 20:13:32 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:13:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:32 Dload Upload Total Spent Left Speed 20:13:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 74129 0 --:--:-- --:--:-- --:--:-- 74129 [Pipeline] sh 20:13:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:13:33 INFO: Archiving Costs [Pipeline] sh 20:13:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:13:33 + sudo tee /etc/docker/daemon.new 20:13:33 { 20:13:33 "registry-mirrors": [ 20:13:33 "https://nexus3.edgexfoundry.org:10001" 20:13:33 ], 20:13:33 "bip": "10.250.0.254/24", 20:13:33 "hosts": [ 20:13:33 "tcp://0.0.0.0:5555", 20:13:33 "unix:///var/run/docker.sock" 20:13:33 ], 20:13:33 "mtu": 1458, 20:13:33 "selinux-enabled": true, 20:13:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:13:33 } [Pipeline] sh 20:13:33 + cat /w/workspace/undry_device-onvif-camera_PR-162/archives/cost.csv 20:13:33 + cut -d, -f6 [Pipeline] lock 20:13:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] 20:13:33 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] did not exist. Created. 20:13:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:13:33 + echo total: 0.2199999988079071 [Pipeline] stash 20:13:33 Stashed 1 file(s) [Pipeline] } 20:13:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] // lock 20:13:34 + sudo service docker restart [Pipeline] } 20:13:34 $ docker stop --time=1 5ed08570434909d3dace19f86b65fb42647f10e393b5add514b2f5991fea3a18 20:13:35 $ docker rm -f 5ed08570434909d3dace19f86b65fb42647f10e393b5add514b2f5991fea3a18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:52 provisioning config files... 20:13:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8553986445451522499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:52 ---> docker-login.sh 20:13:52 nexus3.edgexfoundry.org:10001 20:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:53 Configure a credential helper to remove this warning. See 20:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:53 20:13:53 Login Succeeded 20:13:53 nexus3.edgexfoundry.org:10002 20:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:53 Configure a credential helper to remove this warning. See 20:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:53 20:13:53 Login Succeeded 20:13:53 nexus3.edgexfoundry.org:10003 20:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:53 Configure a credential helper to remove this warning. See 20:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:53 20:13:53 Login Succeeded 20:13:53 nexus3.edgexfoundry.org:10004 20:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:54 Configure a credential helper to remove this warning. See 20:13:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:54 20:13:54 Login Succeeded 20:13:54 docker.io 20:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:54 Configure a credential helper to remove this warning. See 20:13:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:54 20:13:54 Login Succeeded 20:13:54 ---> docker-login.sh ends [Pipeline] } 20:13:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:55 ========================================================= 20:13:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:13:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:55 + 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 . 20:13:55 Sending build context to Docker daemon 14.16MB 20:13:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:13:56 Step 2/13 : FROM ${BASE} AS builder 20:13:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:13:56 b3c136eddcbf: Pulling fs layer 20:13:56 c0a3192eca97: Pulling fs layer 20:13:56 a050256f5b6f: Pulling fs layer 20:13:56 656be50a0ddc: Pulling fs layer 20:13:56 2bbca73fdf42: Pulling fs layer 20:13:56 46d945488cbd: Pulling fs layer 20:13:56 8a5474983e97: Pulling fs layer 20:13:56 329c88fbcd65: Pulling fs layer 20:13:56 46d945488cbd: Waiting 20:13:56 8a5474983e97: Waiting 20:13:56 329c88fbcd65: Waiting 20:13:56 656be50a0ddc: Waiting 20:13:56 2bbca73fdf42: Waiting 20:13:56 a050256f5b6f: Download complete 20:13:56 c0a3192eca97: Download complete 20:13:56 2bbca73fdf42: Verifying Checksum 20:13:56 2bbca73fdf42: Download complete 20:13:56 b3c136eddcbf: Verifying Checksum 20:13:56 b3c136eddcbf: Download complete 20:13:56 46d945488cbd: Verifying Checksum 20:13:56 46d945488cbd: Download complete 20:13:57 b3c136eddcbf: Pull complete 20:13:57 c0a3192eca97: Pull complete 20:13:57 329c88fbcd65: Verifying Checksum 20:13:57 329c88fbcd65: Download complete 20:13:57 a050256f5b6f: Pull complete 20:13:58 8a5474983e97: Verifying Checksum 20:13:58 8a5474983e97: Download complete 20:13:59 656be50a0ddc: Verifying Checksum 20:13:59 656be50a0ddc: Download complete 20:14:11 656be50a0ddc: Pull complete 20:14:11 2bbca73fdf42: Pull complete 20:14:11 46d945488cbd: Pull complete 20:14:18 8a5474983e97: Pull complete 20:14:19 329c88fbcd65: Pull complete 20:14:19 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:14:19 ---> ff4287adb874 20:14:19 Step 3/13 : ARG MAKE="make build" 20:14:21 ---> Running in ffc1a924cc80 20:14:21 Removing intermediate container ffc1a924cc80 20:14:21 ---> c91e1e918f23 20:14:21 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:14:21 ---> Running in 316b57a5e32a 20:14:21 Removing intermediate container 316b57a5e32a 20:14:21 ---> 2d2358500c34 20:14:21 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:14:21 ---> Running in fd6cffbd072f 20:14:21 Removing intermediate container fd6cffbd072f 20:14:21 ---> d2665fe4afae 20:14:21 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:14:21 ---> Running in 22aa5b799fa0 20:14:22 Removing intermediate container 22aa5b799fa0 20:14:22 ---> 76fd58de24c3 20:14:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:22 ---> Running in 4f670d40a37e 20:14:24 Removing intermediate container 4f670d40a37e 20:14:24 ---> 5de232d71bb4 20:14:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:24 ---> Running in 729897308cbd 20:14:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:14:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:14:26 OK: 221 MiB in 51 packages 20:14:27 Removing intermediate container 729897308cbd 20:14:27 ---> 9f3bffff80b2 20:14:27 Step 9/13 : WORKDIR /device-onvif-camera 20:14:27 ---> Running in fb712b2484c9 20:14:27 Removing intermediate container fb712b2484c9 20:14:27 ---> 769d9c7a7ff3 20:14:27 Step 10/13 : COPY go.mod vendor* ./ 20:14:28 ---> 6f4e9da4ec61 20:14:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:28 ---> Running in 7da1be40c3bb 20:15:24 Removing intermediate container 7da1be40c3bb 20:15:24 ---> fae0767a41c9 20:15:24 Step 12/13 : COPY . . 20:15:24 ---> be82abfca2a3 20:15:24 Step 13/13 : RUN ${MAKE} 20:15:24 ---> Running in b46acb229a9f 20:15:24 noop 20:15:24 Removing intermediate container b46acb229a9f 20:15:24 ---> 1b301156b9b0 20:15:24 Successfully built 1b301156b9b0 20:15:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:25 + docker inspect -f . ci-base-image-arm64 20:15:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:25 prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container 20:15:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:15:26 $ docker top f7ac128653a1643673d984dfb4c0c07578a5660b96c63b8e795835e47344f76e -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:27 + go version 20:15:27 go version go1.18.3 linux/arm64 [Pipeline] } 20:15:27 $ docker stop --time=1 f7ac128653a1643673d984dfb4c0c07578a5660b96c63b8e795835e47344f76e 20:15:29 $ docker rm -f f7ac128653a1643673d984dfb4c0c07578a5660b96c63b8e795835e47344f76e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:30 + docker inspect -f . ci-base-image-arm64 20:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:30 prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container 20:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:15:31 $ docker top 2e6bbe94a8e4fff1f01aafa15c597851edba8c00c486e5c01231f626d1d512de -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 20:15:32 + make test 20:15:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:15:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:17:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:17:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.217s coverage: 28.6% of statements 20:17:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:17:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.501s coverage: 86.5% of statements 20:17:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:17:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:17:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:17:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:17:49 ./bin/test-attribution-txt.sh [Pipeline] echo 20:17:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:17:49 $ docker stop --time=1 2e6bbe94a8e4fff1f01aafa15c597851edba8c00c486e5c01231f626d1d512de 20:17:51 $ docker rm -f 2e6bbe94a8e4fff1f01aafa15c597851edba8c00c486e5c01231f626d1d512de [Pipeline] // withDockerContainer [Pipeline] sh 20:17:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:17:52 Warning: overwriting stash ‘coverage-report’ 20:17:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:17:55 + ls -al . 20:17:55 total 232 20:17:55 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 20:15 . 20:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:13 .. 20:17:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:13 .git 20:17:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:13 .github 20:17:55 -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 20:13 .gitignore 20:17:55 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 20:13 .golangci.yml 20:17:55 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 20:13 Attribution.txt 20:17:55 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 20:13 CHANGELOG.md 20:17:55 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 20:13 Dockerfile 20:17:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 20:13 GOVERNANCE.md 20:17:55 -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 20:13 Jenkinsfile 20:17:55 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 20:13 LICENSE 20:17:55 -rw-rw-r-- 1 jenkins jenkins 2703 Sep 21 20:13 Makefile 20:17:55 -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 20:13 OWNERS.md 20:17:55 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 20:13 README.md 20:17:55 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 20:11 VERSION 20:17:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:13 bin 20:17:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:13 cmd 20:17:55 -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 20:17 coverage.out 20:17:55 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 20:13 doc 20:17:55 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 20:13 go.mod 20:17:55 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 20:13 go.sum 20:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:13 internal 20:17:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:13 snap 20:17:55 -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:55 + 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=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f --label arch=arm64 --label version=0.0.0 . 20:17:56 Sending build context to Docker daemon 14.24MB 20:17:56 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:17:56 Step 2/26 : FROM ${BASE} AS builder 20:17:56 ---> 1b301156b9b0 20:17:56 Step 3/26 : ARG MAKE="make build" 20:17:56 ---> Running in ff6adb5efd0f 20:17:57 Removing intermediate container ff6adb5efd0f 20:17:57 ---> fecb2db91b5c 20:17:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:17:57 ---> Running in 3cb3e3629e46 20:17:57 Removing intermediate container 3cb3e3629e46 20:17:57 ---> 5ee40bb83f85 20:17:57 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:17:57 ---> Running in 61d3a0a85c35 20:17:58 Removing intermediate container 61d3a0a85c35 20:17:58 ---> 48038ae72564 20:17:58 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:17:58 ---> Running in 871c9e802abc 20:17:58 Removing intermediate container 871c9e802abc 20:17:58 ---> 2dbec5d92ad9 20:17:58 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:17:58 ---> Running in 65a9bcd40599 20:18:00 Removing intermediate container 65a9bcd40599 20:18:00 ---> ee0e4532ff5c 20:18:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:00 ---> Running in 86cc485bd4ac 20:18:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:18:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:18:28 OK: 221 MiB in 51 packages 20:18:28 Removing intermediate container 86cc485bd4ac 20:18:28 ---> 8a626eedccdf 20:18:28 Step 9/26 : WORKDIR /device-onvif-camera 20:18:28 ---> Running in 4650781b601d 20:18:28 Removing intermediate container 4650781b601d 20:18:28 ---> db22c6dd79a1 20:18:28 Step 10/26 : COPY go.mod vendor* ./ 20:18:28 ---> 5968503dd25b 20:18:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:28 ---> Running in ce0fe2386992 20:18:29 Removing intermediate container ce0fe2386992 20:18:29 ---> 761484af14b3 20:18:29 Step 12/26 : COPY . . 20:18:31 ---> 061de2495953 20:18:31 Step 13/26 : RUN ${MAKE} 20:18:31 ---> Running in 6b4c5ae1503e 20:18:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:20:55 Removing intermediate container 6b4c5ae1503e 20:20:55 ---> 327a3be8fefc 20:20:55 Step 14/26 : FROM alpine:3.16 20:20:55 3.16: Pulling from library/alpine 20:20:55 9b18e9b68314: Pulling fs layer 20:20:55 9b18e9b68314: Download complete 20:20:55 9b18e9b68314: Pull complete 20:20:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:20:55 Status: Downloaded newer image for alpine:3.16 20:20:55 ---> a6215f271958 20:20:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:20:55 ---> Running in 41c246ac28b1 20:20:55 Removing intermediate container 41c246ac28b1 20:20:55 ---> cab085843165 20:20:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:20:55 ---> Running in eca1ce95e0a9 20:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:20:55 (1/6) Installing dumb-init (1.2.5-r1) 20:20:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:20:55 (3/6) Installing libsodium (1.0.18-r0) 20:20:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:20:55 (5/6) Installing libzmq (4.3.4-r0) 20:20:55 (6/6) Installing zeromq (4.3.4-r0) 20:20:55 Executing busybox-1.35.0-r17.trigger 20:20:55 OK: 8 MiB in 20 packages 20:20:55 Removing intermediate container eca1ce95e0a9 20:20:55 ---> 44385d5a825a 20:20:55 Step 17/26 : WORKDIR / 20:20:55 ---> Running in 869322dd40e2 20:20:55 Removing intermediate container 869322dd40e2 20:20:55 ---> 18a5d06f483b 20:20:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:20:55 ---> 53c588921a3e 20:20:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:20:55 ---> e8d993fadaa4 20:20:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:20:55 ---> 6348b298b0d5 20:20:55 Step 21/26 : EXPOSE 59984 20:20:55 ---> Running in 1f247d8212d5 20:20:55 Removing intermediate container 1f247d8212d5 20:20:55 ---> 4c1aad704ff3 20:20:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:20:55 ---> Running in d26ac048dc43 20:20:55 Removing intermediate container d26ac048dc43 20:20:55 ---> ae9ef5e2baec 20:20:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:20:55 ---> Running in 7f5c7f6bdb49 20:20:55 Removing intermediate container 7f5c7f6bdb49 20:20:55 ---> 27dac58a8149 20:20:55 Step 24/26 : LABEL arch=arm64 20:20:55 ---> Running in 4945ad481abb 20:20:55 Removing intermediate container 4945ad481abb 20:20:55 ---> ab4b0fa9baaa 20:20:55 Step 25/26 : LABEL git_sha=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f 20:20:55 ---> Running in 2ce32827ba2c 20:20:56 Removing intermediate container 2ce32827ba2c 20:20:56 ---> d18209d07bca 20:20:56 Step 26/26 : LABEL version=0.0.0 20:20:56 ---> Running in efe77a10671d 20:20:56 Removing intermediate container efe77a10671d 20:20:56 ---> 83ad38dd0cf6 20:20:56 [Warning] One or more build-args [ARCH] were not consumed 20:20:56 Successfully built 83ad38dd0cf6 20:20:56 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 20:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:57 20:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:57 arm64: Pulling from edgex-lftools-log-publisher 20:20:57 8998bd30e6a1: Pulling fs layer 20:20:57 04944245beec: Pulling fs layer 20:20:57 699f458cf7ca: Pulling fs layer 20:20:57 765212b225bb: Pulling fs layer 20:20:57 f23df028b6ca: Pulling fs layer 20:20:57 d65c8cfc05b1: Pulling fs layer 20:20:57 2437ff75d9bd: Pulling fs layer 20:20:57 765212b225bb: Waiting 20:20:57 f23df028b6ca: Waiting 20:20:57 d65c8cfc05b1: Waiting 20:20:57 2437ff75d9bd: Waiting 20:20:57 04944245beec: Verifying Checksum 20:20:57 04944245beec: Download complete 20:20:57 765212b225bb: Verifying Checksum 20:20:57 765212b225bb: Download complete 20:20:57 f23df028b6ca: Download complete 20:20:57 d65c8cfc05b1: Verifying Checksum 20:20:57 d65c8cfc05b1: Download complete 20:20:57 699f458cf7ca: Verifying Checksum 20:20:57 699f458cf7ca: Download complete 20:20:58 8998bd30e6a1: Verifying Checksum 20:20:58 8998bd30e6a1: Download complete 20:21:00 2437ff75d9bd: Verifying Checksum 20:21:00 2437ff75d9bd: Download complete 20:21:02 8998bd30e6a1: Pull complete 20:21:02 04944245beec: Pull complete 20:21:03 699f458cf7ca: Pull complete 20:21:04 765212b225bb: Pull complete 20:21:04 f23df028b6ca: Pull complete 20:21:05 d65c8cfc05b1: Pull complete 20:21:20 2437ff75d9bd: Pull complete 20:21:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:21:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:21:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:20 prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container 20:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:21:22 $ docker top 89147a6c8524924d05f12178d8412e9574e0f7534859dc42857256abf4acc4c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:23 ---> job-cost.sh 20:21:23 lf-activate-venv: SKIPPING 20:21:23 INFO: No Stack... 20:21:24 INFO: Retrieving Pricing Info for: v3-standard-4 20:21:25 INFO: Archiving Costs [Pipeline] sh 20:21:25 + cut -d, -f6 20:21:25 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 20:21:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] 20:21:25 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] did not exist. Created. 20:21:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:21:26 /w/workspace/device-onvif-camera/1@tmp/durable-271be3e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:21:26 + echo total: 0.10999999940395355 [Pipeline] stash 20:21:26 Warning: overwriting stash ‘stack-cost’ 20:21:26 Stashed 1 file(s) [Pipeline] } 20:21:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:21:26 $ docker stop --time=1 89147a6c8524924d05f12178d8412e9574e0f7534859dc42857256abf4acc4c5 20:21:28 $ docker rm -f 89147a6c8524924d05f12178d8412e9574e0f7534859dc42857256abf4acc4c5 [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 20:21:29 provisioning config files... 20:21:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config17155276994467627311tmp [Pipeline] { [Pipeline] sh 20:21:29 + set +x 20:21:29 + curl -s https://codecov.io/bash 20:21:29 + bash -s -- 20:21:29 20:21:29 _____ _ 20:21:29 / ____| | | 20:21:29 | | ___ __| | ___ ___ _____ __ 20:21:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:21:29 | |___| (_) | (_| | __/ (_| (_) \ V / 20:21:29 \_____\___/ \__,_|\___|\___\___/ \_/ 20:21:29 Bash-1.0.6 20:21:29 20:21:29 20:21:29 ==> git version 2.25.1 found 20:21:29 ==> 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 20:21:29 Release-Date: 2020-01-08 20:21:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:21:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:21:29 ==> Jenkins CI detected. 20:21:29 current dir:  /w/workspace/undry_device-onvif-camera_PR-162 20:21:29 project root: . 20:21:29 --> token set from env 20:21:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:21:29 ==> Running gcov in . (disable via -X gcov) 20:21:29 ==> Python coveragepy not found 20:21:29 ==> Searching for coverage reports in: 20:21:29 + . 20:21:29 -> Found 1 reports 20:21:29 ==> Detecting git/mercurial file structure 20:21:29 ==> Reading reports 20:21:29 + ./coverage.out bytes=79818 20:21:29 ==> Appending adjustments 20:21:29 https://docs.codecov.io/docs/fixing-reports 20:21:29 + Found adjustments 20:21:29 ==> Gzipping contents 20:21:29 12K /tmp/codecov.laiZr6.gz 20:21:29 ==> Uploading reports 20:21:29 url: https://codecov.io 20:21:29 query: branch=PR-162&commit=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=162&job=&cmd_args= 20:21:29 -> Pinging Codecov 20:21:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-162&commit=13e3a24582a5b40a5cbcd28dc5de342f4d74b90f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=162&job=&cmd_args= 20:21:30 -> Uploading to 20:21:30 https://storage.googleapis.com/codecov/v4/raw/2022-09-21/F29A59C45E3A92E06B3E522C9905F8EF/13e3a24582a5b40a5cbcd28dc5de342f4d74b90f/8900f257-aa2f-4d90-b076-1b61b42174e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T202130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6efbad623ea87665522eea18314934826aa8d6fd8fc4633d4133136e2509560 20:21:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:21:30 Dload Upload Total Spent Left Speed 20:21:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10926 0 0 100 10926 0 48345 --:--:-- --:--:-- --:--:-- 48345 20:21:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/13e3a24582a5b40a5cbcd28dc5de342f4d74b90f [Pipeline] } 20:21:30 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 20:21:32 + [ -d /w/workspace/undry_device-onvif-camera_PR-162/archives ] 20:21:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-162/archives 20:21:32 total 16 20:21:32 drwxr-xr-x 3 root root 4096 Sep 21 20:13 . 20:21:32 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:13 .. 20:21:32 drwxr-xr-x 2 root root 4096 Sep 21 20:13 cost 20:21:32 -rw-r--r-- 1 root root 91 Sep 21 20:13 cost.csv 20:21:32 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-162/archives 20:21:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-162/archives 20:21:32 total 16 20:21:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 20:13 . 20:21:32 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:13 .. 20:21:32 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 20:13 cost 20:21:32 -rw-r--r-- 1 jenkins jenkins 91 Sep 21 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:21:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:21:33 ---> package-listing.sh 20:21:33 ++ facter osfamily 20:21:33 ++ tr '[:upper:]' '[:lower:]' 20:21:33 + OS_FAMILY=debian 20:21:33 + workspace=/w/workspace/undry_device-onvif-camera_PR-162 20:21:33 + START_PACKAGES=/tmp/packages_start.txt 20:21:33 + END_PACKAGES=/tmp/packages_end.txt 20:21:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:21:33 + PACKAGES=/tmp/packages_start.txt 20:21:33 + '[' /w/workspace/undry_device-onvif-camera_PR-162 ']' 20:21:33 + PACKAGES=/tmp/packages_end.txt 20:21:33 + case "${OS_FAMILY}" in 20:21:33 + dpkg -l 20:21:33 + grep '^ii' 20:21:33 + '[' -f /tmp/packages_start.txt ']' 20:21:33 + '[' -f /tmp/packages_end.txt ']' 20:21:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:21:33 + '[' /w/workspace/undry_device-onvif-camera_PR-162 ']' 20:21:33 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-162/archives/ 20:21:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-162/archives/ [Pipeline] echo 20:21:33 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-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:21:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:34 prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container 20:21:34 $ 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-162/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-162 -v /w/workspace/undry_device-onvif-camera_PR-162:/w/workspace/undry_device-onvif-camera_PR-162:rw,z -v /w/workspace/undry_device-onvif-camera_PR-162@tmp:/w/workspace/undry_device-onvif-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:21:35 $ docker top f3fe483163679af67cf568a4a700e8fdd11853fcab0378db08baeadcdc9ceade -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:35 + touch /tmp/pre-build-complete [Pipeline] sh 20:21:35 + mkdir -p /var/log/sysstat [Pipeline] sh 20:21:36 + ls /var/log/sa-host 20:21:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:36 provisioning config files... 20:21:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-162@tmp/config6952624081465695097tmp [Pipeline] { [Pipeline] echo 20:21:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:21:36 ---> create-netrc.sh [Pipeline] } 20:21:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:21:37 ---> python-tools-install.sh [Pipeline] echo 20:21:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:21:37 ---> sudo-logs.sh 20:21:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:21:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:21:37 ---> job-cost.sh 20:21:37 lf-activate-venv: SKIPPING 20:21:37 DEBUG: total: 0.2199999988079071 20:21:37 INFO: Retrieving Stack Cost... 20:21:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:21:38 INFO: Archiving Costs [Pipeline] echo 20:21:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:21:39 ---> logs-deploy.sh 20:21:39 lf-activate-venv: SKIPPING 20:21:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-162/1 20:21:39 INFO: archiving workspace using pattern(s): 20:21:39 Archives upload complete. 20:21:40 INFO: archiving logs to Nexus