lenny-intel commented: recheck 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 84b3359fcb453f79206b07ec4bf8f15846aef2e0 rather than 7877d02fe09089b772cea8343344b0d87ebd66dc Obtained Jenkinsfile from 84b3359fcb453f79206b07ec4bf8f15846aef2e0 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-ssh13230102079807954392.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-ssh341870283461668483.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-ssh15950519312973474010.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-ssh2754738719884202706.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-ssh16004366631882987452.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-64106’ Running on prd-ubuntu20.04-docker-8c-8g-64108 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 84b3359fcb453f79206b07ec4bf8f15846aef2e0 into PR head commit 7877d02fe09089b772cea8343344b0d87ebd66dc > 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 7877d02fe09089b772cea8343344b0d87ebd66dc # timeout=10 > git remote # timeout=10 Merge succeeded, producing 7877d02fe09089b772cea8343344b0d87ebd66dc Checking out Revision 7877d02fe09089b772cea8343344b0d87ebd66dc (PR-65) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7877d02fe09089b772cea8343344b0d87ebd66dc # timeout=10 Commit message: "Merge branch 'discovery-probe' into discovery-probe" > git rev-list --no-walk 7877d02fe09089b772cea8343344b0d87ebd66dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:14:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:14:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:14:15 ========================================================= 20:14:15 EdgeX Global Pipelines Version Info 20:14:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:14:15 ------------------- 20:14:15 stable info: 20:14:15 ------------------- 20:14:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:15 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:14:15 Message: update stable to v1.0.230 20:14:16 ------------------- 20:14:16 experimental info: 20:14:16 ------------------- 20:14:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:16 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:14:16 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:14:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 20:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 20:14:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 20:14:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7877d02fe09089b772cea8343344b0d87ebd66dc [Pipeline] echo 20:14:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7877d02 [Pipeline] echo 20:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:17 provisioning config files... 20:14:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config7418019090659976863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:17 ---> docker-login.sh 20:14:17 nexus3.edgexfoundry.org:10001 20:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:18 Configure a credential helper to remove this warning. See 20:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:18 20:14:18 Login Succeeded 20:14:18 nexus3.edgexfoundry.org:10002 20:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:18 Configure a credential helper to remove this warning. See 20:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:18 20:14:18 Login Succeeded 20:14:18 nexus3.edgexfoundry.org:10003 20:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:18 Configure a credential helper to remove this warning. See 20:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:18 20:14:18 Login Succeeded 20:14:18 nexus3.edgexfoundry.org:10004 20:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:18 Configure a credential helper to remove this warning. See 20:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:18 20:14:18 Login Succeeded 20:14:18 docker.io 20:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:19 Configure a credential helper to remove this warning. See 20:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:19 20:14:19 Login Succeeded 20:14:19 ---> docker-login.sh ends [Pipeline] } 20:14:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:14:19 + git rev-list -1 --merges 7877d02fe09089b772cea8343344b0d87ebd66dc~1..7877d02fe09089b772cea8343344b0d87ebd66dc [Pipeline] echo 20:14:19 -----------> git rev-list -1 --merges 7877d02fe09089b772cea8343344b0d87ebd66dc~1..7877d02fe09089b772cea8343344b0d87ebd66dc 7877d02fe09089b772cea8343344b0d87ebd66dc 20:14:19 7877d02fe09089b772cea8343344b0d87ebd66dc [false] [Pipeline] sh 20:14:19 + git log --format=format:%s -1 7877d02fe09089b772cea8343344b0d87ebd66dc [Pipeline] echo 20:14:19 ========================================================= 20:14:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:14:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:20 + git log --format=format:%s -1 7877d02fe09089b772cea8343344b0d87ebd66dc [Pipeline] echo 20:14:20 [semverPrep] GIT_COMMIT: 7877d02fe09089b772cea8343344b0d87ebd66dc, Commit Message: Merge branch 'discovery-probe' into discovery-probe [Pipeline] echo 20:14:20 [semverPrep] This is not a build commit. [Pipeline] sh 20:14:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:14:20 + grep -v github /etc/ssh/ssh_known_hosts 20:14:20 + [ -e /tmp/ssh_known_hosts ] 20:14:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:14:20 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:14:20 sudo tee -a /etc/ssh/ssh_known_hosts 20:14:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:14:21 20:14:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:14:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:14:21 latest: Pulling from edgex-devops/py-git-semver 20:14:21 1fe172e4850f: Pulling fs layer 20:14:21 caf521ccaac6: Pulling fs layer 20:14:21 3ead6fa29328: Pulling fs layer 20:14:21 5c2a1cbceb83: Pulling fs layer 20:14:21 a8d5f1318db7: Pulling fs layer 20:14:21 c427282e49a2: Pulling fs layer 20:14:21 1827001aaf11: Pulling fs layer 20:14:21 0714d37db230: Pulling fs layer 20:14:21 ac28cf19c067: Pulling fs layer 20:14:21 ca983d60f3e2: Pulling fs layer 20:14:21 9f894cec8388: Pulling fs layer 20:14:21 ac28cf19c067: Waiting 20:14:21 5c2a1cbceb83: Waiting 20:14:21 1827001aaf11: Waiting 20:14:21 a8d5f1318db7: Waiting 20:14:21 c427282e49a2: Waiting 20:14:21 0714d37db230: Waiting 20:14:21 9f894cec8388: Waiting 20:14:21 ca983d60f3e2: Waiting 20:14:21 caf521ccaac6: Verifying Checksum 20:14:21 caf521ccaac6: Download complete 20:14:21 5c2a1cbceb83: Verifying Checksum 20:14:21 5c2a1cbceb83: Download complete 20:14:21 a8d5f1318db7: Verifying Checksum 20:14:21 a8d5f1318db7: Download complete 20:14:21 c427282e49a2: Verifying Checksum 20:14:21 c427282e49a2: Download complete 20:14:21 3ead6fa29328: Verifying Checksum 20:14:21 3ead6fa29328: Download complete 20:14:21 0714d37db230: Download complete 20:14:21 ac28cf19c067: Download complete 20:14:21 ca983d60f3e2: Verifying Checksum 20:14:21 ca983d60f3e2: Download complete 20:14:21 9f894cec8388: Verifying Checksum 20:14:21 9f894cec8388: Download complete 20:14:21 1fe172e4850f: Verifying Checksum 20:14:21 1fe172e4850f: Download complete 20:14:22 1827001aaf11: Verifying Checksum 20:14:22 1827001aaf11: Download complete 20:14:23 1fe172e4850f: Pull complete 20:14:23 caf521ccaac6: Pull complete 20:14:24 3ead6fa29328: Pull complete 20:14:24 5c2a1cbceb83: Pull complete 20:14:24 a8d5f1318db7: Pull complete 20:14:24 c427282e49a2: Pull complete 20:14:26 1827001aaf11: Pull complete 20:14:26 0714d37db230: Pull complete 20:14:26 ac28cf19c067: Pull complete 20:14:27 ca983d60f3e2: Pull complete 20:14:27 9f894cec8388: Pull complete 20:14:27 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:14:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:14:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:14:27 prd-ubuntu20.04-docker-8c-8g-64108 does not seem to be running inside a container 20:14:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 20:14:31 $ docker top 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 -eo pid,comm 20:14:31 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:14:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:31 [ssh-agent] Looking for ssh-agent implementation... 20:14:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:31 $ docker exec 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 ssh-agent 20:14:31 SSH_AUTH_SOCK=/tmp/ssh-PcpMxGsrbx35/agent.15 20:14:31 SSH_AGENT_PID=22 20:14:31 Running ssh-add (command line suppressed) 20:14:32 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_6065594182865457244.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_6065594182865457244.key) 20:14:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:32 + git tag --points-at HEAD [Pipeline] } 20:14:32 $ docker exec --env ******** --env ******** 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 ssh-agent -k 20:14:32 unset SSH_AUTH_SOCK; 20:14:32 unset SSH_AGENT_PID; 20:14:32 echo Agent pid 22 killed; 20:14:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:32 [ssh-agent] Looking for ssh-agent implementation... 20:14:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:32 $ docker exec 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 ssh-agent 20:14:32 SSH_AUTH_SOCK=/tmp/ssh-gicBbwYPf6Y8/agent.72 20:14:32 SSH_AGENT_PID=78 20:14:32 Running ssh-add (command line suppressed) 20:14:32 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2189952254048146890.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2189952254048146890.key) 20:14:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:33 + git semver init 20:14:33 2022-05-19 20:14:33,443 [run_init] DEBUG init version:0.0.0 force:False 20:14:33 2022-05-19 20:14:33,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 20:14:33 2022-05-19 20:14:33,445 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 20:14:33 2022-05-19 20:14:33,446 [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:14:34 2022-05-19 20:14:34,193 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 20:14:34 2022-05-19 20:14:34,193 [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:14:34 2022-05-19 20:14:34,193 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 20:14:34 2022-05-19 20:14:34,194 [write_version] DEBUG version is same as current version 0.0.0 20:14:34 2022-05-19 20:14:34,194 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 20:14:34 0.0.0 [Pipeline] } 20:14:34 $ docker exec --env ******** --env ******** 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 ssh-agent -k 20:14:34 unset SSH_AUTH_SOCK; 20:14:34 unset SSH_AGENT_PID; 20:14:34 echo Agent pid 78 killed; 20:14:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:34 + git semver [Pipeline] } 20:14:35 $ docker stop --time=1 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 20:14:37 $ docker rm -f 956ebec877493f12b771e904ee7029d28df46bef06411f6c771d2c697556f3e5 [Pipeline] // withDockerContainer [Pipeline] sh 20:14:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:38 Stashed 1 file(s) [Pipeline] echo 20:14:38 [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:14:38 provisioning config files... 20:14:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config9051379842452507844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:38 ---> docker-login.sh 20:14:38 nexus3.edgexfoundry.org:10001 20:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:38 Configure a credential helper to remove this warning. See 20:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:38 20:14:38 Login Succeeded 20:14:38 nexus3.edgexfoundry.org:10002 20:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:38 Configure a credential helper to remove this warning. See 20:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:38 20:14:38 Login Succeeded 20:14:38 nexus3.edgexfoundry.org:10003 20:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:38 Configure a credential helper to remove this warning. See 20:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:38 20:14:38 Login Succeeded 20:14:38 nexus3.edgexfoundry.org:10004 20:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:39 Configure a credential helper to remove this warning. See 20:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:39 20:14:39 Login Succeeded 20:14:39 docker.io 20:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:39 Configure a credential helper to remove this warning. See 20:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:39 20:14:39 Login Succeeded 20:14:39 ---> docker-login.sh ends [Pipeline] } 20:14:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:39 ========================================================= 20:14:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:14:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:39 + 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:14:39 Sending build context to Docker daemon 8.793MB 20:14:39 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:14:39 Step 2/13 : FROM ${BASE} AS builder 20:14:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:39 59bf1c3509f3: Pulling fs layer 20:14:39 666ba61612fd: Pulling fs layer 20:14:39 8ed8ca486205: Pulling fs layer 20:14:39 4fe6c5a15a65: Pulling fs layer 20:14:39 22a0e8bec74d: Pulling fs layer 20:14:39 ca2b28591e48: Pulling fs layer 20:14:39 a51346096db8: Pulling fs layer 20:14:39 daebc70d1ce1: Pulling fs layer 20:14:39 0e18a0eac166: Pulling fs layer 20:14:39 22a0e8bec74d: Waiting 20:14:39 ca2b28591e48: Waiting 20:14:39 0e18a0eac166: Waiting 20:14:39 a51346096db8: Waiting 20:14:39 daebc70d1ce1: Waiting 20:14:39 4fe6c5a15a65: Waiting 20:14:39 8ed8ca486205: Verifying Checksum 20:14:39 8ed8ca486205: Download complete 20:14:39 666ba61612fd: Verifying Checksum 20:14:39 666ba61612fd: Download complete 20:14:39 22a0e8bec74d: Download complete 20:14:39 ca2b28591e48: Download complete 20:14:39 a51346096db8: Verifying Checksum 20:14:39 a51346096db8: Download complete 20:14:39 59bf1c3509f3: Verifying Checksum 20:14:39 59bf1c3509f3: Download complete 20:14:40 daebc70d1ce1: Verifying Checksum 20:14:40 daebc70d1ce1: Download complete 20:14:40 59bf1c3509f3: Pull complete 20:14:40 666ba61612fd: Pull complete 20:14:40 8ed8ca486205: Pull complete 20:14:40 0e18a0eac166: Verifying Checksum 20:14:40 0e18a0eac166: Download complete 20:14:40 4fe6c5a15a65: Verifying Checksum 20:14:40 4fe6c5a15a65: Download complete 20:14:44 4fe6c5a15a65: Pull complete 20:14:44 22a0e8bec74d: Pull complete 20:14:44 ca2b28591e48: Pull complete 20:14:45 a51346096db8: Pull complete 20:14:45 daebc70d1ce1: Pull complete 20:14:48 0e18a0eac166: Pull complete 20:14:48 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:14:48 ---> f018257e8ee9 20:14:48 Step 3/13 : ARG MAKE="make build" 20:14:53 Still waiting to schedule task 20:14:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-64107’ 20:15:00 ---> Running in 40bab4a2a9a8 20:15:00 Removing intermediate container 40bab4a2a9a8 20:15:00 ---> b10673602f38 20:15:00 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:15:00 ---> Running in bb9ec766a8ed 20:15:00 Removing intermediate container bb9ec766a8ed 20:15:00 ---> 89f63ef7e4b8 20:15:00 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:15:00 ---> Running in 6f989b16f5b3 20:15:00 Removing intermediate container 6f989b16f5b3 20:15:00 ---> 10dd0b1249e8 20:15:00 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:15:01 ---> Running in 0d3d21166e00 20:15:01 Removing intermediate container 0d3d21166e00 20:15:01 ---> 3c3c64419b69 20:15:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:02 ---> Running in f8ae46da5900 20:15:03 Removing intermediate container f8ae46da5900 20:15:03 ---> aa671cb1959b 20:15:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:03 ---> Running in df8d9d3a97e7 20:15:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:05 OK: 221 MiB in 52 packages 20:15:06 Removing intermediate container df8d9d3a97e7 20:15:06 ---> 3be30adf57bd 20:15:06 Step 9/13 : WORKDIR /device-onvif-camera 20:15:06 ---> Running in 04b8f17183f4 20:15:07 Removing intermediate container 04b8f17183f4 20:15:07 ---> b5262b2df39f 20:15:07 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:15:07 ---> f0eb4a1d4792 20:15:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:07 ---> Running in 32668d5e48e7 20:15:08 Removing intermediate container 32668d5e48e7 20:15:08 ---> c1fe20c84a5a 20:15:08 Step 12/13 : COPY . . 20:15:09 ---> 3ec63f1db172 20:15:09 Step 13/13 : RUN ${MAKE} 20:15:09 ---> Running in d09f4e5274c6 20:15:10 noop 20:15:10 Removing intermediate container d09f4e5274c6 20:15:10 ---> 98b67d3cac90 20:15:10 Successfully built 98b67d3cac90 20:15:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:15:11 + docker inspect -f . ci-base-image-x86_64 20:15:11 . [Pipeline] withDockerContainer 20:15:11 prd-ubuntu20.04-docker-8c-8g-64108 does not seem to be running inside a container 20:15:11 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:15:11 $ docker top ce443464c84c6edd75847ed9c29a244a2b249b6fbc1479232f0e9d5368310f01 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:12 + go version 20:15:12 go version go1.17.6 linux/amd64 [Pipeline] } 20:15:12 $ docker stop --time=1 ce443464c84c6edd75847ed9c29a244a2b249b6fbc1479232f0e9d5368310f01 20:15:13 $ docker rm -f ce443464c84c6edd75847ed9c29a244a2b249b6fbc1479232f0e9d5368310f01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:14 + docker inspect -f . ci-base-image-x86_64 20:15:14 . [Pipeline] withDockerContainer 20:15:14 prd-ubuntu20.04-docker-8c-8g-64108 does not seem to be running inside a container 20:15:14 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:15:15 $ docker top e6df81eb6131a72e1df7af6c9f74517e05d9d0e99d468cffbd86d2706cdec9bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:15:15 + make test 20:15:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:15:15 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:15:15 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0-dev.38 20:15:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:15:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:15:16 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:15:16 go: downloading github.com/gorilla/mux v1.8.0 20:15:16 go: downloading github.com/stretchr/testify v1.7.1 20:15:16 go: downloading github.com/beevik/etree v1.1.0 20:15:16 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:15:16 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:15:16 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:15:16 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:15:16 go: downloading github.com/google/uuid v1.3.0 20:15:16 go: downloading github.com/davecgh/go-spew v1.1.1 20:15:16 go: downloading github.com/pmezard/go-difflib v1.0.0 20:15:16 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:15:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:15:16 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:15:16 go: downloading github.com/go-kit/log v0.2.0 20:15:16 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:15:16 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:15:16 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:15:16 go: downloading github.com/pelletier/go-toml v1.9.4 20:15:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:15:16 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:15:16 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:15:16 go: downloading github.com/hashicorp/errwrap v1.0.0 20:15:16 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:15:16 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:15:16 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:15:16 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:15:16 go: downloading github.com/hashicorp/consul/api v1.9.1 20:15:16 go: downloading github.com/x448/float16 v0.8.4 20:15:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:15:16 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:15:16 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:15:16 go: downloading github.com/pebbe/zmq4 v1.2.7 20:15:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:15:16 go: downloading github.com/mitchellh/copystructure v1.0.0 20:15:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:15:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:15:16 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:15:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:15:16 go: downloading github.com/hashicorp/serf v0.9.5 20:15:16 go: downloading github.com/zeebo/errs v1.2.2 20:15:16 go: downloading google.golang.org/grpc v1.42.0 20:15:16 go: downloading github.com/gorilla/websocket v1.4.2 20:15:16 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:15:16 go: downloading github.com/go-playground/universal-translator v0.18.0 20:15:16 go: downloading github.com/leodido/go-urn v1.2.1 20:15:16 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:15:16 go: downloading golang.org/x/text v0.3.7 20:15:16 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:15:16 go: downloading google.golang.org/protobuf v1.27.1 20:15:16 go: downloading github.com/fatih/color v1.9.0 20:15:16 go: downloading github.com/mattn/go-isatty v0.0.12 20:15:16 go: downloading github.com/go-playground/locales v0.14.0 20:15:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:15:16 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:15:17 go: downloading github.com/mattn/go-colorable v0.1.6 20:15:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:15:17 go: downloading github.com/golang/protobuf v1.5.2 20:15:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:15:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:15:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:15:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 0.9% of statements 20:15:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:40 ./bin/test-attribution-txt.sh 20:15:40 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:41 $ docker stop --time=1 e6df81eb6131a72e1df7af6c9f74517e05d9d0e99d468cffbd86d2706cdec9bb 20:15:46 $ docker rm -f e6df81eb6131a72e1df7af6c9f74517e05d9d0e99d468cffbd86d2706cdec9bb [Pipeline] // withDockerContainer [Pipeline] sh 20:15:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:48 + ls -al . 20:15:48 total 224 20:15:48 drwxrwxr-x 10 jenkins jenkins 4096 May 19 20:15 . 20:15:48 drwxrwxr-x 4 jenkins jenkins 4096 May 19 20:14 .. 20:15:48 drwxrwxr-x 8 jenkins jenkins 4096 May 19 20:14 .git 20:15:48 drwxrwxr-x 2 jenkins jenkins 4096 May 19 20:14 .github 20:15:48 -rw-rw-r-- 1 jenkins jenkins 352 May 19 20:14 .gitignore 20:15:48 -rw-rw-r-- 1 jenkins jenkins 42 May 19 20:14 .golangci.yml 20:15:48 drwxr-xr-x 3 jenkins jenkins 4096 May 19 20:14 .semver 20:15:48 -rw-rw-r-- 1 jenkins jenkins 9415 May 19 20:14 Attribution.txt 20:15:48 -rw-rw-r-- 1 jenkins jenkins 189 May 19 20:14 CHANGELOG.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 1686 May 19 20:14 Dockerfile 20:15:48 -rw-rw-r-- 1 jenkins jenkins 677 May 19 20:14 GOVERNANCE.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 660 May 19 20:14 Jenkinsfile 20:15:48 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 20:14 LICENSE 20:15:48 -rw-rw-r-- 1 jenkins jenkins 2161 May 19 20:14 Makefile 20:15:48 -rw-rw-r-- 1 jenkins jenkins 625 May 19 20:14 OWNERS.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 28742 May 19 20:14 README.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 5 May 19 20:14 VERSION 20:15:48 drwxrwxr-x 2 jenkins jenkins 4096 May 19 20:14 bin 20:15:48 drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:14 cmd 20:15:48 -rw-r--r-- 1 jenkins jenkins 42596 May 19 20:15 coverage.out 20:15:48 drwxrwxr-x 4 jenkins jenkins 4096 May 19 20:14 doc 20:15:48 -rw-rw-r-- 1 jenkins jenkins 3723 May 19 20:14 go.mod 20:15:48 -rw-rw-r-- 1 jenkins jenkins 37278 May 19 20:14 go.sum 20:15:48 drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:14 internal 20:15:48 drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:14 pkg 20:15:48 -rw-rw-r-- 1 jenkins jenkins 236 May 19 20:14 version.go [Pipeline] isUnix [Pipeline] sh 20:15:48 + 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=7877d02fe09089b772cea8343344b0d87ebd66dc --label arch=amd64 --label version=0.0.0 . 20:15:48 Sending build context to Docker daemon 8.837MB 20:15:48 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:15:48 Step 2/26 : FROM ${BASE} AS builder 20:15:48 ---> 98b67d3cac90 20:15:48 Step 3/26 : ARG MAKE="make build" 20:15:49 ---> Running in be5c39ee1438 20:15:49 Removing intermediate container be5c39ee1438 20:15:49 ---> d33649ead940 20:15:49 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:15:49 ---> Running in 0132f29f5fba 20:15:49 Removing intermediate container 0132f29f5fba 20:15:49 ---> 06299d1724da 20:15:49 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:15:49 ---> Running in 2d5dcc4b7a55 20:15:49 Removing intermediate container 2d5dcc4b7a55 20:15:49 ---> 91339cfa5774 20:15:49 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:15:50 ---> Running in 76662d85042d 20:15:50 Removing intermediate container 76662d85042d 20:15:50 ---> ee464c431f25 20:15:50 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:50 ---> Running in 3c8a9b911d1b 20:15:51 Removing intermediate container 3c8a9b911d1b 20:15:51 ---> 37fc58a4c7a0 20:15:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:52 ---> Running in 9d6b8cdbf6ac 20:15:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:53 OK: 221 MiB in 52 packages 20:15:54 Removing intermediate container 9d6b8cdbf6ac 20:15:54 ---> e383a1068092 20:15:54 Step 9/26 : WORKDIR /device-onvif-camera 20:15:54 ---> Running in 999328a0a6f7 20:15:54 Removing intermediate container 999328a0a6f7 20:15:54 ---> fb6db6a47d2d 20:15:54 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:15:55 ---> 30fa6ddf72a4 20:15:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:55 ---> Running in cd0c43273714 20:15:56 Removing intermediate container cd0c43273714 20:15:56 ---> 8e781293e19a 20:15:56 Step 12/26 : COPY . . 20:15:57 ---> 05be1611b5ee 20:15:57 Step 13/26 : RUN ${MAKE} 20:15:57 ---> Running in 56ebc3f8f6a5 20:15:58 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:15:58 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0-dev.38 20:15:58 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:15:58 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:15:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:15:58 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:15:58 go: downloading github.com/gorilla/mux v1.8.0 20:15:58 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:15:58 go: downloading github.com/beevik/etree v1.1.0 20:15:58 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:15:58 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:15:58 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:15:58 go: downloading github.com/google/uuid v1.3.0 20:15:58 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:15:58 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:15:58 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:15:58 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:15:58 go: downloading github.com/pelletier/go-toml v1.9.4 20:15:58 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:15:58 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:15:58 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:15:58 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:15:58 go: downloading github.com/go-kit/log v0.2.0 20:15:58 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:15:58 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:15:58 go: downloading github.com/hashicorp/errwrap v1.0.0 20:15:58 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:15:58 go: downloading github.com/hashicorp/consul/api v1.9.1 20:15:58 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:15:58 go: downloading github.com/x448/float16 v0.8.4 20:15:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:15:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:15:58 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:15:58 go: downloading github.com/pebbe/zmq4 v1.2.7 20:15:58 go: downloading github.com/zeebo/errs v1.2.2 20:15:58 go: downloading google.golang.org/grpc v1.42.0 20:15:58 go: downloading github.com/go-playground/universal-translator v0.18.0 20:15:58 go: downloading github.com/leodido/go-urn v1.2.1 20:15:58 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:15:58 go: downloading golang.org/x/text v0.3.7 20:15:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:15:58 go: downloading github.com/mitchellh/copystructure v1.0.0 20:15:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:15:58 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:15:58 go: downloading google.golang.org/protobuf v1.27.1 20:15:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:15:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:15:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:15:58 go: downloading github.com/hashicorp/serf v0.9.5 20:15:58 go: downloading github.com/gorilla/websocket v1.4.2 20:15:58 go: downloading github.com/go-playground/locales v0.14.0 20:15:58 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:15:58 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:15:58 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:15:58 go: downloading github.com/fatih/color v1.9.0 20:15:58 go: downloading github.com/mattn/go-isatty v0.0.12 20:15:58 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:15:58 go: downloading github.com/golang/protobuf v1.5.2 20:15:58 go: downloading github.com/mattn/go-colorable v0.1.6 20:15:58 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:15:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:16:30 Removing intermediate container 56ebc3f8f6a5 20:16:30 ---> 734535b84682 20:16:30 Step 14/26 : FROM alpine:3.15 20:16:30 3.15: Pulling from library/alpine 20:16:30 df9b9388f04a: Pulling fs layer 20:16:30 df9b9388f04a: Verifying Checksum 20:16:30 df9b9388f04a: Download complete 20:16:30 df9b9388f04a: Pull complete 20:16:30 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 20:16:30 Status: Downloaded newer image for alpine:3.15 20:16:30 ---> 0ac33e5f5afa 20:16:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:16:30 ---> Running in 565fad78f387 20:16:30 Removing intermediate container 565fad78f387 20:16:30 ---> 8fa46aee5908 20:16:30 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:16:30 ---> Running in 822b6ba06304 20:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:16:30 (1/6) Installing dumb-init (1.2.5-r1) 20:16:30 (2/6) Installing libgcc (10.3.1_git20211027-r0) 20:16:30 (3/6) Installing libsodium (1.0.18-r0) 20:16:30 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 20:16:30 (5/6) Installing libzmq (4.3.4-r0) 20:16:30 (6/6) Installing zeromq (4.3.4-r0) 20:16:30 Executing busybox-1.34.1-r5.trigger 20:16:30 OK: 8 MiB in 20 packages 20:16:30 Removing intermediate container 822b6ba06304 20:16:30 ---> 08d542207e78 20:16:30 Step 17/26 : WORKDIR / 20:16:30 ---> Running in ff834acd1462 20:16:30 Removing intermediate container ff834acd1462 20:16:30 ---> 6fd406ea63be 20:16:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:16:30 ---> ad20fccb27f4 20:16:30 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:16:30 ---> 5c99eeae10a7 20:16:30 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:16:30 ---> 20bf35cb7234 20:16:30 Step 21/26 : EXPOSE 59984 20:16:30 ---> Running in d6edb21485aa 20:16:30 Removing intermediate container d6edb21485aa 20:16:30 ---> 758c63b07527 20:16:30 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:16:30 ---> Running in ea16c919a2ba 20:16:31 Removing intermediate container ea16c919a2ba 20:16:31 ---> 329938f2fcbe 20:16:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:16:31 ---> Running in 4ddeb54dd18c 20:16:31 Removing intermediate container 4ddeb54dd18c 20:16:31 ---> 7fc42e1eca2b 20:16:31 Step 24/26 : LABEL arch=amd64 20:16:31 ---> Running in 3b2c93809f7c 20:16:31 Removing intermediate container 3b2c93809f7c 20:16:31 ---> 81d090f2d574 20:16:31 Step 25/26 : LABEL git_sha=7877d02fe09089b772cea8343344b0d87ebd66dc 20:16:31 ---> Running in 3190d50b138a 20:16:31 Removing intermediate container 3190d50b138a 20:16:31 ---> 925b91a4de1e 20:16:31 Step 26/26 : LABEL version=0.0.0 20:16:31 ---> Running in bb2e13a5b6e9 20:16:31 Removing intermediate container bb2e13a5b6e9 20:16:31 ---> d8fe2a54bf02 20:16:31 [Warning] One or more build-args [ARCH] were not consumed 20:16:31 Successfully built d8fe2a54bf02 20:16:31 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:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:32 20:16:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:16:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:32 latest: Pulling from edgex-lftools-log-publisher 20:16:32 5eb5b503b376: Pulling fs layer 20:16:32 5c69ac0246d0: Pulling fs layer 20:16:32 ec43610c2a17: Pulling fs layer 20:16:32 3a2ae6a8a46f: Pulling fs layer 20:16:32 33b1e0a273af: Pulling fs layer 20:16:32 5d3b04190fa2: Pulling fs layer 20:16:32 2f39f015ded8: Pulling fs layer 20:16:32 3a2ae6a8a46f: Waiting 20:16:32 5d3b04190fa2: Waiting 20:16:32 33b1e0a273af: Waiting 20:16:32 2f39f015ded8: Waiting 20:16:32 5c69ac0246d0: Verifying Checksum 20:16:32 5c69ac0246d0: Download complete 20:16:32 3a2ae6a8a46f: Verifying Checksum 20:16:32 3a2ae6a8a46f: Download complete 20:16:32 33b1e0a273af: Verifying Checksum 20:16:32 33b1e0a273af: Download complete 20:16:32 ec43610c2a17: Verifying Checksum 20:16:32 ec43610c2a17: Download complete 20:16:32 5d3b04190fa2: Verifying Checksum 20:16:32 5d3b04190fa2: Download complete 20:16:32 5eb5b503b376: Verifying Checksum 20:16:32 5eb5b503b376: Download complete 20:16:33 2f39f015ded8: Download complete 20:16:33 5eb5b503b376: Pull complete 20:16:34 5c69ac0246d0: Pull complete 20:16:34 ec43610c2a17: Pull complete 20:16:34 3a2ae6a8a46f: Pull complete 20:16:34 33b1e0a273af: Pull complete 20:16:34 5d3b04190fa2: Pull complete 20:16:39 2f39f015ded8: Pull complete 20:16:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:16:39 prd-ubuntu20.04-docker-8c-8g-64108 does not seem to be running inside a container 20:16:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:16:41 $ docker top 0fed73c568df1b89bf1f4d2faf84be5888042cf8c200be4ba1241f60a946aa85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:41 ---> job-cost.sh 20:16:41 lf-activate-venv: SKIPPING 20:16:41 INFO: No Stack... 20:16:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:42 INFO: Archiving Costs [Pipeline] sh 20:16:43 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 20:16:43 + cut -d, -f6 [Pipeline] lock 20:16:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] 20:16:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] did not exist. Created. 20:16:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:43 + echo total: 0.2199999988079071 [Pipeline] stash 20:16:43 Stashed 1 file(s) [Pipeline] } 20:16:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:43 $ docker stop --time=1 0fed73c568df1b89bf1f4d2faf84be5888042cf8c200be4ba1241f60a946aa85 20:16:44 $ docker rm -f 0fed73c568df1b89bf1f4d2faf84be5888042cf8c200be4ba1241f60a946aa85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:17:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64109 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 20:17:49 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 20:17:49 Selected Git installation does not exist. Using Default 20:17:49 The recommended git tool is: NONE 20:17:55 using credential edgex-jenkins-ssh 20:17:55 Cloning the remote Git repository 20:17:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:17:56 > git init /w/workspace/device-onvif-camera/6 # timeout=10 20:17:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:17:56 > git --version # timeout=10 20:17:56 > git --version # 'git version 2.25.1' 20:17:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:57 Merging remotes/origin/main commit 84b3359fcb453f79206b07ec4bf8f15846aef2e0 into PR head commit 7877d02fe09089b772cea8343344b0d87ebd66dc 20:17:57 Merge succeeded, producing 7877d02fe09089b772cea8343344b0d87ebd66dc 20:17:57 Checking out Revision 7877d02fe09089b772cea8343344b0d87ebd66dc (PR-65) 20:17:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:17:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:17:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:17:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:57 > 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:17:57 > git config core.sparsecheckout # timeout=10 20:17:57 > git checkout -f 7877d02fe09089b772cea8343344b0d87ebd66dc # timeout=10 20:17:57 > git remote # timeout=10 20:17:57 > git config --get remote.origin.url # timeout=10 20:17:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:57 > git merge 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 20:17:57 > git rev-parse HEAD^{commit} # timeout=10 20:17:58 > git config core.sparsecheckout # timeout=10 20:17:58 > git checkout -f 7877d02fe09089b772cea8343344b0d87ebd66dc # timeout=10 20:18:02 Commit message: "Merge branch 'discovery-probe' into discovery-probe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:18:03 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:03 Dload Upload Total Spent Left Speed 20:18:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51919 0 --:--:-- --:--:-- --:--:-- 51919 [Pipeline] sh 20:18:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:18:03 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 20:18:03 20:18:03 { 20:18:03 "registry-mirrors": [ 20:18:03 "https://nexus3.edgexfoundry.org:10001" 20:18:03 ], 20:18:03 "bip": "10.250.0.254/24", 20:18:03 "hosts": [ 20:18:03 "tcp://0.0.0.0:5555", 20:18:03 "unix:///var/run/docker.sock" 20:18:03 ], 20:18:03 "mtu": 1458, 20:18:03 "selinux-enabled": true, 20:18:03 "seccomp-profile": "/etc/docker/seccomp.json" 20:18:03 } [Pipeline] sh 20:18:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:18:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:22 provisioning config files... 20:18:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config7031022610432884154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:23 ---> docker-login.sh 20:18:23 nexus3.edgexfoundry.org:10001 20:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:24 Configure a credential helper to remove this warning. See 20:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:24 20:18:24 Login Succeeded 20:18:24 nexus3.edgexfoundry.org:10002 20:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:24 Configure a credential helper to remove this warning. See 20:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:24 20:18:24 Login Succeeded 20:18:24 nexus3.edgexfoundry.org:10003 20:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:25 Configure a credential helper to remove this warning. See 20:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:25 20:18:25 Login Succeeded 20:18:25 nexus3.edgexfoundry.org:10004 20:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:25 Configure a credential helper to remove this warning. See 20:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:25 20:18:25 Login Succeeded 20:18:25 docker.io 20:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:26 Configure a credential helper to remove this warning. See 20:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:26 20:18:26 Login Succeeded 20:18:26 ---> docker-login.sh ends [Pipeline] } 20:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:26 ========================================================= 20:18:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:18:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:18:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:18:27 Sending build context to Docker daemon 6.072MB 20:18:27 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:18:27 Step 2/13 : FROM ${BASE} AS builder 20:18:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:27 9b3977197b4f: Pulling fs layer 20:18:27 1a89e8eeedd5: Pulling fs layer 20:18:27 94645a83ff95: Pulling fs layer 20:18:27 3f3a8bcf1eab: Pulling fs layer 20:18:27 0c92f367c5e7: Pulling fs layer 20:18:27 3096ccb668a1: Pulling fs layer 20:18:27 e8cf19c19ddd: Pulling fs layer 20:18:27 a4caa8a26152: Pulling fs layer 20:18:27 3f3a8bcf1eab: Waiting 20:18:27 0c92f367c5e7: Waiting 20:18:27 3096ccb668a1: Waiting 20:18:27 e8cf19c19ddd: Waiting 20:18:27 a4caa8a26152: Waiting 20:18:27 94645a83ff95: Verifying Checksum 20:18:27 94645a83ff95: Download complete 20:18:27 1a89e8eeedd5: Download complete 20:18:27 0c92f367c5e7: Verifying Checksum 20:18:27 0c92f367c5e7: Download complete 20:18:27 3096ccb668a1: Download complete 20:18:27 9b3977197b4f: Verifying Checksum 20:18:27 9b3977197b4f: Download complete 20:18:27 e8cf19c19ddd: Verifying Checksum 20:18:27 e8cf19c19ddd: Download complete 20:18:28 9b3977197b4f: Pull complete 20:18:28 1a89e8eeedd5: Pull complete 20:18:29 94645a83ff95: Pull complete 20:18:29 a4caa8a26152: Download complete 20:18:30 3f3a8bcf1eab: Verifying Checksum 20:18:30 3f3a8bcf1eab: Download complete 20:18:42 3f3a8bcf1eab: Pull complete 20:18:42 0c92f367c5e7: Pull complete 20:18:42 3096ccb668a1: Pull complete 20:18:42 e8cf19c19ddd: Pull complete 20:18:49 a4caa8a26152: Pull complete 20:18:49 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:18:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:18:49 ---> 725f1c02e7f9 20:18:49 Step 3/13 : ARG MAKE="make build" 20:18:50 ---> Running in e5865b6da880 20:18:50 Removing intermediate container e5865b6da880 20:18:50 ---> 29d6fda071e0 20:18:50 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:18:50 ---> Running in 76e70e46591b 20:18:51 Removing intermediate container 76e70e46591b 20:18:51 ---> e3f9c422ec47 20:18:51 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:18:51 ---> Running in b687a61d2d17 20:18:51 Removing intermediate container b687a61d2d17 20:18:51 ---> 470693d53f31 20:18:51 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:18:51 ---> Running in 5797a5206538 20:18:51 Removing intermediate container 5797a5206538 20:18:51 ---> 86d2f6327936 20:18:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:51 ---> Running in 0e24d5e43bd2 20:18:53 Removing intermediate container 0e24d5e43bd2 20:18:53 ---> 50f7c8a3c504 20:18:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:53 ---> Running in 5de3d71cc106 20:18:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:18:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:18:56 OK: 220 MiB in 52 packages 20:18:57 Removing intermediate container 5de3d71cc106 20:18:57 ---> ff31a9973f1d 20:18:57 Step 9/13 : WORKDIR /device-onvif-camera 20:18:57 ---> Running in 21ffe101ccf6 20:18:58 Removing intermediate container 21ffe101ccf6 20:18:58 ---> e35f23ef66cd 20:18:58 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:18:58 ---> cb9c7da7e9b3 20:18:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:58 ---> Running in c1247c84e2f2 20:19:00 Removing intermediate container c1247c84e2f2 20:19:00 ---> 398b72b746a1 20:19:00 Step 12/13 : COPY . . 20:19:01 ---> 538ad844bc72 20:19:01 Step 13/13 : RUN ${MAKE} 20:19:01 ---> Running in d455896e3cb1 20:19:02 noop 20:19:03 Removing intermediate container d455896e3cb1 20:19:03 ---> b244f2e99c8e 20:19:03 Successfully built b244f2e99c8e 20:19:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:19:03 + docker inspect -f . ci-base-image-arm64 20:19:03 . [Pipeline] withDockerContainer 20:19:03 prd-ubuntu20.04-docker-arm64-4c-16g-64109 does not seem to be running inside a container 20:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:19:05 $ docker top cc8ee9c66c76a7f1b9984b51ee23f44bc3cdc2fc309f6f65250a485ad8eec957 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:06 + go version 20:19:06 go version go1.17.6 linux/arm64 [Pipeline] } 20:19:06 $ docker stop --time=1 cc8ee9c66c76a7f1b9984b51ee23f44bc3cdc2fc309f6f65250a485ad8eec957 20:19:07 $ docker rm -f cc8ee9c66c76a7f1b9984b51ee23f44bc3cdc2fc309f6f65250a485ad8eec957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:08 + docker inspect -f . ci-base-image-arm64 20:19:08 . [Pipeline] withDockerContainer 20:19:08 prd-ubuntu20.04-docker-arm64-4c-16g-64109 does not seem to be running inside a container 20:19:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:19:10 $ docker top 11216012469e861ef39d541231218f715d2c4d87c06fb809e87a5578c0c6c954 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:19:11 + make test 20:19:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:19:11 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0-dev.38 20:19:11 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:19:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:19:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:19:11 go: downloading github.com/gorilla/mux v1.8.0 20:19:11 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:19:11 go: downloading github.com/stretchr/testify v1.7.1 20:19:11 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:19:11 go: downloading github.com/beevik/etree v1.1.0 20:19:11 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:19:11 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:19:12 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:19:12 go: downloading github.com/google/uuid v1.3.0 20:19:12 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:19:12 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:19:12 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:19:12 go: downloading github.com/go-kit/log v0.2.0 20:19:12 go: downloading github.com/davecgh/go-spew v1.1.1 20:19:12 go: downloading github.com/pmezard/go-difflib v1.0.0 20:19:12 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:19:12 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:19:12 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:19:12 go: downloading github.com/pelletier/go-toml v1.9.4 20:19:12 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:19:12 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:19:12 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:19:12 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:19:12 go: downloading github.com/hashicorp/errwrap v1.0.0 20:19:13 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:19:13 go: downloading github.com/go-playground/universal-translator v0.18.0 20:19:13 go: downloading github.com/leodido/go-urn v1.2.1 20:19:13 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:19:13 go: downloading golang.org/x/text v0.3.7 20:19:13 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:19:13 go: downloading github.com/hashicorp/consul/api v1.9.1 20:19:13 go: downloading github.com/x448/float16 v0.8.4 20:19:13 go: downloading github.com/zeebo/errs v1.2.2 20:19:13 go: downloading google.golang.org/grpc v1.42.0 20:19:14 go: downloading github.com/go-playground/locales v0.14.0 20:19:14 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:19:14 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:19:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:19:14 go: downloading github.com/pebbe/zmq4 v1.2.7 20:19:14 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:19:14 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:19:15 go: downloading google.golang.org/protobuf v1.27.1 20:19:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:19:16 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:19:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:19:16 go: downloading github.com/hashicorp/serf v0.9.5 20:19:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:19:16 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:19:16 go: downloading github.com/gorilla/websocket v1.4.2 20:19:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:19:16 go: downloading github.com/mitchellh/copystructure v1.0.0 20:19:17 go: downloading github.com/fatih/color v1.9.0 20:19:17 go: downloading github.com/mattn/go-isatty v0.0.12 20:19:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:19:17 go: downloading github.com/golang/protobuf v1.5.2 20:19:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:19:17 go: downloading github.com/mattn/go-colorable v0.1.6 20:19:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:19:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:19:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:20:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:20:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.074s coverage: 0.9% of statements 20:20:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:20:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:12 ./bin/test-attribution-txt.sh 20:21:12 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 20:21:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:13 $ docker stop --time=1 11216012469e861ef39d541231218f715d2c4d87c06fb809e87a5578c0c6c954 20:21:15 $ docker rm -f 11216012469e861ef39d541231218f715d2c4d87c06fb809e87a5578c0c6c954 [Pipeline] // withDockerContainer [Pipeline] sh 20:21:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:18 Warning: overwriting stash ‘coverage-report’ 20:21:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:21:19 + ls -al . 20:21:19 total 220 20:21:19 drwxrwxr-x 9 jenkins jenkins 4096 May 19 20:21 . 20:21:19 drwxrwxr-x 4 jenkins jenkins 4096 May 19 20:17 .. 20:21:19 drwxrwxr-x 8 jenkins jenkins 4096 May 19 20:18 .git 20:21:19 drwxrwxr-x 2 jenkins jenkins 4096 May 19 20:17 .github 20:21:19 -rw-rw-r-- 1 jenkins jenkins 352 May 19 20:17 .gitignore 20:21:19 -rw-rw-r-- 1 jenkins jenkins 42 May 19 20:17 .golangci.yml 20:21:19 -rw-rw-r-- 1 jenkins jenkins 9415 May 19 20:17 Attribution.txt 20:21:19 -rw-rw-r-- 1 jenkins jenkins 189 May 19 20:17 CHANGELOG.md 20:21:19 -rw-rw-r-- 1 jenkins jenkins 1686 May 19 20:17 Dockerfile 20:21:19 -rw-rw-r-- 1 jenkins jenkins 677 May 19 20:17 GOVERNANCE.md 20:21:19 -rw-rw-r-- 1 jenkins jenkins 660 May 19 20:17 Jenkinsfile 20:21:19 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 20:17 LICENSE 20:21:19 -rw-rw-r-- 1 jenkins jenkins 2161 May 19 20:17 Makefile 20:21:19 -rw-rw-r-- 1 jenkins jenkins 625 May 19 20:17 OWNERS.md 20:21:19 -rw-rw-r-- 1 jenkins jenkins 28742 May 19 20:17 README.md 20:21:19 -rw-rw-r-- 1 jenkins jenkins 5 May 19 20:14 VERSION 20:21:19 drwxrwxr-x 2 jenkins jenkins 4096 May 19 20:17 bin 20:21:19 drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:17 cmd 20:21:19 -rw-r--r-- 1 jenkins jenkins 42596 May 19 20:20 coverage.out 20:21:19 drwxrwxr-x 4 jenkins jenkins 4096 May 19 20:17 doc 20:21:19 -rw-rw-r-- 1 jenkins jenkins 3723 May 19 20:17 go.mod 20:21:19 -rw-rw-r-- 1 jenkins jenkins 37278 May 19 20:17 go.sum 20:21:19 drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:17 internal 20:21:19 drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:17 pkg 20:21:19 -rw-rw-r-- 1 jenkins jenkins 236 May 19 20:17 version.go [Pipeline] isUnix [Pipeline] sh 20:21:19 + 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=7877d02fe09089b772cea8343344b0d87ebd66dc --label arch=arm64 --label version=0.0.0 . 20:21:20 Sending build context to Docker daemon 6.115MB 20:21:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:21:20 Step 2/26 : FROM ${BASE} AS builder 20:21:20 ---> b244f2e99c8e 20:21:20 Step 3/26 : ARG MAKE="make build" 20:21:20 ---> Running in 2b4ed2affba1 20:21:20 Removing intermediate container 2b4ed2affba1 20:21:20 ---> 96eea310aa7d 20:21:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:21:20 ---> Running in 11d2ab4c0c48 20:21:20 Removing intermediate container 11d2ab4c0c48 20:21:20 ---> 6467a4c0a4c8 20:21:20 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:21:21 ---> Running in 22e88de8d905 20:21:21 Removing intermediate container 22e88de8d905 20:21:21 ---> f855f8859bab 20:21:21 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:21:21 ---> Running in 9a9f4be44e04 20:21:21 Removing intermediate container 9a9f4be44e04 20:21:21 ---> 656389a1dd35 20:21:21 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:21 ---> Running in 919c2ec9d05a 20:21:23 Removing intermediate container 919c2ec9d05a 20:21:23 ---> e21b6aaf11f9 20:21:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:23 ---> Running in e54143459ec6 20:21:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:21:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:21:26 OK: 220 MiB in 52 packages 20:21:26 Removing intermediate container e54143459ec6 20:21:26 ---> c331151c8129 20:21:26 Step 9/26 : WORKDIR /device-onvif-camera 20:21:26 ---> Running in 29d0a97e0669 20:21:27 Removing intermediate container 29d0a97e0669 20:21:27 ---> 800cab5c1f61 20:21:27 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:21:28 ---> bd560eaeb248 20:21:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:28 ---> Running in 52f9d3d8111c 20:21:30 Removing intermediate container 52f9d3d8111c 20:21:30 ---> 38b0286a6cdc 20:21:30 Step 12/26 : COPY . . 20:21:30 ---> eabd1677a9d3 20:21:30 Step 13/26 : RUN ${MAKE} 20:21:30 ---> Running in dd6c92c9b94d 20:21:31 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:21:31 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0-dev.38 20:21:31 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:21:32 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:21:32 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:21:33 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:21:33 go: downloading github.com/gorilla/mux v1.8.0 20:21:33 go: downloading github.com/beevik/etree v1.1.0 20:21:33 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:21:33 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:21:33 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:21:33 go: downloading github.com/google/uuid v1.3.0 20:21:33 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:21:33 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:21:33 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:21:33 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:21:33 go: downloading github.com/go-kit/log v0.2.0 20:21:34 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:21:34 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:21:34 go: downloading github.com/pelletier/go-toml v1.9.4 20:21:34 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:21:34 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:21:34 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:21:34 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:21:34 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:21:34 go: downloading github.com/hashicorp/errwrap v1.0.0 20:21:34 go: downloading github.com/go-playground/universal-translator v0.18.0 20:21:34 go: downloading github.com/leodido/go-urn v1.2.1 20:21:34 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:21:34 go: downloading golang.org/x/text v0.3.7 20:21:34 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:21:34 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:21:34 go: downloading github.com/hashicorp/consul/api v1.9.1 20:21:34 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:21:34 go: downloading github.com/x448/float16 v0.8.4 20:21:35 go: downloading github.com/go-playground/locales v0.14.0 20:21:35 go: downloading github.com/zeebo/errs v1.2.2 20:21:35 go: downloading google.golang.org/grpc v1.42.0 20:21:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:21:36 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:21:36 go: downloading github.com/pebbe/zmq4 v1.2.7 20:21:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:21:36 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:21:36 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:21:36 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:21:37 go: downloading github.com/hashicorp/serf v0.9.5 20:21:37 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:21:37 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:21:37 go: downloading google.golang.org/protobuf v1.27.1 20:21:38 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:21:38 go: downloading github.com/gorilla/websocket v1.4.2 20:21:38 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:21:38 go: downloading github.com/mitchellh/copystructure v1.0.0 20:21:38 go: downloading github.com/fatih/color v1.9.0 20:21:38 go: downloading github.com/mattn/go-isatty v0.0.12 20:21:38 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:21:38 go: downloading github.com/golang/protobuf v1.5.2 20:21:38 go: downloading github.com/mattn/go-colorable v0.1.6 20:21:38 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:21:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:21:38 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:24:00 Removing intermediate container dd6c92c9b94d 20:24:00 ---> 9b9453cd0c89 20:24:00 Step 14/26 : FROM alpine:3.15 20:24:00 3.15: Pulling from library/alpine 20:24:00 9981e73032c8: Pulling fs layer 20:24:00 9981e73032c8: Verifying Checksum 20:24:00 9981e73032c8: Download complete 20:24:00 9981e73032c8: Pull complete 20:24:00 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 20:24:00 Status: Downloaded newer image for alpine:3.15 20:24:00 ---> 3fb3c9af89a9 20:24:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:24:00 ---> Running in 1a44620c427f 20:24:00 Removing intermediate container 1a44620c427f 20:24:00 ---> b9c7e6b5affd 20:24:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:24:00 ---> Running in cbfa3c3e1ed2 20:24:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:24:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:24:02 (1/6) Installing dumb-init (1.2.5-r1) 20:24:02 (2/6) Installing libgcc (10.3.1_git20211027-r0) 20:24:02 (3/6) Installing libsodium (1.0.18-r0) 20:24:02 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 20:24:02 (5/6) Installing libzmq (4.3.4-r0) 20:24:02 (6/6) Installing zeromq (4.3.4-r0) 20:24:02 Executing busybox-1.34.1-r5.trigger 20:24:02 OK: 8 MiB in 20 packages 20:24:03 Removing intermediate container cbfa3c3e1ed2 20:24:03 ---> 5c5c0d2ea244 20:24:03 Step 17/26 : WORKDIR / 20:24:03 ---> Running in f2c6086a8ea3 20:24:04 Removing intermediate container f2c6086a8ea3 20:24:04 ---> 60e6db0f92b3 20:24:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:24:06 ---> 6c75bb088a9f 20:24:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:24:06 ---> c4d9d24e925a 20:24:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:24:06 ---> e07f7a67e4f8 20:24:06 Step 21/26 : EXPOSE 59984 20:24:06 ---> Running in 9de69a059516 20:24:07 Removing intermediate container 9de69a059516 20:24:07 ---> 627aa07ae6d3 20:24:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:24:07 ---> Running in 828d8bc3751b 20:24:07 Removing intermediate container 828d8bc3751b 20:24:07 ---> fd34a3649ff4 20:24:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:24:07 ---> Running in 7c0b110a0d4a 20:24:07 Removing intermediate container 7c0b110a0d4a 20:24:07 ---> 64dc0bca580d 20:24:07 Step 24/26 : LABEL arch=arm64 20:24:08 ---> Running in 4f4804269958 20:24:08 Removing intermediate container 4f4804269958 20:24:08 ---> b85550775e0c 20:24:08 Step 25/26 : LABEL git_sha=7877d02fe09089b772cea8343344b0d87ebd66dc 20:24:08 ---> Running in def32fbfc179 20:24:08 Removing intermediate container def32fbfc179 20:24:08 ---> 086ba5564a7d 20:24:08 Step 26/26 : LABEL version=0.0.0 20:24:08 ---> Running in 91a91092cd10 20:24:08 Removing intermediate container 91a91092cd10 20:24:08 ---> 050c474a09bd 20:24:08 [Warning] One or more build-args [ARCH] were not consumed 20:24:08 Successfully built 050c474a09bd 20:24:09 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:24:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:09 20:24:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:24:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:10 arm64: Pulling from edgex-lftools-log-publisher 20:24:10 8998bd30e6a1: Pulling fs layer 20:24:10 04944245beec: Pulling fs layer 20:24:10 699f458cf7ca: Pulling fs layer 20:24:10 765212b225bb: Pulling fs layer 20:24:10 f23df028b6ca: Pulling fs layer 20:24:10 d65c8cfc05b1: Pulling fs layer 20:24:10 2437ff75d9bd: Pulling fs layer 20:24:10 f23df028b6ca: Waiting 20:24:10 d65c8cfc05b1: Waiting 20:24:10 2437ff75d9bd: Waiting 20:24:10 765212b225bb: Waiting 20:24:10 04944245beec: Verifying Checksum 20:24:10 04944245beec: Download complete 20:24:10 765212b225bb: Verifying Checksum 20:24:10 765212b225bb: Download complete 20:24:10 f23df028b6ca: Download complete 20:24:10 d65c8cfc05b1: Verifying Checksum 20:24:10 d65c8cfc05b1: Download complete 20:24:10 699f458cf7ca: Verifying Checksum 20:24:10 699f458cf7ca: Download complete 20:24:10 8998bd30e6a1: Verifying Checksum 20:24:10 8998bd30e6a1: Download complete 20:24:13 2437ff75d9bd: Verifying Checksum 20:24:13 2437ff75d9bd: Download complete 20:24:15 8998bd30e6a1: Pull complete 20:24:15 04944245beec: Pull complete 20:24:17 699f458cf7ca: Pull complete 20:24:17 765212b225bb: Pull complete 20:24:18 f23df028b6ca: Pull complete 20:24:18 d65c8cfc05b1: Pull complete 20:24:33 2437ff75d9bd: Pull complete 20:24:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:24:33 prd-ubuntu20.04-docker-arm64-4c-16g-64109 does not seem to be running inside a container 20:24:33 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:24:36 $ docker top 36d47068832786f6b23cdbbb37bc9df9b3e0e8aa156711d43172a5847bb9b8a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:37 ---> job-cost.sh 20:24:37 lf-activate-venv: SKIPPING 20:24:37 INFO: No Stack... 20:24:38 INFO: Retrieving Pricing Info for: v3-standard-4 20:24:38 INFO: Archiving Costs [Pipeline] sh 20:24:39 + cat /w/workspace/device-onvif-camera/6/archives/cost.csv 20:24:39 + cut -d, -f6 [Pipeline] lock 20:24:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] 20:24:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] did not exist. Created. 20:24:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:40 /w/workspace/device-onvif-camera/6@tmp/durable-b617954b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:24:40 + echo total: 0.10999999940395355 [Pipeline] stash 20:24:40 Warning: overwriting stash ‘stack-cost’ 20:24:40 Stashed 1 file(s) [Pipeline] } 20:24:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:40 $ docker stop --time=1 36d47068832786f6b23cdbbb37bc9df9b3e0e8aa156711d43172a5847bb9b8a6 20:24:42 $ docker rm -f 36d47068832786f6b23cdbbb37bc9df9b3e0e8aa156711d43172a5847bb9b8a6 [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:24:43 provisioning config files... 20:24:43 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8068487067045289725tmp [Pipeline] { [Pipeline] sh 20:24:43 + set +x 20:24:43 + curl -s https://codecov.io/bash 20:24:43 + bash -s -- 20:24:43 20:24:43 _____ _ 20:24:43 / ____| | | 20:24:43 | | ___ __| | ___ ___ _____ __ 20:24:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:24:43 | |___| (_) | (_| | __/ (_| (_) \ V / 20:24:43 \_____\___/ \__,_|\___|\___\___/ \_/ 20:24:43 Bash-1.0.6 20:24:43 20:24:43 20:24:43 ==> git version 2.25.1 found 20:24:43 ==> 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:24:43 Release-Date: 2020-01-08 20:24:43 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:24:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:24:43 ==> Jenkins CI detected. 20:24:43 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 20:24:43 project root: . 20:24:43 --> token set from env 20:24:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:24:43 ==> Running gcov in . (disable via -X gcov) 20:24:43 ==> Python coveragepy not found 20:24:43 ==> Searching for coverage reports in: 20:24:43 + . 20:24:43 -> Found 1 reports 20:24:43 ==> Detecting git/mercurial file structure 20:24:43 ==> Reading reports 20:24:43 + ./coverage.out bytes=42596 20:24:43 ==> Appending adjustments 20:24:43 https://docs.codecov.io/docs/fixing-reports 20:24:43 + Found adjustments 20:24:43 ==> Gzipping contents 20:24:43 8.0K /tmp/codecov.1YLAfM.gz 20:24:43 ==> Uploading reports 20:24:43 url: https://codecov.io 20:24:43 query: branch=PR-65&commit=7877d02fe09089b772cea8343344b0d87ebd66dc&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 20:24:43 -> Pinging Codecov 20:24:43 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=7877d02fe09089b772cea8343344b0d87ebd66dc&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 20:24:43 -> Uploading to 20:24:43 https://storage.googleapis.com/codecov/v4/raw/2022-05-19/F29A59C45E3A92E06B3E522C9905F8EF/7877d02fe09089b772cea8343344b0d87ebd66dc/08f4988c-d506-4018-94bf-eff0434ca9a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220519T202443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef09141f7418e9481515223409bddbc8b25178fa45518c7aba3159445c6e7f04 20:24:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:24:43 Dload Upload Total Spent Left Speed 20:24:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5632 0 0 100 5632 0 25716 --:--:-- --:--:-- --:--:-- 25716 20:24:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7877d02fe09089b772cea8343344b0d87ebd66dc [Pipeline] } 20:24:44 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:24:45 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 20:24:45 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:24:45 total 16 20:24:45 drwxr-xr-x 3 root root 4096 May 19 20:16 . 20:24:45 drwxrwxr-x 11 jenkins jenkins 4096 May 19 20:16 .. 20:24:45 drwxr-xr-x 2 root root 4096 May 19 20:16 cost 20:24:45 -rw-r--r-- 1 root root 89 May 19 20:16 cost.csv 20:24:45 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:24:45 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:24:45 total 16 20:24:45 drwxr-xr-x 3 jenkins jenkins 4096 May 19 20:16 . 20:24:45 drwxrwxr-x 11 jenkins jenkins 4096 May 19 20:16 .. 20:24:45 drwxr-xr-x 2 jenkins jenkins 4096 May 19 20:16 cost 20:24:45 -rw-r--r-- 1 jenkins jenkins 89 May 19 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:24:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:24:46 ---> package-listing.sh 20:24:46 ++ facter osfamily 20:24:46 ++ tr '[:upper:]' '[:lower:]' 20:24:46 + OS_FAMILY=debian 20:24:46 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 20:24:46 + START_PACKAGES=/tmp/packages_start.txt 20:24:46 + END_PACKAGES=/tmp/packages_end.txt 20:24:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:24:46 + PACKAGES=/tmp/packages_start.txt 20:24:46 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 20:24:46 + PACKAGES=/tmp/packages_end.txt 20:24:46 + case "${OS_FAMILY}" in 20:24:46 + dpkg -l 20:24:46 + grep '^ii' 20:24:46 + '[' -f /tmp/packages_start.txt ']' 20:24:46 + '[' -f /tmp/packages_end.txt ']' 20:24:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:24:46 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 20:24:46 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 20:24:46 + 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:24:46 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:24:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:24:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:47 . [Pipeline] withDockerContainer 20:24:47 prd-ubuntu20.04-docker-8c-8g-64108 does not seem to be running inside a container 20:24:47 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:24:47 $ docker top 45999cf2d1f4027714676935c6c5089b8961912f141a0b8ea1dce230922757a9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:48 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:48 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:48 + ls /var/log/sa-host 20:24:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:48 provisioning config files... 20:24:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config5838163798133949952tmp [Pipeline] { [Pipeline] echo 20:24:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:49 ---> create-netrc.sh [Pipeline] } 20:24:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:49 ---> python-tools-install.sh [Pipeline] echo 20:24:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:49 ---> sudo-logs.sh 20:24:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:24:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:50 ---> job-cost.sh 20:24:50 lf-activate-venv: SKIPPING 20:24:50 DEBUG: total: 0.2199999988079071 20:24:50 INFO: Retrieving Stack Cost... 20:24:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:50 INFO: Archiving Costs [Pipeline] echo 20:24:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:24:51 ---> logs-deploy.sh 20:24:51 lf-activate-venv: SKIPPING 20:24:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/6 20:24:51 INFO: archiving workspace using pattern(s): 20:24:52 Archives upload complete. 20:24:52 INFO: archiving logs to Nexus