Pull request #65 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8ea3952a55c07e239dd75554aa3eccbc97544666 rather than 7a67c2562f1961e5ec7c7729444a85cce7bac412 Obtained Jenkinsfile from 8ea3952a55c07e239dd75554aa3eccbc97544666 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-ssh11879847628004990292.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-ssh13417458724789855763.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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12170670938647918436.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 shared 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-ssh18389877901883613686.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh11379661803291279285.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 ‘prd-ubuntu20.04-docker-8c-8g-64220’ is offline Running on prd-ubuntu20.04-docker-8c-8g-64222 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 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 7a67c2562f1961e5ec7c7729444a85cce7bac412 Merge succeeded, producing 7a67c2562f1961e5ec7c7729444a85cce7bac412 Checking out Revision 7a67c2562f1961e5ec7c7729444a85cce7bac412 (PR-65) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a67c2562f1961e5ec7c7729444a85cce7bac412 # 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 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a67c2562f1961e5ec7c7729444a85cce7bac412 # timeout=10 Commit message: "Merge remote-tracking branch 'edgex/main' into discovery-probe" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:27:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:27:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:27:17 ========================================================= 20:27:17 EdgeX Global Pipelines Version Info 20:27:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 67546bc4332c3d264001c22ba45d6c898bd1fa71 # timeout=10 20:27:18 ------------------- 20:27:18 stable info: 20:27:18 ------------------- 20:27:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:27:18 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:27:18 Message: update stable to v1.0.230 20:27:19 ------------------- 20:27:19 experimental info: 20:27:19 ------------------- 20:27:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:27:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:27:19 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a67c2562f1961e5ec7c7729444a85cce7bac412 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a67c25 [Pipeline] echo 20:27:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:19 provisioning config files... 20:27:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8251855295253665006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:20 ---> docker-login.sh 20:27:20 nexus3.edgexfoundry.org:10001 20:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:20 Configure a credential helper to remove this warning. See 20:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:20 20:27:20 Login Succeeded 20:27:20 nexus3.edgexfoundry.org:10002 20:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:20 Configure a credential helper to remove this warning. See 20:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:20 20:27:20 Login Succeeded 20:27:20 nexus3.edgexfoundry.org:10003 20:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:20 Configure a credential helper to remove this warning. See 20:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:20 20:27:20 Login Succeeded 20:27:20 nexus3.edgexfoundry.org:10004 20:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:20 Configure a credential helper to remove this warning. See 20:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:20 20:27:20 Login Succeeded 20:27:20 docker.io 20:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:21 Configure a credential helper to remove this warning. See 20:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:21 20:27:21 Login Succeeded 20:27:21 ---> docker-login.sh ends [Pipeline] } 20:27:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:27:21 + git rev-list -1 --merges 7a67c2562f1961e5ec7c7729444a85cce7bac412~1..7a67c2562f1961e5ec7c7729444a85cce7bac412 [Pipeline] echo 20:27:21 -----------> git rev-list -1 --merges 7a67c2562f1961e5ec7c7729444a85cce7bac412~1..7a67c2562f1961e5ec7c7729444a85cce7bac412 7a67c2562f1961e5ec7c7729444a85cce7bac412 20:27:21 7a67c2562f1961e5ec7c7729444a85cce7bac412 [false] [Pipeline] sh 20:27:22 + git log --format=format:%s -1 7a67c2562f1961e5ec7c7729444a85cce7bac412 [Pipeline] echo 20:27:22 ========================================================= 20:27:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:27:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:22 + git log --format=format:%s -1 7a67c2562f1961e5ec7c7729444a85cce7bac412 [Pipeline] echo 20:27:22 [semverPrep] GIT_COMMIT: 7a67c2562f1961e5ec7c7729444a85cce7bac412, Commit Message: Merge remote-tracking branch 'edgex/main' into discovery-probe [Pipeline] echo 20:27:22 [semverPrep] This is not a build commit. [Pipeline] sh 20:27:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:27:22 + grep -v github /etc/ssh/ssh_known_hosts 20:27:22 + [ -e /tmp/ssh_known_hosts ] 20:27:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:27:22 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 20:27:22 tee -a /etc/ssh/ssh_known_hosts 20:27:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:27:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:27:23 20:27:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:27:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:27:23 latest: Pulling from edgex-devops/py-git-semver 20:27:23 1fe172e4850f: Pulling fs layer 20:27:23 caf521ccaac6: Pulling fs layer 20:27:23 3ead6fa29328: Pulling fs layer 20:27:23 5c2a1cbceb83: Pulling fs layer 20:27:23 a8d5f1318db7: Pulling fs layer 20:27:23 c427282e49a2: Pulling fs layer 20:27:23 1827001aaf11: Pulling fs layer 20:27:23 0714d37db230: Pulling fs layer 20:27:23 ac28cf19c067: Pulling fs layer 20:27:23 ca983d60f3e2: Pulling fs layer 20:27:23 9f894cec8388: Pulling fs layer 20:27:23 ca983d60f3e2: Waiting 20:27:23 ac28cf19c067: Waiting 20:27:23 c427282e49a2: Waiting 20:27:23 1827001aaf11: Waiting 20:27:23 9f894cec8388: Waiting 20:27:23 5c2a1cbceb83: Waiting 20:27:23 0714d37db230: Waiting 20:27:23 caf521ccaac6: Download complete 20:27:23 5c2a1cbceb83: Download complete 20:27:23 a8d5f1318db7: Verifying Checksum 20:27:23 a8d5f1318db7: Download complete 20:27:23 c427282e49a2: Verifying Checksum 20:27:23 c427282e49a2: Download complete 20:27:23 3ead6fa29328: Verifying Checksum 20:27:23 3ead6fa29328: Download complete 20:27:23 0714d37db230: Verifying Checksum 20:27:23 0714d37db230: Download complete 20:27:23 ac28cf19c067: Verifying Checksum 20:27:23 ac28cf19c067: Download complete 20:27:23 ca983d60f3e2: Verifying Checksum 20:27:23 ca983d60f3e2: Download complete 20:27:23 9f894cec8388: Verifying Checksum 20:27:23 9f894cec8388: Download complete 20:27:23 1fe172e4850f: Verifying Checksum 20:27:23 1fe172e4850f: Download complete 20:27:24 1827001aaf11: Verifying Checksum 20:27:24 1827001aaf11: Download complete 20:27:25 1fe172e4850f: Pull complete 20:27:25 caf521ccaac6: Pull complete 20:27:25 3ead6fa29328: Pull complete 20:27:25 5c2a1cbceb83: Pull complete 20:27:26 a8d5f1318db7: Pull complete 20:27:26 c427282e49a2: Pull complete 20:27:28 1827001aaf11: Pull complete 20:27:28 0714d37db230: Pull complete 20:27:28 ac28cf19c067: Pull complete 20:27:28 ca983d60f3e2: Pull complete 20:27:28 9f894cec8388: Pull complete 20:27:28 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:27:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:27:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:27:28 prd-ubuntu20.04-docker-8c-8g-64222 does not seem to be running inside a container 20:27:28 $ 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 20:27:30 $ docker top 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 -eo pid,comm 20:27:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:27:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:27:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:30 [ssh-agent] Looking for ssh-agent implementation... 20:27:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:31 $ docker exec 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 ssh-agent 20:27:31 SSH_AUTH_SOCK=/tmp/ssh-oWxW2vGL2TIR/agent.33 20:27:31 SSH_AGENT_PID=39 20:27:31 Running ssh-add (command line suppressed) 20:27:31 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_504244405332725744.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_504244405332725744.key) 20:27:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:31 + git tag --points-at HEAD [Pipeline] } 20:27:31 $ docker exec --env ******** --env ******** 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 ssh-agent -k 20:27:31 unset SSH_AUTH_SOCK; 20:27:31 unset SSH_AGENT_PID; 20:27:31 echo Agent pid 39 killed; 20:27:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:27:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:31 [ssh-agent] Looking for ssh-agent implementation... 20:27:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:31 $ docker exec 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 ssh-agent 20:27:32 SSH_AUTH_SOCK=/tmp/ssh-xmRdl6obYngd/agent.72 20:27:32 SSH_AGENT_PID=78 20:27:32 Running ssh-add (command line suppressed) 20:27:32 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_7725898801406239193.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_7725898801406239193.key) 20:27:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:32 + git semver init 20:27:32 2022-05-20 20:27:32,663 [run_init] DEBUG init version:0.0.0 force:False 20:27:32 2022-05-20 20:27:32,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 20:27:32 2022-05-20 20:27:32,664 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 20:27:32 2022-05-20 20:27:32,664 [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) 20:27:33 2022-05-20 20:27:33,365 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 20:27:33 2022-05-20 20:27:33,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False 20:27:33 2022-05-20 20:27:33,365 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 20:27:33 2022-05-20 20:27:33,365 [write_version] DEBUG version is same as current version 0.0.0 20:27:33 2022-05-20 20:27:33,366 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 20:27:33 0.0.0 [Pipeline] } 20:27:33 $ docker exec --env ******** --env ******** 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 ssh-agent -k 20:27:33 unset SSH_AUTH_SOCK; 20:27:33 unset SSH_AGENT_PID; 20:27:33 echo Agent pid 78 killed; 20:27:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:27:34 + git semver [Pipeline] } 20:27:34 $ docker stop --time=1 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 20:27:35 $ docker rm -f 8d01e53a5e72c07d8d90f65dd203f3f8d4d6d08fddc2caeb2e6c904529f577a7 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:27:36 Stashed 1 file(s) [Pipeline] echo 20:27:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:36 provisioning config files... 20:27:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4080707681436447975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:36 ---> docker-login.sh 20:27:36 nexus3.edgexfoundry.org:10001 20:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:36 Configure a credential helper to remove this warning. See 20:27:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:36 20:27:36 Login Succeeded 20:27:36 nexus3.edgexfoundry.org:10002 20:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:37 Configure a credential helper to remove this warning. See 20:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:37 20:27:37 Login Succeeded 20:27:37 nexus3.edgexfoundry.org:10003 20:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:37 Configure a credential helper to remove this warning. See 20:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:37 20:27:37 Login Succeeded 20:27:37 nexus3.edgexfoundry.org:10004 20:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:37 Configure a credential helper to remove this warning. See 20:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:37 20:27:37 Login Succeeded 20:27:37 docker.io 20:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:37 Configure a credential helper to remove this warning. See 20:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:37 20:27:37 Login Succeeded 20:27:37 ---> docker-login.sh ends [Pipeline] } 20:27:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:37 ========================================================= 20:27:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:27:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:27:38 + 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 . 20:27:38 Sending build context to Docker daemon 8.794MB 20:27:38 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:27:38 Step 2/13 : FROM ${BASE} AS builder 20:27:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:38 59bf1c3509f3: Pulling fs layer 20:27:38 666ba61612fd: Pulling fs layer 20:27:38 8ed8ca486205: Pulling fs layer 20:27:38 4fe6c5a15a65: Pulling fs layer 20:27:38 22a0e8bec74d: Pulling fs layer 20:27:38 ca2b28591e48: Pulling fs layer 20:27:38 a51346096db8: Pulling fs layer 20:27:38 daebc70d1ce1: Pulling fs layer 20:27:38 0e18a0eac166: Pulling fs layer 20:27:38 22a0e8bec74d: Waiting 20:27:38 ca2b28591e48: Waiting 20:27:38 a51346096db8: Waiting 20:27:38 daebc70d1ce1: Waiting 20:27:38 0e18a0eac166: Waiting 20:27:38 4fe6c5a15a65: Waiting 20:27:38 8ed8ca486205: Download complete 20:27:38 666ba61612fd: Download complete 20:27:38 22a0e8bec74d: Download complete 20:27:38 ca2b28591e48: Verifying Checksum 20:27:38 ca2b28591e48: Download complete 20:27:38 59bf1c3509f3: Verifying Checksum 20:27:38 59bf1c3509f3: Download complete 20:27:38 a51346096db8: Verifying Checksum 20:27:38 a51346096db8: Download complete 20:27:38 daebc70d1ce1: Verifying Checksum 20:27:38 daebc70d1ce1: Download complete 20:27:38 59bf1c3509f3: Pull complete 20:27:38 666ba61612fd: Pull complete 20:27:38 8ed8ca486205: Pull complete 20:27:38 0e18a0eac166: Verifying Checksum 20:27:38 0e18a0eac166: Download complete 20:27:39 4fe6c5a15a65: Verifying Checksum 20:27:39 4fe6c5a15a65: Download complete 20:27:43 4fe6c5a15a65: Pull complete 20:27:43 22a0e8bec74d: Pull complete 20:27:43 ca2b28591e48: Pull complete 20:27:43 a51346096db8: Pull complete 20:27:43 daebc70d1ce1: Pull complete 20:27:45 0e18a0eac166: Pull complete 20:27:45 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:27:45 ---> f018257e8ee9 20:27:45 Step 3/13 : ARG MAKE="make build" 20:27:47 ---> Running in 330524c67bd9 20:27:47 Removing intermediate container 330524c67bd9 20:27:47 ---> ca39a76a3865 20:27:47 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:27:47 ---> Running in d93523521e0f 20:27:47 Removing intermediate container d93523521e0f 20:27:47 ---> 930f0e056ca9 20:27:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:27:48 ---> Running in d4783471fc83 20:27:48 Removing intermediate container d4783471fc83 20:27:48 ---> 96d1da3ddf7d 20:27:48 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:27:48 ---> Running in 2bc4b0e1877f 20:27:48 Removing intermediate container 2bc4b0e1877f 20:27:48 ---> e951d0c2f414 20:27:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:48 ---> Running in 83fc692c50b9 20:27:48 Removing intermediate container 83fc692c50b9 20:27:48 ---> 7d70dbd326e1 20:27:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:48 ---> Running in 03e81ae89956 20:27:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:27:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:27:50 OK: 221 MiB in 52 packages 20:27:50 Removing intermediate container 03e81ae89956 20:27:50 ---> 3424283059a5 20:27:50 Step 9/13 : WORKDIR /device-onvif-camera 20:27:50 ---> Running in f57023743ee3 20:27:50 Removing intermediate container f57023743ee3 20:27:50 ---> 4ddef2bc0e46 20:27:50 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:27:51 ---> 18552178f269 20:27:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:51 ---> Running in 0671a5f325c5 20:27:51 Still waiting to schedule task 20:27:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64221’ is offline 20:27:52 Removing intermediate container 0671a5f325c5 20:27:52 ---> 81d51f5442ac 20:27:52 Step 12/13 : COPY . . 20:27:52 ---> c26f96290376 20:27:52 Step 13/13 : RUN ${MAKE} 20:27:52 ---> Running in 2b63cb9d1f9e 20:27:52 noop 20:27:52 Removing intermediate container 2b63cb9d1f9e 20:27:52 ---> 852c6a6c1448 20:27:52 Successfully built 852c6a6c1448 20:27:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:27:53 + docker inspect -f . ci-base-image-x86_64 20:27:53 . [Pipeline] withDockerContainer 20:27:53 prd-ubuntu20.04-docker-8c-8g-64222 does not seem to be running inside a container 20:27:53 $ 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 20:27:53 $ docker top 99cac225b030a422ec4fb6f92eac4e4c088085f4fb82ace776e1be92329c6a6c -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:54 + go version 20:27:54 go version go1.17.6 linux/amd64 [Pipeline] } 20:27:54 $ docker stop --time=1 99cac225b030a422ec4fb6f92eac4e4c088085f4fb82ace776e1be92329c6a6c 20:27:55 $ docker rm -f 99cac225b030a422ec4fb6f92eac4e4c088085f4fb82ace776e1be92329c6a6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:27:55 + docker inspect -f . ci-base-image-x86_64 20:27:55 . [Pipeline] withDockerContainer 20:27:56 prd-ubuntu20.04-docker-8c-8g-64222 does not seem to be running inside a container 20:27:56 $ 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 20:27:56 $ docker top 696234eba9927dbc374c88543b6f16a715b5546c5624c8a9c7708a7f96ed51c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:27:56 + make test 20:27:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:27:56 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:27:56 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:27:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:27:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:27:57 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:27:57 go: downloading github.com/gorilla/mux v1.8.0 20:27:57 go: downloading github.com/stretchr/testify v1.7.1 20:27:57 go: downloading github.com/beevik/etree v1.1.0 20:27:57 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:27:57 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:27:57 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:27:57 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:27:57 go: downloading github.com/google/uuid v1.3.0 20:27:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:27:57 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:27:57 go: downloading github.com/go-kit/log v0.2.0 20:27:57 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:27:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:27:57 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:27:57 go: downloading github.com/pelletier/go-toml v1.9.4 20:27:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:27:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:27:57 go: downloading github.com/davecgh/go-spew v1.1.1 20:27:57 go: downloading github.com/pmezard/go-difflib v1.0.0 20:27:57 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:27:57 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:27:57 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:27:57 go: downloading github.com/hashicorp/errwrap v1.0.0 20:27:57 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:27:57 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:27:57 go: downloading github.com/hashicorp/consul/api v1.9.1 20:27:57 go: downloading github.com/go-playground/universal-translator v0.18.0 20:27:57 go: downloading github.com/leodido/go-urn v1.2.1 20:27:57 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:27:57 go: downloading golang.org/x/text v0.3.7 20:27:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:27:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:27:57 go: downloading github.com/pebbe/zmq4 v1.2.7 20:27:57 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:27:57 go: downloading github.com/x448/float16 v0.8.4 20:27:57 go: downloading github.com/go-playground/locales v0.14.0 20:27:57 go: downloading github.com/zeebo/errs v1.2.2 20:27:57 go: downloading google.golang.org/grpc v1.42.0 20:27:57 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:27:57 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:27:57 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:27:57 go: downloading github.com/hashicorp/serf v0.9.5 20:27:57 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:27:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:27:57 go: downloading github.com/mitchellh/copystructure v1.0.0 20:27:57 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:27:57 go: downloading google.golang.org/protobuf v1.27.1 20:27:57 go: downloading github.com/gorilla/websocket v1.4.2 20:27:57 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:27:57 go: downloading github.com/fatih/color v1.9.0 20:27:57 go: downloading github.com/mattn/go-isatty v0.0.12 20:27:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:27:57 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:27:57 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:27:57 go: downloading github.com/mattn/go-colorable v0.1.6 20:27:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:27:57 go: downloading github.com/golang/protobuf v1.5.2 20:27:57 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:28:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:28:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:28:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.014s coverage: 0.9% of statements 20:28:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:28:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:28:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:28:19 ./bin/test-attribution-txt.sh 20:28:19 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 20:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:28:19 $ docker stop --time=1 696234eba9927dbc374c88543b6f16a715b5546c5624c8a9c7708a7f96ed51c4 20:28:23 $ docker rm -f 696234eba9927dbc374c88543b6f16a715b5546c5624c8a9c7708a7f96ed51c4 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:28:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:28:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:28:25 + ls -al . 20:28:25 total 224 20:28:25 drwxrwxr-x 10 jenkins jenkins 4096 May 20 20:28 . 20:28:25 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:27 .. 20:28:25 drwxrwxr-x 8 jenkins jenkins 4096 May 20 20:27 .git 20:28:25 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:27 .github 20:28:25 -rw-rw-r-- 1 jenkins jenkins 352 May 20 20:27 .gitignore 20:28:25 -rw-rw-r-- 1 jenkins jenkins 42 May 20 20:27 .golangci.yml 20:28:25 drwxr-xr-x 3 jenkins jenkins 4096 May 20 20:27 .semver 20:28:25 -rw-rw-r-- 1 jenkins jenkins 9415 May 20 20:27 Attribution.txt 20:28:25 -rw-rw-r-- 1 jenkins jenkins 189 May 20 20:27 CHANGELOG.md 20:28:25 -rw-rw-r-- 1 jenkins jenkins 1686 May 20 20:27 Dockerfile 20:28:25 -rw-rw-r-- 1 jenkins jenkins 677 May 20 20:27 GOVERNANCE.md 20:28:25 -rw-rw-r-- 1 jenkins jenkins 660 May 20 20:27 Jenkinsfile 20:28:25 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 20:27 LICENSE 20:28:25 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 20:27 Makefile 20:28:25 -rw-rw-r-- 1 jenkins jenkins 625 May 20 20:27 OWNERS.md 20:28:25 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 20:27 README.md 20:28:25 -rw-rw-r-- 1 jenkins jenkins 5 May 20 20:27 VERSION 20:28:25 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:27 bin 20:28:25 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:27 cmd 20:28:25 -rw-r--r-- 1 jenkins jenkins 42596 May 20 20:28 coverage.out 20:28:25 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:27 doc 20:28:25 -rw-rw-r-- 1 jenkins jenkins 3716 May 20 20:27 go.mod 20:28:25 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 20:27 go.sum 20:28:25 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:27 internal 20:28:25 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:27 pkg 20:28:25 -rw-rw-r-- 1 jenkins jenkins 236 May 20 20:27 version.go [Pipeline] isUnix [Pipeline] sh 20:28:25 + 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=7a67c2562f1961e5ec7c7729444a85cce7bac412 --label arch=amd64 --label version=0.0.0 . 20:28:25 Sending build context to Docker daemon 8.837MB 20:28:25 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:28:25 Step 2/26 : FROM ${BASE} AS builder 20:28:25 ---> 852c6a6c1448 20:28:25 Step 3/26 : ARG MAKE="make build" 20:28:25 ---> Running in 01d11ad35b22 20:28:25 Removing intermediate container 01d11ad35b22 20:28:25 ---> 62edff562fbe 20:28:25 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:28:25 ---> Running in f80e7a546d44 20:28:25 Removing intermediate container f80e7a546d44 20:28:25 ---> d6a43ec192da 20:28:25 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:28:25 ---> Running in 6f1e8cb705c3 20:28:26 Removing intermediate container 6f1e8cb705c3 20:28:26 ---> f16f074dfd14 20:28:26 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:28:26 ---> Running in 90b21a5de170 20:28:26 Removing intermediate container 90b21a5de170 20:28:26 ---> f836ef0b6a4c 20:28:26 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:26 ---> Running in e8452b808e36 20:28:27 Removing intermediate container e8452b808e36 20:28:27 ---> 31e839136f88 20:28:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:27 ---> Running in 5baa3f86faf4 20:28:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:28:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:28:28 OK: 221 MiB in 52 packages 20:28:29 Removing intermediate container 5baa3f86faf4 20:28:29 ---> 98c96bbfa293 20:28:29 Step 9/26 : WORKDIR /device-onvif-camera 20:28:29 ---> Running in 68b85b77648f 20:28:29 Removing intermediate container 68b85b77648f 20:28:29 ---> d694ef997461 20:28:29 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:28:29 ---> 119a8e7426e3 20:28:29 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:29 ---> Running in 3ebb9364c6d2 20:28:29 Removing intermediate container 3ebb9364c6d2 20:28:29 ---> 4cb5e085a527 20:28:29 Step 12/26 : COPY . . 20:28:30 ---> 50732401011d 20:28:30 Step 13/26 : RUN ${MAKE} 20:28:30 ---> Running in 723ef52a0544 20:28:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:28:30 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:28:30 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:28:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:28:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:28:30 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:28:30 go: downloading github.com/gorilla/mux v1.8.0 20:28:30 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:28:30 go: downloading github.com/beevik/etree v1.1.0 20:28:30 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:28:30 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:28:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:28:30 go: downloading github.com/google/uuid v1.3.0 20:28:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:28:30 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:28:30 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:28:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:28:30 go: downloading github.com/pelletier/go-toml v1.9.4 20:28:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:28:30 go: downloading github.com/go-kit/log v0.2.0 20:28:30 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:28:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:28:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:28:30 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:28:30 go: downloading github.com/hashicorp/errwrap v1.0.0 20:28:30 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:28:30 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:28:30 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:28:30 go: downloading github.com/hashicorp/consul/api v1.9.1 20:28:30 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:28:30 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:28:30 go: downloading github.com/pebbe/zmq4 v1.2.7 20:28:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:28:30 go: downloading github.com/x448/float16 v0.8.4 20:28:30 go: downloading github.com/leodido/go-urn v1.2.1 20:28:30 go: downloading github.com/go-playground/universal-translator v0.18.0 20:28:30 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:28:30 go: downloading golang.org/x/text v0.3.7 20:28:30 go: downloading github.com/zeebo/errs v1.2.2 20:28:30 go: downloading google.golang.org/grpc v1.42.0 20:28:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:28:31 go: downloading github.com/mitchellh/copystructure v1.0.0 20:28:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:28:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:28:31 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:28:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:28:31 go: downloading github.com/hashicorp/serf v0.9.5 20:28:31 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:28:31 go: downloading google.golang.org/protobuf v1.27.1 20:28:31 go: downloading github.com/gorilla/websocket v1.4.2 20:28:31 go: downloading github.com/go-playground/locales v0.14.0 20:28:31 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:28:31 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:28:31 go: downloading github.com/fatih/color v1.9.0 20:28:31 go: downloading github.com/mattn/go-isatty v0.0.12 20:28:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:28:31 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:28:31 go: downloading github.com/mattn/go-colorable v0.1.6 20:28:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:28:31 go: downloading github.com/golang/protobuf v1.5.2 20:28:31 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:29:03 Removing intermediate container 723ef52a0544 20:29:03 ---> b61baf56e404 20:29:03 Step 14/26 : FROM alpine:3.15 20:29:03 3.15: Pulling from library/alpine 20:29:03 df9b9388f04a: Pulling fs layer 20:29:03 df9b9388f04a: Verifying Checksum 20:29:03 df9b9388f04a: Download complete 20:29:03 df9b9388f04a: Pull complete 20:29:03 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 20:29:03 Status: Downloaded newer image for alpine:3.15 20:29:03 ---> 0ac33e5f5afa 20:29:03 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:29:03 ---> Running in 36e8104ca302 20:29:03 Removing intermediate container 36e8104ca302 20:29:03 ---> 30ac81217cf4 20:29:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:29:03 ---> Running in 8c22dd6ecd2b 20:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:29:03 (1/6) Installing dumb-init (1.2.5-r1) 20:29:03 (2/6) Installing libgcc (10.3.1_git20211027-r0) 20:29:03 (3/6) Installing libsodium (1.0.18-r0) 20:29:03 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 20:29:03 (5/6) Installing libzmq (4.3.4-r0) 20:29:03 (6/6) Installing zeromq (4.3.4-r0) 20:29:03 Executing busybox-1.34.1-r5.trigger 20:29:03 OK: 8 MiB in 20 packages 20:29:03 Removing intermediate container 8c22dd6ecd2b 20:29:03 ---> 1f5d8aa3cbe1 20:29:03 Step 17/26 : WORKDIR / 20:29:03 ---> Running in 7bf6a150fa31 20:29:03 Removing intermediate container 7bf6a150fa31 20:29:03 ---> a2386d569271 20:29:03 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:29:03 ---> 8936c471f949 20:29:03 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:29:03 ---> b1791c6f02dd 20:29:03 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:29:03 ---> e94ad045e555 20:29:03 Step 21/26 : EXPOSE 59984 20:29:03 ---> Running in 2aea385a55dd 20:29:03 Removing intermediate container 2aea385a55dd 20:29:03 ---> 032e6ca94aad 20:29:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:29:03 ---> Running in 970f1cd97a92 20:29:03 Removing intermediate container 970f1cd97a92 20:29:03 ---> d0455548fe83 20:29:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:29:03 ---> Running in 7cd63cea73e0 20:29:03 Removing intermediate container 7cd63cea73e0 20:29:03 ---> 76a85f24dd08 20:29:03 Step 24/26 : LABEL arch=amd64 20:29:03 ---> Running in 694536a0950b 20:29:03 Removing intermediate container 694536a0950b 20:29:03 ---> 6e5d4b00c109 20:29:03 Step 25/26 : LABEL git_sha=7a67c2562f1961e5ec7c7729444a85cce7bac412 20:29:03 ---> Running in ae2469509e0b 20:29:03 Removing intermediate container ae2469509e0b 20:29:03 ---> 75981c78f4b5 20:29:03 Step 26/26 : LABEL version=0.0.0 20:29:03 ---> Running in e1a7727b4cb5 20:29:03 Removing intermediate container e1a7727b4cb5 20:29:03 ---> ce0f968a0d5a 20:29:03 [Warning] One or more build-args [ARCH] were not consumed 20:29:03 Successfully built ce0f968a0d5a 20:29:03 Successfully tagged device-onvif-camera:latest [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] sh 20:29:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:04 20:29:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:29:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:04 latest: Pulling from edgex-lftools-log-publisher 20:29:04 5eb5b503b376: Pulling fs layer 20:29:04 5c69ac0246d0: Pulling fs layer 20:29:04 ec43610c2a17: Pulling fs layer 20:29:04 3a2ae6a8a46f: Pulling fs layer 20:29:04 33b1e0a273af: Pulling fs layer 20:29:04 5d3b04190fa2: Pulling fs layer 20:29:04 2f39f015ded8: Pulling fs layer 20:29:04 3a2ae6a8a46f: Waiting 20:29:04 33b1e0a273af: Waiting 20:29:04 2f39f015ded8: Waiting 20:29:04 5c69ac0246d0: Download complete 20:29:04 3a2ae6a8a46f: Download complete 20:29:04 33b1e0a273af: Verifying Checksum 20:29:04 33b1e0a273af: Download complete 20:29:04 ec43610c2a17: Verifying Checksum 20:29:04 ec43610c2a17: Download complete 20:29:04 5d3b04190fa2: Verifying Checksum 20:29:04 5d3b04190fa2: Download complete 20:29:04 5eb5b503b376: Verifying Checksum 20:29:04 5eb5b503b376: Download complete 20:29:05 2f39f015ded8: Download complete 20:29:05 5eb5b503b376: Pull complete 20:29:05 5c69ac0246d0: Pull complete 20:29:06 ec43610c2a17: Pull complete 20:29:06 3a2ae6a8a46f: Pull complete 20:29:06 33b1e0a273af: Pull complete 20:29:06 5d3b04190fa2: Pull complete 20:29:11 2f39f015ded8: Pull complete 20:29:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:29:11 prd-ubuntu20.04-docker-8c-8g-64222 does not seem to be running inside a container 20:29:11 $ 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 20:29:13 $ docker top a4be943ec708c853e640b6b5825ea9074e6f602b67e739366aa718665cc75066 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:13 ---> job-cost.sh 20:29:13 lf-activate-venv: SKIPPING 20:29:13 INFO: No Stack... 20:29:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:29:14 INFO: Archiving Costs [Pipeline] sh 20:29:15 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 20:29:15 + cut -d, -f6 [Pipeline] lock 20:29:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] 20:29:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] did not exist. Created. 20:29:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:15 + echo total: 0.2199999988079071 [Pipeline] stash 20:29:15 Stashed 1 file(s) [Pipeline] } 20:29:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] [Pipeline] // lock [Pipeline] } 20:29:15 $ docker stop --time=1 a4be943ec708c853e640b6b5825ea9074e6f602b67e739366aa718665cc75066 20:29:16 $ docker rm -f a4be943ec708c853e640b6b5825ea9074e6f602b67e739366aa718665cc75066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:29:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64223 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 20:29:26 Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout 20:29:26 Selected Git installation does not exist. Using Default 20:29:26 The recommended git tool is: NONE 20:29:33 using credential edgex-jenkins-ssh 20:29:33 Cloning the remote Git repository 20:29:33 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:29:33 > git init /w/workspace/device-onvif-camera/10 # timeout=10 20:29:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:29:33 > git --version # timeout=10 20:29:33 > git --version # 'git version 2.25.1' 20:29:33 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:35 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 7a67c2562f1961e5ec7c7729444a85cce7bac412 20:29:35 Merge succeeded, producing 7a67c2562f1961e5ec7c7729444a85cce7bac412 20:29:35 Checking out Revision 7a67c2562f1961e5ec7c7729444a85cce7bac412 (PR-65) 20:29:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:29:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:29:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:29:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:34 > 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 20:29:35 > git config core.sparsecheckout # timeout=10 20:29:35 > git checkout -f 7a67c2562f1961e5ec7c7729444a85cce7bac412 # timeout=10 20:29:35 > git remote # timeout=10 20:29:35 > git config --get remote.origin.url # timeout=10 20:29:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:35 > git merge 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 20:29:35 > git rev-parse HEAD^{commit} # timeout=10 20:29:35 > git config core.sparsecheckout # timeout=10 20:29:35 > git checkout -f 7a67c2562f1961e5ec7c7729444a85cce7bac412 # timeout=10 20:29:39 Commit message: "Merge remote-tracking branch 'edgex/main' into discovery-probe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:29:40 % Total % Received % Xferd Average Speed Time Time Time Current 20:29:40 Dload Upload Total Spent Left Speed 20:29:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 52363 0 --:--:-- --:--:-- --:--:-- 52587 [Pipeline] sh 20:29:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:29:41 + sudo tee /etc/docker/daemon.new 20:29:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:29:41 { 20:29:41 "registry-mirrors": [ 20:29:41 "https://nexus3.edgexfoundry.org:10001" 20:29:41 ], 20:29:41 "bip": "10.250.0.254/24", 20:29:41 "hosts": [ 20:29:41 "tcp://0.0.0.0:5555", 20:29:41 "unix:///var/run/docker.sock" 20:29:41 ], 20:29:41 "mtu": 1458, 20:29:41 "selinux-enabled": true, 20:29:41 "seccomp-profile": "/etc/docker/seccomp.json" 20:29:41 } [Pipeline] sh 20:29:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:29:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:00 provisioning config files... 20:30:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config8809862731928253813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:01 ---> docker-login.sh 20:30:01 nexus3.edgexfoundry.org:10001 20:30:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:01 Configure a credential helper to remove this warning. See 20:30:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:01 20:30:01 Login Succeeded 20:30:01 nexus3.edgexfoundry.org:10002 20:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:02 Configure a credential helper to remove this warning. See 20:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:02 20:30:02 Login Succeeded 20:30:02 nexus3.edgexfoundry.org:10003 20:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:02 Configure a credential helper to remove this warning. See 20:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:02 20:30:02 Login Succeeded 20:30:02 nexus3.edgexfoundry.org:10004 20:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:03 Configure a credential helper to remove this warning. See 20:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:03 20:30:03 Login Succeeded 20:30:03 docker.io 20:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:04 Configure a credential helper to remove this warning. See 20:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:04 20:30:04 Login Succeeded 20:30:04 ---> docker-login.sh ends [Pipeline] } 20:30:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:30:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:30:04 ========================================================= 20:30:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:30:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:30:05 + 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 . 20:30:05 Sending build context to Docker daemon 6.069MB 20:30:05 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:30:05 Step 2/13 : FROM ${BASE} AS builder 20:30:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:30:05 9b3977197b4f: Pulling fs layer 20:30:05 1a89e8eeedd5: Pulling fs layer 20:30:05 94645a83ff95: Pulling fs layer 20:30:05 3f3a8bcf1eab: Pulling fs layer 20:30:05 0c92f367c5e7: Pulling fs layer 20:30:05 3096ccb668a1: Pulling fs layer 20:30:05 3f3a8bcf1eab: Waiting 20:30:05 e8cf19c19ddd: Pulling fs layer 20:30:05 a4caa8a26152: Pulling fs layer 20:30:05 0c92f367c5e7: Waiting 20:30:05 a4caa8a26152: Waiting 20:30:05 3096ccb668a1: Waiting 20:30:05 e8cf19c19ddd: Waiting 20:30:05 94645a83ff95: Download complete 20:30:05 1a89e8eeedd5: Verifying Checksum 20:30:05 1a89e8eeedd5: Download complete 20:30:05 0c92f367c5e7: Verifying Checksum 20:30:05 0c92f367c5e7: Download complete 20:30:05 3096ccb668a1: Verifying Checksum 20:30:05 3096ccb668a1: Download complete 20:30:05 9b3977197b4f: Download complete 20:30:05 e8cf19c19ddd: Download complete 20:30:06 9b3977197b4f: Pull complete 20:30:06 1a89e8eeedd5: Pull complete 20:30:07 94645a83ff95: Pull complete 20:30:07 a4caa8a26152: Verifying Checksum 20:30:07 a4caa8a26152: Download complete 20:30:08 3f3a8bcf1eab: Verifying Checksum 20:30:08 3f3a8bcf1eab: Download complete 20:30:20 3f3a8bcf1eab: Pull complete 20:30:20 0c92f367c5e7: Pull complete 20:30:20 3096ccb668a1: Pull complete 20:30:20 e8cf19c19ddd: Pull complete 20:30:27 a4caa8a26152: Pull complete 20:30:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:30:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:30:27 ---> 725f1c02e7f9 20:30:27 Step 3/13 : ARG MAKE="make build" 20:30:28 ---> Running in 014acafa5973 20:30:28 Removing intermediate container 014acafa5973 20:30:28 ---> 9386cece2d65 20:30:28 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:30:28 ---> Running in b212273c2ac9 20:30:29 Removing intermediate container b212273c2ac9 20:30:29 ---> 9ed9334a3a40 20:30:29 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:30:29 ---> Running in ea626e301a87 20:30:29 Removing intermediate container ea626e301a87 20:30:29 ---> 01920e465a92 20:30:29 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:30:29 ---> Running in ceb71350026e 20:30:29 Removing intermediate container ceb71350026e 20:30:29 ---> 9404d8d1a7ea 20:30:29 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:30:29 ---> Running in b3139bf6e8cf 20:30:31 Removing intermediate container b3139bf6e8cf 20:30:31 ---> 273fe6c6f4c8 20:30:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:31 ---> Running in 97384d485447 20:30:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:30:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:30:34 OK: 220 MiB in 52 packages 20:30:35 Removing intermediate container 97384d485447 20:30:35 ---> 8fb72efc9c1b 20:30:35 Step 9/13 : WORKDIR /device-onvif-camera 20:30:35 ---> Running in 7b35624a0c73 20:30:35 Removing intermediate container 7b35624a0c73 20:30:35 ---> 7e6c20bcd992 20:30:35 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:30:36 ---> bf059dd304dd 20:30:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:36 ---> Running in 9be0347e0143 20:30:38 Removing intermediate container 9be0347e0143 20:30:38 ---> 6733624c7c8a 20:30:38 Step 12/13 : COPY . . 20:30:39 ---> f7f60a4f70a7 20:30:39 Step 13/13 : RUN ${MAKE} 20:30:39 ---> Running in d90595cf62ac 20:30:40 noop 20:30:41 Removing intermediate container d90595cf62ac 20:30:41 ---> 35017349b64c 20:30:41 Successfully built 35017349b64c 20:30:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:30:41 + docker inspect -f . ci-base-image-arm64 20:30:41 . [Pipeline] withDockerContainer 20:30:41 prd-ubuntu20.04-docker-arm64-4c-16g-64223 does not seem to be running inside a container 20:30:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 20:30:43 $ docker top 12c367018c692c2ea26b73fbfdc3ba18ea408b291e1c18a7819e2a4faf6d9d4e -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:44 + go version 20:30:44 go version go1.17.6 linux/arm64 [Pipeline] } 20:30:44 $ docker stop --time=1 12c367018c692c2ea26b73fbfdc3ba18ea408b291e1c18a7819e2a4faf6d9d4e 20:30:45 $ docker rm -f 12c367018c692c2ea26b73fbfdc3ba18ea408b291e1c18a7819e2a4faf6d9d4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:30:46 + docker inspect -f . ci-base-image-arm64 20:30:46 . [Pipeline] withDockerContainer 20:30:46 prd-ubuntu20.04-docker-arm64-4c-16g-64223 does not seem to be running inside a container 20:30:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 20:30:48 $ docker top 0d221a57dc760361191950e01c6c46f570f9b9587655769f9f109ab044b00f72 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:30:48 + make test 20:30:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:30:48 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:30:48 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:30:49 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:30:49 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:30:49 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:30:49 go: downloading github.com/gorilla/mux v1.8.0 20:30:49 go: downloading github.com/stretchr/testify v1.7.1 20:30:49 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:30:49 go: downloading github.com/beevik/etree v1.1.0 20:30:49 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:30:49 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:30:49 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:30:49 go: downloading github.com/google/uuid v1.3.0 20:30:49 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:30:50 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:30:50 go: downloading github.com/go-kit/log v0.2.0 20:30:50 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:30:50 go: downloading github.com/pmezard/go-difflib v1.0.0 20:30:50 go: downloading github.com/davecgh/go-spew v1.1.1 20:30:50 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:30:50 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:30:50 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:30:50 go: downloading github.com/pelletier/go-toml v1.9.4 20:30:50 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:30:50 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:30:50 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:30:50 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:30:50 go: downloading github.com/hashicorp/errwrap v1.0.0 20:30:50 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:30:50 go: downloading github.com/go-playground/universal-translator v0.18.0 20:30:50 go: downloading github.com/leodido/go-urn v1.2.1 20:30:50 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:30:50 go: downloading golang.org/x/text v0.3.7 20:30:50 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:30:50 go: downloading github.com/hashicorp/consul/api v1.9.1 20:30:51 go: downloading github.com/x448/float16 v0.8.4 20:30:51 go: downloading github.com/zeebo/errs v1.2.2 20:30:51 go: downloading google.golang.org/grpc v1.42.0 20:30:52 go: downloading github.com/go-playground/locales v0.14.0 20:30:52 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:30:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:30:52 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:30:52 go: downloading github.com/pebbe/zmq4 v1.2.7 20:30:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:30:52 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:30:53 go: downloading google.golang.org/protobuf v1.27.1 20:30:54 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:30:54 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:30:54 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:30:54 go: downloading github.com/hashicorp/serf v0.9.5 20:30:54 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:30:54 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:30:54 go: downloading github.com/gorilla/websocket v1.4.2 20:30:54 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:30:54 go: downloading github.com/mitchellh/copystructure v1.0.0 20:30:54 go: downloading github.com/fatih/color v1.9.0 20:30:54 go: downloading github.com/mattn/go-isatty v0.0.12 20:30:54 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:30:54 go: downloading github.com/golang/protobuf v1.5.2 20:30:54 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:30:54 go: downloading github.com/mattn/go-colorable v0.1.6 20:30:54 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:30:54 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:31:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:32:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:32:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.074s coverage: 0.9% of statements 20:32:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:32:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:32:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:32:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:32:50 ./bin/test-attribution-txt.sh 20:32:50 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 20:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:32:51 $ docker stop --time=1 0d221a57dc760361191950e01c6c46f570f9b9587655769f9f109ab044b00f72 20:32:53 $ docker rm -f 0d221a57dc760361191950e01c6c46f570f9b9587655769f9f109ab044b00f72 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:56 Warning: overwriting stash ‘coverage-report’ 20:32:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:57 + ls -al . 20:32:57 total 220 20:32:57 drwxrwxr-x 9 jenkins jenkins 4096 May 20 20:32 . 20:32:57 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:29 .. 20:32:57 drwxrwxr-x 8 jenkins jenkins 4096 May 20 20:29 .git 20:32:57 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:29 .github 20:32:57 -rw-rw-r-- 1 jenkins jenkins 352 May 20 20:29 .gitignore 20:32:57 -rw-rw-r-- 1 jenkins jenkins 42 May 20 20:29 .golangci.yml 20:32:57 -rw-rw-r-- 1 jenkins jenkins 9415 May 20 20:29 Attribution.txt 20:32:57 -rw-rw-r-- 1 jenkins jenkins 189 May 20 20:29 CHANGELOG.md 20:32:57 -rw-rw-r-- 1 jenkins jenkins 1686 May 20 20:29 Dockerfile 20:32:57 -rw-rw-r-- 1 jenkins jenkins 677 May 20 20:29 GOVERNANCE.md 20:32:57 -rw-rw-r-- 1 jenkins jenkins 660 May 20 20:29 Jenkinsfile 20:32:57 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 20:29 LICENSE 20:32:57 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 20:29 Makefile 20:32:57 -rw-rw-r-- 1 jenkins jenkins 625 May 20 20:29 OWNERS.md 20:32:57 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 20:29 README.md 20:32:57 -rw-rw-r-- 1 jenkins jenkins 5 May 20 20:27 VERSION 20:32:57 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:29 bin 20:32:57 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:29 cmd 20:32:57 -rw-r--r-- 1 jenkins jenkins 42596 May 20 20:32 coverage.out 20:32:57 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:29 doc 20:32:57 -rw-rw-r-- 1 jenkins jenkins 3716 May 20 20:29 go.mod 20:32:57 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 20:29 go.sum 20:32:57 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:29 internal 20:32:57 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:29 pkg 20:32:57 -rw-rw-r-- 1 jenkins jenkins 236 May 20 20:29 version.go [Pipeline] isUnix [Pipeline] sh 20:32:57 + 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=7a67c2562f1961e5ec7c7729444a85cce7bac412 --label arch=arm64 --label version=0.0.0 . 20:32:57 Sending build context to Docker daemon 6.112MB 20:32:57 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:32:57 Step 2/26 : FROM ${BASE} AS builder 20:32:57 ---> 35017349b64c 20:32:57 Step 3/26 : ARG MAKE="make build" 20:32:58 ---> Running in 0d8d1e133013 20:32:58 Removing intermediate container 0d8d1e133013 20:32:58 ---> e0f733ecf4a3 20:32:58 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:32:58 ---> Running in 78ae816303e1 20:32:59 Removing intermediate container 78ae816303e1 20:32:59 ---> 8e089b88970e 20:32:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:32:59 ---> Running in 7bfa5e69f119 20:32:59 Removing intermediate container 7bfa5e69f119 20:32:59 ---> e408cd4b8284 20:32:59 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:32:59 ---> Running in 6200744e9bed 20:32:59 Removing intermediate container 6200744e9bed 20:32:59 ---> 1838e4be4945 20:32:59 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:32:59 ---> Running in 719be697f64a 20:33:01 Removing intermediate container 719be697f64a 20:33:01 ---> e371e1d40324 20:33:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:33:01 ---> Running in 4dd3ced9e936 20:33:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:33:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:33:04 OK: 220 MiB in 52 packages 20:33:05 Removing intermediate container 4dd3ced9e936 20:33:05 ---> 6be00260f750 20:33:05 Step 9/26 : WORKDIR /device-onvif-camera 20:33:05 ---> Running in b04a86e28ee2 20:33:05 Removing intermediate container b04a86e28ee2 20:33:05 ---> 85fd1d9420dd 20:33:05 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:33:06 ---> 45e88e24a3e5 20:33:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:06 ---> Running in 206bc988bc17 20:33:07 Removing intermediate container 206bc988bc17 20:33:07 ---> 2db4c68b3fea 20:33:07 Step 12/26 : COPY . . 20:33:08 ---> 2b14e737dd68 20:33:08 Step 13/26 : RUN ${MAKE} 20:33:08 ---> Running in d6be277a0003 20:33:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:33:09 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:33:09 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:33:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:33:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:33:10 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:33:10 go: downloading github.com/gorilla/mux v1.8.0 20:33:10 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:33:10 go: downloading github.com/beevik/etree v1.1.0 20:33:10 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:33:10 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:33:11 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:33:11 go: downloading github.com/google/uuid v1.3.0 20:33:11 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:33:11 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:33:11 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:33:11 go: downloading github.com/go-kit/log v0.2.0 20:33:11 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:33:11 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:33:11 go: downloading github.com/pelletier/go-toml v1.9.4 20:33:11 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:33:11 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:33:11 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:33:11 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:33:11 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:33:11 go: downloading github.com/hashicorp/errwrap v1.0.0 20:33:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:33:11 go: downloading github.com/go-playground/universal-translator v0.18.0 20:33:11 go: downloading github.com/leodido/go-urn v1.2.1 20:33:11 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:33:11 go: downloading golang.org/x/text v0.3.7 20:33:12 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:33:12 go: downloading github.com/hashicorp/consul/api v1.9.1 20:33:12 go: downloading github.com/x448/float16 v0.8.4 20:33:12 go: downloading github.com/zeebo/errs v1.2.2 20:33:12 go: downloading google.golang.org/grpc v1.42.0 20:33:13 go: downloading github.com/go-playground/locales v0.14.0 20:33:13 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:33:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:33:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:33:13 go: downloading github.com/pebbe/zmq4 v1.2.7 20:33:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:33:13 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:33:14 go: downloading google.golang.org/protobuf v1.27.1 20:33:15 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:33:15 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:33:15 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:33:15 go: downloading github.com/hashicorp/serf v0.9.5 20:33:15 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:33:15 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:33:15 go: downloading github.com/gorilla/websocket v1.4.2 20:33:15 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:33:15 go: downloading github.com/mitchellh/copystructure v1.0.0 20:33:15 go: downloading github.com/fatih/color v1.9.0 20:33:15 go: downloading github.com/mattn/go-isatty v0.0.12 20:33:15 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:33:15 go: downloading github.com/golang/protobuf v1.5.2 20:33:15 go: downloading github.com/mattn/go-colorable v0.1.6 20:33:15 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:33:15 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:33:16 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:35:38 Removing intermediate container d6be277a0003 20:35:38 ---> b465712254e7 20:35:38 Step 14/26 : FROM alpine:3.15 20:35:38 3.15: Pulling from library/alpine 20:35:38 9981e73032c8: Pulling fs layer 20:35:38 9981e73032c8: Download complete 20:35:38 9981e73032c8: Pull complete 20:35:38 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 20:35:38 Status: Downloaded newer image for alpine:3.15 20:35:38 ---> 3fb3c9af89a9 20:35:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:35:38 ---> Running in a95e6a6daaa1 20:35:38 Removing intermediate container a95e6a6daaa1 20:35:38 ---> b3c6f63688a8 20:35:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:35:38 ---> Running in f471c164ca60 20:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:35:38 (1/6) Installing dumb-init (1.2.5-r1) 20:35:38 (2/6) Installing libgcc (10.3.1_git20211027-r0) 20:35:38 (3/6) Installing libsodium (1.0.18-r0) 20:35:38 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 20:35:38 (5/6) Installing libzmq (4.3.4-r0) 20:35:38 (6/6) Installing zeromq (4.3.4-r0) 20:35:38 Executing busybox-1.34.1-r5.trigger 20:35:38 OK: 8 MiB in 20 packages 20:35:39 Removing intermediate container f471c164ca60 20:35:39 ---> 607b28b32565 20:35:39 Step 17/26 : WORKDIR / 20:35:39 ---> Running in 3487356b1c96 20:35:40 Removing intermediate container 3487356b1c96 20:35:40 ---> 40c8e544ffcb 20:35:40 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:35:41 ---> beff4881668f 20:35:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:35:42 ---> 3a5f7e56c179 20:35:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:35:42 ---> 3d3b1dee563b 20:35:42 Step 21/26 : EXPOSE 59984 20:35:42 ---> Running in 16583da15e79 20:35:42 Removing intermediate container 16583da15e79 20:35:42 ---> 42e90226133f 20:35:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:35:42 ---> Running in ccd8bce5c21e 20:35:43 Removing intermediate container ccd8bce5c21e 20:35:43 ---> 1c8d7437b53e 20:35:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:35:43 ---> Running in f17adb39036e 20:35:43 Removing intermediate container f17adb39036e 20:35:43 ---> bafe0253c3a3 20:35:43 Step 24/26 : LABEL arch=arm64 20:35:43 ---> Running in ea2f4b9bef93 20:35:44 Removing intermediate container ea2f4b9bef93 20:35:44 ---> 3bfdb42c22f3 20:35:44 Step 25/26 : LABEL git_sha=7a67c2562f1961e5ec7c7729444a85cce7bac412 20:35:44 ---> Running in 6d879393397a 20:35:44 Removing intermediate container 6d879393397a 20:35:44 ---> 4044650fac3d 20:35:44 Step 26/26 : LABEL version=0.0.0 20:35:44 ---> Running in 2f980a29741d 20:35:44 Removing intermediate container 2f980a29741d 20:35:44 ---> f1e76926a44f 20:35:44 [Warning] One or more build-args [ARCH] were not consumed 20:35:44 Successfully built f1e76926a44f 20:35:44 Successfully tagged device-onvif-camera-arm64:latest [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] sh 20:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:45 20:35:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:35:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:45 arm64: Pulling from edgex-lftools-log-publisher 20:35:45 8998bd30e6a1: Pulling fs layer 20:35:45 04944245beec: Pulling fs layer 20:35:45 699f458cf7ca: Pulling fs layer 20:35:45 765212b225bb: Pulling fs layer 20:35:45 f23df028b6ca: Pulling fs layer 20:35:45 d65c8cfc05b1: Pulling fs layer 20:35:45 2437ff75d9bd: Pulling fs layer 20:35:45 765212b225bb: Waiting 20:35:45 f23df028b6ca: Waiting 20:35:45 d65c8cfc05b1: Waiting 20:35:45 2437ff75d9bd: Waiting 20:35:46 04944245beec: Verifying Checksum 20:35:46 04944245beec: Download complete 20:35:46 765212b225bb: Verifying Checksum 20:35:46 765212b225bb: Download complete 20:35:46 f23df028b6ca: Verifying Checksum 20:35:46 f23df028b6ca: Download complete 20:35:46 d65c8cfc05b1: Verifying Checksum 20:35:46 d65c8cfc05b1: Download complete 20:35:46 699f458cf7ca: Verifying Checksum 20:35:46 699f458cf7ca: Download complete 20:35:46 8998bd30e6a1: Verifying Checksum 20:35:46 8998bd30e6a1: Download complete 20:35:48 2437ff75d9bd: Verifying Checksum 20:35:48 2437ff75d9bd: Download complete 20:35:51 8998bd30e6a1: Pull complete 20:35:51 04944245beec: Pull complete 20:35:53 699f458cf7ca: Pull complete 20:35:53 765212b225bb: Pull complete 20:35:54 f23df028b6ca: Pull complete 20:35:54 d65c8cfc05b1: Pull complete 20:36:09 2437ff75d9bd: Pull complete 20:36:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:36:09 prd-ubuntu20.04-docker-arm64-4c-16g-64223 does not seem to be running inside a container 20:36:09 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 20:36:12 $ docker top 70bc5f0db8b274a6e933553f140033098ca6deb9e482c2525d3c24fc9285a533 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:13 ---> job-cost.sh 20:36:13 lf-activate-venv: SKIPPING 20:36:13 INFO: No Stack... 20:36:14 INFO: Retrieving Pricing Info for: v3-standard-4 20:36:15 INFO: Archiving Costs [Pipeline] sh 20:36:15 + cat /w/workspace/device-onvif-camera/10/archives/cost.csv 20:36:15 + cut -d, -f6 [Pipeline] lock 20:36:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] 20:36:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] did not exist. Created. 20:36:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:16 /w/workspace/device-onvif-camera/10@tmp/durable-78215924/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:17 + echo total: 0.10999999940395355 [Pipeline] stash 20:36:17 Warning: overwriting stash ‘stack-cost’ 20:36:17 Stashed 1 file(s) [Pipeline] } 20:36:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-10-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:17 $ docker stop --time=1 70bc5f0db8b274a6e933553f140033098ca6deb9e482c2525d3c24fc9285a533 20:36:18 $ docker rm -f 70bc5f0db8b274a6e933553f140033098ca6deb9e482c2525d3c24fc9285a533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:36:19 provisioning config files... 20:36:19 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2113026589922790762tmp [Pipeline] { [Pipeline] sh 20:36:19 + set +x 20:36:19 + curl -s https://codecov.io/bash 20:36:19 + bash -s -- 20:36:19 20:36:19 _____ _ 20:36:19 / ____| | | 20:36:19 | | ___ __| | ___ ___ _____ __ 20:36:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:19 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:19 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:19 Bash-1.0.6 20:36:19 20:36:19 20:36:19 ==> git version 2.25.1 found 20:36:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:36:19 Release-Date: 2020-01-08 20:36:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:36:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:36:19 ==> Jenkins CI detected. 20:36:19 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 20:36:19 project root: . 20:36:19 --> token set from env 20:36:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:19 ==> Running gcov in . (disable via -X gcov) 20:36:19 ==> Python coveragepy not found 20:36:19 ==> Searching for coverage reports in: 20:36:19 + . 20:36:19 -> Found 1 reports 20:36:19 ==> Detecting git/mercurial file structure 20:36:19 ==> Reading reports 20:36:19 + ./coverage.out bytes=42596 20:36:19 ==> Appending adjustments 20:36:19 https://docs.codecov.io/docs/fixing-reports 20:36:19 + Found adjustments 20:36:19 ==> Gzipping contents 20:36:19 8.0K /tmp/codecov.ayhVpa.gz 20:36:19 ==> Uploading reports 20:36:19 url: https://codecov.io 20:36:19 query: branch=PR-65&commit=7a67c2562f1961e5ec7c7729444a85cce7bac412&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 20:36:19 -> Pinging Codecov 20:36:19 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=7a67c2562f1961e5ec7c7729444a85cce7bac412&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 20:36:20 -> Uploading to 20:36:20 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/F29A59C45E3A92E06B3E522C9905F8EF/7a67c2562f1961e5ec7c7729444a85cce7bac412/a9320dca-d3fd-4773-bd26-0067e5c9909b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T203619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62e1c4957d81ed22d756bf206d3e173774328f403d60c6981d7c6d28d8a4af3d 20:36:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:20 Dload Upload Total Spent Left Speed 20:36:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5662 0 0 100 5662 0 24724 --:--:-- --:--:-- --:--:-- 24724 20:36:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7a67c2562f1961e5ec7c7729444a85cce7bac412 [Pipeline] } 20:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:36:21 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 20:36:21 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:36:21 total 16 20:36:21 drwxr-xr-x 3 root root 4096 May 20 20:29 . 20:36:21 drwxrwxr-x 11 jenkins jenkins 4096 May 20 20:29 .. 20:36:21 drwxr-xr-x 2 root root 4096 May 20 20:29 cost 20:36:21 -rw-r--r-- 1 root root 90 May 20 20:29 cost.csv 20:36:21 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:36:21 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:36:21 total 16 20:36:21 drwxr-xr-x 3 jenkins jenkins 4096 May 20 20:29 . 20:36:21 drwxrwxr-x 11 jenkins jenkins 4096 May 20 20:29 .. 20:36:21 drwxr-xr-x 2 jenkins jenkins 4096 May 20 20:29 cost 20:36:21 -rw-r--r-- 1 jenkins jenkins 90 May 20 20:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:36:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:36:22 ---> package-listing.sh 20:36:22 ++ facter osfamily 20:36:22 ++ tr '[:upper:]' '[:lower:]' 20:36:22 + OS_FAMILY=debian 20:36:22 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 20:36:22 + START_PACKAGES=/tmp/packages_start.txt 20:36:22 + END_PACKAGES=/tmp/packages_end.txt 20:36:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:36:22 + PACKAGES=/tmp/packages_start.txt 20:36:22 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 20:36:22 + PACKAGES=/tmp/packages_end.txt 20:36:22 + case "${OS_FAMILY}" in 20:36:22 + dpkg -l 20:36:22 + grep '^ii' 20:36:22 + '[' -f /tmp/packages_start.txt ']' 20:36:22 + '[' -f /tmp/packages_end.txt ']' 20:36:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:36:22 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 20:36:22 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 20:36:22 + 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 20:36:22 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 20:36:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:23 . [Pipeline] withDockerContainer 20:36:23 prd-ubuntu20.04-docker-8c-8g-64222 does not seem to be running inside a container 20:36:23 $ 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 20:36:23 $ docker top 31e54fea832b62ee5fea7a6af524ddc7ca6b6cca1d810bedc752b831654e0c93 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:24 + touch /tmp/pre-build-complete [Pipeline] sh 20:36:24 + mkdir -p /var/log/sysstat [Pipeline] sh 20:36:24 + ls /var/log/sa-host 20:36:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:24 provisioning config files... 20:36:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config7436777398818311774tmp [Pipeline] { [Pipeline] echo 20:36:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:36:25 ---> create-netrc.sh [Pipeline] } 20:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:36:25 ---> python-tools-install.sh [Pipeline] echo 20:36:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:36:25 ---> sudo-logs.sh 20:36:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:36:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:36:26 ---> job-cost.sh 20:36:26 lf-activate-venv: SKIPPING 20:36:26 DEBUG: total: 0.2199999988079071 20:36:26 INFO: Retrieving Stack Cost... 20:36:26 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:26 INFO: Archiving Costs [Pipeline] echo 20:36:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:36:27 ---> logs-deploy.sh 20:36:27 lf-activate-venv: SKIPPING 20:36:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/10 20:36:27 INFO: archiving workspace using pattern(s): 20:36:28 Archives upload complete. 20:36:28 INFO: archiving logs to Nexus