Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4eac92da5dfc23f9865ece6d9684c74467a8de72 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 4eac92da5dfc23f9865ece6d9684c74467a8de72 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-ssh16569707957517275175.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1058126458209947796.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4996316518046766094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13415811235709316212.key > 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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16478037927391158757.key > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-121280 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing ea880fc31b0174b90466c50ed9850daca6f0f1c5 Checking out Revision ea880fc31b0174b90466c50ed9850daca6f0f1c5 (PR-125) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea880fc31b0174b90466c50ed9850daca6f0f1c5 # timeout=10 Commit message: "Merge commit '4eac92da5dfc23f9865ece6d9684c74467a8de72' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:11:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:11:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:11:34 ========================================================= 02:11:34 EdgeX Global Pipelines Version Info 02:11:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7ab38b5064460d20a0ba9652b5c3974c395ca986 # timeout=10 02:11:34 ------------------- 02:11:34 stable info: 02:11:34 ------------------- 02:11:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:11:34 Message: update stable to v1.0.244 02:11:35 ------------------- 02:11:35 experimental info: 02:11:35 ------------------- 02:11:35 Commited By: **** collab-it+edgex@linuxfoundation.org 02:11:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:11:35 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea880fc [Pipeline] echo 02:11:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:36 provisioning config files... 02:11:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1678900075050182864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:36 ---> docker-login.sh 02:11:36 nexus3.edgexfoundry.org:10001 02:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:36 Configure a credential helper to remove this warning. See 02:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:36 02:11:36 Login Succeeded 02:11:36 nexus3.edgexfoundry.org:10002 02:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:36 Configure a credential helper to remove this warning. See 02:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:36 02:11:36 Login Succeeded 02:11:36 nexus3.edgexfoundry.org:10003 02:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:36 Configure a credential helper to remove this warning. See 02:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:36 02:11:36 Login Succeeded 02:11:36 nexus3.edgexfoundry.org:10004 02:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:36 Configure a credential helper to remove this warning. See 02:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:36 02:11:36 Login Succeeded 02:11:36 docker.io 02:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:37 Configure a credential helper to remove this warning. See 02:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:37 02:11:37 Login Succeeded 02:11:37 ---> docker-login.sh ends [Pipeline] } 02:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:11:37 + git rev-list -1 --merges ea880fc31b0174b90466c50ed9850daca6f0f1c5~1..ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo 02:11:37 -----------> git rev-list -1 --merges ea880fc31b0174b90466c50ed9850daca6f0f1c5~1..ea880fc31b0174b90466c50ed9850daca6f0f1c5 ea880fc31b0174b90466c50ed9850daca6f0f1c5 02:11:37 ea880fc31b0174b90466c50ed9850daca6f0f1c5 [false] [Pipeline] sh 02:11:37 + git log --format=format:%s -1 ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo 02:11:37 ========================================================= 02:11:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:11:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:38 + git log --format=format:%s -1 ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo 02:11:38 [semverPrep] GIT_COMMIT: ea880fc31b0174b90466c50ed9850daca6f0f1c5, Commit Message: Merge commit '4eac92da5dfc23f9865ece6d9684c74467a8de72' into HEAD [Pipeline] echo 02:11:38 [semverPrep] This is not a build commit. [Pipeline] sh 02:11:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:38 + grep -v github /etc/ssh/ssh_known_hosts 02:11:38 + [ -e /tmp/ssh_known_hosts ] 02:11:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:11:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:11:38 + sudo tee -a /etc/ssh/ssh_known_hosts 02:11:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:38 02:11:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:39 0.1.4: Pulling from edgex-devops/py-git-semver 02:11:39 b85a868b505f: Pulling fs layer 02:11:39 e2be974225ed: Pulling fs layer 02:11:39 339a4e72a1f5: Pulling fs layer 02:11:39 988bab9f4d93: Pulling fs layer 02:11:39 1469e6f7b9e6: Pulling fs layer 02:11:39 eaf3925da568: Pulling fs layer 02:11:39 bab4dde63d76: Pulling fs layer 02:11:39 bde34c3a00c8: Pulling fs layer 02:11:39 b352a97aabf1: Pulling fs layer 02:11:39 4872d77fe225: Pulling fs layer 02:11:39 5851b861e8e6: Pulling fs layer 02:11:39 bde34c3a00c8: Waiting 02:11:39 b352a97aabf1: Waiting 02:11:39 4872d77fe225: Waiting 02:11:39 5851b861e8e6: Waiting 02:11:39 988bab9f4d93: Waiting 02:11:39 1469e6f7b9e6: Waiting 02:11:39 eaf3925da568: Waiting 02:11:39 bab4dde63d76: Waiting 02:11:39 e2be974225ed: Download complete 02:11:39 988bab9f4d93: Verifying Checksum 02:11:39 988bab9f4d93: Download complete 02:11:39 339a4e72a1f5: Verifying Checksum 02:11:39 339a4e72a1f5: Download complete 02:11:39 1469e6f7b9e6: Verifying Checksum 02:11:39 1469e6f7b9e6: Download complete 02:11:39 eaf3925da568: Verifying Checksum 02:11:39 eaf3925da568: Download complete 02:11:39 bde34c3a00c8: Download complete 02:11:39 b352a97aabf1: Verifying Checksum 02:11:39 b352a97aabf1: Download complete 02:11:39 4872d77fe225: Download complete 02:11:39 5851b861e8e6: Verifying Checksum 02:11:39 b85a868b505f: Verifying Checksum 02:11:39 b85a868b505f: Download complete 02:11:39 bab4dde63d76: Verifying Checksum 02:11:39 bab4dde63d76: Download complete 02:11:40 b85a868b505f: Pull complete 02:11:40 e2be974225ed: Pull complete 02:11:41 339a4e72a1f5: Pull complete 02:11:41 988bab9f4d93: Pull complete 02:11:41 1469e6f7b9e6: Pull complete 02:11:41 eaf3925da568: Pull complete 02:11:43 bab4dde63d76: Pull complete 02:11:43 bde34c3a00c8: Pull complete 02:11:43 b352a97aabf1: Pull complete 02:11:43 4872d77fe225: Pull complete 02:11:43 5851b861e8e6: Pull complete 02:11:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:43 prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container 02:11:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-devops/py-git-semver:0.1.4 cat 02:11:45 $ docker top 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c -eo pid,comm 02:11:45 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:11:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:45 [ssh-agent] Looking for ssh-agent implementation... 02:11:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:45 $ docker exec 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent 02:11:45 SSH_AUTH_SOCK=/tmp/ssh-T3T860G2nAP3/agent.32 02:11:45 SSH_AGENT_PID=39 02:11:45 Running ssh-add (command line suppressed) 02:11:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8006591778749554713.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8006591778749554713.key) 02:11:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:46 + git tag --points-at HEAD [Pipeline] } 02:11:46 $ docker exec --env ******** --env ******** 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent -k 02:11:46 unset SSH_AUTH_SOCK; 02:11:46 unset SSH_AGENT_PID; 02:11:46 echo Agent pid 39 killed; 02:11:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:11:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:46 [ssh-agent] Looking for ssh-agent implementation... 02:11:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:46 $ docker exec 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent 02:11:46 SSH_AUTH_SOCK=/tmp/ssh-rgqvSKPandU6/agent.71 02:11:46 SSH_AGENT_PID=77 02:11:46 Running ssh-add (command line suppressed) 02:11:46 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3412236235823725558.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3412236235823725558.key) 02:11:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:46 + git semver init 02:11:47 2022-12-15 02:11:47,003 [run_init] DEBUG init version:0.0.0 force:False 02:11:47 2022-12-15 02:11:47,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 02:11:47 2022-12-15 02:11:47,005 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 02:11:47 2022-12-15 02:11:47,005 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) 02:11:48 2022-12-15 02:11:48,006 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 02:11:48 2022-12-15 02:11:48,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 02:11:48 2022-12-15 02:11:48,007 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:11:48 2022-12-15 02:11:48,011 [execute] INFO git cat-file --batch-check 02:11:48 2022-12-15 02:11:48,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:11:48 2022-12-15 02:11:48,017 [execute] INFO git cat-file --batch 02:11:48 2022-12-15 02:11:48,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:11:48 2022-12-15 02:11:48,022 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:11:48 0.0.0 [Pipeline] } 02:11:48 $ docker exec --env ******** --env ******** 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent -k 02:11:48 unset SSH_AUTH_SOCK; 02:11:48 unset SSH_AGENT_PID; 02:11:48 echo Agent pid 77 killed; 02:11:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:48 + git semver [Pipeline] } 02:11:48 $ docker stop --time=1 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c 02:11:50 $ docker rm -f 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c [Pipeline] // withDockerContainer [Pipeline] sh 02:11:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:50 Stashed 1 file(s) [Pipeline] echo 02:11:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:51 provisioning config files... 02:11:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config13029482900266492095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:51 ---> docker-login.sh 02:11:51 nexus3.edgexfoundry.org:10001 02:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:51 Configure a credential helper to remove this warning. See 02:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:51 02:11:51 Login Succeeded 02:11:51 nexus3.edgexfoundry.org:10002 02:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:51 Configure a credential helper to remove this warning. See 02:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:51 02:11:51 Login Succeeded 02:11:51 nexus3.edgexfoundry.org:10003 02:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:51 Configure a credential helper to remove this warning. See 02:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:51 02:11:51 Login Succeeded 02:11:51 nexus3.edgexfoundry.org:10004 02:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:51 Configure a credential helper to remove this warning. See 02:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:51 02:11:51 Login Succeeded 02:11:51 docker.io 02:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:51 Configure a credential helper to remove this warning. See 02:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:51 02:11:51 Login Succeeded 02:11:51 ---> docker-login.sh ends [Pipeline] } 02:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:51 ========================================================= 02:11:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:52 + 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:11:52 Sending build context to Docker daemon 27.67MB 02:11:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:11:52 Step 2/13 : FROM ${BASE} AS builder 02:11:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:52 213ec9aee27d: Pulling fs layer 02:11:52 4583459ba037: Pulling fs layer 02:11:52 93c1e223e6f2: Pulling fs layer 02:11:52 53926ce57604: Pulling fs layer 02:11:52 21b2b0c7a3f4: Pulling fs layer 02:11:52 22ff95d597cd: Pulling fs layer 02:11:52 12d6caf4c0d1: Pulling fs layer 02:11:52 96b7cbca73a9: Pulling fs layer 02:11:52 a7acece74701: Pulling fs layer 02:11:52 53926ce57604: Waiting 02:11:52 22ff95d597cd: Waiting 02:11:52 12d6caf4c0d1: Waiting 02:11:52 96b7cbca73a9: Waiting 02:11:52 a7acece74701: Waiting 02:11:52 21b2b0c7a3f4: Waiting 02:11:52 93c1e223e6f2: Verifying Checksum 02:11:52 93c1e223e6f2: Download complete 02:11:52 4583459ba037: Download complete 02:11:52 21b2b0c7a3f4: Verifying Checksum 02:11:52 21b2b0c7a3f4: Download complete 02:11:52 22ff95d597cd: Verifying Checksum 02:11:52 22ff95d597cd: Download complete 02:11:52 213ec9aee27d: Verifying Checksum 02:11:52 213ec9aee27d: Download complete 02:11:52 12d6caf4c0d1: Verifying Checksum 02:11:52 12d6caf4c0d1: Download complete 02:11:52 213ec9aee27d: Pull complete 02:11:52 4583459ba037: Pull complete 02:11:53 93c1e223e6f2: Pull complete 02:11:53 a7acece74701: Verifying Checksum 02:11:53 a7acece74701: Download complete 02:11:53 96b7cbca73a9: Verifying Checksum 02:11:53 96b7cbca73a9: Download complete 02:11:53 53926ce57604: Verifying Checksum 02:11:53 53926ce57604: Download complete 02:11:56 53926ce57604: Pull complete 02:11:56 21b2b0c7a3f4: Pull complete 02:11:57 22ff95d597cd: Pull complete 02:11:57 12d6caf4c0d1: Pull complete 02:11:59 96b7cbca73a9: Pull complete 02:11:59 a7acece74701: Pull complete 02:11:59 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:11:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:11:59 ---> db6d94c90886 02:11:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:12:01 ---> Running in 2f4467fa4c72 02:12:01 Removing intermediate container 2f4467fa4c72 02:12:01 ---> a6f57ac20788 02:12:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:01 ---> Running in 7470b377a943 02:12:02 Removing intermediate container 7470b377a943 02:12:02 ---> e6a31cbeddef 02:12:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:02 ---> Running in 00427b2eb0b1 02:12:02 Removing intermediate container 00427b2eb0b1 02:12:02 ---> c3a37b845527 02:12:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:12:02 ---> Running in 49141e83ec81 02:12:02 Removing intermediate container 49141e83ec81 02:12:02 ---> 0af72c3c6249 02:12:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:12:02 ---> Running in 5e063e5800bd 02:12:02 Removing intermediate container 5e063e5800bd 02:12:02 ---> 6332d41c5d87 02:12:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:02 ---> Running in f83788d50255 02:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:03 OK: 211 MiB in 51 packages 02:12:03 Removing intermediate container f83788d50255 02:12:03 ---> ce9068eee1f2 02:12:03 Step 9/13 : WORKDIR /device-onvif-camera 02:12:03 ---> Running in 26bd2c476976 02:12:03 Removing intermediate container 26bd2c476976 02:12:03 ---> 36ffa1680967 02:12:03 Step 10/13 : COPY go.mod vendor* ./ 02:12:03 ---> 9ce860612b97 02:12:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:03 ---> Running in 6c81ed29db12 02:12:05 Still waiting to schedule task 02:12:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121277’ 02:12:22 Removing intermediate container 6c81ed29db12 02:12:22 ---> 147da79d06d8 02:12:22 Step 12/13 : COPY . . 02:12:22 ---> 722d529f4dd6 02:12:22 Step 13/13 : RUN ${MAKE} 02:12:22 ---> Running in 6b1f7368755a 02:12:22 noop 02:12:22 Removing intermediate container 6b1f7368755a 02:12:22 ---> 435800bc3a42 02:12:22 Successfully built 435800bc3a42 02:12:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:22 + docker inspect -f . ci-base-image-x86_64 02:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:22 prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container 02:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:23 $ docker top 9ea68a49f27c2640ac02963f15235d484ef3b8ea1bfbbaa332e7561ee8bb125a -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:23 + go version 02:12:23 go version go1.18.7 linux/amd64 [Pipeline] } 02:12:23 $ docker stop --time=1 9ea68a49f27c2640ac02963f15235d484ef3b8ea1bfbbaa332e7561ee8bb125a 02:12:24 $ docker rm -f 9ea68a49f27c2640ac02963f15235d484ef3b8ea1bfbbaa332e7561ee8bb125a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:25 + docker inspect -f . ci-base-image-x86_64 02:12:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:25 prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container 02:12:25 $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:25 $ docker top 0dd9f34a5b5094d19143b74a33e5720b252e3c9ff4300af2e13f51691f94852b -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:26 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 02:12:26 + make test 02:12:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements 02:12:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.429s coverage: 86.5% of statements 02:12:46 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:12:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:12:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:48 ./bin/test-attribution-txt.sh [Pipeline] echo 02:12:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:12:48 $ docker stop --time=1 0dd9f34a5b5094d19143b74a33e5720b252e3c9ff4300af2e13f51691f94852b 02:12:50 $ docker rm -f 0dd9f34a5b5094d19143b74a33e5720b252e3c9ff4300af2e13f51691f94852b [Pipeline] // withDockerContainer [Pipeline] sh 02:12:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:12:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:12:51 + ls -al . 02:12:51 total 248 02:12:51 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:12 . 02:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:11 .. 02:12:51 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:12 .git 02:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:11 .github 02:12:51 -rw-rw-r-- 1 jenkins jenkins 496 Dec 15 02:11 .gitignore 02:12:51 -rw-rw-r-- 1 jenkins jenkins 42 Dec 15 02:11 .golangci.yml 02:12:51 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:11 .semver 02:12:51 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 15 02:11 Attribution.txt 02:12:51 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 15 02:11 CHANGELOG.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 1710 Dec 15 02:11 Dockerfile 02:12:51 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:11 GOVERNANCE.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 734 Dec 15 02:11 Jenkinsfile 02:12:51 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 15 02:11 LICENSE 02:12:51 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 15 02:11 Makefile 02:12:51 -rw-rw-r-- 1 jenkins jenkins 625 Dec 15 02:11 OWNERS.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 15 02:11 README.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:11 VERSION 02:12:51 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:11 bin 02:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:11 cmd 02:12:51 -rw-r--r-- 1 jenkins jenkins 79184 Dec 15 02:12 coverage.out 02:12:51 drwxrwxr-x 6 jenkins jenkins 4096 Dec 15 02:11 doc 02:12:51 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 15 02:11 go.mod 02:12:51 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 15 02:11 go.sum 02:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:11 internal 02:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:11 snap 02:12:51 -rw-rw-r-- 1 jenkins jenkins 236 Dec 15 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:52 + 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=ea880fc31b0174b90466c50ed9850daca6f0f1c5 --label arch=amd64 --label version=0.0.0 . 02:12:52 Sending build context to Docker daemon 27.75MB 02:12:52 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:12:52 Step 2/27 : FROM ${BASE} AS builder 02:12:52 ---> 435800bc3a42 02:12:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:12:52 ---> Running in 0562eb7f10f7 02:12:52 Removing intermediate container 0562eb7f10f7 02:12:52 ---> ed865ae34456 02:12:52 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:52 ---> Running in 3b220f57b7a2 02:12:52 Removing intermediate container 3b220f57b7a2 02:12:52 ---> 6e6028069dca 02:12:52 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:52 ---> Running in 4e9127f3b442 02:12:52 Removing intermediate container 4e9127f3b442 02:12:52 ---> b47ac9a06285 02:12:52 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:12:52 ---> Running in 84633e4f9718 02:12:52 Removing intermediate container 84633e4f9718 02:12:52 ---> 518e42cec51c 02:12:52 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:12:53 ---> Running in fa5c89374ae1 02:12:53 Removing intermediate container fa5c89374ae1 02:12:53 ---> 95f9661ef904 02:12:53 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:53 ---> Running in cebb11b17f45 02:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:53 OK: 211 MiB in 51 packages 02:12:54 Removing intermediate container cebb11b17f45 02:12:54 ---> 6bd229f969b0 02:12:54 Step 9/27 : WORKDIR /device-onvif-camera 02:12:54 ---> Running in 6d13a5f73915 02:12:54 Removing intermediate container 6d13a5f73915 02:12:54 ---> 5285325b1d9a 02:12:54 Step 10/27 : COPY go.mod vendor* ./ 02:12:54 ---> 1ac6665f8633 02:12:54 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:54 ---> Running in 2958a66ee27b 02:12:54 Removing intermediate container 2958a66ee27b 02:12:54 ---> 9d95c976b40e 02:12:54 Step 12/27 : COPY . . 02:12:55 ---> ff88ce5dd876 02:12:55 Step 13/27 : RUN ${MAKE} 02:12:55 ---> Running in eaa9e1683ef8 02:12:55 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/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:13:17 Removing intermediate container eaa9e1683ef8 02:13:17 ---> 116114e9d774 02:13:17 Step 14/27 : FROM alpine:3.16 02:13:17 3.16: Pulling from library/alpine 02:13:17 ca7dd9ec2225: Pulling fs layer 02:13:17 ca7dd9ec2225: Verifying Checksum 02:13:17 ca7dd9ec2225: Download complete 02:13:17 ca7dd9ec2225: Pull complete 02:13:17 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:13:17 Status: Downloaded newer image for alpine:3.16 02:13:17 ---> bfe296a52501 02:13:17 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:13:17 ---> Running in c6889be5fe01 02:13:17 Removing intermediate container c6889be5fe01 02:13:17 ---> 85dcb3d19373 02:13:17 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:13:17 ---> Running in 9468ba119618 02:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:18 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:13:18 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:13:18 (3/21) Installing readline (8.1.2-r0) 02:13:18 (4/21) Installing bash (5.1.16-r2) 02:13:18 Executing bash-5.1.16-r2.post-install 02:13:18 (5/21) Installing ca-certificates (20220614-r0) 02:13:18 (6/21) Installing brotli-libs (1.0.9-r6) 02:13:18 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:13:18 (8/21) Installing libcurl (7.83.1-r4) 02:13:18 (9/21) Installing curl (7.83.1-r4) 02:13:18 (10/21) Installing dumb-init (1.2.5-r1) 02:13:18 (11/21) Installing oniguruma (6.9.8-r0) 02:13:18 (12/21) Installing jq (1.6-r1) 02:13:18 (13/21) Installing popt (1.18-r0) 02:13:18 (14/21) Installing pcre (8.45-r2) 02:13:18 (15/21) Installing slang (2.3.2-r0) 02:13:18 (16/21) Installing newt (0.52.21-r2) 02:13:18 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:13:18 (18/21) Installing libsodium (1.0.18-r0) 02:13:18 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:13:18 (20/21) Installing libzmq (4.3.4-r0) 02:13:18 (21/21) Installing zeromq (4.3.4-r0) 02:13:18 Executing busybox-1.35.0-r17.trigger 02:13:18 Executing ca-certificates-20220614-r0.trigger 02:13:18 OK: 17 MiB in 35 packages 02:13:19 Removing intermediate container 9468ba119618 02:13:19 ---> 05f0929f891c 02:13:19 Step 17/27 : WORKDIR / 02:13:19 ---> Running in 9bec4be626a7 02:13:19 Removing intermediate container 9bec4be626a7 02:13:19 ---> 94017f7626bc 02:13:19 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 02:13:19 ---> ffe044ec2f52 02:13:19 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:13:20 ---> 759b14f6a61a 02:13:20 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:13:20 ---> 91bd0d41b30c 02:13:20 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:13:20 ---> 161f4dccc677 02:13:20 Step 22/27 : EXPOSE 59984 02:13:20 ---> Running in 9fff204af294 02:13:20 Removing intermediate container 9fff204af294 02:13:20 ---> a82632ea14d2 02:13:20 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:13:20 ---> Running in 32f0c1f4d64a 02:13:20 Removing intermediate container 32f0c1f4d64a 02:13:20 ---> 00d2f119ef8c 02:13:20 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:21 ---> Running in f028d27a6bfd 02:13:21 Removing intermediate container f028d27a6bfd 02:13:21 ---> 95408c693607 02:13:21 Step 25/27 : LABEL arch=amd64 02:13:21 ---> Running in daa2b6854640 02:13:21 Removing intermediate container daa2b6854640 02:13:21 ---> 719af5f9e800 02:13:21 Step 26/27 : LABEL git_sha=ea880fc31b0174b90466c50ed9850daca6f0f1c5 02:13:21 ---> Running in 9c624dfa929e 02:13:21 Removing intermediate container 9c624dfa929e 02:13:21 ---> 8dda9d1db4c0 02:13:21 Step 27/27 : LABEL version=0.0.0 02:13:21 ---> Running in 1e77e517572e 02:13:21 Removing intermediate container 1e77e517572e 02:13:21 ---> 9379b1cfb777 02:13:21 [Warning] One or more build-args [ARCH] were not consumed 02:13:21 Successfully built 9379b1cfb777 02:13:21 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:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:21 02:13:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:22 latest: Pulling from edgex-lftools-log-publisher 02:13:22 5eb5b503b376: Pulling fs layer 02:13:22 5c69ac0246d0: Pulling fs layer 02:13:22 ec43610c2a17: Pulling fs layer 02:13:22 3a2ae6a8a46f: Pulling fs layer 02:13:22 33b1e0a273af: Pulling fs layer 02:13:22 5d3b04190fa2: Pulling fs layer 02:13:22 2f39f015ded8: Pulling fs layer 02:13:22 33b1e0a273af: Waiting 02:13:22 3a2ae6a8a46f: Waiting 02:13:22 2f39f015ded8: Waiting 02:13:22 5d3b04190fa2: Waiting 02:13:22 5c69ac0246d0: Verifying Checksum 02:13:22 5c69ac0246d0: Download complete 02:13:22 3a2ae6a8a46f: Verifying Checksum 02:13:22 3a2ae6a8a46f: Download complete 02:13:22 33b1e0a273af: Verifying Checksum 02:13:22 33b1e0a273af: Download complete 02:13:22 5d3b04190fa2: Verifying Checksum 02:13:22 5d3b04190fa2: Download complete 02:13:22 ec43610c2a17: Download complete 02:13:22 5eb5b503b376: Verifying Checksum 02:13:22 5eb5b503b376: Download complete 02:13:23 2f39f015ded8: Download complete 02:13:23 5eb5b503b376: Pull complete 02:13:23 5c69ac0246d0: Pull complete 02:13:24 ec43610c2a17: Pull complete 02:13:24 3a2ae6a8a46f: Pull complete 02:13:24 33b1e0a273af: Pull complete 02:13:24 5d3b04190fa2: Pull complete 02:13:28 2f39f015ded8: Pull complete 02:13:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:28 prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container 02:13:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:13:32 $ docker top 92c1dfe42da5632895f087416b2f565fdb373eac7a28987d9eb90a6baa2b1741 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:32 ---> job-cost.sh 02:13:32 lf-activate-venv: SKIPPING 02:13:32 INFO: No Stack... 02:13:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:33 INFO: Archiving Costs [Pipeline] sh 02:13:33 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 02:13:33 + cut -d, -f6 [Pipeline] lock 02:13:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] 02:13:33 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] did not exist. Created. 02:13:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:33 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:33 Stashed 1 file(s) [Pipeline] } 02:13:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:33 $ docker stop --time=1 92c1dfe42da5632895f087416b2f565fdb373eac7a28987d9eb90a6baa2b1741 02:13:35 $ docker rm -f 92c1dfe42da5632895f087416b2f565fdb373eac7a28987d9eb90a6baa2b1741 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:15:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121282 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 02:15:12 Running in /w/workspace/device-onvif-camera/31 [Pipeline] { [Pipeline] checkout 02:15:12 The recommended git tool is: git 02:15:17 using credential edgex-jenkins-ssh 02:15:17 Cloning the remote Git repository 02:15:17 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:15:17 > git init /w/workspace/device-onvif-camera/31 # timeout=10 02:15:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:18 > git --version # timeout=10 02:15:18 > git --version # 'git version 2.25.1' 02:15:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:19 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:15:21 Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 02:15:21 > git config core.sparsecheckout # timeout=10 02:15:21 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 02:15:21 > git remote # timeout=10 02:15:21 > git config --get remote.origin.url # timeout=10 02:15:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:21 > git merge 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 02:15:22 Merge succeeded, producing 89219144a53c6e8b1666f89d686f6be0004021e5 02:15:22 Checking out Revision 89219144a53c6e8b1666f89d686f6be0004021e5 (PR-125) 02:15:22 > git rev-parse HEAD^{commit} # timeout=10 02:15:22 > git config core.sparsecheckout # timeout=10 02:15:22 > git checkout -f 89219144a53c6e8b1666f89d686f6be0004021e5 # timeout=10 02:15:26 Commit message: "Merge commit '4eac92da5dfc23f9865ece6d9684c74467a8de72' into HEAD" 02:15:26 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:26 > git rev-list --no-walk 7ab38b5064460d20a0ba9652b5c3974c395ca986 # timeout=10 02:15:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:15:27 % Total % Received % Xferd Average Speed Time Time Time Current 02:15:27 Dload Upload Total Spent Left Speed 02:15:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 02:15:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:15:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:15:28 + sudo tee /etc/docker/daemon.new 02:15:28 { 02:15:28 "registry-mirrors": [ 02:15:28 "https://nexus3.edgexfoundry.org:10001" 02:15:28 ], 02:15:28 "bip": "10.250.0.254/24", 02:15:28 "hosts": [ 02:15:28 "tcp://0.0.0.0:5555", 02:15:28 "unix:///var/run/docker.sock" 02:15:28 ], 02:15:28 "mtu": 1458, 02:15:28 "selinux-enabled": true, 02:15:28 "seccomp-profile": "/etc/docker/seccomp.json" 02:15:28 } [Pipeline] sh 02:15:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:15:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:47 provisioning config files... 02:15:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/31@tmp/config14659882947633894767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:47 ---> docker-login.sh 02:15:47 nexus3.edgexfoundry.org:10001 02:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:48 Configure a credential helper to remove this warning. See 02:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:48 02:15:48 Login Succeeded 02:15:48 nexus3.edgexfoundry.org:10002 02:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:48 Configure a credential helper to remove this warning. See 02:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:48 02:15:48 Login Succeeded 02:15:48 nexus3.edgexfoundry.org:10003 02:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:48 Configure a credential helper to remove this warning. See 02:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:48 02:15:48 Login Succeeded 02:15:48 nexus3.edgexfoundry.org:10004 02:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:49 Configure a credential helper to remove this warning. See 02:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:49 02:15:49 Login Succeeded 02:15:49 docker.io 02:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:49 Configure a credential helper to remove this warning. See 02:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:49 02:15:49 Login Succeeded 02:15:49 ---> docker-login.sh ends [Pipeline] } 02:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:15:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:50 ========================================================= 02:15:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:15:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:50 + 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:15:50 Sending build context to Docker daemon 20.53MB 02:15:50 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:15:50 Step 2/13 : FROM ${BASE} AS builder 02:15:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:15:50 9b18e9b68314: Pulling fs layer 02:15:50 35d82f9e3411: Pulling fs layer 02:15:50 e16973657156: Pulling fs layer 02:15:50 fc693d55d65f: Pulling fs layer 02:15:50 7e9fc2657dce: Pulling fs layer 02:15:50 dda99020689f: Pulling fs layer 02:15:50 db1c61fa0a46: Pulling fs layer 02:15:50 891c053d2c06: Pulling fs layer 02:15:50 dda99020689f: Waiting 02:15:50 db1c61fa0a46: Waiting 02:15:50 891c053d2c06: Waiting 02:15:50 7e9fc2657dce: Waiting 02:15:50 fc693d55d65f: Waiting 02:15:51 e16973657156: Verifying Checksum 02:15:51 e16973657156: Download complete 02:15:51 35d82f9e3411: Download complete 02:15:51 7e9fc2657dce: Verifying Checksum 02:15:51 7e9fc2657dce: Download complete 02:15:51 dda99020689f: Verifying Checksum 02:15:51 dda99020689f: Download complete 02:15:51 9b18e9b68314: Verifying Checksum 02:15:51 9b18e9b68314: Download complete 02:15:52 9b18e9b68314: Pull complete 02:15:52 891c053d2c06: Verifying Checksum 02:15:52 891c053d2c06: Download complete 02:15:52 35d82f9e3411: Pull complete 02:15:52 e16973657156: Pull complete 02:15:53 db1c61fa0a46: Verifying Checksum 02:15:53 db1c61fa0a46: Download complete 02:15:53 fc693d55d65f: Verifying Checksum 02:15:53 fc693d55d65f: Download complete 02:16:06 fc693d55d65f: Pull complete 02:16:06 7e9fc2657dce: Pull complete 02:16:06 dda99020689f: Pull complete 02:16:13 db1c61fa0a46: Pull complete 02:16:14 891c053d2c06: Pull complete 02:16:14 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:16:14 ---> f96f9c87975a 02:16:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:16:16 ---> Running in e462fdbb5071 02:16:17 Removing intermediate container e462fdbb5071 02:16:17 ---> 06255eb59ea0 02:16:17 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:16:17 ---> Running in 4114a44a36b7 02:16:17 Removing intermediate container 4114a44a36b7 02:16:17 ---> 65f2315e228f 02:16:17 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:16:17 ---> Running in c3b2c9d67f28 02:16:18 Removing intermediate container c3b2c9d67f28 02:16:18 ---> 4d45072a369a 02:16:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:16:18 ---> Running in e1b5d0cd9cb4 02:16:18 Removing intermediate container e1b5d0cd9cb4 02:16:18 ---> ed384a5803c6 02:16:18 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:16:18 ---> Running in c28391737c8b 02:16:18 Removing intermediate container c28391737c8b 02:16:18 ---> b5cd8f3ad65b 02:16:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:18 ---> Running in 48714fb28298 02:16:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:16:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:16:21 OK: 221 MiB in 51 packages 02:16:22 Removing intermediate container 48714fb28298 02:16:22 ---> b4fe9cf493fe 02:16:22 Step 9/13 : WORKDIR /device-onvif-camera 02:16:22 ---> Running in e0bb8e3b94be 02:16:22 Removing intermediate container e0bb8e3b94be 02:16:22 ---> 06787b4818e9 02:16:22 Step 10/13 : COPY go.mod vendor* ./ 02:16:23 ---> df618167eefb 02:16:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:23 ---> Running in 186fc0809270 02:17:20 Removing intermediate container 186fc0809270 02:17:20 ---> e9adf148afae 02:17:20 Step 12/13 : COPY . . 02:17:21 ---> efdd2373e019 02:17:21 Step 13/13 : RUN ${MAKE} 02:17:21 ---> Running in e3334a3a0a53 02:17:22 noop 02:17:23 Removing intermediate container e3334a3a0a53 02:17:23 ---> b74e235b9fde 02:17:23 Successfully built b74e235b9fde 02:17:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:23 + docker inspect -f . ci-base-image-arm64 02:17:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:23 prd-ubuntu20.04-docker-arm64-4c-16g-121282 does not seem to be running inside a container 02:17:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:24 $ docker top e10e235a340acc09ee494e1e80335b9d4a189308542f6c6a7de33ab81cf94a4a -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:25 + go version 02:17:25 go version go1.18.7 linux/arm64 [Pipeline] } 02:17:25 $ docker stop --time=1 e10e235a340acc09ee494e1e80335b9d4a189308542f6c6a7de33ab81cf94a4a 02:17:27 $ docker rm -f e10e235a340acc09ee494e1e80335b9d4a189308542f6c6a7de33ab81cf94a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:28 + docker inspect -f . ci-base-image-arm64 02:17:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-121282 does not seem to be running inside a container 02:17:28 $ 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/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:29 $ docker top a32ef1f2baad5cba6b7810e1cdc772992569c7dc0e1ac380ed9a82fad9100d18 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/31 [Pipeline] fileExists [Pipeline] sh 02:17:30 + make test 02:17:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:19:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:19:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.183s coverage: 29.3% of statements 02:19:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:19:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.601s coverage: 86.5% of statements 02:19:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:19:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:20:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:20:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:20:02 ./bin/test-attribution-txt.sh [Pipeline] echo 02:20:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:20:02 $ docker stop --time=1 a32ef1f2baad5cba6b7810e1cdc772992569c7dc0e1ac380ed9a82fad9100d18 02:20:04 $ docker rm -f a32ef1f2baad5cba6b7810e1cdc772992569c7dc0e1ac380ed9a82fad9100d18 [Pipeline] // withDockerContainer [Pipeline] sh 02:20:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:20:05 Warning: overwriting stash ‘coverage-report’ 02:20:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:20:07 + ls -al . 02:20:07 total 244 02:20:07 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:17 . 02:20:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:15 .. 02:20:07 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:15 .git 02:20:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:15 .github 02:20:07 -rw-rw-r-- 1 jenkins jenkins 496 Dec 15 02:15 .gitignore 02:20:07 -rw-rw-r-- 1 jenkins jenkins 42 Dec 15 02:15 .golangci.yml 02:20:07 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 15 02:15 Attribution.txt 02:20:07 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 15 02:15 CHANGELOG.md 02:20:07 -rw-rw-r-- 1 jenkins jenkins 1710 Dec 15 02:15 Dockerfile 02:20:07 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:15 GOVERNANCE.md 02:20:07 -rw-rw-r-- 1 jenkins jenkins 734 Dec 15 02:15 Jenkinsfile 02:20:07 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 15 02:15 LICENSE 02:20:07 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 15 02:15 Makefile 02:20:07 -rw-rw-r-- 1 jenkins jenkins 625 Dec 15 02:15 OWNERS.md 02:20:07 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 15 02:15 README.md 02:20:07 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:11 VERSION 02:20:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:15 bin 02:20:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:15 cmd 02:20:07 -rw-r--r-- 1 jenkins jenkins 79184 Dec 15 02:19 coverage.out 02:20:07 drwxrwxr-x 6 jenkins jenkins 4096 Dec 15 02:15 doc 02:20:07 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 15 02:15 go.mod 02:20:07 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 15 02:15 go.sum 02:20:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:15 internal 02:20:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:15 snap 02:20:07 -rw-rw-r-- 1 jenkins jenkins 236 Dec 15 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:07 + 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=89219144a53c6e8b1666f89d686f6be0004021e5 --label arch=arm64 --label version=0.0.0 . 02:20:08 Sending build context to Docker daemon 20.61MB 02:20:08 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:20:08 Step 2/27 : FROM ${BASE} AS builder 02:20:08 ---> b74e235b9fde 02:20:08 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:20:09 ---> Running in efb77c995e6b 02:20:09 Removing intermediate container efb77c995e6b 02:20:09 ---> 002c90315de4 02:20:09 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:20:09 ---> Running in 94215117b56a 02:20:09 Removing intermediate container 94215117b56a 02:20:09 ---> f0857951f7be 02:20:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:20:09 ---> Running in 7f1ae3091a41 02:20:10 Removing intermediate container 7f1ae3091a41 02:20:10 ---> 013b8e3f4f7c 02:20:10 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:20:10 ---> Running in e04ac7560d78 02:20:10 Removing intermediate container e04ac7560d78 02:20:10 ---> 7fbc2bf85db4 02:20:10 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:20:10 ---> Running in e51b9d2f46bd 02:20:11 Removing intermediate container e51b9d2f46bd 02:20:11 ---> 2c820ae18fb0 02:20:11 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:20:11 ---> Running in a74f30e424f4 02:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:20:13 OK: 221 MiB in 51 packages 02:20:14 Removing intermediate container a74f30e424f4 02:20:14 ---> d3a5ecfefead 02:20:14 Step 9/27 : WORKDIR /device-onvif-camera 02:20:14 ---> Running in 502fb51cf00a 02:20:15 Removing intermediate container 502fb51cf00a 02:20:15 ---> b0abea9e25cc 02:20:15 Step 10/27 : COPY go.mod vendor* ./ 02:20:15 ---> c435d81d0fd8 02:20:15 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:20:16 ---> Running in b77e0f8294c9 02:20:18 Removing intermediate container b77e0f8294c9 02:20:18 ---> e9ccec4407ac 02:20:18 Step 12/27 : COPY . . 02:20:20 ---> 6102c7c64a31 02:20:20 Step 13/27 : RUN ${MAKE} 02:20:20 ---> Running in cdf513201d59 02:20:21 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/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:22:58 Removing intermediate container cdf513201d59 02:22:58 ---> 3bb3a6941bed 02:22:58 Step 14/27 : FROM alpine:3.16 02:22:58 3.16: Pulling from library/alpine 02:22:58 6875df1f5354: Pulling fs layer 02:22:58 6875df1f5354: Verifying Checksum 02:22:58 6875df1f5354: Download complete 02:22:58 6875df1f5354: Pull complete 02:22:58 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:22:58 Status: Downloaded newer image for alpine:3.16 02:22:58 ---> 2b4661558fb8 02:22:58 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:22:58 ---> Running in 2b6c54b55355 02:22:58 Removing intermediate container 2b6c54b55355 02:22:58 ---> 85d65313c3ac 02:22:58 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:22:58 ---> Running in bbbfde8726cc 02:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:22:58 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:22:58 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:22:58 (3/21) Installing readline (8.1.2-r0) 02:22:58 (4/21) Installing bash (5.1.16-r2) 02:22:58 Executing bash-5.1.16-r2.post-install 02:22:58 (5/21) Installing ca-certificates (20220614-r0) 02:22:58 (6/21) Installing brotli-libs (1.0.9-r6) 02:22:58 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:22:58 (8/21) Installing libcurl (7.83.1-r4) 02:22:58 (9/21) Installing curl (7.83.1-r4) 02:22:58 (10/21) Installing dumb-init (1.2.5-r1) 02:22:58 (11/21) Installing oniguruma (6.9.8-r0) 02:22:58 (12/21) Installing jq (1.6-r1) 02:22:58 (13/21) Installing popt (1.18-r0) 02:22:58 (14/21) Installing pcre (8.45-r2) 02:22:58 (15/21) Installing slang (2.3.2-r0) 02:22:58 (16/21) Installing newt (0.52.21-r2) 02:22:58 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:22:58 (18/21) Installing libsodium (1.0.18-r0) 02:22:58 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:22:58 (20/21) Installing libzmq (4.3.4-r0) 02:22:58 (21/21) Installing zeromq (4.3.4-r0) 02:22:58 Executing busybox-1.35.0-r17.trigger 02:22:58 Executing ca-certificates-20220614-r0.trigger 02:22:58 OK: 16 MiB in 35 packages 02:22:58 Removing intermediate container bbbfde8726cc 02:22:58 ---> 6dcdebc6a648 02:22:58 Step 17/27 : WORKDIR / 02:22:58 ---> Running in fd7f18ec30c3 02:22:58 Removing intermediate container fd7f18ec30c3 02:22:58 ---> 516eb34801d6 02:22:58 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 02:22:59 ---> 8a4717f7417a 02:22:59 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:22:59 ---> a1442c332fce 02:22:59 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:23:00 ---> e2f11cf6c1aa 02:23:00 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:23:00 ---> efd4ab1764ae 02:23:00 Step 22/27 : EXPOSE 59984 02:23:00 ---> Running in 8a11b97914c8 02:23:01 Removing intermediate container 8a11b97914c8 02:23:01 ---> 7a4a7b670209 02:23:01 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:23:01 ---> Running in 253db26a2fe0 02:23:01 Removing intermediate container 253db26a2fe0 02:23:01 ---> afcc967364be 02:23:01 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:23:01 ---> Running in d5b6cdc127be 02:23:01 Removing intermediate container d5b6cdc127be 02:23:01 ---> 86cdf8a887f7 02:23:01 Step 25/27 : LABEL arch=arm64 02:23:02 ---> Running in 97ceda3a8160 02:23:02 Removing intermediate container 97ceda3a8160 02:23:02 ---> 451fc8f4bc28 02:23:02 Step 26/27 : LABEL git_sha=89219144a53c6e8b1666f89d686f6be0004021e5 02:23:02 ---> Running in 71de76c04eff 02:23:02 Removing intermediate container 71de76c04eff 02:23:02 ---> 19b235accc63 02:23:02 Step 27/27 : LABEL version=0.0.0 02:23:02 ---> Running in 5b237792a746 02:23:02 Removing intermediate container 5b237792a746 02:23:02 ---> 85642041dbd9 02:23:02 [Warning] One or more build-args [ARCH] were not consumed 02:23:03 Successfully built 85642041dbd9 02:23:03 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:03 02:23:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:04 arm64: Pulling from edgex-lftools-log-publisher 02:23:04 8998bd30e6a1: Pulling fs layer 02:23:04 04944245beec: Pulling fs layer 02:23:04 699f458cf7ca: Pulling fs layer 02:23:04 765212b225bb: Pulling fs layer 02:23:04 f23df028b6ca: Pulling fs layer 02:23:04 d65c8cfc05b1: Pulling fs layer 02:23:04 2437ff75d9bd: Pulling fs layer 02:23:04 f23df028b6ca: Waiting 02:23:04 d65c8cfc05b1: Waiting 02:23:04 2437ff75d9bd: Waiting 02:23:04 04944245beec: Verifying Checksum 02:23:04 04944245beec: Download complete 02:23:04 765212b225bb: Verifying Checksum 02:23:04 765212b225bb: Download complete 02:23:04 f23df028b6ca: Verifying Checksum 02:23:04 f23df028b6ca: Download complete 02:23:04 d65c8cfc05b1: Download complete 02:23:04 699f458cf7ca: Verifying Checksum 02:23:05 8998bd30e6a1: Verifying Checksum 02:23:05 8998bd30e6a1: Download complete 02:23:07 2437ff75d9bd: Verifying Checksum 02:23:07 2437ff75d9bd: Download complete 02:23:09 8998bd30e6a1: Pull complete 02:23:09 04944245beec: Pull complete 02:23:10 699f458cf7ca: Pull complete 02:23:11 765212b225bb: Pull complete 02:23:12 f23df028b6ca: Pull complete 02:23:12 d65c8cfc05b1: Pull complete 02:23:27 2437ff75d9bd: Pull complete 02:23:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:27 prd-ubuntu20.04-docker-arm64-4c-16g-121282 does not seem to be running inside a container 02:23:27 $ 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/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:23:29 $ docker top 7e339e8d651f3d638d34d05fd7a70124539a2a5252de5262c6c857b1601b2e22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:30 ---> job-cost.sh 02:23:30 lf-activate-venv: SKIPPING 02:23:30 INFO: No Stack... 02:23:31 INFO: Retrieving Pricing Info for: v3-standard-4 02:23:31 INFO: Archiving Costs [Pipeline] sh 02:23:32 + cat /w/workspace/device-onvif-camera/31/archives/cost.csv 02:23:32 + cut -d, -f6 [Pipeline] lock 02:23:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] 02:23:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] did not exist. Created. 02:23:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:23:33 /w/workspace/device-onvif-camera/31@tmp/durable-6e074c73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:23:33 + echo total: 0.10999999940395355 [Pipeline] stash 02:23:33 Warning: overwriting stash ‘stack-cost’ 02:23:33 Stashed 1 file(s) [Pipeline] } 02:23:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] // lock [Pipeline] } 02:23:33 $ docker stop --time=1 7e339e8d651f3d638d34d05fd7a70124539a2a5252de5262c6c857b1601b2e22 02:23:35 $ docker rm -f 7e339e8d651f3d638d34d05fd7a70124539a2a5252de5262c6c857b1601b2e22 [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:23:35 provisioning config files... 02:23:35 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7376214548875876568tmp [Pipeline] { [Pipeline] sh 02:23:35 + set +x 02:23:35 + bash -s -- 02:23:35 + curl -s https://codecov.io/bash 02:23:35 02:23:35 _____ _ 02:23:35 / ____| | | 02:23:35 | | ___ __| | ___ ___ _____ __ 02:23:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:23:35 | |___| (_) | (_| | __/ (_| (_) \ V / 02:23:35 \_____\___/ \__,_|\___|\___\___/ \_/ 02:23:35 Bash-1.0.6 02:23:35 02:23:35 02:23:35 ==> git version 2.25.1 found 02:23:35 ==> 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:23:35 Release-Date: 2020-01-08 02:23:35 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:23:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:23:35 ==> Jenkins CI detected. 02:23:35 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 02:23:35 project root: . 02:23:35 --> token set from env 02:23:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:23:35 ==> Running gcov in . (disable via -X gcov) 02:23:35 ==> Python coveragepy not found 02:23:35 ==> Searching for coverage reports in: 02:23:35 + . 02:23:35 -> Found 1 reports 02:23:35 ==> Detecting git/mercurial file structure 02:23:35 ==> Reading reports 02:23:35 + ./coverage.out bytes=79184 02:23:35 ==> Appending adjustments 02:23:35 https://docs.codecov.io/docs/fixing-reports 02:23:36 + Found adjustments 02:23:36 ==> Gzipping contents 02:23:36 12K /tmp/codecov.UsbsLf.gz 02:23:36 ==> Uploading reports 02:23:36 url: https://codecov.io 02:23:36 query: branch=PR-125&commit=ea880fc31b0174b90466c50ed9850daca6f0f1c5&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:23:36 -> Pinging Codecov 02:23:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=ea880fc31b0174b90466c50ed9850daca6f0f1c5&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:23:36 -> Uploading to 02:23:36 https://storage.googleapis.com/codecov/v4/raw/2022-12-15/F29A59C45E3A92E06B3E522C9905F8EF/ea880fc31b0174b90466c50ed9850daca6f0f1c5/9846f6e3-eccb-459f-9b26-cb320cd01062.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221215T022336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c051c3b63e73393693e1333ece08d1b3bfe749daf9d18379a1b459367d3aeda 02:23:36 % Total % Received % Xferd Average Speed Time Time Time Current 02:23:36 Dload Upload Total Spent Left Speed 02:23:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10779 0 0 100 10779 0 52838 --:--:-- --:--:-- --:--:-- 52580 100 10779 0 0 100 10779 0 51085 --:--:-- --:--:-- --:--:-- 50844 02:23:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] } 02:23:36 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:23:37 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 02:23:37 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:37 total 16 02:23:37 drwxr-xr-x 3 root root 4096 Dec 15 02:13 . 02:23:37 drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 02:13 .. 02:23:37 drwxr-xr-x 2 root root 4096 Dec 15 02:13 cost 02:23:37 -rw-r--r-- 1 root root 92 Dec 15 02:13 cost.csv 02:23:37 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:37 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:37 total 16 02:23:37 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:13 . 02:23:37 drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 02:13 .. 02:23:37 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:13 cost 02:23:37 -rw-r--r-- 1 jenkins jenkins 92 Dec 15 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:23:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:23:38 ---> package-listing.sh 02:23:38 ++ facter osfamily 02:23:38 ++ tr '[:upper:]' '[:lower:]' 02:23:38 + OS_FAMILY=debian 02:23:38 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 02:23:38 + START_PACKAGES=/tmp/packages_start.txt 02:23:38 + END_PACKAGES=/tmp/packages_end.txt 02:23:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:23:38 + PACKAGES=/tmp/packages_start.txt 02:23:38 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:23:38 + PACKAGES=/tmp/packages_end.txt 02:23:38 + case "${OS_FAMILY}" in 02:23:38 + dpkg -l 02:23:38 + grep '^ii' 02:23:38 + '[' -f /tmp/packages_start.txt ']' 02:23:38 + '[' -f /tmp/packages_end.txt ']' 02:23:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:23:38 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:23:38 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 02:23:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo 02:23:38 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:23:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:23:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:39 prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container 02:23:39 $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:23:40 $ docker top f8bb871e0883719052fb368d758506634ad9e87b0842c6f74b644c712236438a -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:40 + touch /tmp/pre-build-complete [Pipeline] sh 02:23:40 + mkdir -p /var/log/sysstat [Pipeline] sh 02:23:40 + ls /var/log/sa-host 02:23:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:41 provisioning config files... 02:23:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14267133081808505689tmp [Pipeline] { [Pipeline] echo 02:23:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:23:41 ---> create-netrc.sh [Pipeline] } 02:23:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:23:41 ---> python-tools-install.sh [Pipeline] echo 02:23:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:23:41 ---> sudo-logs.sh 02:23:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:23:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:23:42 ---> job-cost.sh 02:23:42 lf-activate-venv: SKIPPING 02:23:42 DEBUG: total: 0.2199999988079071 02:23:42 INFO: Retrieving Stack Cost... 02:23:42 INFO: Retrieving Pricing Info for: v3-standard-8 02:23:43 INFO: Archiving Costs [Pipeline] echo 02:23:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:23:43 ---> logs-deploy.sh 02:23:43 lf-activate-venv: SKIPPING 02:23:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/31 02:23:43 INFO: archiving workspace using pattern(s): 02:23:44 Archives upload complete. 02:23:44 INFO: archiving logs to Nexus