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 ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 18118626ca0893b728531bfc2ef8f97357a298a2 rather than f92c7211e63df553c60284b71f5b9253c4ebb8b3 Obtained Jenkinsfile from 18118626ca0893b728531bfc2ef8f97357a298a2 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-ssh12448143064957733711.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8016296348659349867.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-65/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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11377595613176706089.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh7621944729754592650.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-65/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-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12174066618771059213.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-250 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # 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 > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 Merge succeeded, producing adb884d8668282ad178a3bdff0c37f789c00adfd Checking out Revision adb884d8668282ad178a3bdff0c37f789c00adfd (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # 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 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adb884d8668282ad178a3bdff0c37f789c00adfd # timeout=10 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:39 ========================================================= 10:10:39 EdgeX Global Pipelines Version Info 10:10:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 807ec9d7b7af48af72e33211e43297a64da5e492 # timeout=10 10:10:39 ------------------- 10:10:39 stable info: 10:10:39 ------------------- 10:10:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:10:39 Message: update stable to v1.0.230 10:10:40 ------------------- 10:10:40 experimental info: 10:10:40 ------------------- 10:10:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:40 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:10:40 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adb884d [Pipeline] echo 10:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:40 provisioning config files... 10:10:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config6104703717880822646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:41 ---> docker-login.sh 10:10:41 nexus3.edgexfoundry.org:10001 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 nexus3.edgexfoundry.org:10002 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 nexus3.edgexfoundry.org:10003 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 nexus3.edgexfoundry.org:10004 10:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:42 Configure a credential helper to remove this warning. See 10:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:42 10:10:42 Login Succeeded 10:10:42 docker.io 10:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:42 Configure a credential helper to remove this warning. See 10:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:42 10:10:42 Login Succeeded 10:10:42 ---> docker-login.sh ends [Pipeline] } 10:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:43 + git rev-list -1 --merges adb884d8668282ad178a3bdff0c37f789c00adfd~1..adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo 10:10:43 -----------> git rev-list -1 --merges adb884d8668282ad178a3bdff0c37f789c00adfd~1..adb884d8668282ad178a3bdff0c37f789c00adfd adb884d8668282ad178a3bdff0c37f789c00adfd 10:10:43 adb884d8668282ad178a3bdff0c37f789c00adfd [false] [Pipeline] sh 10:10:43 + git log --format=format:%s -1 adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo 10:10:43 ========================================================= 10:10:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:43 + git log --format=format:%s -1 adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] echo 10:10:43 [semverPrep] GIT_COMMIT: adb884d8668282ad178a3bdff0c37f789c00adfd, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo 10:10:43 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:44 + grep -v github /etc/ssh/ssh_known_hosts 10:10:44 + [ -e /tmp/ssh_known_hosts ] 10:10:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:44 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:10:44 10:10:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:10:44 latest: Pulling from edgex-devops/py-git-semver 10:10:44 1fe172e4850f: Pulling fs layer 10:10:44 caf521ccaac6: Pulling fs layer 10:10:44 3ead6fa29328: Pulling fs layer 10:10:44 5c2a1cbceb83: Pulling fs layer 10:10:44 a8d5f1318db7: Pulling fs layer 10:10:44 c427282e49a2: Pulling fs layer 10:10:44 1827001aaf11: Pulling fs layer 10:10:44 0714d37db230: Pulling fs layer 10:10:44 ac28cf19c067: Pulling fs layer 10:10:44 ca983d60f3e2: Pulling fs layer 10:10:44 9f894cec8388: Pulling fs layer 10:10:44 ac28cf19c067: Waiting 10:10:44 ca983d60f3e2: Waiting 10:10:44 9f894cec8388: Waiting 10:10:44 5c2a1cbceb83: Waiting 10:10:44 a8d5f1318db7: Waiting 10:10:44 c427282e49a2: Waiting 10:10:44 1827001aaf11: Waiting 10:10:44 0714d37db230: Waiting 10:10:44 caf521ccaac6: Download complete 10:10:44 5c2a1cbceb83: Verifying Checksum 10:10:44 5c2a1cbceb83: Download complete 10:10:45 a8d5f1318db7: Verifying Checksum 10:10:45 a8d5f1318db7: Download complete 10:10:45 3ead6fa29328: Verifying Checksum 10:10:45 3ead6fa29328: Download complete 10:10:45 c427282e49a2: Verifying Checksum 10:10:45 c427282e49a2: Download complete 10:10:45 0714d37db230: Verifying Checksum 10:10:45 ac28cf19c067: Verifying Checksum 10:10:45 ac28cf19c067: Download complete 10:10:45 ca983d60f3e2: Download complete 10:10:45 9f894cec8388: Download complete 10:10:45 1fe172e4850f: Verifying Checksum 10:10:45 1fe172e4850f: Download complete 10:10:45 1827001aaf11: Verifying Checksum 10:10:45 1827001aaf11: Download complete 10:10:46 1fe172e4850f: Pull complete 10:10:46 caf521ccaac6: Pull complete 10:10:47 3ead6fa29328: Pull complete 10:10:47 5c2a1cbceb83: Pull complete 10:10:47 a8d5f1318db7: Pull complete 10:10:47 c427282e49a2: Pull complete 10:10:50 1827001aaf11: Pull complete 10:10:50 0714d37db230: Pull complete 10:10:50 ac28cf19c067: Pull complete 10:10:50 ca983d60f3e2: Pull complete 10:10:50 9f894cec8388: Pull complete 10:10:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:10:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:50 prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container 10:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 10:10:51 $ docker top 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa -eo pid,comm 10:10:51 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). 10:10:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:51 [ssh-agent] Looking for ssh-agent implementation... 10:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:51 $ docker exec 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent 10:10:52 SSH_AUTH_SOCK=/tmp/ssh-LGNjFeElhfHt/agent.32 10:10:52 SSH_AGENT_PID=39 10:10:52 Running ssh-add (command line suppressed) 10:10:52 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1884189479293983872.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1884189479293983872.key) 10:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:52 + git tag --points-at HEAD [Pipeline] } 10:10:52 $ docker exec --env ******** --env ******** 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent -k 10:10:52 unset SSH_AUTH_SOCK; 10:10:52 unset SSH_AGENT_PID; 10:10:52 echo Agent pid 39 killed; 10:10:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:52 [ssh-agent] Looking for ssh-agent implementation... 10:10:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:52 $ docker exec 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent 10:10:52 SSH_AUTH_SOCK=/tmp/ssh-7mlTHk7Tan76/agent.72 10:10:52 SSH_AGENT_PID=78 10:10:52 Running ssh-add (command line suppressed) 10:10:53 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3484265124608544190.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3484265124608544190.key) 10:10:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:53 + git semver init 10:10:53 2022-05-27 10:10:53,557 [run_init] DEBUG init version:0.0.0 force:False 10:10:53 2022-05-27 10:10:53,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 10:10:53 2022-05-27 10:10:53,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 10:10:53 2022-05-27 10:10:53,559 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) 10:10:54 2022-05-27 10:10:54,227 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 10:10:54 2022-05-27 10:10:54,227 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False 10:10:54 2022-05-27 10:10:54,227 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 10:10:54 2022-05-27 10:10:54,227 [write_version] DEBUG version is same as current version 0.0.0 10:10:54 2022-05-27 10:10:54,228 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 10:10:54 0.0.0 [Pipeline] } 10:10:54 $ docker exec --env ******** --env ******** 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa ssh-agent -k 10:10:54 unset SSH_AUTH_SOCK; 10:10:54 unset SSH_AGENT_PID; 10:10:54 echo Agent pid 78 killed; 10:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:55 + git semver [Pipeline] } 10:10:55 $ docker stop --time=1 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa 10:10:56 $ docker rm -f 58659b911d8e77d897191d1ebd8d6ad059c43b10e2c0faff8e861f944e835bfa [Pipeline] // withDockerContainer [Pipeline] sh 10:10:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:57 Stashed 1 file(s) [Pipeline] echo 10:10:57 [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 10:10:57 provisioning config files... 10:10:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config3766102432773013815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:57 ---> docker-login.sh 10:10:57 nexus3.edgexfoundry.org:10001 10:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:57 Configure a credential helper to remove this warning. See 10:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:57 10:10:57 Login Succeeded 10:10:57 nexus3.edgexfoundry.org:10002 10:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:57 Configure a credential helper to remove this warning. See 10:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:57 10:10:57 Login Succeeded 10:10:57 nexus3.edgexfoundry.org:10003 10:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:57 Configure a credential helper to remove this warning. See 10:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:57 10:10:57 Login Succeeded 10:10:57 nexus3.edgexfoundry.org:10004 10:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:58 Configure a credential helper to remove this warning. See 10:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:58 10:10:58 Login Succeeded 10:10:58 docker.io 10:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:58 Configure a credential helper to remove this warning. See 10:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:58 10:10:58 Login Succeeded 10:10:58 ---> docker-login.sh ends [Pipeline] } 10:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:58 ========================================================= 10:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:10:58 Sending build context to Docker daemon 8.775MB 10:10:58 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:10:58 Step 2/13 : FROM ${BASE} AS builder 10:10:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:58 59bf1c3509f3: Pulling fs layer 10:10:58 666ba61612fd: Pulling fs layer 10:10:58 8ed8ca486205: Pulling fs layer 10:10:58 4fe6c5a15a65: Pulling fs layer 10:10:58 22a0e8bec74d: Pulling fs layer 10:10:58 ca2b28591e48: Pulling fs layer 10:10:58 a51346096db8: Pulling fs layer 10:10:58 daebc70d1ce1: Pulling fs layer 10:10:58 0e18a0eac166: Pulling fs layer 10:10:58 4fe6c5a15a65: Waiting 10:10:58 daebc70d1ce1: Waiting 10:10:58 22a0e8bec74d: Waiting 10:10:58 a51346096db8: Waiting 10:10:58 0e18a0eac166: Waiting 10:10:58 8ed8ca486205: Verifying Checksum 10:10:58 8ed8ca486205: Download complete 10:10:58 666ba61612fd: Download complete 10:10:59 22a0e8bec74d: Verifying Checksum 10:10:59 22a0e8bec74d: Download complete 10:10:59 ca2b28591e48: Download complete 10:10:59 59bf1c3509f3: Verifying Checksum 10:10:59 59bf1c3509f3: Download complete 10:10:59 a51346096db8: Verifying Checksum 10:10:59 a51346096db8: Download complete 10:10:59 daebc70d1ce1: Verifying Checksum 10:10:59 daebc70d1ce1: Download complete 10:10:59 59bf1c3509f3: Pull complete 10:10:59 666ba61612fd: Pull complete 10:10:59 8ed8ca486205: Pull complete 10:10:59 4fe6c5a15a65: Verifying Checksum 10:10:59 4fe6c5a15a65: Download complete 10:10:59 0e18a0eac166: Verifying Checksum 10:10:59 0e18a0eac166: Download complete 10:11:03 4fe6c5a15a65: Pull complete 10:11:04 22a0e8bec74d: Pull complete 10:11:04 ca2b28591e48: Pull complete 10:11:04 a51346096db8: Pull complete 10:11:04 daebc70d1ce1: Pull complete 10:11:06 0e18a0eac166: Pull complete 10:11:06 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:11:06 ---> f018257e8ee9 10:11:06 Step 3/13 : ARG MAKE="make build" 10:11:07 ---> Running in c1f8be31c0b0 10:11:08 Removing intermediate container c1f8be31c0b0 10:11:08 ---> 0efa7199f18e 10:11:08 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:08 ---> Running in 22d9d90ea1f7 10:11:08 Removing intermediate container 22d9d90ea1f7 10:11:08 ---> b2248bb8591a 10:11:08 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:11:08 ---> Running in d3bfe370c5f8 10:11:08 Removing intermediate container d3bfe370c5f8 10:11:08 ---> 9bf4de6e60ad 10:11:08 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:11:08 ---> Running in 6cd9391772e3 10:11:08 Removing intermediate container 6cd9391772e3 10:11:08 ---> a416630b30b1 10:11:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:08 ---> Running in c25d027956ae 10:11:09 Removing intermediate container c25d027956ae 10:11:09 ---> 30ce16f9de45 10:11:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:09 ---> Running in 110053de9f94 10:11:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:11:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:11:11 OK: 221 MiB in 52 packages 10:11:11 Removing intermediate container 110053de9f94 10:11:11 ---> 14e6943402cc 10:11:11 Step 9/13 : WORKDIR /device-onvif-camera 10:11:11 ---> Running in 3fff98b975fc 10:11:11 Removing intermediate container 3fff98b975fc 10:11:11 ---> 0f36c3eb4a27 10:11:11 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:11:11 ---> c589429f2fa0 10:11:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:11 ---> Running in ead0705b7543 10:11:12 Still waiting to schedule task 10:11:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:11:12 Removing intermediate container ead0705b7543 10:11:12 ---> 51114c90eb9f 10:11:12 Step 12/13 : COPY . . 10:11:12 ---> a8b13fd3ac41 10:11:12 Step 13/13 : RUN ${MAKE} 10:11:12 ---> Running in b8efac270ba6 10:11:13 noop 10:11:13 Removing intermediate container b8efac270ba6 10:11:13 ---> b8483b236adf 10:11:13 Successfully built b8483b236adf 10:11:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:13 + docker inspect -f . ci-base-image-x86_64 10:11:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:13 prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container 10:11:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:14 $ docker top 46f5cad15e391ff6d5250067aebb773b4f6e9696f6856e3caa7c39a59fb81e8a -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:14 + go version 10:11:14 go version go1.17.6 linux/amd64 [Pipeline] } 10:11:14 $ docker stop --time=1 46f5cad15e391ff6d5250067aebb773b4f6e9696f6856e3caa7c39a59fb81e8a 10:11:15 $ docker rm -f 46f5cad15e391ff6d5250067aebb773b4f6e9696f6856e3caa7c39a59fb81e8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:16 + docker inspect -f . ci-base-image-x86_64 10:11:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:16 prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container 10:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:16 $ docker top e3dd96f42c40b94ccd1e801f9f0a8062da2bf4d62ab982372e6416dfa86280a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:11:17 + make test 10:11:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:17 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:11:17 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:11:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:11:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:11:17 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:11:17 go: downloading github.com/gorilla/mux v1.8.0 10:11:17 go: downloading github.com/stretchr/testify v1.7.1 10:11:17 go: downloading github.com/beevik/etree v1.1.0 10:11:17 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:11:17 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:11:17 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:11:17 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:11:18 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:11:18 go: downloading github.com/davecgh/go-spew v1.1.1 10:11:18 go: downloading github.com/pmezard/go-difflib v1.0.0 10:11:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:11:18 go: downloading github.com/go-kit/log v0.2.0 10:11:18 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:11:18 go: downloading github.com/google/uuid v1.3.0 10:11:18 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:11:18 go: downloading github.com/pelletier/go-toml v1.9.4 10:11:18 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:11:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:11:18 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:11:18 go: downloading github.com/hashicorp/errwrap v1.0.0 10:11:18 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:11:18 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:11:18 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:11:18 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:11:18 go: downloading github.com/go-playground/universal-translator v0.18.0 10:11:18 go: downloading github.com/leodido/go-urn v1.2.1 10:11:18 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:11:18 go: downloading golang.org/x/text v0.3.7 10:11:18 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:11:18 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:11:18 go: downloading github.com/go-playground/locales v0.14.0 10:11:18 go: downloading github.com/zeebo/errs v1.2.2 10:11:18 go: downloading google.golang.org/grpc v1.42.0 10:11:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:11:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:11:18 go: downloading github.com/pebbe/zmq4 v1.2.7 10:11:18 go: downloading github.com/hashicorp/consul/api v1.9.1 10:11:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:11:18 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:11:18 go: downloading google.golang.org/protobuf v1.27.1 10:11:18 go: downloading github.com/x448/float16 v0.8.4 10:11:18 go: downloading github.com/gorilla/websocket v1.4.2 10:11:18 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:11:18 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:11:18 go: downloading github.com/mitchellh/copystructure v1.0.0 10:11:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:11:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:11:18 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:11:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:11:18 go: downloading github.com/hashicorp/serf v0.9.5 10:11:18 go: downloading github.com/golang/protobuf v1.5.2 10:11:18 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:11:18 go: downloading github.com/fatih/color v1.9.0 10:11:19 go: downloading github.com/mattn/go-isatty v0.0.12 10:11:19 go: downloading github.com/mattn/go-colorable v0.1.6 10:11:19 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:11:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:11:19 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:11:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:11:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:11:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 0.9% of statements 10:11:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:11:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:42 ./bin/test-attribution-txt.sh 10:11:42 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 10:11:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:43 $ docker stop --time=1 e3dd96f42c40b94ccd1e801f9f0a8062da2bf4d62ab982372e6416dfa86280a6 10:11:45 $ docker rm -f e3dd96f42c40b94ccd1e801f9f0a8062da2bf4d62ab982372e6416dfa86280a6 [Pipeline] // withDockerContainer [Pipeline] sh 10:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:47 + ls -al . 10:11:47 total 224 10:11:47 drwxrwxr-x 10 jenkins jenkins 4096 May 27 10:11 . 10:11:47 drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:10 .. 10:11:47 drwxrwxr-x 8 jenkins jenkins 4096 May 27 10:10 .git 10:11:47 drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:10 .github 10:11:47 -rw-rw-r-- 1 jenkins jenkins 352 May 27 10:10 .gitignore 10:11:47 -rw-rw-r-- 1 jenkins jenkins 42 May 27 10:10 .golangci.yml 10:11:47 drwxr-xr-x 3 jenkins jenkins 4096 May 27 10:10 .semver 10:11:47 -rw-rw-r-- 1 jenkins jenkins 9415 May 27 10:10 Attribution.txt 10:11:47 -rw-rw-r-- 1 jenkins jenkins 189 May 27 10:10 CHANGELOG.md 10:11:47 -rw-rw-r-- 1 jenkins jenkins 1686 May 27 10:10 Dockerfile 10:11:47 -rw-rw-r-- 1 jenkins jenkins 677 May 27 10:10 GOVERNANCE.md 10:11:47 -rw-rw-r-- 1 jenkins jenkins 660 May 27 10:10 Jenkinsfile 10:11:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 27 10:10 LICENSE 10:11:47 -rw-rw-r-- 1 jenkins jenkins 2473 May 27 10:10 Makefile 10:11:47 -rw-rw-r-- 1 jenkins jenkins 625 May 27 10:10 OWNERS.md 10:11:47 -rw-rw-r-- 1 jenkins jenkins 28742 May 27 10:10 README.md 10:11:47 -rw-rw-r-- 1 jenkins jenkins 5 May 27 10:10 VERSION 10:11:47 drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:10 bin 10:11:47 drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:10 cmd 10:11:47 -rw-r--r-- 1 jenkins jenkins 42596 May 27 10:11 coverage.out 10:11:47 drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:10 doc 10:11:47 -rw-rw-r-- 1 jenkins jenkins 3716 May 27 10:10 go.mod 10:11:47 -rw-rw-r-- 1 jenkins jenkins 37264 May 27 10:10 go.sum 10:11:47 drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:10 internal 10:11:47 drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:10 pkg 10:11:47 -rw-rw-r-- 1 jenkins jenkins 236 May 27 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:47 + 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=adb884d8668282ad178a3bdff0c37f789c00adfd --label arch=amd64 --label version=0.0.0 . 10:11:47 Sending build context to Docker daemon 8.819MB 10:11:47 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:11:47 Step 2/26 : FROM ${BASE} AS builder 10:11:47 ---> b8483b236adf 10:11:47 Step 3/26 : ARG MAKE="make build" 10:11:47 ---> Running in cfea9f778fde 10:11:47 Removing intermediate container cfea9f778fde 10:11:47 ---> 041ef0bde37a 10:11:47 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:47 ---> Running in d1f36e15a3f0 10:11:47 Removing intermediate container d1f36e15a3f0 10:11:47 ---> 60017abec157 10:11:47 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:11:47 ---> Running in 4fcd320c732d 10:11:48 Removing intermediate container 4fcd320c732d 10:11:48 ---> 151f2fd3d939 10:11:48 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:11:48 ---> Running in 3e06272bfdfc 10:11:48 Removing intermediate container 3e06272bfdfc 10:11:48 ---> e2308379cf84 10:11:48 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:48 ---> Running in 351be99d3cc4 10:11:48 Removing intermediate container 351be99d3cc4 10:11:48 ---> 6e75d920e74d 10:11:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:48 ---> Running in ce05a483eab9 10:11:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:11:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:11:50 OK: 221 MiB in 52 packages 10:11:50 Removing intermediate container ce05a483eab9 10:11:50 ---> 8f02ffeef429 10:11:50 Step 9/26 : WORKDIR /device-onvif-camera 10:11:50 ---> Running in 75e89bc73dfc 10:11:50 Removing intermediate container 75e89bc73dfc 10:11:50 ---> 571b0af884ba 10:11:50 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:11:50 ---> cc8be70a49af 10:11:50 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:50 ---> Running in 7e63b4f0838a 10:11:51 Removing intermediate container 7e63b4f0838a 10:11:51 ---> 0110946b3a20 10:11:51 Step 12/26 : COPY . . 10:11:51 ---> f8e6c36c6351 10:11:51 Step 13/26 : RUN ${MAKE} 10:11:51 ---> Running in 639611e7b6ad 10:11:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:11:52 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:11:52 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:11:52 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:11:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:11:52 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:11:52 go: downloading github.com/gorilla/mux v1.8.0 10:11:52 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:11:52 go: downloading github.com/beevik/etree v1.1.0 10:11:52 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:11:52 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:11:52 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:11:52 go: downloading github.com/google/uuid v1.3.0 10:11:52 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:11:52 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:11:52 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:11:52 go: downloading github.com/go-kit/log v0.2.0 10:11:52 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:11:52 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:11:52 go: downloading github.com/pelletier/go-toml v1.9.4 10:11:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:11:52 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:11:52 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:11:52 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:11:52 go: downloading github.com/hashicorp/errwrap v1.0.0 10:11:52 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:11:52 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:11:52 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:11:52 go: downloading github.com/hashicorp/consul/api v1.9.1 10:11:52 go: downloading github.com/go-playground/universal-translator v0.18.0 10:11:52 go: downloading github.com/leodido/go-urn v1.2.1 10:11:52 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:11:52 go: downloading golang.org/x/text v0.3.7 10:11:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:11:52 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:11:52 go: downloading github.com/pebbe/zmq4 v1.2.7 10:11:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:11:52 go: downloading github.com/x448/float16 v0.8.4 10:11:52 go: downloading github.com/go-playground/locales v0.14.0 10:11:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:11:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:11:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:11:52 go: downloading github.com/hashicorp/serf v0.9.5 10:11:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:11:52 go: downloading github.com/zeebo/errs v1.2.2 10:11:52 go: downloading google.golang.org/grpc v1.42.0 10:11:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:11:52 go: downloading github.com/mitchellh/copystructure v1.0.0 10:11:52 go: downloading github.com/gorilla/websocket v1.4.2 10:11:52 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:11:52 go: downloading google.golang.org/protobuf v1.27.1 10:11:52 go: downloading github.com/fatih/color v1.9.0 10:11:52 go: downloading github.com/mattn/go-isatty v0.0.12 10:11:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:11:52 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:11:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:11:52 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:11:52 go: downloading github.com/mattn/go-colorable v0.1.6 10:11:52 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:11:52 go: downloading github.com/golang/protobuf v1.5.2 10:11:53 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:12:25 Removing intermediate container 639611e7b6ad 10:12:25 ---> da616c192fa1 10:12:25 Step 14/26 : FROM alpine:3.15 10:12:25 3.15: Pulling from library/alpine 10:12:25 df9b9388f04a: Pulling fs layer 10:12:25 df9b9388f04a: Verifying Checksum 10:12:25 df9b9388f04a: Download complete 10:12:25 df9b9388f04a: Pull complete 10:12:25 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:12:25 Status: Downloaded newer image for alpine:3.15 10:12:25 ---> 0ac33e5f5afa 10:12:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:12:25 ---> Running in ad9001f56ad8 10:12:25 Removing intermediate container ad9001f56ad8 10:12:25 ---> 0ef5ba46f132 10:12:25 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:12:25 ---> Running in b2f0647e1f76 10:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:12:25 (1/6) Installing dumb-init (1.2.5-r1) 10:12:25 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:12:25 (3/6) Installing libsodium (1.0.18-r0) 10:12:25 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:12:25 (5/6) Installing libzmq (4.3.4-r0) 10:12:25 (6/6) Installing zeromq (4.3.4-r0) 10:12:25 Executing busybox-1.34.1-r5.trigger 10:12:25 OK: 8 MiB in 20 packages 10:12:25 Removing intermediate container b2f0647e1f76 10:12:25 ---> a6594e74a3e5 10:12:25 Step 17/26 : WORKDIR / 10:12:25 ---> Running in 946ed8a38a8f 10:12:25 Removing intermediate container 946ed8a38a8f 10:12:25 ---> e9b7fdf3c153 10:12:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:12:25 ---> 0b1e83b77bde 10:12:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:12:25 ---> 8d9391e02b93 10:12:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:12:25 ---> 97ead4afec90 10:12:25 Step 21/26 : EXPOSE 59984 10:12:25 ---> Running in 87d9572896c6 10:12:25 Removing intermediate container 87d9572896c6 10:12:25 ---> b395824594ba 10:12:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:12:25 ---> Running in e17a13432e71 10:12:25 Removing intermediate container e17a13432e71 10:12:25 ---> 5ebc2f0d7f91 10:12:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:25 ---> Running in 8ce7ce050300 10:12:25 Removing intermediate container 8ce7ce050300 10:12:25 ---> c7c13955e266 10:12:25 Step 24/26 : LABEL arch=amd64 10:12:25 ---> Running in d3ed60740267 10:12:25 Removing intermediate container d3ed60740267 10:12:25 ---> 7a9ccdf2dd86 10:12:25 Step 25/26 : LABEL git_sha=adb884d8668282ad178a3bdff0c37f789c00adfd 10:12:25 ---> Running in b724f3f8b4b0 10:12:25 Removing intermediate container b724f3f8b4b0 10:12:25 ---> 36eb90785f09 10:12:25 Step 26/26 : LABEL version=0.0.0 10:12:25 ---> Running in e3009537419e 10:12:25 Removing intermediate container e3009537419e 10:12:25 ---> 5436ce0a8270 10:12:25 [Warning] One or more build-args [ARCH] were not consumed 10:12:25 Successfully built 5436ce0a8270 10:12:25 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 10:12:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:25 10:12:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:25 latest: Pulling from edgex-lftools-log-publisher 10:12:25 5eb5b503b376: Pulling fs layer 10:12:25 5c69ac0246d0: Pulling fs layer 10:12:25 ec43610c2a17: Pulling fs layer 10:12:25 3a2ae6a8a46f: Pulling fs layer 10:12:25 33b1e0a273af: Pulling fs layer 10:12:25 5d3b04190fa2: Pulling fs layer 10:12:25 2f39f015ded8: Pulling fs layer 10:12:25 3a2ae6a8a46f: Waiting 10:12:25 33b1e0a273af: Waiting 10:12:25 5d3b04190fa2: Waiting 10:12:25 2f39f015ded8: Waiting 10:12:25 5c69ac0246d0: Download complete 10:12:25 3a2ae6a8a46f: Verifying Checksum 10:12:25 3a2ae6a8a46f: Download complete 10:12:25 33b1e0a273af: Verifying Checksum 10:12:25 33b1e0a273af: Download complete 10:12:25 5d3b04190fa2: Verifying Checksum 10:12:25 5d3b04190fa2: Download complete 10:12:25 ec43610c2a17: Verifying Checksum 10:12:25 ec43610c2a17: Download complete 10:12:26 5eb5b503b376: Verifying Checksum 10:12:26 5eb5b503b376: Download complete 10:12:26 2f39f015ded8: Download complete 10:12:27 5eb5b503b376: Pull complete 10:12:27 5c69ac0246d0: Pull complete 10:12:27 ec43610c2a17: Pull complete 10:12:28 3a2ae6a8a46f: Pull complete 10:12:28 33b1e0a273af: Pull complete 10:12:28 5d3b04190fa2: Pull complete 10:12:32 2f39f015ded8: Pull complete 10:12:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:32 prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container 10:12:32 $ 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/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:12:34 $ docker top c2271bbc7f74d2444d7dd60dddcbd737db9c180ad41bdb8dbd3fe722426ea82e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:34 ---> job-cost.sh 10:12:34 lf-activate-venv: SKIPPING 10:12:34 INFO: No Stack... 10:12:35 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:35 INFO: Archiving Costs [Pipeline] sh 10:12:35 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 10:12:35 + cut -d, -f6 [Pipeline] lock 10:12:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] 10:12:35 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] did not exist. Created. 10:12:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:36 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:36 Stashed 1 file(s) [Pipeline] } 10:12:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:36 $ docker stop --time=1 c2271bbc7f74d2444d7dd60dddcbd737db9c180ad41bdb8dbd3fe722426ea82e 10:12:37 $ docker rm -f c2271bbc7f74d2444d7dd60dddcbd737db9c180ad41bdb8dbd3fe722426ea82e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:12:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-252 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 10:12:49 Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout 10:12:49 Selected Git installation does not exist. Using Default 10:12:49 The recommended git tool is: NONE 10:12:55 using credential edgex-jenkins-ssh 10:12:55 Cloning the remote Git repository 10:12:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:12:55 > git init /w/workspace/device-onvif-camera/13 # timeout=10 10:12:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:55 > git --version # timeout=10 10:12:55 > git --version # 'git version 2.25.1' 10:12:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:12:57 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 10:12:57 Merge succeeded, producing a7e0d88e2e7ed8cc23e6694a272d29151fff3654 10:12:57 Checking out Revision a7e0d88e2e7ed8cc23e6694a272d29151fff3654 (PR-65) 10:12:57 > git config core.sparsecheckout # timeout=10 10:12:57 > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 10:12:57 > git remote # timeout=10 10:12:57 > git config --get remote.origin.url # timeout=10 10:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:57 > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 10:12:57 > git rev-parse HEAD^{commit} # timeout=10 10:12:57 > git config core.sparsecheckout # timeout=10 10:12:57 > git checkout -f a7e0d88e2e7ed8cc23e6694a272d29151fff3654 # timeout=10 10:13:02 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" 10:13:02 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:13:02 > git rev-list --no-walk 807ec9d7b7af48af72e33211e43297a64da5e492 # timeout=10 10:13:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:13:03 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:03 Dload Upload Total Spent Left Speed 10:13:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48050 0 --:--:-- --:--:-- --:--:-- 47863 [Pipeline] sh 10:13:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:13:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:13:04 + sudo tee /etc/docker/daemon.new 10:13:04 { 10:13:04 "registry-mirrors": [ 10:13:04 "https://nexus3.edgexfoundry.org:10001" 10:13:04 ], 10:13:04 "bip": "10.250.0.254/24", 10:13:04 "hosts": [ 10:13:04 "tcp://0.0.0.0:5555", 10:13:04 "unix:///var/run/docker.sock" 10:13:04 ], 10:13:04 "mtu": 1458, 10:13:04 "selinux-enabled": true, 10:13:04 "seccomp-profile": "/etc/docker/seccomp.json" 10:13:04 } [Pipeline] sh 10:13:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:13:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:23 provisioning config files... 10:13:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config8788397065689121067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:23 ---> docker-login.sh 10:13:23 nexus3.edgexfoundry.org:10001 10:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:24 Configure a credential helper to remove this warning. See 10:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:24 10:13:24 Login Succeeded 10:13:24 nexus3.edgexfoundry.org:10002 10:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:25 Configure a credential helper to remove this warning. See 10:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:25 10:13:25 Login Succeeded 10:13:25 nexus3.edgexfoundry.org:10003 10:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:26 Configure a credential helper to remove this warning. See 10:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:26 10:13:26 Login Succeeded 10:13:26 nexus3.edgexfoundry.org:10004 10:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:26 Configure a credential helper to remove this warning. See 10:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:26 10:13:26 Login Succeeded 10:13:26 docker.io 10:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:27 Configure a credential helper to remove this warning. See 10:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:27 10:13:27 Login Succeeded 10:13:27 ---> docker-login.sh ends [Pipeline] } 10:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:27 ========================================================= 10:13:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:13:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:13:28 Sending build context to Docker daemon 6.064MB 10:13:28 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:13:28 Step 2/13 : FROM ${BASE} AS builder 10:13:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:13:28 9b3977197b4f: Pulling fs layer 10:13:28 1a89e8eeedd5: Pulling fs layer 10:13:28 94645a83ff95: Pulling fs layer 10:13:28 3f3a8bcf1eab: Pulling fs layer 10:13:28 0c92f367c5e7: Pulling fs layer 10:13:28 3096ccb668a1: Pulling fs layer 10:13:28 e8cf19c19ddd: Pulling fs layer 10:13:28 a4caa8a26152: Pulling fs layer 10:13:28 3f3a8bcf1eab: Waiting 10:13:28 0c92f367c5e7: Waiting 10:13:28 3096ccb668a1: Waiting 10:13:28 e8cf19c19ddd: Waiting 10:13:28 a4caa8a26152: Waiting 10:13:28 94645a83ff95: Verifying Checksum 10:13:28 94645a83ff95: Download complete 10:13:28 1a89e8eeedd5: Verifying Checksum 10:13:28 1a89e8eeedd5: Download complete 10:13:28 0c92f367c5e7: Verifying Checksum 10:13:28 0c92f367c5e7: Download complete 10:13:28 9b3977197b4f: Verifying Checksum 10:13:28 9b3977197b4f: Download complete 10:13:28 3096ccb668a1: Verifying Checksum 10:13:28 3096ccb668a1: Download complete 10:13:28 e8cf19c19ddd: Verifying Checksum 10:13:28 e8cf19c19ddd: Download complete 10:13:29 9b3977197b4f: Pull complete 10:13:29 1a89e8eeedd5: Pull complete 10:13:30 94645a83ff95: Pull complete 10:13:30 a4caa8a26152: Verifying Checksum 10:13:30 a4caa8a26152: Download complete 10:13:31 3f3a8bcf1eab: Verifying Checksum 10:13:31 3f3a8bcf1eab: Download complete 10:13:43 3f3a8bcf1eab: Pull complete 10:13:43 0c92f367c5e7: Pull complete 10:13:43 3096ccb668a1: Pull complete 10:13:43 e8cf19c19ddd: Pull complete 10:13:48 a4caa8a26152: Pull complete 10:13:48 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:13:48 ---> 725f1c02e7f9 10:13:48 Step 3/13 : ARG MAKE="make build" 10:13:50 ---> Running in a672680831e6 10:13:50 Removing intermediate container a672680831e6 10:13:50 ---> dd8fbd42c1d7 10:13:50 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:13:50 ---> Running in 45ae41b3dedb 10:13:50 Removing intermediate container 45ae41b3dedb 10:13:50 ---> 347d2d5efde5 10:13:50 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:13:51 ---> Running in 886d169b267c 10:13:51 Removing intermediate container 886d169b267c 10:13:51 ---> 66a67134ee82 10:13:51 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:13:51 ---> Running in 871dba028acb 10:13:51 Removing intermediate container 871dba028acb 10:13:51 ---> 2171afdd7761 10:13:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:51 ---> Running in 1d1fea8c940d 10:13:53 Removing intermediate container 1d1fea8c940d 10:13:53 ---> 8c8e06764a93 10:13:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:13:53 ---> Running in 0d937a005c8e 10:13:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:13:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:13:56 OK: 220 MiB in 52 packages 10:13:57 Removing intermediate container 0d937a005c8e 10:13:57 ---> ca26013392ff 10:13:57 Step 9/13 : WORKDIR /device-onvif-camera 10:13:57 ---> Running in 0044117130de 10:13:58 Removing intermediate container 0044117130de 10:13:58 ---> 2918d2189740 10:13:58 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:13:59 ---> c47e60cc8d34 10:13:59 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:59 ---> Running in a16da8eb997d 10:14:01 Removing intermediate container a16da8eb997d 10:14:01 ---> 4b14944fd1d2 10:14:01 Step 12/13 : COPY . . 10:14:02 ---> a806b8062a04 10:14:02 Step 13/13 : RUN ${MAKE} 10:14:02 ---> Running in 9cb847eced7e 10:14:03 noop 10:14:03 Removing intermediate container 9cb847eced7e 10:14:03 ---> cd4b7fcc0b9b 10:14:03 Successfully built cd4b7fcc0b9b 10:14:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:04 + docker inspect -f . ci-base-image-arm64 10:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-252 does not seem to be running inside a container 10:14:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** ci-base-image-arm64 cat 10:14:05 $ docker top 45503ead810367c8ddb3ff9d5a9f1604a7631ad69f51af0aa3645dcc974dbe8f -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:06 + go version 10:14:06 go version go1.17.6 linux/arm64 [Pipeline] } 10:14:06 $ docker stop --time=1 45503ead810367c8ddb3ff9d5a9f1604a7631ad69f51af0aa3645dcc974dbe8f 10:14:08 $ docker rm -f 45503ead810367c8ddb3ff9d5a9f1604a7631ad69f51af0aa3645dcc974dbe8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:09 + docker inspect -f . ci-base-image-arm64 10:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:09 prd-ubuntu20.04-docker-arm64-4c-16g-252 does not seem to be running inside a container 10:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** ci-base-image-arm64 cat 10:14:10 $ docker top eda7f884470ea52d82155583a4a555c3b34e915e999e366d2c0a9851f8ef64f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:14:11 + make test 10:14:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:14:11 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:14:11 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:14:12 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:14:12 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:14:12 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:14:12 go: downloading github.com/gorilla/mux v1.8.0 10:14:12 go: downloading github.com/stretchr/testify v1.7.1 10:14:12 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:14:12 go: downloading github.com/beevik/etree v1.1.0 10:14:12 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:14:12 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:14:12 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:14:12 go: downloading github.com/google/uuid v1.3.0 10:14:12 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:14:12 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:14:13 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:14:13 go: downloading github.com/go-kit/log v0.2.0 10:14:13 go: downloading github.com/davecgh/go-spew v1.1.1 10:14:13 go: downloading github.com/pmezard/go-difflib v1.0.0 10:14:13 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:14:13 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:14:13 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:14:13 go: downloading github.com/pelletier/go-toml v1.9.4 10:14:13 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:14:13 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:14:13 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:14:13 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:14:13 go: downloading github.com/hashicorp/errwrap v1.0.0 10:14:13 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:14:13 go: downloading github.com/go-playground/universal-translator v0.18.0 10:14:13 go: downloading github.com/leodido/go-urn v1.2.1 10:14:13 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:14:13 go: downloading golang.org/x/text v0.3.7 10:14:14 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:14:14 go: downloading github.com/hashicorp/consul/api v1.9.1 10:14:14 go: downloading github.com/x448/float16 v0.8.4 10:14:14 go: downloading github.com/zeebo/errs v1.2.2 10:14:14 go: downloading google.golang.org/grpc v1.42.0 10:14:15 go: downloading github.com/go-playground/locales v0.14.0 10:14:15 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:14:15 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:14:15 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:14:15 go: downloading github.com/pebbe/zmq4 v1.2.7 10:14:15 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:14:15 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:14:15 go: downloading google.golang.org/protobuf v1.27.1 10:14:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:14:16 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:14:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:14:16 go: downloading github.com/hashicorp/serf v0.9.5 10:14:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:14:17 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:14:17 go: downloading github.com/gorilla/websocket v1.4.2 10:14:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:14:17 go: downloading github.com/mitchellh/copystructure v1.0.0 10:14:17 go: downloading github.com/fatih/color v1.9.0 10:14:17 go: downloading github.com/mattn/go-isatty v0.0.12 10:14:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:14:17 go: downloading github.com/golang/protobuf v1.5.2 10:14:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:14:17 go: downloading github.com/mattn/go-colorable v0.1.6 10:14:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:14:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:14:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:16:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:16:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.070s coverage: 0.9% of statements 10:16:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:16:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:16:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:16:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:16:19 ./bin/test-attribution-txt.sh 10:16:19 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 10:16:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:16:22 $ docker stop --time=1 eda7f884470ea52d82155583a4a555c3b34e915e999e366d2c0a9851f8ef64f9 10:16:24 $ docker rm -f eda7f884470ea52d82155583a4a555c3b34e915e999e366d2c0a9851f8ef64f9 [Pipeline] // withDockerContainer [Pipeline] sh 10:16:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:16:27 Warning: overwriting stash ‘coverage-report’ 10:16:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:16:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:16:28 + ls -al . 10:16:28 total 220 10:16:28 drwxrwxr-x 9 jenkins jenkins 4096 May 27 10:16 . 10:16:28 drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:12 .. 10:16:28 drwxrwxr-x 8 jenkins jenkins 4096 May 27 10:13 .git 10:16:28 drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:12 .github 10:16:28 -rw-rw-r-- 1 jenkins jenkins 352 May 27 10:12 .gitignore 10:16:28 -rw-rw-r-- 1 jenkins jenkins 42 May 27 10:12 .golangci.yml 10:16:28 -rw-rw-r-- 1 jenkins jenkins 9415 May 27 10:12 Attribution.txt 10:16:28 -rw-rw-r-- 1 jenkins jenkins 189 May 27 10:12 CHANGELOG.md 10:16:28 -rw-rw-r-- 1 jenkins jenkins 1686 May 27 10:12 Dockerfile 10:16:28 -rw-rw-r-- 1 jenkins jenkins 677 May 27 10:12 GOVERNANCE.md 10:16:28 -rw-rw-r-- 1 jenkins jenkins 660 May 27 10:12 Jenkinsfile 10:16:28 -rw-rw-r-- 1 jenkins jenkins 11348 May 27 10:12 LICENSE 10:16:28 -rw-rw-r-- 1 jenkins jenkins 2473 May 27 10:12 Makefile 10:16:28 -rw-rw-r-- 1 jenkins jenkins 625 May 27 10:12 OWNERS.md 10:16:28 -rw-rw-r-- 1 jenkins jenkins 28742 May 27 10:12 README.md 10:16:28 -rw-rw-r-- 1 jenkins jenkins 5 May 27 10:10 VERSION 10:16:28 drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:12 bin 10:16:28 drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:12 cmd 10:16:28 -rw-r--r-- 1 jenkins jenkins 42596 May 27 10:15 coverage.out 10:16:28 drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:12 doc 10:16:28 -rw-rw-r-- 1 jenkins jenkins 3716 May 27 10:12 go.mod 10:16:28 -rw-rw-r-- 1 jenkins jenkins 37264 May 27 10:12 go.sum 10:16:28 drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:12 internal 10:16:28 drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:12 pkg 10:16:28 -rw-rw-r-- 1 jenkins jenkins 236 May 27 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:28 + 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=a7e0d88e2e7ed8cc23e6694a272d29151fff3654 --label arch=arm64 --label version=0.0.0 . 10:16:28 Sending build context to Docker daemon 6.108MB 10:16:28 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:16:28 Step 2/26 : FROM ${BASE} AS builder 10:16:28 ---> cd4b7fcc0b9b 10:16:28 Step 3/26 : ARG MAKE="make build" 10:16:29 ---> Running in 697fb2febbad 10:16:29 Removing intermediate container 697fb2febbad 10:16:29 ---> 8ef20c3e5109 10:16:29 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:16:29 ---> Running in 47400d4298bc 10:16:29 Removing intermediate container 47400d4298bc 10:16:29 ---> b437e5068261 10:16:29 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:16:29 ---> Running in 89934505cc4d 10:16:30 Removing intermediate container 89934505cc4d 10:16:30 ---> 6af5969f3120 10:16:30 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:16:30 ---> Running in a18ca217cc6b 10:16:30 Removing intermediate container a18ca217cc6b 10:16:30 ---> 00bd3809816b 10:16:30 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:16:30 ---> Running in 37806745fefc 10:16:32 Removing intermediate container 37806745fefc 10:16:32 ---> 7c44bbd6bc0f 10:16:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:16:32 ---> Running in 58edb75880eb 10:16:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:16:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:16:35 OK: 220 MiB in 52 packages 10:16:36 Removing intermediate container 58edb75880eb 10:16:36 ---> 6a81675b49a1 10:16:36 Step 9/26 : WORKDIR /device-onvif-camera 10:16:36 ---> Running in 71f88f97f8c3 10:16:36 Removing intermediate container 71f88f97f8c3 10:16:36 ---> d9bd55e540d9 10:16:36 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:16:36 ---> e930a58571d1 10:16:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:16:37 ---> Running in 33d1e62fbee4 10:16:38 Removing intermediate container 33d1e62fbee4 10:16:38 ---> 70c109b5bc41 10:16:38 Step 12/26 : COPY . . 10:16:39 ---> 58f6d0843d07 10:16:39 Step 13/26 : RUN ${MAKE} 10:16:39 ---> Running in 20386ac73f3c 10:16:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:16:40 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:16:40 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:16:41 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:16:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:16:41 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:16:41 go: downloading github.com/gorilla/mux v1.8.0 10:16:41 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:16:42 go: downloading github.com/beevik/etree v1.1.0 10:16:42 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:16:42 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:16:42 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:16:42 go: downloading github.com/google/uuid v1.3.0 10:16:42 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:16:42 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:16:42 go: downloading github.com/go-kit/log v0.2.0 10:16:42 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:16:42 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:16:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:16:42 go: downloading github.com/pelletier/go-toml v1.9.4 10:16:42 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:16:43 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:16:43 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:16:43 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:16:43 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:16:43 go: downloading github.com/hashicorp/errwrap v1.0.0 10:16:43 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:16:43 go: downloading github.com/go-playground/universal-translator v0.18.0 10:16:43 go: downloading github.com/leodido/go-urn v1.2.1 10:16:43 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:16:43 go: downloading golang.org/x/text v0.3.7 10:16:43 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:16:43 go: downloading github.com/hashicorp/consul/api v1.9.1 10:16:43 go: downloading github.com/x448/float16 v0.8.4 10:16:43 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:16:43 go: downloading github.com/go-playground/locales v0.14.0 10:16:44 go: downloading github.com/zeebo/errs v1.2.2 10:16:44 go: downloading google.golang.org/grpc v1.42.0 10:16:45 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:16:45 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:16:45 go: downloading github.com/pebbe/zmq4 v1.2.7 10:16:45 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:16:45 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:16:45 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:16:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:16:46 go: downloading github.com/hashicorp/serf v0.9.5 10:16:46 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:16:46 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:16:46 go: downloading google.golang.org/protobuf v1.27.1 10:16:47 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:16:47 go: downloading github.com/gorilla/websocket v1.4.2 10:16:47 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:16:47 go: downloading github.com/mitchellh/copystructure v1.0.0 10:16:47 go: downloading github.com/fatih/color v1.9.0 10:16:47 go: downloading github.com/mattn/go-isatty v0.0.12 10:16:47 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:16:47 go: downloading github.com/golang/protobuf v1.5.2 10:16:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:16:47 go: downloading github.com/mattn/go-colorable v0.1.6 10:16:47 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:16:47 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:19:24 Removing intermediate container 20386ac73f3c 10:19:24 ---> 094cec28e181 10:19:24 Step 14/26 : FROM alpine:3.15 10:19:24 3.15: Pulling from library/alpine 10:19:24 9981e73032c8: Pulling fs layer 10:19:24 9981e73032c8: Verifying Checksum 10:19:24 9981e73032c8: Download complete 10:19:24 9981e73032c8: Pull complete 10:19:24 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:19:24 Status: Downloaded newer image for alpine:3.15 10:19:24 ---> 3fb3c9af89a9 10:19:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:19:24 ---> Running in 28b026b9243f 10:19:24 Removing intermediate container 28b026b9243f 10:19:24 ---> 4c44d8982434 10:19:24 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:19:24 ---> Running in c0e53d375058 10:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:19:24 (1/6) Installing dumb-init (1.2.5-r1) 10:19:24 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:19:24 (3/6) Installing libsodium (1.0.18-r0) 10:19:24 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:19:24 (5/6) Installing libzmq (4.3.4-r0) 10:19:24 (6/6) Installing zeromq (4.3.4-r0) 10:19:24 Executing busybox-1.34.1-r5.trigger 10:19:24 OK: 8 MiB in 20 packages 10:19:24 Removing intermediate container c0e53d375058 10:19:24 ---> cd7bb3992bb8 10:19:24 Step 17/26 : WORKDIR / 10:19:24 ---> Running in 5fc30b300696 10:19:24 Removing intermediate container 5fc30b300696 10:19:24 ---> a480080ccd09 10:19:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:19:25 ---> eed7d7fdf786 10:19:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:19:25 ---> ad6acad4e8ed 10:19:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:19:26 ---> 515209030538 10:19:26 Step 21/26 : EXPOSE 59984 10:19:26 ---> Running in 2aa70c3be063 10:19:26 Removing intermediate container 2aa70c3be063 10:19:26 ---> 22f851cc7967 10:19:26 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:19:26 ---> Running in c7d96ccce3f0 10:19:26 Removing intermediate container c7d96ccce3f0 10:19:26 ---> 120bff33cf78 10:19:26 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:19:26 ---> Running in 34852efa0922 10:19:27 Removing intermediate container 34852efa0922 10:19:27 ---> bb6cd2cba62b 10:19:27 Step 24/26 : LABEL arch=arm64 10:19:27 ---> Running in aa614bf7247f 10:19:27 Removing intermediate container aa614bf7247f 10:19:27 ---> 2c99eea03fa5 10:19:27 Step 25/26 : LABEL git_sha=a7e0d88e2e7ed8cc23e6694a272d29151fff3654 10:19:27 ---> Running in 8b626b42ecff 10:19:27 Removing intermediate container 8b626b42ecff 10:19:27 ---> 6add9f45648e 10:19:27 Step 26/26 : LABEL version=0.0.0 10:19:27 ---> Running in b38377ed72b0 10:19:28 Removing intermediate container b38377ed72b0 10:19:28 ---> 07bb6a0c58fc 10:19:28 [Warning] One or more build-args [ARCH] were not consumed 10:19:28 Successfully built 07bb6a0c58fc 10:19:28 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 10:19:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:28 10:19:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:29 arm64: Pulling from edgex-lftools-log-publisher 10:19:29 8998bd30e6a1: Pulling fs layer 10:19:29 04944245beec: Pulling fs layer 10:19:29 699f458cf7ca: Pulling fs layer 10:19:29 765212b225bb: Pulling fs layer 10:19:29 f23df028b6ca: Pulling fs layer 10:19:29 d65c8cfc05b1: Pulling fs layer 10:19:29 2437ff75d9bd: Pulling fs layer 10:19:29 765212b225bb: Waiting 10:19:29 f23df028b6ca: Waiting 10:19:29 d65c8cfc05b1: Waiting 10:19:29 2437ff75d9bd: Waiting 10:19:29 04944245beec: Verifying Checksum 10:19:29 04944245beec: Download complete 10:19:29 765212b225bb: Verifying Checksum 10:19:29 765212b225bb: Download complete 10:19:29 f23df028b6ca: Download complete 10:19:29 d65c8cfc05b1: Verifying Checksum 10:19:29 d65c8cfc05b1: Download complete 10:19:29 699f458cf7ca: Verifying Checksum 10:19:29 699f458cf7ca: Download complete 10:19:29 8998bd30e6a1: Verifying Checksum 10:19:29 8998bd30e6a1: Download complete 10:19:32 2437ff75d9bd: Download complete 10:19:33 8998bd30e6a1: Pull complete 10:19:34 04944245beec: Pull complete 10:19:36 699f458cf7ca: Pull complete 10:19:36 765212b225bb: Pull complete 10:19:37 f23df028b6ca: Pull complete 10:19:37 d65c8cfc05b1: Pull complete 10:19:52 2437ff75d9bd: Pull complete 10:19:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:52 prd-ubuntu20.04-docker-arm64-4c-16g-252 does not seem to be running inside a container 10:19:52 $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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:arm64 cat 10:19:55 $ docker top 5816a7d1d318f521cc6a0425ea6e9f6f1f2b04c510336a13785aca3cc5cf2bd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:56 ---> job-cost.sh 10:19:56 lf-activate-venv: SKIPPING 10:19:56 INFO: No Stack... 10:19:56 INFO: Retrieving Pricing Info for: v3-standard-4 10:19:57 INFO: Archiving Costs [Pipeline] sh 10:19:58 + + cat /w/workspace/device-onvif-camera/13/archives/cost.csv 10:19:58 cut -d, -f6 [Pipeline] lock 10:19:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] 10:19:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] did not exist. Created. 10:19:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:19:59 /w/workspace/device-onvif-camera/13@tmp/durable-feb9c823/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:19:59 + echo total: 0.10999999940395355 [Pipeline] stash 10:20:00 Warning: overwriting stash ‘stack-cost’ 10:20:00 Stashed 1 file(s) [Pipeline] } 10:20:00 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-13-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:00 $ docker stop --time=1 5816a7d1d318f521cc6a0425ea6e9f6f1f2b04c510336a13785aca3cc5cf2bd0 10:20:01 $ docker rm -f 5816a7d1d318f521cc6a0425ea6e9f6f1f2b04c510336a13785aca3cc5cf2bd0 [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 10:20:02 provisioning config files... 10:20:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2069570968452763637tmp [Pipeline] { [Pipeline] sh 10:20:02 + set +x 10:20:02 + bash -s -- 10:20:02 + curl -s https://codecov.io/bash 10:20:02 10:20:02 _____ _ 10:20:02 / ____| | | 10:20:02 | | ___ __| | ___ ___ _____ __ 10:20:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:20:02 | |___| (_) | (_| | __/ (_| (_) \ V / 10:20:02 \_____\___/ \__,_|\___|\___\___/ \_/ 10:20:02 Bash-1.0.6 10:20:02 10:20:02 10:20:02 ==> git version 2.25.1 found 10:20:02 ==> 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 10:20:02 Release-Date: 2020-01-08 10:20:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:20:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:20:02 ==> Jenkins CI detected. 10:20:02 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 10:20:02 project root: . 10:20:02 --> token set from env 10:20:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:20:02 ==> Running gcov in . (disable via -X gcov) 10:20:02 ==> Python coveragepy not found 10:20:02 ==> Searching for coverage reports in: 10:20:02 + . 10:20:02 -> Found 1 reports 10:20:02 ==> Detecting git/mercurial file structure 10:20:02 ==> Reading reports 10:20:02 + ./coverage.out bytes=42596 10:20:02 ==> Appending adjustments 10:20:02 https://docs.codecov.io/docs/fixing-reports 10:20:02 + Found adjustments 10:20:02 ==> Gzipping contents 10:20:02 8.0K /tmp/codecov.2thhIH.gz 10:20:02 ==> Uploading reports 10:20:02 url: https://codecov.io 10:20:02 query: branch=PR-65&commit=adb884d8668282ad178a3bdff0c37f789c00adfd&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 10:20:02 -> Pinging Codecov 10:20:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-65&commit=adb884d8668282ad178a3bdff0c37f789c00adfd&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 10:20:02 -> Uploading to 10:20:02 https://storage.googleapis.com/codecov/v4/raw/2022-05-27/F29A59C45E3A92E06B3E522C9905F8EF/adb884d8668282ad178a3bdff0c37f789c00adfd/7b683a9d-1cc3-4f47-85ef-6a2042ff4eb5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T102002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7151c82162d28c65468a8c9dbd6f306248cb0e680326354004029d50a892508d 10:20:02 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:02 Dload Upload Total Spent Left Speed 10:20:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5649 0 0 100 5649 0 27556 --:--:-- --:--:-- --:--:-- 27556 10:20:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/adb884d8668282ad178a3bdff0c37f789c00adfd [Pipeline] } 10:20:03 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 10:20:03 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 10:20:03 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 10:20:03 total 16 10:20:03 drwxr-xr-x 3 root root 4096 May 27 10:12 . 10:20:03 drwxrwxr-x 11 jenkins jenkins 4096 May 27 10:12 .. 10:20:03 drwxr-xr-x 2 root root 4096 May 27 10:12 cost 10:20:03 -rw-r--r-- 1 root root 90 May 27 10:12 cost.csv 10:20:03 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 10:20:03 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 10:20:03 total 16 10:20:03 drwxr-xr-x 3 jenkins jenkins 4096 May 27 10:12 . 10:20:03 drwxrwxr-x 11 jenkins jenkins 4096 May 27 10:12 .. 10:20:03 drwxr-xr-x 2 jenkins jenkins 4096 May 27 10:12 cost 10:20:03 -rw-r--r-- 1 jenkins jenkins 90 May 27 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:20:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:05 ---> package-listing.sh 10:20:05 ++ facter osfamily 10:20:05 ++ tr '[:upper:]' '[:lower:]' 10:20:05 + OS_FAMILY=debian 10:20:05 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 10:20:05 + START_PACKAGES=/tmp/packages_start.txt 10:20:05 + END_PACKAGES=/tmp/packages_end.txt 10:20:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:05 + PACKAGES=/tmp/packages_start.txt 10:20:05 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 10:20:05 + PACKAGES=/tmp/packages_end.txt 10:20:05 + case "${OS_FAMILY}" in 10:20:05 + dpkg -l 10:20:05 + grep '^ii' 10:20:05 + '[' -f /tmp/packages_start.txt ']' 10:20:05 + '[' -f /tmp/packages_end.txt ']' 10:20:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:05 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 10:20:05 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 10:20:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo 10:20:05 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:20:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:06 prd-ubuntu20.04-docker-8c-8g-250 does not seem to be running inside a container 10:20:06 $ 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:20:06 $ docker top efc81ad342c45fa58d75f64d81ee5ce9d6eeed06078c643f3e6334fb738e0992 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:06 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:07 + mkdir -p /var/log/sysstat [Pipeline] sh 10:20:07 + ls /var/log/sa-host 10:20:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:07 provisioning config files... 10:20:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4611505074632291517tmp [Pipeline] { [Pipeline] echo 10:20:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:07 ---> create-netrc.sh [Pipeline] } 10:20:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:20:08 ---> python-tools-install.sh [Pipeline] echo 10:20:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:08 ---> sudo-logs.sh 10:20:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:08 ---> job-cost.sh 10:20:08 lf-activate-venv: SKIPPING 10:20:08 DEBUG: total: 0.2199999988079071 10:20:08 INFO: Retrieving Stack Cost... 10:20:09 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:09 INFO: Archiving Costs [Pipeline] echo 10:20:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:10 ---> logs-deploy.sh 10:20:10 lf-activate-venv: SKIPPING 10:20:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/13 10:20:10 INFO: archiving workspace using pattern(s): 10:20:10 Archives upload complete. 10:20:10 INFO: archiving logs to Nexus