Pull request #198 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9ddb55698a7633c438de50c0f2ff12b310139c8d rather than 6b2260381b7e090761577ff087802e67c95127bf Obtained Jenkinsfile from 9ddb55698a7633c438de50c0f2ff12b310139c8d 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-ssh17661128266898120028.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5835086021970056453.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-198/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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7687005064778423334.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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12990837280561834419.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4406716043345656555.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-198/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-198/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11312629155709080486.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118952 in /w/workspace/undry_device-onvif-camera_PR-198 [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-198 # 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 Merging remotes/origin/main commit 9ddb55698a7633c438de50c0f2ff12b310139c8d into PR head commit 6b2260381b7e090761577ff087802e67c95127bf Merge succeeded, producing 6b2260381b7e090761577ff087802e67c95127bf Checking out Revision 6b2260381b7e090761577ff087802e67c95127bf (PR-198) > 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/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b2260381b7e090761577ff087802e67c95127bf # 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 9ddb55698a7633c438de50c0f2ff12b310139c8d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b2260381b7e090761577ff087802e67c95127bf # timeout=10 Commit message: "docs: bump swagger generator version to 2.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:21:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:21:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:21:29 ========================================================= 17:21:29 EdgeX Global Pipelines Version Info 17:21:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:21:29 ------------------- 17:21:29 stable info: 17:21:29 ------------------- 17:21:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:29 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:21:29 Message: update stable to v1.0.244 17:21:30 ------------------- 17:21:30 experimental info: 17:21:30 ------------------- 17:21:30 Commited By: **** collab-it+edgex@linuxfoundation.org 17:21:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:21:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:21:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b2260381b7e090761577ff087802e67c95127bf [Pipeline] echo 17:21:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b22603 [Pipeline] echo 17:21:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:32 provisioning config files... 17:21:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-198@tmp/config12213382835989928874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:32 ---> docker-login.sh 17:21:32 nexus3.edgexfoundry.org:10001 17:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:32 Configure a credential helper to remove this warning. See 17:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:32 17:21:32 Login Succeeded 17:21:32 nexus3.edgexfoundry.org:10002 17:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:32 Configure a credential helper to remove this warning. See 17:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:32 17:21:32 Login Succeeded 17:21:32 nexus3.edgexfoundry.org:10003 17:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:32 Configure a credential helper to remove this warning. See 17:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:32 17:21:32 Login Succeeded 17:21:32 nexus3.edgexfoundry.org:10004 17:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:33 Configure a credential helper to remove this warning. See 17:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:33 17:21:33 Login Succeeded 17:21:33 docker.io 17:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:33 Configure a credential helper to remove this warning. See 17:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:33 17:21:33 Login Succeeded 17:21:33 ---> docker-login.sh ends [Pipeline] } 17:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:21:34 + git rev-list -1 --merges 6b2260381b7e090761577ff087802e67c95127bf~1..6b2260381b7e090761577ff087802e67c95127bf [Pipeline] echo 17:21:34 -----------> git rev-list -1 --merges 6b2260381b7e090761577ff087802e67c95127bf~1..6b2260381b7e090761577ff087802e67c95127bf 6b2260381b7e090761577ff087802e67c95127bf [false] [Pipeline] sh 17:21:34 + git log --format=format:%s -1 6b2260381b7e090761577ff087802e67c95127bf [Pipeline] echo 17:21:34 ========================================================= 17:21:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:21:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:35 + git log --format=format:%s -1 6b2260381b7e090761577ff087802e67c95127bf [Pipeline] echo 17:21:35 [semverPrep] GIT_COMMIT: 6b2260381b7e090761577ff087802e67c95127bf, Commit Message: docs: bump swagger generator version to 2.3.0 [Pipeline] echo 17:21:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:21:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:21:35 + grep -v github /etc/ssh/ssh_known_hosts 17:21:35 + [ -e /tmp/ssh_known_hosts ] 17:21:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:21:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:21:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:21:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:35 17:21:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:36 0.1.4: Pulling from edgex-devops/py-git-semver 17:21:36 b85a868b505f: Pulling fs layer 17:21:36 e2be974225ed: Pulling fs layer 17:21:36 339a4e72a1f5: Pulling fs layer 17:21:36 988bab9f4d93: Pulling fs layer 17:21:36 1469e6f7b9e6: Pulling fs layer 17:21:36 eaf3925da568: Pulling fs layer 17:21:36 bab4dde63d76: Pulling fs layer 17:21:36 bde34c3a00c8: Pulling fs layer 17:21:36 b352a97aabf1: Pulling fs layer 17:21:36 4872d77fe225: Pulling fs layer 17:21:36 5851b861e8e6: Pulling fs layer 17:21:36 5851b861e8e6: Waiting 17:21:36 bde34c3a00c8: Waiting 17:21:36 eaf3925da568: Waiting 17:21:36 b352a97aabf1: Waiting 17:21:36 bab4dde63d76: Waiting 17:21:36 4872d77fe225: Waiting 17:21:36 1469e6f7b9e6: Waiting 17:21:36 988bab9f4d93: Waiting 17:21:36 e2be974225ed: Verifying Checksum 17:21:36 e2be974225ed: Download complete 17:21:36 988bab9f4d93: Verifying Checksum 17:21:36 988bab9f4d93: Download complete 17:21:36 1469e6f7b9e6: Verifying Checksum 17:21:36 1469e6f7b9e6: Download complete 17:21:36 339a4e72a1f5: Verifying Checksum 17:21:36 339a4e72a1f5: Download complete 17:21:36 eaf3925da568: Verifying Checksum 17:21:36 eaf3925da568: Download complete 17:21:36 bde34c3a00c8: Download complete 17:21:36 b352a97aabf1: Verifying Checksum 17:21:36 b352a97aabf1: Download complete 17:21:36 4872d77fe225: Verifying Checksum 17:21:36 4872d77fe225: Download complete 17:21:36 5851b861e8e6: Download complete 17:21:36 b85a868b505f: Download complete 17:21:36 bab4dde63d76: Verifying Checksum 17:21:36 bab4dde63d76: Download complete 17:21:37 b85a868b505f: Pull complete 17:21:38 e2be974225ed: Pull complete 17:21:38 339a4e72a1f5: Pull complete 17:21:38 988bab9f4d93: Pull complete 17:21:39 1469e6f7b9e6: Pull complete 17:21:39 eaf3925da568: Pull complete 17:21:40 bab4dde63d76: Pull complete 17:21:40 bde34c3a00c8: Pull complete 17:21:41 b352a97aabf1: Pull complete 17:21:41 4872d77fe225: Pull complete 17:21:41 5851b861e8e6: Pull complete 17:21:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:41 prd-ubuntu20.04-docker-8c-8g-118952 does not seem to be running inside a container 17:21:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-198 -v /w/workspace/undry_device-onvif-camera_PR-198:/w/workspace/undry_device-onvif-camera_PR-198:rw,z -v /w/workspace/undry_device-onvif-camera_PR-198@tmp:/w/workspace/undry_device-onvif-camera_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:21:42 $ docker top 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba -eo pid,comm 17:21:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:21:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:21:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:42 [ssh-agent] Looking for ssh-agent implementation... 17:21:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:43 $ docker exec 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba ssh-agent 17:21:43 SSH_AUTH_SOCK=/tmp/ssh-k6eojDE2f3En/agent.32 17:21:43 SSH_AGENT_PID=38 17:21:43 Running ssh-add (command line suppressed) 17:21:43 Identity added: /w/workspace/undry_device-onvif-camera_PR-198@tmp/private_key_10022882716587820691.key (/w/workspace/undry_device-onvif-camera_PR-198@tmp/private_key_10022882716587820691.key) 17:21:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:43 + git tag --points-at HEAD [Pipeline] } 17:21:43 $ docker exec --env ******** --env ******** 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba ssh-agent -k 17:21:43 unset SSH_AUTH_SOCK; 17:21:43 unset SSH_AGENT_PID; 17:21:43 echo Agent pid 38 killed; 17:21:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:21:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:43 [ssh-agent] Looking for ssh-agent implementation... 17:21:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:44 $ docker exec 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba ssh-agent 17:21:44 SSH_AUTH_SOCK=/tmp/ssh-DYPtt3CFCW5E/agent.70 17:21:44 SSH_AGENT_PID=76 17:21:44 Running ssh-add (command line suppressed) 17:21:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-198@tmp/private_key_9529539436393658537.key (/w/workspace/undry_device-onvif-camera_PR-198@tmp/private_key_9529539436393658537.key) 17:21:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:44 + git semver init 17:21:44 2022-11-10 17:21:44,864 [run_init] DEBUG init version:0.0.0 force:False 17:21:44 2022-11-10 17:21:44,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-198/.semver 17:21:44 2022-11-10 17:21:44,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-198/.semver 17:21:44 2022-11-10 17:21:44,866 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-198/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-198, universal_newlines=False, shell=None, istream=None) 17:21:46 2022-11-10 17:21:46,060 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-198/.git/info/exclude 17:21:46 2022-11-10 17:21:46,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-198/.semver/PR-198 with force:False 17:21:46 2022-11-10 17:21:46,060 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-198/.semver/PR-198 17:21:46 2022-11-10 17:21:46,065 [execute] INFO git cat-file --batch-check 17:21:46 2022-11-10 17:21:46,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-198/.semver, universal_newlines=False, shell=None, istream=) 17:21:46 2022-11-10 17:21:46,072 [execute] INFO git cat-file --batch 17:21:46 2022-11-10 17:21:46,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-198/.semver, universal_newlines=False, shell=None, istream=) 17:21:46 2022-11-10 17:21:46,078 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-198/.semver/PR-198 17:21:46 0.0.0 [Pipeline] } 17:21:46 $ docker exec --env ******** --env ******** 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba ssh-agent -k 17:21:46 unset SSH_AUTH_SOCK; 17:21:46 unset SSH_AGENT_PID; 17:21:46 echo Agent pid 76 killed; 17:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:21:46 + git semver [Pipeline] } 17:21:47 $ docker stop --time=1 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba 17:21:48 $ docker rm -f 58164bc7bdf5d9e5bf10d94fe72836ca285df3e0df091fcff2ac6bb587a14aba [Pipeline] // withDockerContainer [Pipeline] sh 17:21:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:21:49 Stashed 1 file(s) [Pipeline] echo 17:21:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:49 provisioning config files... 17:21:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-198@tmp/config7239823995078239380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:50 ---> docker-login.sh 17:21:50 nexus3.edgexfoundry.org:10001 17:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:50 Configure a credential helper to remove this warning. See 17:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:50 17:21:50 Login Succeeded 17:21:50 nexus3.edgexfoundry.org:10002 17:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:50 Configure a credential helper to remove this warning. See 17:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:50 17:21:50 Login Succeeded 17:21:50 nexus3.edgexfoundry.org:10003 17:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:50 Configure a credential helper to remove this warning. See 17:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:50 17:21:50 Login Succeeded 17:21:50 nexus3.edgexfoundry.org:10004 17:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:50 Configure a credential helper to remove this warning. See 17:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:50 17:21:50 Login Succeeded 17:21:50 docker.io 17:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:50 Configure a credential helper to remove this warning. See 17:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:50 17:21:50 Login Succeeded 17:21:50 ---> docker-login.sh ends [Pipeline] } 17:21:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:21:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:51 ========================================================= 17:21:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:21:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:21:51 Sending build context to Docker daemon 27.53MB 17:21:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:21:51 Step 2/13 : FROM ${BASE} AS builder 17:21:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:21:51 213ec9aee27d: Pulling fs layer 17:21:51 4583459ba037: Pulling fs layer 17:21:51 93c1e223e6f2: Pulling fs layer 17:21:51 53926ce57604: Pulling fs layer 17:21:51 21b2b0c7a3f4: Pulling fs layer 17:21:51 22ff95d597cd: Pulling fs layer 17:21:51 12d6caf4c0d1: Pulling fs layer 17:21:51 96b7cbca73a9: Pulling fs layer 17:21:51 a7acece74701: Pulling fs layer 17:21:51 53926ce57604: Waiting 17:21:51 21b2b0c7a3f4: Waiting 17:21:51 22ff95d597cd: Waiting 17:21:51 12d6caf4c0d1: Waiting 17:21:51 96b7cbca73a9: Waiting 17:21:51 a7acece74701: Waiting 17:21:51 93c1e223e6f2: Verifying Checksum 17:21:51 93c1e223e6f2: Download complete 17:21:51 4583459ba037: Verifying Checksum 17:21:51 4583459ba037: Download complete 17:21:51 21b2b0c7a3f4: Verifying Checksum 17:21:51 21b2b0c7a3f4: Download complete 17:21:51 22ff95d597cd: Verifying Checksum 17:21:51 22ff95d597cd: Download complete 17:21:51 213ec9aee27d: Verifying Checksum 17:21:51 12d6caf4c0d1: Download complete 17:21:52 213ec9aee27d: Pull complete 17:21:52 4583459ba037: Pull complete 17:21:52 93c1e223e6f2: Pull complete 17:21:52 a7acece74701: Verifying Checksum 17:21:52 96b7cbca73a9: Verifying Checksum 17:21:52 96b7cbca73a9: Download complete 17:21:52 53926ce57604: Verifying Checksum 17:21:52 53926ce57604: Download complete 17:21:56 53926ce57604: Pull complete 17:21:56 21b2b0c7a3f4: Pull complete 17:21:56 22ff95d597cd: Pull complete 17:21:56 12d6caf4c0d1: Pull complete 17:21:58 96b7cbca73a9: Pull complete 17:21:59 a7acece74701: Pull complete 17:21:59 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:21:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:21:59 ---> db6d94c90886 17:21:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:22:01 ---> Running in 465922729bd9 17:22:01 Removing intermediate container 465922729bd9 17:22:01 ---> fcbb7d421dff 17:22:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:01 ---> Running in af8a377350fd 17:22:01 Removing intermediate container af8a377350fd 17:22:01 ---> 849344c5a822 17:22:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:22:01 ---> Running in 9d2539c80838 17:22:01 Removing intermediate container 9d2539c80838 17:22:01 ---> 0844989d30a6 17:22:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:22:01 ---> Running in ce24aec2635c 17:22:01 Removing intermediate container ce24aec2635c 17:22:01 ---> 1a9569ec8a51 17:22:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:22:01 ---> Running in 2ffbd33ba997 17:22:02 Removing intermediate container 2ffbd33ba997 17:22:02 ---> 3092f0ba401d 17:22:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:02 ---> Running in 1cd2ee98d3a7 17:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:22:02 OK: 211 MiB in 51 packages 17:22:03 Removing intermediate container 1cd2ee98d3a7 17:22:03 ---> 10ba539d621f 17:22:03 Step 9/13 : WORKDIR /device-onvif-camera 17:22:03 ---> Running in a0089251a807 17:22:03 Removing intermediate container a0089251a807 17:22:03 ---> 46918bc64ee3 17:22:03 Step 10/13 : COPY go.mod vendor* ./ 17:22:03 ---> 0fee3206cda6 17:22:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:03 ---> Running in d7235fb6ef03 17:22:04 Still waiting to schedule task 17:22:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:22:30 Removing intermediate container d7235fb6ef03 17:22:30 ---> 7aefb73a1c19 17:22:30 Step 12/13 : COPY . . 17:22:30 ---> 12756cc010ce 17:22:30 Step 13/13 : RUN ${MAKE} 17:22:30 ---> Running in 97651b1e07ee 17:22:30 noop 17:22:30 Removing intermediate container 97651b1e07ee 17:22:30 ---> 89de1a33e142 17:22:30 Successfully built 89de1a33e142 17:22:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:30 + docker inspect -f . ci-base-image-x86_64 17:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:30 prd-ubuntu20.04-docker-8c-8g-118952 does not seem to be running inside a container 17:22:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-198 -v /w/workspace/undry_device-onvif-camera_PR-198:/w/workspace/undry_device-onvif-camera_PR-198:rw,z -v /w/workspace/undry_device-onvif-camera_PR-198@tmp:/w/workspace/undry_device-onvif-camera_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:22:31 $ docker top 21d90dbc2ea6ff5af89cae144c2e4ea5273fe062697bdaf35d80a4087e7c7d15 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:31 + go version 17:22:31 go version go1.18.7 linux/amd64 [Pipeline] } 17:22:31 $ docker stop --time=1 21d90dbc2ea6ff5af89cae144c2e4ea5273fe062697bdaf35d80a4087e7c7d15 17:22:32 $ docker rm -f 21d90dbc2ea6ff5af89cae144c2e4ea5273fe062697bdaf35d80a4087e7c7d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:33 + docker inspect -f . ci-base-image-x86_64 17:22:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:33 prd-ubuntu20.04-docker-8c-8g-118952 does not seem to be running inside a container 17:22:33 $ 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-198 -v /w/workspace/undry_device-onvif-camera_PR-198:/w/workspace/undry_device-onvif-camera_PR-198:rw,z -v /w/workspace/undry_device-onvif-camera_PR-198@tmp:/w/workspace/undry_device-onvif-camera_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:22:33 $ docker top 7ddf514c36461629e97fc12fbcd3cbb8d5f6fe63f7185fa03f3b3ab09fa90dd4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:34 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-198 [Pipeline] fileExists [Pipeline] sh 17:22:34 + make test 17:22:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:22:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:22:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:22:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements 17:22:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:22:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.491s coverage: 86.5% of statements 17:22:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:22:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:23:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:01 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:01 $ docker stop --time=1 7ddf514c36461629e97fc12fbcd3cbb8d5f6fe63f7185fa03f3b3ab09fa90dd4 17:23:03 $ docker rm -f 7ddf514c36461629e97fc12fbcd3cbb8d5f6fe63f7185fa03f3b3ab09fa90dd4 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:23:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:05 + ls -al . 17:23:05 total 248 17:23:05 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 17:22 . 17:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 17:21 .. 17:23:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 17:22 .git 17:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 17:21 .github 17:23:05 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 17:21 .gitignore 17:23:05 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 17:21 .golangci.yml 17:23:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 17:21 .semver 17:23:05 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 17:21 Attribution.txt 17:23:05 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 17:21 CHANGELOG.md 17:23:05 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 17:21 Dockerfile 17:23:05 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 17:21 GOVERNANCE.md 17:23:05 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 17:21 Jenkinsfile 17:23:05 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 17:21 LICENSE 17:23:05 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 17:21 Makefile 17:23:05 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 17:21 OWNERS.md 17:23:05 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 17:21 README.md 17:23:05 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 17:21 VERSION 17:23:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 17:21 bin 17:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 17:21 cmd 17:23:05 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 17:22 coverage.out 17:23:05 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 17:21 doc 17:23:05 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 17:21 go.mod 17:23:05 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 17:21 go.sum 17:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 17:21 internal 17:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 17:21 snap 17:23:05 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:05 + 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=6b2260381b7e090761577ff087802e67c95127bf --label arch=amd64 --label version=0.0.0 . 17:23:05 Sending build context to Docker daemon 27.61MB 17:23:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:23:05 Step 2/26 : FROM ${BASE} AS builder 17:23:05 ---> 89de1a33e142 17:23:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:23:05 ---> Running in 27f9612858b6 17:23:05 Removing intermediate container 27f9612858b6 17:23:05 ---> 0b9b1ac757f2 17:23:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:05 ---> Running in f168675bd1e2 17:23:06 Removing intermediate container f168675bd1e2 17:23:06 ---> 3a231101a47d 17:23:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:23:06 ---> Running in 9afccd14e5ad 17:23:06 Removing intermediate container 9afccd14e5ad 17:23:06 ---> bd89742b3c3f 17:23:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:23:06 ---> Running in e5f9c193f6c0 17:23:06 Removing intermediate container e5f9c193f6c0 17:23:06 ---> 2dce06719f45 17:23:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:23:06 ---> Running in 86e2c3cd4e71 17:23:06 Removing intermediate container 86e2c3cd4e71 17:23:06 ---> 973f72dc7340 17:23:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:06 ---> Running in 0e325ee641a3 17:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:07 OK: 211 MiB in 51 packages 17:23:07 Removing intermediate container 0e325ee641a3 17:23:07 ---> c6138f564d86 17:23:07 Step 9/26 : WORKDIR /device-onvif-camera 17:23:07 ---> Running in 29c760a53311 17:23:07 Removing intermediate container 29c760a53311 17:23:07 ---> 1a5a11089280 17:23:07 Step 10/26 : COPY go.mod vendor* ./ 17:23:07 ---> d6a7873f3418 17:23:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:07 ---> Running in d37f504ef664 17:23:08 Removing intermediate container d37f504ef664 17:23:08 ---> 67295771a253 17:23:08 Step 12/26 : COPY . . 17:23:09 ---> 08d6adefa94c 17:23:09 Step 13/26 : RUN ${MAKE} 17:23:09 ---> Running in 9237bb868604 17:23:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:23:31 Removing intermediate container 9237bb868604 17:23:31 ---> 0ac2d14416a8 17:23:31 Step 14/26 : FROM alpine:3.16 17:23:31 3.16: Pulling from library/alpine 17:23:31 213ec9aee27d: Already exists 17:23:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:23:31 Status: Downloaded newer image for alpine:3.16 17:23:31 ---> 9c6f07244728 17:23:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:23:31 ---> Running in b87ed9c5f560 17:23:31 Removing intermediate container b87ed9c5f560 17:23:31 ---> 8847f1ae9679 17:23:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:23:31 ---> Running in 29e384a36d31 17:23:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:31 (1/6) Installing dumb-init (1.2.5-r1) 17:23:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:23:31 (3/6) Installing libsodium (1.0.18-r0) 17:23:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:23:31 (5/6) Installing libzmq (4.3.4-r0) 17:23:31 (6/6) Installing zeromq (4.3.4-r0) 17:23:31 Executing busybox-1.35.0-r17.trigger 17:23:31 OK: 8 MiB in 20 packages 17:23:32 Removing intermediate container 29e384a36d31 17:23:32 ---> b71674c2a1ee 17:23:32 Step 17/26 : WORKDIR / 17:23:32 ---> Running in 93253606a98f 17:23:32 Removing intermediate container 93253606a98f 17:23:32 ---> 5783a9208912 17:23:32 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:23:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118953 in /w/workspace/undry_device-onvif-camera_PR-198 [Pipeline] { [Pipeline] ws 17:23:32 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 17:23:32 The recommended git tool is: git 17:23:32 ---> cf39a8ff9a96 17:23:32 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:23:32 ---> ee75e67115b1 17:23:32 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:23:32 ---> 4488b4d2a39b 17:23:32 Step 21/26 : EXPOSE 59984 17:23:33 ---> Running in 4900794d90db 17:23:33 Removing intermediate container 4900794d90db 17:23:33 ---> 914ed8330467 17:23:33 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:23:33 ---> Running in db527e69e7ea 17:23:33 Removing intermediate container db527e69e7ea 17:23:33 ---> ed32e4ab4a90 17:23:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:23:33 ---> Running in 09f864e1b468 17:23:33 Removing intermediate container 09f864e1b468 17:23:33 ---> 6da3a18cd448 17:23:33 Step 24/26 : LABEL arch=amd64 17:23:33 ---> Running in 6348248cb900 17:23:33 Removing intermediate container 6348248cb900 17:23:33 ---> 31e9460a7acd 17:23:33 Step 25/26 : LABEL git_sha=6b2260381b7e090761577ff087802e67c95127bf 17:23:33 ---> Running in 4128a3a06226 17:23:33 Removing intermediate container 4128a3a06226 17:23:33 ---> 87fd0d902f4f 17:23:33 Step 26/26 : LABEL version=0.0.0 17:23:33 ---> Running in 7737821f59e6 17:23:33 Removing intermediate container 7737821f59e6 17:23:33 ---> ce96631ffcac 17:23:33 [Warning] One or more build-args [ARCH] were not consumed 17:23:33 Successfully built ce96631ffcac 17:23:33 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:34 17:23:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:34 latest: Pulling from edgex-lftools-log-publisher 17:23:34 5eb5b503b376: Pulling fs layer 17:23:34 5c69ac0246d0: Pulling fs layer 17:23:34 ec43610c2a17: Pulling fs layer 17:23:34 3a2ae6a8a46f: Pulling fs layer 17:23:34 33b1e0a273af: Pulling fs layer 17:23:34 5d3b04190fa2: Pulling fs layer 17:23:34 2f39f015ded8: Pulling fs layer 17:23:34 3a2ae6a8a46f: Waiting 17:23:34 33b1e0a273af: Waiting 17:23:34 5d3b04190fa2: Waiting 17:23:34 2f39f015ded8: Waiting 17:23:34 5c69ac0246d0: Verifying Checksum 17:23:34 5c69ac0246d0: Download complete 17:23:34 3a2ae6a8a46f: Verifying Checksum 17:23:34 3a2ae6a8a46f: Download complete 17:23:34 33b1e0a273af: Verifying Checksum 17:23:34 33b1e0a273af: Download complete 17:23:35 5d3b04190fa2: Verifying Checksum 17:23:35 5d3b04190fa2: Download complete 17:23:35 ec43610c2a17: Verifying Checksum 17:23:35 ec43610c2a17: Download complete 17:23:35 5eb5b503b376: Verifying Checksum 17:23:35 5eb5b503b376: Download complete 17:23:35 2f39f015ded8: Verifying Checksum 17:23:35 2f39f015ded8: Download complete 17:23:36 5eb5b503b376: Pull complete 17:23:36 5c69ac0246d0: Pull complete 17:23:37 ec43610c2a17: Pull complete 17:23:37 3a2ae6a8a46f: Pull complete 17:23:37 using credential edgex-jenkins-ssh 17:23:37 Cloning the remote Git repository 17:23:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:23:37 33b1e0a273af: Pull complete 17:23:37 5d3b04190fa2: Pull complete 17:23:37 > git init /w/workspace/device-onvif-camera/1 # timeout=10 17:23:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:23:37 > git --version # timeout=10 17:23:37 > git --version # 'git version 2.25.1' 17:23:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:37 Verifying host key using known hosts file 17:23:37 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. 17:23:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:23:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:40 Merging remotes/origin/main commit 9ddb55698a7633c438de50c0f2ff12b310139c8d into PR head commit 6b2260381b7e090761577ff087802e67c95127bf 17:23:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:23:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:23:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:40 Verifying host key using known hosts file 17:23:40 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. 17:23:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:23:41 > git config core.sparsecheckout # timeout=10 17:23:41 > git checkout -f 6b2260381b7e090761577ff087802e67c95127bf # timeout=10 17:23:41 Merge succeeded, producing 6b2260381b7e090761577ff087802e67c95127bf 17:23:41 Checking out Revision 6b2260381b7e090761577ff087802e67c95127bf (PR-198) 17:23:41 > git remote # timeout=10 17:23:41 > git config --get remote.origin.url # timeout=10 17:23:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:41 Verifying host key using known hosts file 17:23:41 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. 17:23:41 > git merge 9ddb55698a7633c438de50c0f2ff12b310139c8d # timeout=10 17:23:41 > git rev-parse HEAD^{commit} # timeout=10 17:23:41 > git config core.sparsecheckout # timeout=10 17:23:41 > git checkout -f 6b2260381b7e090761577ff087802e67c95127bf # timeout=10 17:23:42 2f39f015ded8: Pull complete 17:23:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:42 prd-ubuntu20.04-docker-8c-8g-118952 does not seem to be running inside a container 17:23:42 $ 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-198 -v /w/workspace/undry_device-onvif-camera_PR-198:/w/workspace/undry_device-onvif-camera_PR-198:rw,z -v /w/workspace/undry_device-onvif-camera_PR-198@tmp:/w/workspace/undry_device-onvif-camera_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:23:44 $ docker top e1ecb753dff0e9f45a53866441bf06a8b2a28a0dac85c48e5ce193ec9d6f1b5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:45 Commit message: "docs: bump swagger generator version to 2.3.0" 17:23:45 ---> job-cost.sh 17:23:45 lf-activate-venv: SKIPPING 17:23:45 INFO: No Stack... 17:23:45 > git --version # timeout=10 17:23:45 > git --version # 'git version 2.25.1' 17:23:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:23:45 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:45 17:23:45 GitHub has been notified of this commit’s build result 17:23:45 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:46 INFO: Archiving Costs [Pipeline] sh 17:23:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:23:46 % Total % Received % Xferd Average Speed Time Time Time Current 17:23:46 Dload Upload Total Spent Left Speed 17:23:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85727 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 84577 17:23:46 + cat /w/workspace/undry_device-onvif-camera_PR-198/archives/cost.csv 17:23:46 + cut -d, -f6 [Pipeline] lock 17:23:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] 17:23:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] did not exist. Created. 17:23:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh 17:23:47 + echo total: 0.2199999988079071 [Pipeline] stash 17:23:47 Stashed 1 file(s) [Pipeline] } 17:23:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:23:47 $ docker stop --time=1 e1ecb753dff0e9f45a53866441bf06a8b2a28a0dac85c48e5ce193ec9d6f1b5b 17:23:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 17:23:48 $ docker rm -f e1ecb753dff0e9f45a53866441bf06a8b2a28a0dac85c48e5ce193ec9d6f1b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:23:48 + sudo tee /etc/docker/daemon.new 17:23:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:23:48 { 17:23:48 "registry-mirrors": [ 17:23:48 "https://nexus3.edgexfoundry.org:10001" 17:23:48 ], 17:23:48 "bip": "10.250.0.254/24", 17:23:48 "hosts": [ 17:23:48 "tcp://0.0.0.0:5555", 17:23:48 "unix:///var/run/docker.sock" 17:23:48 ], 17:23:48 "mtu": 1458, 17:23:48 "selinux-enabled": true, 17:23:48 "seccomp-profile": "/etc/docker/seccomp.json" 17:23:48 } [Pipeline] sh 17:23:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:23:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:07 provisioning config files... 17:24:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12905906936644593166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:08 ---> docker-login.sh 17:24:08 nexus3.edgexfoundry.org:10001 17:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:08 Configure a credential helper to remove this warning. See 17:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:08 17:24:08 Login Succeeded 17:24:08 nexus3.edgexfoundry.org:10002 17:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:09 Configure a credential helper to remove this warning. See 17:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:09 17:24:09 Login Succeeded 17:24:09 nexus3.edgexfoundry.org:10003 17:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:09 Configure a credential helper to remove this warning. See 17:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:09 17:24:09 Login Succeeded 17:24:09 nexus3.edgexfoundry.org:10004 17:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:09 Configure a credential helper to remove this warning. See 17:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:09 17:24:09 Login Succeeded 17:24:09 docker.io 17:24:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:10 Configure a credential helper to remove this warning. See 17:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:10 17:24:10 Login Succeeded 17:24:10 ---> docker-login.sh ends [Pipeline] } 17:24:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:24:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:10 ========================================================= 17:24:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:24:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:24:11 Sending build context to Docker daemon 20.46MB 17:24:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:24:11 Step 2/13 : FROM ${BASE} AS builder 17:24:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:24:11 9b18e9b68314: Pulling fs layer 17:24:11 35d82f9e3411: Pulling fs layer 17:24:11 e16973657156: Pulling fs layer 17:24:11 fc693d55d65f: Pulling fs layer 17:24:11 7e9fc2657dce: Pulling fs layer 17:24:11 dda99020689f: Pulling fs layer 17:24:11 db1c61fa0a46: Pulling fs layer 17:24:11 891c053d2c06: Pulling fs layer 17:24:11 7e9fc2657dce: Waiting 17:24:11 dda99020689f: Waiting 17:24:11 db1c61fa0a46: Waiting 17:24:11 891c053d2c06: Waiting 17:24:11 e16973657156: Download complete 17:24:11 35d82f9e3411: Verifying Checksum 17:24:11 35d82f9e3411: Download complete 17:24:12 7e9fc2657dce: Verifying Checksum 17:24:12 7e9fc2657dce: Download complete 17:24:12 dda99020689f: Verifying Checksum 17:24:12 dda99020689f: Download complete 17:24:12 9b18e9b68314: Verifying Checksum 17:24:13 9b18e9b68314: Pull complete 17:24:13 891c053d2c06: Verifying Checksum 17:24:13 891c053d2c06: Download complete 17:24:13 35d82f9e3411: Pull complete 17:24:13 e16973657156: Pull complete 17:24:14 db1c61fa0a46: Verifying Checksum 17:24:14 db1c61fa0a46: Download complete 17:24:14 fc693d55d65f: Verifying Checksum 17:24:14 fc693d55d65f: Download complete 17:24:27 fc693d55d65f: Pull complete 17:24:27 7e9fc2657dce: Pull complete 17:24:27 dda99020689f: Pull complete 17:24:32 db1c61fa0a46: Pull complete 17:24:33 891c053d2c06: Pull complete 17:24:33 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:24:33 ---> f96f9c87975a 17:24:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:24:35 ---> Running in e9af5f2968a0 17:24:36 Removing intermediate container e9af5f2968a0 17:24:36 ---> e8c26f1b98a0 17:24:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:24:36 ---> Running in 66385b20e9bc 17:24:36 Removing intermediate container 66385b20e9bc 17:24:36 ---> 385dff18ca0a 17:24:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:24:36 ---> Running in a529545647d4 17:24:36 Removing intermediate container a529545647d4 17:24:36 ---> 29f866e13cef 17:24:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:24:36 ---> Running in 638b0d151bea 17:24:37 Removing intermediate container 638b0d151bea 17:24:37 ---> 323a3ec4c057 17:24:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:24:37 ---> Running in c8ad53f7f31d 17:24:37 Removing intermediate container c8ad53f7f31d 17:24:37 ---> b399c7eea14d 17:24:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:37 ---> Running in 6cbd34349783 17:24:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:24:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:24:39 OK: 221 MiB in 51 packages 17:24:40 Removing intermediate container 6cbd34349783 17:24:40 ---> 8c7987fe8013 17:24:40 Step 9/13 : WORKDIR /device-onvif-camera 17:24:40 ---> Running in b31fe546afca 17:24:40 Removing intermediate container b31fe546afca 17:24:40 ---> 57d7ac82e916 17:24:40 Step 10/13 : COPY go.mod vendor* ./ 17:24:41 ---> c88aaef2f48e 17:24:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:41 ---> Running in 8a7e6c42b8bb 17:25:37 Removing intermediate container 8a7e6c42b8bb 17:25:37 ---> e8fb0f7201e9 17:25:37 Step 12/13 : COPY . . 17:25:37 ---> 604cb754ac51 17:25:37 Step 13/13 : RUN ${MAKE} 17:25:37 ---> Running in 0365e1ecabab 17:25:37 noop 17:25:37 Removing intermediate container 0365e1ecabab 17:25:37 ---> 0e8718e7be30 17:25:37 Successfully built 0e8718e7be30 17:25:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:38 + docker inspect -f . ci-base-image-arm64 17:25:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-118953 does not seem to be running inside a container 17:25:38 $ 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 17:25:39 $ docker top c89272c132cf521f28f11b6816583c5fc9529a2d91303c5ca9ace985dddc9d59 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:40 + go version 17:25:40 go version go1.18.7 linux/arm64 [Pipeline] } 17:25:40 $ docker stop --time=1 c89272c132cf521f28f11b6816583c5fc9529a2d91303c5ca9ace985dddc9d59 17:25:42 $ docker rm -f c89272c132cf521f28f11b6816583c5fc9529a2d91303c5ca9ace985dddc9d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:43 + docker inspect -f . ci-base-image-arm64 17:25:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:43 prd-ubuntu20.04-docker-arm64-4c-16g-118953 does not seem to be running inside a container 17:25:43 $ 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 17:25:44 $ docker top 1c5aba5dc23a83337571348620b213c37fe63a136948ac0ce83c5475d8747e9c -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:45 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 17:25:45 + make test 17:25:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:25:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:27:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:27:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.202s coverage: 29.3% of statements 17:27:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:27:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.101s coverage: 86.5% of statements 17:27:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:27:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:28:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:28:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:28:04 ./bin/test-attribution-txt.sh [Pipeline] echo 17:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:28:05 $ docker stop --time=1 1c5aba5dc23a83337571348620b213c37fe63a136948ac0ce83c5475d8747e9c 17:28:07 $ docker rm -f 1c5aba5dc23a83337571348620b213c37fe63a136948ac0ce83c5475d8747e9c [Pipeline] // withDockerContainer [Pipeline] sh 17:28:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:28:08 Warning: overwriting stash ‘coverage-report’ 17:28:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:28:10 + ls -al . 17:28:10 total 244 17:28:10 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 17:25 . 17:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 17:23 .. 17:28:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 17:23 .git 17:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 17:23 .github 17:28:10 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 17:23 .gitignore 17:28:10 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 17:23 .golangci.yml 17:28:10 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 17:23 Attribution.txt 17:28:10 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 17:23 CHANGELOG.md 17:28:10 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 17:23 Dockerfile 17:28:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 17:23 GOVERNANCE.md 17:28:10 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 17:23 Jenkinsfile 17:28:10 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 17:23 LICENSE 17:28:10 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 17:23 Makefile 17:28:10 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 17:23 OWNERS.md 17:28:10 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 17:23 README.md 17:28:10 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 17:21 VERSION 17:28:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 17:23 bin 17:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 17:23 cmd 17:28:10 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 17:27 coverage.out 17:28:10 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 17:23 doc 17:28:10 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 17:23 go.mod 17:28:10 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 17:23 go.sum 17:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 17:23 internal 17:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 17:23 snap 17:28:10 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:10 + 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=6b2260381b7e090761577ff087802e67c95127bf --label arch=arm64 --label version=0.0.0 . 17:28:11 Sending build context to Docker daemon 20.54MB 17:28:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:28:11 Step 2/26 : FROM ${BASE} AS builder 17:28:11 ---> 0e8718e7be30 17:28:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:28:11 ---> Running in 6bd9ae13178d 17:28:11 Removing intermediate container 6bd9ae13178d 17:28:11 ---> 2b21997679f1 17:28:11 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:28:11 ---> Running in f78c815ba103 17:28:12 Removing intermediate container f78c815ba103 17:28:12 ---> d35783000d74 17:28:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:28:12 ---> Running in 545c3ad4509d 17:28:12 Removing intermediate container 545c3ad4509d 17:28:12 ---> a1e583914b1a 17:28:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:28:12 ---> Running in fb307bc1460a 17:28:13 Removing intermediate container fb307bc1460a 17:28:13 ---> 6a20dc8c7bec 17:28:13 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:28:13 ---> Running in 442f1aa431c6 17:28:13 Removing intermediate container 442f1aa431c6 17:28:13 ---> 2a6c7ade4425 17:28:13 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:28:13 ---> Running in 267e9fac7180 17:28:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:28:16 OK: 221 MiB in 51 packages 17:28:17 Removing intermediate container 267e9fac7180 17:28:17 ---> 29fae18a4557 17:28:17 Step 9/26 : WORKDIR /device-onvif-camera 17:28:17 ---> Running in ee73c0d965d8 17:28:17 Removing intermediate container ee73c0d965d8 17:28:17 ---> 03264e30eb59 17:28:17 Step 10/26 : COPY go.mod vendor* ./ 17:28:18 ---> eed6c363107f 17:28:18 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:18 ---> Running in 36badfea9d83 17:28:20 Removing intermediate container 36badfea9d83 17:28:20 ---> 715b8584ea84 17:28:20 Step 12/26 : COPY . . 17:28:22 ---> bd4f897d695a 17:28:22 Step 13/26 : RUN ${MAKE} 17:28:22 ---> Running in 1d01da4d4f2b 17:28:23 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:30:45 Removing intermediate container 1d01da4d4f2b 17:30:45 ---> 3bf0e8ece115 17:30:45 Step 14/26 : FROM alpine:3.16 17:30:45 3.16: Pulling from library/alpine 17:30:45 9b18e9b68314: Already exists 17:30:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:30:45 Status: Downloaded newer image for alpine:3.16 17:30:45 ---> a6215f271958 17:30:45 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:30:45 ---> Running in 4ea488e136ac 17:30:45 Removing intermediate container 4ea488e136ac 17:30:45 ---> a8dd11240f08 17:30:45 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:30:45 ---> Running in 402052717d66 17:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:45 (1/6) Installing dumb-init (1.2.5-r1) 17:30:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:30:45 (3/6) Installing libsodium (1.0.18-r0) 17:30:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:30:45 (5/6) Installing libzmq (4.3.4-r0) 17:30:45 (6/6) Installing zeromq (4.3.4-r0) 17:30:45 Executing busybox-1.35.0-r17.trigger 17:30:45 OK: 8 MiB in 20 packages 17:30:46 Removing intermediate container 402052717d66 17:30:46 ---> efb97dc2eb85 17:30:46 Step 17/26 : WORKDIR / 17:30:46 ---> Running in 2b7a37f5fad6 17:30:46 Removing intermediate container 2b7a37f5fad6 17:30:46 ---> 9ce8b6b65922 17:30:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:30:47 ---> 9af2e0cafb02 17:30:47 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:30:48 ---> c5fd067ad282 17:30:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:30:48 ---> b7043ed2926b 17:30:48 Step 21/26 : EXPOSE 59984 17:30:49 ---> Running in e5d6b9706bfc 17:30:49 Removing intermediate container e5d6b9706bfc 17:30:49 ---> dc708820dfbd 17:30:49 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:30:49 ---> Running in a69b0f8b1829 17:30:49 Removing intermediate container a69b0f8b1829 17:30:49 ---> f318d1b03696 17:30:49 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:30:49 ---> Running in afc267f175dc 17:30:49 Removing intermediate container afc267f175dc 17:30:49 ---> 883b54b39a42 17:30:49 Step 24/26 : LABEL arch=arm64 17:30:49 ---> Running in b890163f8c48 17:30:50 Removing intermediate container b890163f8c48 17:30:50 ---> 55711d3e5c68 17:30:50 Step 25/26 : LABEL git_sha=6b2260381b7e090761577ff087802e67c95127bf 17:30:50 ---> Running in 94fe308ca20f 17:30:50 Removing intermediate container 94fe308ca20f 17:30:50 ---> baa18673e9e5 17:30:50 Step 26/26 : LABEL version=0.0.0 17:30:50 ---> Running in c7ddf9ae8fdd 17:30:50 Removing intermediate container c7ddf9ae8fdd 17:30:50 ---> acc47a139cbc 17:30:50 [Warning] One or more build-args [ARCH] were not consumed 17:30:50 Successfully built acc47a139cbc 17:30:50 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:51 17:30:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:52 arm64: Pulling from edgex-lftools-log-publisher 17:30:52 8998bd30e6a1: Pulling fs layer 17:30:52 04944245beec: Pulling fs layer 17:30:52 699f458cf7ca: Pulling fs layer 17:30:52 765212b225bb: Pulling fs layer 17:30:52 f23df028b6ca: Pulling fs layer 17:30:52 d65c8cfc05b1: Pulling fs layer 17:30:52 2437ff75d9bd: Pulling fs layer 17:30:52 765212b225bb: Waiting 17:30:52 f23df028b6ca: Waiting 17:30:52 d65c8cfc05b1: Waiting 17:30:52 2437ff75d9bd: Waiting 17:30:52 04944245beec: Verifying Checksum 17:30:52 04944245beec: Download complete 17:30:52 765212b225bb: Verifying Checksum 17:30:52 765212b225bb: Download complete 17:30:52 f23df028b6ca: Verifying Checksum 17:30:52 f23df028b6ca: Download complete 17:30:52 d65c8cfc05b1: Verifying Checksum 17:30:52 d65c8cfc05b1: Download complete 17:30:52 699f458cf7ca: Verifying Checksum 17:30:52 699f458cf7ca: Download complete 17:30:53 8998bd30e6a1: Download complete 17:30:55 2437ff75d9bd: Download complete 17:30:57 8998bd30e6a1: Pull complete 17:30:57 04944245beec: Pull complete 17:30:58 699f458cf7ca: Pull complete 17:30:58 765212b225bb: Pull complete 17:30:59 f23df028b6ca: Pull complete 17:30:59 d65c8cfc05b1: Pull complete 17:31:14 2437ff75d9bd: Pull complete 17:31:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:31:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:31:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:15 prd-ubuntu20.04-docker-arm64-4c-16g-118953 does not seem to be running inside a container 17:31:15 $ 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 17:31:17 $ docker top 2635b74b200445f1dda4b4b37cb3f19361e2d4033a5ed9315458fe5e80b7791c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:18 ---> job-cost.sh 17:31:18 lf-activate-venv: SKIPPING 17:31:18 INFO: No Stack... 17:31:18 INFO: Retrieving Pricing Info for: v3-standard-4 17:31:19 INFO: Archiving Costs [Pipeline] sh 17:31:20 + cut -d, -f6 17:31:20 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 17:31:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] 17:31:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] did not exist. Created. 17:31:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:20 /w/workspace/device-onvif-camera/1@tmp/durable-c154913c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:31:21 + echo total: 0.10999999940395355 [Pipeline] stash 17:31:21 Warning: overwriting stash ‘stack-cost’ 17:31:21 Stashed 1 file(s) [Pipeline] } 17:31:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:21 $ docker stop --time=1 2635b74b200445f1dda4b4b37cb3f19361e2d4033a5ed9315458fe5e80b7791c 17:31:22 $ docker rm -f 2635b74b200445f1dda4b4b37cb3f19361e2d4033a5ed9315458fe5e80b7791c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:31:23 provisioning config files... 17:31:23 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-198@tmp/config6218261095068334947tmp [Pipeline] { [Pipeline] sh 17:31:24 + set +x 17:31:24 + curl -s https://codecov.io/bash 17:31:24 + bash -s -- 17:31:24 17:31:24 _____ _ 17:31:24 / ____| | | 17:31:24 | | ___ __| | ___ ___ _____ __ 17:31:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:31:24 | |___| (_) | (_| | __/ (_| (_) \ V / 17:31:24 \_____\___/ \__,_|\___|\___\___/ \_/ 17:31:24 Bash-1.0.6 17:31:24 17:31:24 17:31:24 ==> git version 2.25.1 found 17:31:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:31:24 Release-Date: 2020-01-08 17:31:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:31:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:31:24 ==> Jenkins CI detected. 17:31:24 current dir:  /w/workspace/undry_device-onvif-camera_PR-198 17:31:24 project root: . 17:31:24 --> token set from env 17:31:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:31:24 ==> Running gcov in . (disable via -X gcov) 17:31:24 ==> Python coveragepy not found 17:31:24 ==> Searching for coverage reports in: 17:31:24 + . 17:31:24 -> Found 1 reports 17:31:24 ==> Detecting git/mercurial file structure 17:31:24 ==> Reading reports 17:31:24 + ./coverage.out bytes=79184 17:31:24 ==> Appending adjustments 17:31:24 https://docs.codecov.io/docs/fixing-reports 17:31:24 + Found adjustments 17:31:24 ==> Gzipping contents 17:31:24 12K /tmp/codecov.gaGUtJ.gz 17:31:24 ==> Uploading reports 17:31:24 url: https://codecov.io 17:31:24 query: branch=PR-198&commit=6b2260381b7e090761577ff087802e67c95127bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=198&job=&cmd_args= 17:31:24 -> Pinging Codecov 17:31:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-198&commit=6b2260381b7e090761577ff087802e67c95127bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=198&job=&cmd_args= 17:31:25 -> Uploading to 17:31:25 https://storage.googleapis.com/codecov/v4/raw/2022-11-10/F29A59C45E3A92E06B3E522C9905F8EF/6b2260381b7e090761577ff087802e67c95127bf/e3eb6cc9-fe10-4b79-9fbb-8c6f602f45b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221110T173124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8682f877d08c357ccc78fd0abee420760667e53a59d9c6133f5ec07275d6e64 17:31:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:25 Dload Upload Total Spent Left Speed 17:31:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10877 0 0 100 10877 0 48995 --:--:-- --:--:-- --:--:-- 48775 100 10877 0 0 100 10877 0 43858 --:--:-- --:--:-- --:--:-- 43682 17:31:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6b2260381b7e090761577ff087802e67c95127bf [Pipeline] } 17:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:31:27 + [ -d /w/workspace/undry_device-onvif-camera_PR-198/archives ] 17:31:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-198/archives 17:31:27 total 16 17:31:27 drwxr-xr-x 3 root root 4096 Nov 10 17:23 . 17:31:27 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 17:23 .. 17:31:27 drwxr-xr-x 2 root root 4096 Nov 10 17:23 cost 17:31:27 -rw-r--r-- 1 root root 91 Nov 10 17:23 cost.csv 17:31:27 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-198/archives 17:31:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-198/archives 17:31:27 total 16 17:31:27 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 17:23 . 17:31:27 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 17:23 .. 17:31:27 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 17:23 cost 17:31:27 -rw-r--r-- 1 jenkins jenkins 91 Nov 10 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:31:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:31:28 ---> package-listing.sh 17:31:28 ++ facter osfamily 17:31:28 ++ tr '[:upper:]' '[:lower:]' 17:31:28 + OS_FAMILY=debian 17:31:28 + workspace=/w/workspace/undry_device-onvif-camera_PR-198 17:31:28 + START_PACKAGES=/tmp/packages_start.txt 17:31:28 + END_PACKAGES=/tmp/packages_end.txt 17:31:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:31:28 + PACKAGES=/tmp/packages_start.txt 17:31:28 + '[' /w/workspace/undry_device-onvif-camera_PR-198 ']' 17:31:28 + PACKAGES=/tmp/packages_end.txt 17:31:28 + case "${OS_FAMILY}" in 17:31:28 + dpkg -l 17:31:28 + grep '^ii' 17:31:28 + '[' -f /tmp/packages_start.txt ']' 17:31:28 + '[' -f /tmp/packages_end.txt ']' 17:31:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:31:28 + '[' /w/workspace/undry_device-onvif-camera_PR-198 ']' 17:31:28 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-198/archives/ 17:31:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-198/archives/ [Pipeline] echo 17:31:28 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-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:31:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:29 prd-ubuntu20.04-docker-8c-8g-118952 does not seem to be running inside a container 17:31:29 $ 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-198/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-198 -v /w/workspace/undry_device-onvif-camera_PR-198:/w/workspace/undry_device-onvif-camera_PR-198:rw,z -v /w/workspace/undry_device-onvif-camera_PR-198@tmp:/w/workspace/undry_device-onvif-camera_PR-198@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 17:31:29 $ docker top d821af23f6b6b231d6a54eb71895e0da5a9b9b51a13cdc079ab615bfce6e1a16 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:30 + touch /tmp/pre-build-complete [Pipeline] sh 17:31:30 + mkdir -p /var/log/sysstat [Pipeline] sh 17:31:30 + ls /var/log/sa-host 17:31:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:31 provisioning config files... 17:31:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-198@tmp/config546730434929815402tmp [Pipeline] { [Pipeline] echo 17:31:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:31:31 ---> create-netrc.sh [Pipeline] } 17:31:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:31:31 ---> python-tools-install.sh [Pipeline] echo 17:31:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:31:32 ---> sudo-logs.sh 17:31:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:31:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:31:32 ---> job-cost.sh 17:31:32 lf-activate-venv: SKIPPING 17:31:32 DEBUG: total: 0.2199999988079071 17:31:32 INFO: Retrieving Stack Cost... 17:31:32 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:33 INFO: Archiving Costs [Pipeline] echo 17:31:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:31:33 ---> logs-deploy.sh 17:31:33 lf-activate-venv: SKIPPING 17:31:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-198/1 17:31:33 INFO: archiving workspace using pattern(s): 17:31:34 Archives upload complete. 17:31:34 INFO: archiving logs to Nexus