Pull request #172 updated 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 edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at bca8455642164c3d303fb1e1cb399f48d9b73870 rather than d830c2a7d78e2132ea45c8989aefb558f796dc0c Obtained Jenkinsfile from bca8455642164c3d303fb1e1cb399f48d9b73870 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-ssh15013343912499362686.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14148856346594892993.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5436989081136840726.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2703543434862744950.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14170837495701074620.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 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 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-7708 in /w/workspace/undry_device-onvif-camera_PR-172 [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-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit d830c2a7d78e2132ea45c8989aefb558f796dc0c Merge succeeded, producing bca2311dfce4c98374c6bb1f7529a213d91c6526 Checking out Revision bca2311dfce4c98374c6bb1f7529a213d91c6526 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f d830c2a7d78e2132ea45c8989aefb558f796dc0c # 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 bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bca2311dfce4c98374c6bb1f7529a213d91c6526 # timeout=10 Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:50:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:50:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:50:23 ========================================================= 02:50:23 EdgeX Global Pipelines Version Info 02:50:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:50:24 ------------------- 02:50:24 stable info: 02:50:24 ------------------- 02:50:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:50:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:50:24 Message: update stable to v1.0.239 > git rev-list --no-walk 8108f8d44040698f52b321c7970442737caecb96 # timeout=10 02:50:24 ------------------- 02:50:24 experimental info: 02:50:24 ------------------- 02:50:24 Commited By: **** collab-it+edgex@linuxfoundation.org 02:50:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:50:24 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bca2311 [Pipeline] echo 02:50:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:25 provisioning config files... 02:50:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config12122298765146267681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:25 ---> docker-login.sh 02:50:25 nexus3.edgexfoundry.org:10001 02:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:26 Configure a credential helper to remove this warning. See 02:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:26 02:50:26 Login Succeeded 02:50:26 nexus3.edgexfoundry.org:10002 02:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:26 Configure a credential helper to remove this warning. See 02:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:26 02:50:26 Login Succeeded 02:50:26 nexus3.edgexfoundry.org:10003 02:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:26 Configure a credential helper to remove this warning. See 02:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:26 02:50:26 Login Succeeded 02:50:26 nexus3.edgexfoundry.org:10004 02:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:26 Configure a credential helper to remove this warning. See 02:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:26 02:50:26 Login Succeeded 02:50:26 docker.io 02:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:27 Configure a credential helper to remove this warning. See 02:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:27 02:50:27 Login Succeeded 02:50:27 ---> docker-login.sh ends [Pipeline] } 02:50:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:50:27 + git rev-list -1 --merges bca2311dfce4c98374c6bb1f7529a213d91c6526~1..bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo 02:50:27 -----------> git rev-list -1 --merges bca2311dfce4c98374c6bb1f7529a213d91c6526~1..bca2311dfce4c98374c6bb1f7529a213d91c6526 bca2311dfce4c98374c6bb1f7529a213d91c6526 02:50:27 bca2311dfce4c98374c6bb1f7529a213d91c6526 [false] [Pipeline] sh 02:50:27 + git log --format=format:%s -1 bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo 02:50:27 ========================================================= 02:50:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:50:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:28 + git log --format=format:%s -1 bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo 02:50:28 [semverPrep] GIT_COMMIT: bca2311dfce4c98374c6bb1f7529a213d91c6526, Commit Message: Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD [Pipeline] echo 02:50:28 [semverPrep] This is not a build commit. [Pipeline] sh 02:50:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:28 + grep -v github /etc/ssh/ssh_known_hosts 02:50:28 + [ -e /tmp/ssh_known_hosts ] 02:50:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:50:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:50:28 + sudo tee -a /etc/ssh/ssh_known_hosts 02:50:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:29 02:50:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:29 0.1.4: Pulling from edgex-devops/py-git-semver 02:50:29 b85a868b505f: Pulling fs layer 02:50:29 e2be974225ed: Pulling fs layer 02:50:29 339a4e72a1f5: Pulling fs layer 02:50:29 988bab9f4d93: Pulling fs layer 02:50:29 1469e6f7b9e6: Pulling fs layer 02:50:29 eaf3925da568: Pulling fs layer 02:50:29 bab4dde63d76: Pulling fs layer 02:50:29 bde34c3a00c8: Pulling fs layer 02:50:29 b352a97aabf1: Pulling fs layer 02:50:29 4872d77fe225: Pulling fs layer 02:50:29 5851b861e8e6: Pulling fs layer 02:50:29 988bab9f4d93: Waiting 02:50:29 1469e6f7b9e6: Waiting 02:50:29 bab4dde63d76: Waiting 02:50:29 eaf3925da568: Waiting 02:50:29 bde34c3a00c8: Waiting 02:50:29 b352a97aabf1: Waiting 02:50:29 4872d77fe225: Waiting 02:50:29 5851b861e8e6: Waiting 02:50:29 e2be974225ed: Download complete 02:50:29 988bab9f4d93: Download complete 02:50:29 1469e6f7b9e6: Verifying Checksum 02:50:29 1469e6f7b9e6: Download complete 02:50:29 339a4e72a1f5: Verifying Checksum 02:50:29 339a4e72a1f5: Download complete 02:50:29 eaf3925da568: Verifying Checksum 02:50:29 eaf3925da568: Download complete 02:50:29 bde34c3a00c8: Verifying Checksum 02:50:29 bde34c3a00c8: Download complete 02:50:29 b352a97aabf1: Verifying Checksum 02:50:29 b352a97aabf1: Download complete 02:50:29 4872d77fe225: Verifying Checksum 02:50:29 4872d77fe225: Download complete 02:50:29 5851b861e8e6: Verifying Checksum 02:50:29 5851b861e8e6: Download complete 02:50:29 b85a868b505f: Verifying Checksum 02:50:29 b85a868b505f: Download complete 02:50:29 bab4dde63d76: Verifying Checksum 02:50:29 bab4dde63d76: Download complete 02:50:30 b85a868b505f: Pull complete 02:50:30 e2be974225ed: Pull complete 02:50:31 339a4e72a1f5: Pull complete 02:50:31 988bab9f4d93: Pull complete 02:50:31 1469e6f7b9e6: Pull complete 02:50:31 eaf3925da568: Pull complete 02:50:33 bab4dde63d76: Pull complete 02:50:33 bde34c3a00c8: Pull complete 02:50:33 b352a97aabf1: Pull complete 02:50:33 4872d77fe225: Pull complete 02:50:33 5851b861e8e6: Pull complete 02:50:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:50:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:33 prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container 02:50:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:34 $ docker top f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 -eo pid,comm 02:50:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:50:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:35 [ssh-agent] Looking for ssh-agent implementation... 02:50:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:35 $ docker exec f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent 02:50:35 SSH_AUTH_SOCK=/tmp/ssh-ea7PvGW3fd9Z/agent.32 02:50:35 SSH_AGENT_PID=38 02:50:35 Running ssh-add (command line suppressed) 02:50:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_8399187716886293638.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_8399187716886293638.key) 02:50:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:35 + git tag --points-at HEAD [Pipeline] } 02:50:35 $ docker exec --env ******** --env ******** f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent -k 02:50:35 unset SSH_AUTH_SOCK; 02:50:35 unset SSH_AGENT_PID; 02:50:35 echo Agent pid 38 killed; 02:50:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:50:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:35 [ssh-agent] Looking for ssh-agent implementation... 02:50:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:35 $ docker exec f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent 02:50:35 SSH_AUTH_SOCK=/tmp/ssh-KqwyrUSvdLHJ/agent.70 02:50:35 SSH_AGENT_PID=76 02:50:35 Running ssh-add (command line suppressed) 02:50:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2353499172711929325.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2353499172711929325.key) 02:50:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:36 + git semver init 02:50:36 2022-10-12 02:50:36,539 [run_init] DEBUG init version:0.0.0 force:False 02:50:36 2022-10-12 02:50:36,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver 02:50:36 2022-10-12 02:50:36,540 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver 02:50:36 2022-10-12 02:50:36,541 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) 02:50:37 2022-10-12 02:50:37,547 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude 02:50:37 2022-10-12 02:50:37,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False 02:50:37 2022-10-12 02:50:37,548 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 02:50:37 2022-10-12 02:50:37,552 [execute] INFO git cat-file --batch-check 02:50:37 2022-10-12 02:50:37,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 02:50:37 2022-10-12 02:50:37,558 [execute] INFO git cat-file --batch 02:50:37 2022-10-12 02:50:37,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 02:50:37 2022-10-12 02:50:37,562 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 02:50:37 0.0.0 [Pipeline] } 02:50:37 $ docker exec --env ******** --env ******** f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent -k 02:50:37 unset SSH_AUTH_SOCK; 02:50:37 unset SSH_AGENT_PID; 02:50:37 echo Agent pid 76 killed; 02:50:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:38 + git semver [Pipeline] } 02:50:38 $ docker stop --time=1 f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 02:50:39 $ docker rm -f f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:50:40 Stashed 1 file(s) [Pipeline] echo 02:50:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) 02:50:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7707 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws 02:50:40 Running in /w/workspace/device-onvif-camera/20 [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { 02:50:40 The recommended git tool is: git [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:40 provisioning config files... 02:50:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config18180187780649525974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:40 ---> docker-login.sh 02:50:40 nexus3.edgexfoundry.org:10001 02:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:40 Configure a credential helper to remove this warning. See 02:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:40 02:50:40 Login Succeeded 02:50:40 nexus3.edgexfoundry.org:10002 02:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:40 Configure a credential helper to remove this warning. See 02:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:40 02:50:40 Login Succeeded 02:50:40 nexus3.edgexfoundry.org:10003 02:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:40 Configure a credential helper to remove this warning. See 02:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:40 02:50:40 Login Succeeded 02:50:40 nexus3.edgexfoundry.org:10004 02:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:40 Configure a credential helper to remove this warning. See 02:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:40 02:50:40 Login Succeeded 02:50:40 docker.io 02:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:41 Configure a credential helper to remove this warning. See 02:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:41 02:50:41 Login Succeeded 02:50:41 ---> docker-login.sh ends [Pipeline] } 02:50:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:41 ========================================================= 02:50:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:50:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:41 + 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 . 02:50:41 Sending build context to Docker daemon 20.94MB 02:50:41 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:50:41 Step 2/14 : FROM ${BASE} AS builder 02:50:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:50:41 213ec9aee27d: Pulling fs layer 02:50:41 4583459ba037: Pulling fs layer 02:50:41 93c1e223e6f2: Pulling fs layer 02:50:41 53926ce57604: Pulling fs layer 02:50:41 21b2b0c7a3f4: Pulling fs layer 02:50:41 30f14e443154: Pulling fs layer 02:50:41 801331c1e519: Pulling fs layer 02:50:41 99cc6dd402b0: Pulling fs layer 02:50:41 7d9ed39f4882: Pulling fs layer 02:50:41 30f14e443154: Waiting 02:50:41 801331c1e519: Waiting 02:50:41 99cc6dd402b0: Waiting 02:50:41 7d9ed39f4882: Waiting 02:50:41 21b2b0c7a3f4: Waiting 02:50:41 53926ce57604: Waiting 02:50:41 93c1e223e6f2: Verifying Checksum 02:50:41 93c1e223e6f2: Download complete 02:50:41 4583459ba037: Download complete 02:50:42 21b2b0c7a3f4: Verifying Checksum 02:50:42 21b2b0c7a3f4: Download complete 02:50:42 30f14e443154: Verifying Checksum 02:50:42 30f14e443154: Download complete 02:50:42 213ec9aee27d: Verifying Checksum 02:50:42 213ec9aee27d: Download complete 02:50:42 801331c1e519: Download complete 02:50:42 213ec9aee27d: Pull complete 02:50:42 4583459ba037: Pull complete 02:50:42 93c1e223e6f2: Pull complete 02:50:42 7d9ed39f4882: Verifying Checksum 02:50:42 7d9ed39f4882: Download complete 02:50:42 99cc6dd402b0: Download complete 02:50:42 53926ce57604: Verifying Checksum 02:50:42 53926ce57604: Download complete 02:50:44 using credential edgex-jenkins-ssh 02:50:44 Cloning the remote Git repository 02:50:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:50:44 > git init /w/workspace/device-onvif-camera/20 # timeout=10 02:50:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:50:44 > git --version # timeout=10 02:50:44 > git --version # 'git version 2.25.1' 02:50:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:44 Verifying host key using known hosts file 02:50:45 53926ce57604: Pull complete 02:50:45 21b2b0c7a3f4: Pull complete 02:50:46 30f14e443154: Pull complete 02:50:46 801331c1e519: Pull complete 02:50:45 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. 02:50:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:50:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:50:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:50:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:50:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:50:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:47 Verifying host key using known hosts file 02:50:47 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. 02:50:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:50:47 Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit d830c2a7d78e2132ea45c8989aefb558f796dc0c 02:50:47 99cc6dd402b0: Pull complete 02:50:48 Merge succeeded, producing 9bd2e2956a66729a154774b491de56aa13023e8f 02:50:48 Checking out Revision 9bd2e2956a66729a154774b491de56aa13023e8f (PR-172) 02:50:47 > git config core.sparsecheckout # timeout=10 02:50:47 > git checkout -f d830c2a7d78e2132ea45c8989aefb558f796dc0c # timeout=10 02:50:47 > git remote # timeout=10 02:50:47 > git config --get remote.origin.url # timeout=10 02:50:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:47 Verifying host key using known hosts file 02:50:47 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. 02:50:48 > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 02:50:48 > git rev-parse HEAD^{commit} # timeout=10 02:50:48 > git config core.sparsecheckout # timeout=10 02:50:48 > git checkout -f 9bd2e2956a66729a154774b491de56aa13023e8f # timeout=10 02:50:48 7d9ed39f4882: Pull complete 02:50:48 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 02:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:50:48 ---> 1dedd983c030 02:50:48 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:50:50 ---> Running in 6fba40102069 02:50:50 Removing intermediate container 6fba40102069 02:50:50 ---> 59473433d860 02:50:50 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:50:50 ---> Running in 8499dc8ad419 02:50:50 Removing intermediate container 8499dc8ad419 02:50:50 ---> 1c3d5c6bfdd9 02:50:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:50:50 ---> Running in 941ce437a7c9 02:50:50 Removing intermediate container 941ce437a7c9 02:50:50 ---> 5e412940b960 02:50:50 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:50:50 ---> Running in ef8cbf29914e 02:50:50 Removing intermediate container ef8cbf29914e 02:50:50 ---> 0a37e12f2693 02:50:50 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:50:50 ---> Running in d8e55ffa27bd 02:50:50 Removing intermediate container d8e55ffa27bd 02:50:50 ---> 0d11e6cad988 02:50:50 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:50 ---> Running in 6f6b5919e229 02:50:51 Removing intermediate container 6f6b5919e229 02:50:51 ---> 0550d222aa67 02:50:51 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:50:51 ---> Running in 206dd38a9696 02:50:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:50:51 Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" 02:50:51 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:50:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:52 Dload Upload Total Spent Left Speed 02:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 02:50:52 OK: 211 MiB in 51 packages [Pipeline] sh 02:50:53 Removing intermediate container 206dd38a9696 02:50:53 ---> 4e3db59dd3a4 02:50:53 Step 10/14 : WORKDIR /device-onvif-camera 02:50:53 ---> Running in 282169a0d655 02:50:53 Removing intermediate container 282169a0d655 02:50:53 ---> 8246347cece4 02:50:53 Step 11/14 : COPY go.mod vendor* ./ 02:50:51 > git rev-list --no-walk 8108f8d44040698f52b321c7970442737caecb96 # timeout=10 02:50:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:50:53 ---> 2a25369dbe6c 02:50:53 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:50:53 ---> Running in 12bb5df8e2a7 02:50:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:50:53 + sudo tee /etc/docker/daemon.new 02:50:53 { 02:50:53 "registry-mirrors": [ 02:50:53 "https://nexus3.edgexfoundry.org:10001" 02:50:53 ], 02:50:53 "bip": "10.250.0.254/24", 02:50:53 "hosts": [ 02:50:53 "tcp://0.0.0.0:5555", 02:50:53 "unix:///var/run/docker.sock" 02:50:53 ], 02:50:53 "mtu": 1458, 02:50:53 "selinux-enabled": true, 02:50:53 "seccomp-profile": "/etc/docker/seccomp.json" 02:50:53 } [Pipeline] sh 02:50:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:50:54 + sudo service docker restart 02:51:11 Removing intermediate container 12bb5df8e2a7 02:51:11 ---> 839f97baf833 02:51:11 Step 13/14 : COPY . . 02:51:12 ---> 2f7f6cc113ce 02:51:12 Step 14/14 : RUN ${MAKE} 02:51:12 ---> Running in 1c5efd0098d2 02:51:12 noop [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:12 provisioning config files... 02:51:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config14532399784963983972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:12 Removing intermediate container 1c5efd0098d2 02:51:12 ---> 5a15654816eb 02:51:12 Successfully built 5a15654816eb 02:51:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:12 ---> docker-login.sh 02:51:12 nexus3.edgexfoundry.org:10001 02:51:12 + docker inspect -f . ci-base-image-x86_64 02:51:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:12 prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container 02:51:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** -e ******** ci-base-image-x86_64 cat 02:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:13 $ docker top 2ccf7eb277bfbd0cd0e727315566e01af84eba91d6970188585814f2ca9ddcba -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:13 Configure a credential helper to remove this warning. See 02:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:13 02:51:13 Login Succeeded 02:51:13 nexus3.edgexfoundry.org:10002 02:51:13 + go version 02:51:13 go version go1.18.7 linux/amd64 02:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:13 Configure a credential helper to remove this warning. See 02:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:13 02:51:13 Login Succeeded 02:51:13 nexus3.edgexfoundry.org:10003 [Pipeline] } 02:51:13 $ docker stop --time=1 2ccf7eb277bfbd0cd0e727315566e01af84eba91d6970188585814f2ca9ddcba 02:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:14 Configure a credential helper to remove this warning. See 02:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:14 02:51:14 Login Succeeded 02:51:14 nexus3.edgexfoundry.org:10004 02:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:14 Configure a credential helper to remove this warning. See 02:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:14 02:51:14 Login Succeeded 02:51:14 docker.io 02:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:14 $ docker rm -f 2ccf7eb277bfbd0cd0e727315566e01af84eba91d6970188585814f2ca9ddcba [Pipeline] // withDockerContainer 02:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:14 Configure a credential helper to remove this warning. See 02:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:14 02:51:14 Login Succeeded 02:51:14 ---> docker-login.sh ends [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } 02:51:15 Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Test) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 02:51:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:15 ========================================================= 02:51:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:51:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:15 + docker inspect -f . ci-base-image-x86_64 02:51:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:15 prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container 02:51:15 $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** -e ******** ci-base-image-x86_64 cat 02:51:15 + 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 . 02:51:15 $ docker top 63f252a01ed1d2585a6ed11216be531f359ed67a025deeb54bf9522ae0a24bab -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:16 Sending build context to Docker daemon 14.35MB 02:51:16 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:51:16 Step 2/14 : FROM ${BASE} AS builder 02:51:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:51:16 9b18e9b68314: Pulling fs layer 02:51:16 d32db5db7311: Pulling fs layer 02:51:16 d0c4b47475fc: Pulling fs layer 02:51:16 5831b945b038: Pulling fs layer 02:51:16 86bbec2aaacd: Pulling fs layer 02:51:16 e10730c5d714: Pulling fs layer 02:51:16 5dd5c2283517: Pulling fs layer 02:51:16 d5ac0230b979: Pulling fs layer 02:51:16 86bbec2aaacd: Waiting 02:51:16 e10730c5d714: Waiting 02:51:16 d5ac0230b979: Waiting 02:51:16 5831b945b038: Waiting 02:51:16 d0c4b47475fc: Verifying Checksum 02:51:16 d0c4b47475fc: Download complete 02:51:16 d32db5db7311: Verifying Checksum 02:51:16 d32db5db7311: Download complete 02:51:16 86bbec2aaacd: Verifying Checksum 02:51:16 86bbec2aaacd: Download complete 02:51:16 e10730c5d714: Download complete 02:51:16 9b18e9b68314: Verifying Checksum 02:51:16 9b18e9b68314: Download complete 02:51:16 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh 02:51:16 + make test 02:51:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:51:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:51:17 9b18e9b68314: Pull complete 02:51:17 d5ac0230b979: Verifying Checksum 02:51:17 d5ac0230b979: Download complete 02:51:17 d32db5db7311: Pull complete 02:51:17 d0c4b47475fc: Pull complete 02:51:18 5dd5c2283517: Verifying Checksum 02:51:18 5dd5c2283517: Download complete 02:51:19 5831b945b038: Verifying Checksum 02:51:19 5831b945b038: Download complete 02:51:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:51:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.2% of statements 02:51:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:51:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.522s coverage: 86.5% of statements 02:51:34 5831b945b038: Pull complete 02:51:34 86bbec2aaacd: Pull complete 02:51:34 e10730c5d714: Pull complete 02:51:36 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." 02:51:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:51:38 5dd5c2283517: Pull complete 02:51:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:51:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:51:38 ./bin/test-attribution-txt.sh [Pipeline] echo 02:51:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:51:38 $ docker stop --time=1 63f252a01ed1d2585a6ed11216be531f359ed67a025deeb54bf9522ae0a24bab 02:51:40 d5ac0230b979: Pull complete 02:51:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 02:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:51:40 ---> 59b3b1a385d4 02:51:40 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:51:40 $ docker rm -f 63f252a01ed1d2585a6ed11216be531f359ed67a025deeb54bf9522ae0a24bab [Pipeline] // withDockerContainer [Pipeline] sh 02:51:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:51:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:42 + ls -al . 02:51:42 total 236 02:51:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 02:51 . 02:51:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 .. 02:51:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:51 .git 02:51:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 .github 02:51:42 -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:50 .gitignore 02:51:42 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:50 .golangci.yml 02:51:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:50 .semver 02:51:42 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:50 Attribution.txt 02:51:42 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:50 CHANGELOG.md 02:51:42 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:50 Dockerfile 02:51:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:50 GOVERNANCE.md 02:51:42 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:50 Jenkinsfile 02:51:42 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:50 LICENSE 02:51:42 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:50 Makefile 02:51:42 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:50 OWNERS.md 02:51:42 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:50 README.md 02:51:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:50 VERSION 02:51:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:50 bin 02:51:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 cmd 02:51:42 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 02:51 coverage.out 02:51:42 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:50 doc 02:51:42 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:50 go.mod 02:51:42 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:50 go.sum 02:51:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 internal 02:51:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 snap 02:51:42 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:42 ---> Running in 433c1764dd45 02:51:42 Removing intermediate container 433c1764dd45 02:51:42 ---> e063e2c9c75c 02:51:42 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:51:42 ---> Running in 2b1f0b23c35f 02:51:42 + 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=bca2311dfce4c98374c6bb1f7529a213d91c6526 --label arch=amd64 --label version=0.0.0 . 02:51:42 Sending build context to Docker daemon 21.02MB 02:51:42 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:51:42 Step 2/27 : FROM ${BASE} AS builder 02:51:42 ---> 5a15654816eb 02:51:42 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:51:42 Removing intermediate container 2b1f0b23c35f 02:51:42 ---> cd68cfc08fef 02:51:42 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:51:42 ---> Running in 206841f7f438 02:51:42 Removing intermediate container 206841f7f438 02:51:42 ---> ed501f278f46 02:51:42 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:51:42 ---> Running in 086c16dd8ac7 02:51:42 ---> Running in 6d7650b58c5e 02:51:42 Removing intermediate container 086c16dd8ac7 02:51:42 ---> aaaec366d964 02:51:42 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:51:42 ---> Running in 9f7f6469f9ca 02:51:42 Removing intermediate container 9f7f6469f9ca 02:51:42 ---> 83238823d2c0 02:51:42 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:51:42 ---> Running in e68c41d24cc2 02:51:42 Removing intermediate container e68c41d24cc2 02:51:42 ---> de85558aac3e 02:51:42 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:51:42 ---> Running in 3a5cd320d4ce 02:51:43 Removing intermediate container 6d7650b58c5e 02:51:43 ---> 25c364ecc672 02:51:43 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:51:43 ---> Running in 48251ab7eed3 02:51:43 Removing intermediate container 3a5cd320d4ce 02:51:43 ---> c35d9c53777b 02:51:43 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:43 ---> Running in 382048a7eb77 02:51:43 Removing intermediate container 48251ab7eed3 02:51:43 ---> 47bae4da5d67 02:51:43 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:51:43 ---> Running in e38862fac6d0 02:51:43 Removing intermediate container e38862fac6d0 02:51:43 ---> 2df561231927 02:51:43 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:43 Removing intermediate container 382048a7eb77 02:51:43 ---> 53b964d9b6b2 02:51:43 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:43 ---> Running in 63db53bb2a8b 02:51:43 ---> Running in 233efce7f20a 02:51:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:51:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:51:45 OK: 211 MiB in 51 packages 02:51:45 Removing intermediate container 63db53bb2a8b 02:51:45 ---> f85d9e5aa9d9 02:51:45 Step 10/27 : WORKDIR /device-onvif-camera 02:51:45 ---> Running in b34920bf589e 02:51:45 Removing intermediate container b34920bf589e 02:51:45 ---> 90eecc58cdcf 02:51:45 Step 11/27 : COPY go.mod vendor* ./ 02:51:45 ---> 0fdd7cbf66fa 02:51:45 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:45 ---> Running in 7ce40c7298d3 02:51:45 Removing intermediate container 233efce7f20a 02:51:45 ---> 10326dc314c4 02:51:45 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:45 ---> Running in fe617b79367a 02:51:46 Removing intermediate container 7ce40c7298d3 02:51:46 ---> 81628de734bc 02:51:46 Step 13/27 : COPY . . 02:51:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:51:47 ---> ea6385b2722a 02:51:47 Step 14/27 : RUN ${MAKE} 02:51:47 ---> Running in 909c16ac1082 02:51:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:51:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:51:48 OK: 221 MiB in 51 packages 02:51:49 Removing intermediate container fe617b79367a 02:51:49 ---> f11da6fe6d66 02:51:49 Step 10/14 : WORKDIR /device-onvif-camera 02:51:49 ---> Running in e2bb51acf422 02:51:49 Removing intermediate container e2bb51acf422 02:51:49 ---> 7e06ebb5bbca 02:51:49 Step 11/14 : COPY go.mod vendor* ./ 02:51:49 ---> d637197ff61c 02:51:49 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:50 ---> Running in 0c6bfa73af95 02:52:09 Removing intermediate container 909c16ac1082 02:52:09 ---> 1a2ffb6ca609 02:52:09 Step 15/27 : FROM alpine:3.16 02:52:09 3.16: Pulling from library/alpine 02:52:09 213ec9aee27d: Already exists 02:52:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:52:09 Status: Downloaded newer image for alpine:3.16 02:52:09 ---> 9c6f07244728 02:52:09 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:52:09 ---> Running in 0b26aed122c3 02:52:09 Removing intermediate container 0b26aed122c3 02:52:09 ---> 0f6da89cc755 02:52:09 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 02:52:09 ---> Running in 15f592ac8481 02:52:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:52:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:52:09 (1/6) Installing dumb-init (1.2.5-r1) 02:52:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:52:09 (3/6) Installing libsodium (1.0.18-r0) 02:52:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:52:09 (5/6) Installing libzmq (4.3.4-r0) 02:52:09 (6/6) Installing zeromq (4.3.4-r0) 02:52:09 Executing busybox-1.35.0-r17.trigger 02:52:09 OK: 8 MiB in 20 packages 02:52:09 Removing intermediate container 15f592ac8481 02:52:09 ---> babee27a780a 02:52:09 Step 18/27 : WORKDIR / 02:52:09 ---> Running in ca1d23cd78cc 02:52:09 Removing intermediate container ca1d23cd78cc 02:52:09 ---> 2f6676a1576d 02:52:09 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 02:52:10 ---> 5aa83d3edf96 02:52:10 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:52:10 ---> 05da92f784ca 02:52:10 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:52:10 ---> 293867ce65cd 02:52:10 Step 22/27 : EXPOSE 59984 02:52:10 ---> Running in 4dd750988fc9 02:52:10 Removing intermediate container 4dd750988fc9 02:52:10 ---> ecb240b8ae88 02:52:10 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:52:10 ---> Running in 6821cf7a0213 02:52:10 Removing intermediate container 6821cf7a0213 02:52:10 ---> 0e209acb7174 02:52:10 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:10 ---> Running in 5a2fd79d59e5 02:52:10 Removing intermediate container 5a2fd79d59e5 02:52:10 ---> b161762943ca 02:52:10 Step 25/27 : LABEL arch=amd64 02:52:10 ---> Running in 83b8c9b0fb17 02:52:10 Removing intermediate container 83b8c9b0fb17 02:52:10 ---> 0a227fac0213 02:52:10 Step 26/27 : LABEL git_sha=bca2311dfce4c98374c6bb1f7529a213d91c6526 02:52:10 ---> Running in c65aa000292e 02:52:11 Removing intermediate container c65aa000292e 02:52:11 ---> ebd0b629f8e0 02:52:11 Step 27/27 : LABEL version=0.0.0 02:52:11 ---> Running in b14887fd8232 02:52:11 Removing intermediate container b14887fd8232 02:52:11 ---> 3324aa687e70 02:52:11 [Warning] One or more build-args [ARCH] were not consumed 02:52:11 Successfully built 3324aa687e70 02:52:11 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 02:52:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:11 02:52:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:11 latest: Pulling from edgex-lftools-log-publisher 02:52:11 5eb5b503b376: Pulling fs layer 02:52:11 5c69ac0246d0: Pulling fs layer 02:52:11 ec43610c2a17: Pulling fs layer 02:52:11 3a2ae6a8a46f: Pulling fs layer 02:52:11 33b1e0a273af: Pulling fs layer 02:52:11 5d3b04190fa2: Pulling fs layer 02:52:11 2f39f015ded8: Pulling fs layer 02:52:11 3a2ae6a8a46f: Waiting 02:52:11 33b1e0a273af: Waiting 02:52:11 2f39f015ded8: Waiting 02:52:11 5c69ac0246d0: Download complete 02:52:11 3a2ae6a8a46f: Verifying Checksum 02:52:11 3a2ae6a8a46f: Download complete 02:52:11 33b1e0a273af: Verifying Checksum 02:52:11 33b1e0a273af: Download complete 02:52:11 ec43610c2a17: Verifying Checksum 02:52:11 ec43610c2a17: Download complete 02:52:12 5d3b04190fa2: Verifying Checksum 02:52:12 5d3b04190fa2: Download complete 02:52:12 5eb5b503b376: Verifying Checksum 02:52:12 5eb5b503b376: Download complete 02:52:12 2f39f015ded8: Download complete 02:52:13 5eb5b503b376: Pull complete 02:52:13 5c69ac0246d0: Pull complete 02:52:13 ec43610c2a17: Pull complete 02:52:13 3a2ae6a8a46f: Pull complete 02:52:14 33b1e0a273af: Pull complete 02:52:14 5d3b04190fa2: Pull complete 02:52:18 2f39f015ded8: Pull complete 02:52:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:18 prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container 02:52:18 $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:52:20 $ docker top 75aa3197b5b84c9c8c884c0ac07de2fc1dd32dee1b1ab24fe1478ea0d5504f85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:21 ---> job-cost.sh 02:52:21 lf-activate-venv: SKIPPING 02:52:21 INFO: No Stack... 02:52:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:21 INFO: Archiving Costs [Pipeline] sh 02:52:21 + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv 02:52:21 + cut -d, -f6 [Pipeline] lock 02:52:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] 02:52:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] did not exist. Created. 02:52:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:22 + echo total: 0.2199999988079071 [Pipeline] stash 02:52:22 Stashed 1 file(s) [Pipeline] } 02:52:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:22 $ docker stop --time=1 75aa3197b5b84c9c8c884c0ac07de2fc1dd32dee1b1ab24fe1478ea0d5504f85 02:52:23 $ docker rm -f 75aa3197b5b84c9c8c884c0ac07de2fc1dd32dee1b1ab24fe1478ea0d5504f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:52:46 Removing intermediate container 0c6bfa73af95 02:52:46 ---> 4dee1bee6fab 02:52:46 Step 13/14 : COPY . . 02:52:46 ---> 879a7f410d65 02:52:46 Step 14/14 : RUN ${MAKE} 02:52:46 ---> Running in 19f58f2cf90c 02:52:46 noop 02:52:46 Removing intermediate container 19f58f2cf90c 02:52:46 ---> eb35e27b5281 02:52:46 Successfully built eb35e27b5281 02:52:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:46 + docker inspect -f . ci-base-image-arm64 02:52:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:47 prd-ubuntu20.04-docker-arm64-4c-16g-7707 does not seem to be running inside a container 02:52:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 02:52:48 $ docker top 986053e3b79ba1c6d5558f518fef40f2c1acf2893b9fce3adb6fbeaf5b6ca4c1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:49 + go version 02:52:49 go version go1.18.7 linux/arm64 [Pipeline] } 02:52:49 $ docker stop --time=1 986053e3b79ba1c6d5558f518fef40f2c1acf2893b9fce3adb6fbeaf5b6ca4c1 02:52:50 $ docker rm -f 986053e3b79ba1c6d5558f518fef40f2c1acf2893b9fce3adb6fbeaf5b6ca4c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:51 + docker inspect -f . ci-base-image-arm64 02:52:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-7707 does not seem to be running inside a container 02:52:51 $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 02:52:52 $ docker top 41342a6f0be7f96e56e1803e4dd49947b687d190f634c0405e3e6ee034ccfff0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/20 [Pipeline] fileExists [Pipeline] sh 02:52:53 + make test 02:52:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:52:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:54:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:54:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.204s coverage: 28.2% of statements 02:54:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:54:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.091s coverage: 86.5% of statements 02:54:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:54:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:55:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:55:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:55:09 ./bin/test-attribution-txt.sh [Pipeline] echo 02:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:55:09 $ docker stop --time=1 41342a6f0be7f96e56e1803e4dd49947b687d190f634c0405e3e6ee034ccfff0 02:55:11 $ docker rm -f 41342a6f0be7f96e56e1803e4dd49947b687d190f634c0405e3e6ee034ccfff0 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:12 Warning: overwriting stash ‘coverage-report’ 02:55:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:55:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:13 + ls -al . 02:55:13 total 232 02:55:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 02:52 . 02:55:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 .. 02:55:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:50 .git 02:55:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 .github 02:55:13 -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:50 .gitignore 02:55:13 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:50 .golangci.yml 02:55:13 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:50 Attribution.txt 02:55:13 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:50 CHANGELOG.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:50 Dockerfile 02:55:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:50 GOVERNANCE.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:50 Jenkinsfile 02:55:13 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:50 LICENSE 02:55:13 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:50 Makefile 02:55:13 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:50 OWNERS.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:50 README.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:50 VERSION 02:55:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:50 bin 02:55:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 cmd 02:55:13 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 02:54 coverage.out 02:55:13 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:50 doc 02:55:13 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:50 go.mod 02:55:13 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:50 go.sum 02:55:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 internal 02:55:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 snap 02:55:13 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:13 + 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=9bd2e2956a66729a154774b491de56aa13023e8f --label arch=arm64 --label version=0.0.0 . 02:55:14 Sending build context to Docker daemon 14.43MB 02:55:14 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:55:14 Step 2/27 : FROM ${BASE} AS builder 02:55:14 ---> eb35e27b5281 02:55:14 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:55:14 ---> Running in 2a294ad348e2 02:55:14 Removing intermediate container 2a294ad348e2 02:55:14 ---> fb1b9cf60526 02:55:14 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:14 ---> Running in c11a2210f78a 02:55:15 Removing intermediate container c11a2210f78a 02:55:15 ---> d7d3e6423a2f 02:55:15 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:55:15 ---> Running in 5b055e7e2ee7 02:55:15 Removing intermediate container 5b055e7e2ee7 02:55:15 ---> 3765fb4f7279 02:55:15 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:55:15 ---> Running in ec60f5f6d378 02:55:15 Removing intermediate container ec60f5f6d378 02:55:15 ---> 03e2164cf78a 02:55:15 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:55:15 ---> Running in 207d8dd99066 02:55:16 Removing intermediate container 207d8dd99066 02:55:16 ---> 424fdc37b618 02:55:16 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:55:16 ---> Running in 282d43f8dd50 02:55:18 Removing intermediate container 282d43f8dd50 02:55:18 ---> 510f8aec3807 02:55:18 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:18 ---> Running in fed98f6f5839 02:55:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:55:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:55:20 OK: 221 MiB in 51 packages 02:55:21 Removing intermediate container fed98f6f5839 02:55:21 ---> d6c8afb45824 02:55:21 Step 10/27 : WORKDIR /device-onvif-camera 02:55:21 ---> Running in f5e541a06b8b 02:55:21 Removing intermediate container f5e541a06b8b 02:55:21 ---> b930c4cdc063 02:55:21 Step 11/27 : COPY go.mod vendor* ./ 02:55:22 ---> f424caed7577 02:55:22 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:22 ---> Running in 6a4c21cca5b7 02:55:24 Removing intermediate container 6a4c21cca5b7 02:55:24 ---> 9e600d8e2ad6 02:55:24 Step 13/27 : COPY . . 02:55:25 ---> aea7715cd0c4 02:55:25 Step 14/27 : RUN ${MAKE} 02:55:25 ---> Running in 8e61003ad216 02:55:26 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:57:48 Removing intermediate container 8e61003ad216 02:57:48 ---> 9ff26923cfa5 02:57:48 Step 15/27 : FROM alpine:3.16 02:57:48 3.16: Pulling from library/alpine 02:57:48 9b18e9b68314: Already exists 02:57:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:57:48 Status: Downloaded newer image for alpine:3.16 02:57:48 ---> a6215f271958 02:57:48 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:57:48 ---> Running in c57e6971072f 02:57:48 Removing intermediate container c57e6971072f 02:57:48 ---> af8f5cb41eff 02:57:48 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 02:57:48 ---> Running in 73169092232a 02:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:57:48 (1/6) Installing dumb-init (1.2.5-r1) 02:57:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:57:48 (3/6) Installing libsodium (1.0.18-r0) 02:57:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:57:48 (5/6) Installing libzmq (4.3.4-r0) 02:57:48 (6/6) Installing zeromq (4.3.4-r0) 02:57:48 Executing busybox-1.35.0-r17.trigger 02:57:48 OK: 8 MiB in 20 packages 02:57:48 Removing intermediate container 73169092232a 02:57:48 ---> ab947e3ade8f 02:57:48 Step 18/27 : WORKDIR / 02:57:48 ---> Running in 30ebc1d15170 02:57:48 Removing intermediate container 30ebc1d15170 02:57:48 ---> bf82fef3adf1 02:57:48 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 02:57:48 ---> 52e7a01fb474 02:57:48 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:57:48 ---> c9f54e9ccbe8 02:57:48 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:57:48 ---> e586fb0156a5 02:57:48 Step 22/27 : EXPOSE 59984 02:57:48 ---> Running in e6f729346b9b 02:57:48 Removing intermediate container e6f729346b9b 02:57:48 ---> fffe108663ee 02:57:48 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:57:48 ---> Running in 0fd90522b11d 02:57:49 Removing intermediate container 0fd90522b11d 02:57:49 ---> fb459cc76be2 02:57:49 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:57:49 ---> Running in 4476626feaf9 02:57:49 Removing intermediate container 4476626feaf9 02:57:49 ---> a7d30753dac1 02:57:49 Step 25/27 : LABEL arch=arm64 02:57:49 ---> Running in 7177ecb12ca7 02:57:49 Removing intermediate container 7177ecb12ca7 02:57:49 ---> ed21edd034cb 02:57:49 Step 26/27 : LABEL git_sha=9bd2e2956a66729a154774b491de56aa13023e8f 02:57:49 ---> Running in 85ccbdb4f6fd 02:57:49 Removing intermediate container 85ccbdb4f6fd 02:57:49 ---> c63b0f336617 02:57:49 Step 27/27 : LABEL version=0.0.0 02:57:49 ---> Running in 7501aa1d4a51 02:57:50 Removing intermediate container 7501aa1d4a51 02:57:50 ---> a0a6d7351266 02:57:50 [Warning] One or more build-args [ARCH] were not consumed 02:57:50 Successfully built a0a6d7351266 02:57: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 02:57:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:57:50 02:57:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:57:50 arm64: Pulling from edgex-lftools-log-publisher 02:57:50 8998bd30e6a1: Pulling fs layer 02:57:50 04944245beec: Pulling fs layer 02:57:50 699f458cf7ca: Pulling fs layer 02:57:50 765212b225bb: Pulling fs layer 02:57:50 f23df028b6ca: Pulling fs layer 02:57:50 d65c8cfc05b1: Pulling fs layer 02:57:50 2437ff75d9bd: Pulling fs layer 02:57:50 765212b225bb: Waiting 02:57:50 d65c8cfc05b1: Waiting 02:57:50 2437ff75d9bd: Waiting 02:57:50 f23df028b6ca: Waiting 02:57:51 04944245beec: Verifying Checksum 02:57:51 04944245beec: Download complete 02:57:51 765212b225bb: Download complete 02:57:51 f23df028b6ca: Download complete 02:57:51 d65c8cfc05b1: Verifying Checksum 02:57:51 d65c8cfc05b1: Download complete 02:57:51 699f458cf7ca: Download complete 02:57:51 8998bd30e6a1: Verifying Checksum 02:57:51 8998bd30e6a1: Download complete 02:57:53 2437ff75d9bd: Verifying Checksum 02:57:53 2437ff75d9bd: Download complete 02:57:55 8998bd30e6a1: Pull complete 02:57:57 04944245beec: Pull complete 02:57:57 699f458cf7ca: Pull complete 02:57:58 765212b225bb: Pull complete 02:57:59 f23df028b6ca: Pull complete 02:57:59 d65c8cfc05b1: Pull complete 02:58:14 2437ff75d9bd: Pull complete 02:58:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:58:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:14 prd-ubuntu20.04-docker-arm64-4c-16g-7707 does not seem to be running inside a container 02:58:14 $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 02:58:16 $ docker top c61b7b4b42361a488dd16bb0f66441330e030923239690007c6cb2a5f9c91361 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:17 ---> job-cost.sh 02:58:17 lf-activate-venv: SKIPPING 02:58:17 INFO: No Stack... 02:58:17 INFO: Retrieving Pricing Info for: v3-standard-4 02:58:18 INFO: Archiving Costs [Pipeline] sh 02:58:19 + cut -d, -f6 02:58:19 + cat /w/workspace/device-onvif-camera/20/archives/cost.csv [Pipeline] lock 02:58:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] 02:58:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] did not exist. Created. 02:58:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:58:19 /w/workspace/device-onvif-camera/20@tmp/durable-2d29b36c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:58:20 + echo total: 0.10999999940395355 [Pipeline] stash 02:58:20 Warning: overwriting stash ‘stack-cost’ 02:58:20 Stashed 1 file(s) [Pipeline] } 02:58:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] // lock [Pipeline] } 02:58:20 $ docker stop --time=1 c61b7b4b42361a488dd16bb0f66441330e030923239690007c6cb2a5f9c91361 02:58:21 $ docker rm -f c61b7b4b42361a488dd16bb0f66441330e030923239690007c6cb2a5f9c91361 [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 02:58:22 provisioning config files... 02:58:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1450447397623978713tmp [Pipeline] { [Pipeline] sh 02:58:22 + set +x 02:58:22 + + bash -s -- 02:58:22 curl -s https://codecov.io/bash 02:58:22 02:58:22 _____ _ 02:58:22 / ____| | | 02:58:22 | | ___ __| | ___ ___ _____ __ 02:58:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:58:22 | |___| (_) | (_| | __/ (_| (_) \ V / 02:58:22 \_____\___/ \__,_|\___|\___\___/ \_/ 02:58:22 Bash-1.0.6 02:58:22 02:58:22 02:58:22 ==> git version 2.25.1 found 02:58:22 ==> 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 02:58:22 Release-Date: 2020-01-08 02:58:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:58:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:58:22 ==> Jenkins CI detected. 02:58:22 current dir:  /w/workspace/undry_device-onvif-camera_PR-172 02:58:22 project root: . 02:58:22 --> token set from env 02:58:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:58:22 ==> Running gcov in . (disable via -X gcov) 02:58:22 ==> Python coveragepy not found 02:58:22 ==> Searching for coverage reports in: 02:58:22 + . 02:58:22 -> Found 1 reports 02:58:22 ==> Detecting git/mercurial file structure 02:58:22 ==> Reading reports 02:58:22 + ./coverage.out bytes=78636 02:58:22 ==> Appending adjustments 02:58:22 https://docs.codecov.io/docs/fixing-reports 02:58:22 + Found adjustments 02:58:22 ==> Gzipping contents 02:58:22 12K /tmp/codecov.vtVS4b.gz 02:58:22 ==> Uploading reports 02:58:22 url: https://codecov.io 02:58:22 query: branch=PR-172&commit=bca2311dfce4c98374c6bb1f7529a213d91c6526&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 02:58:22 -> Pinging Codecov 02:58:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=bca2311dfce4c98374c6bb1f7529a213d91c6526&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 02:58:23 -> Uploading to 02:58:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/bca2311dfce4c98374c6bb1f7529a213d91c6526/e69a5403-9d71-47bd-8076-8d00fe749daf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T025823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38c09de7d933e0bf71800f885dfb4bc924199907dc2cf67717268f4fc7b4cefe 02:58:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:58:23 Dload Upload Total Spent Left Speed 02:58:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10746 0 0 100 10746 0 37573 --:--:-- --:--:-- --:--:-- 37573 02:58:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] } 02:58:24 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 02:58:24 + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] 02:58:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 02:58:24 total 16 02:58:24 drwxr-xr-x 3 root root 4096 Oct 12 02:52 . 02:58:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:52 .. 02:58:24 drwxr-xr-x 2 root root 4096 Oct 12 02:52 cost 02:58:24 -rw-r--r-- 1 root root 92 Oct 12 02:52 cost.csv 02:58:24 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives 02:58:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 02:58:24 total 16 02:58:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:52 . 02:58:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:52 .. 02:58:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 02:52 cost 02:58:24 -rw-r--r-- 1 jenkins jenkins 92 Oct 12 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:58:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:58:26 ---> package-listing.sh 02:58:26 ++ facter osfamily 02:58:26 ++ tr '[:upper:]' '[:lower:]' 02:58:26 + OS_FAMILY=debian 02:58:26 + workspace=/w/workspace/undry_device-onvif-camera_PR-172 02:58:26 + START_PACKAGES=/tmp/packages_start.txt 02:58:26 + END_PACKAGES=/tmp/packages_end.txt 02:58:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:58:26 + PACKAGES=/tmp/packages_start.txt 02:58:26 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 02:58:26 + PACKAGES=/tmp/packages_end.txt 02:58:26 + case "${OS_FAMILY}" in 02:58:26 + dpkg -l 02:58:26 + grep '^ii' 02:58:26 + '[' -f /tmp/packages_start.txt ']' 02:58:26 + '[' -f /tmp/packages_end.txt ']' 02:58:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:58:26 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 02:58:26 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ 02:58:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo 02:58:26 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:58:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:58:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:27 prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container 02:58:27 $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 02:58:27 $ docker top e9d8ce31c945b6d007e9d524d0c0f87c38731fdf554aacf633f03fa0ef67ddc4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:27 + touch /tmp/pre-build-complete [Pipeline] sh 02:58:28 + mkdir -p /var/log/sysstat [Pipeline] sh 02:58:28 + ls /var/log/sa-host 02:58:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:58:28 provisioning config files... 02:58:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config14111448027045010734tmp [Pipeline] { [Pipeline] echo 02:58:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:58:28 ---> create-netrc.sh [Pipeline] } 02:58:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:58:29 ---> python-tools-install.sh [Pipeline] echo 02:58:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:58:29 ---> sudo-logs.sh 02:58:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:58:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:58:29 ---> job-cost.sh 02:58:29 lf-activate-venv: SKIPPING 02:58:29 DEBUG: total: 0.2199999988079071 02:58:29 INFO: Retrieving Stack Cost... 02:58:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:58:30 INFO: Archiving Costs [Pipeline] echo 02:58:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:58:30 ---> logs-deploy.sh 02:58:30 lf-activate-venv: SKIPPING 02:58:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/20 02:58:30 INFO: archiving workspace using pattern(s): 02:58:31 Archives upload complete. 02:58:31 INFO: archiving logs to Nexus