Pull request #65 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8ea3952a55c07e239dd75554aa3eccbc97544666 rather than 67546bc4332c3d264001c22ba45d6c898bd1fa71 Obtained Jenkinsfile from 8ea3952a55c07e239dd75554aa3eccbc97544666 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8479354142275746584.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-ssh13005624090811184021.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-ssh16519101417712912728.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-ssh8353213617279114411.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-ssh9100649847481553257.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64220 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 67546bc4332c3d264001c22ba45d6c898bd1fa71 Merge succeeded, producing 67546bc4332c3d264001c22ba45d6c898bd1fa71 Checking out Revision 67546bc4332c3d264001c22ba45d6c898bd1fa71 (PR-65) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67546bc4332c3d264001c22ba45d6c898bd1fa71 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67546bc4332c3d264001c22ba45d6c898bd1fa71 # timeout=10 Commit message: "Merge remote-tracking branch 'edgex/main' into discovery-probe" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:15:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:15:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:15:32 ========================================================= 20:15:32 EdgeX Global Pipelines Version Info 20:15:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7877d02fe09089b772cea8343344b0d87ebd66dc # timeout=10 20:15:33 ------------------- 20:15:33 stable info: 20:15:33 ------------------- 20:15:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:15:33 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:15:33 Message: update stable to v1.0.230 20:15:34 ------------------- 20:15:34 experimental info: 20:15:34 ------------------- 20:15:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:15:34 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:15:34 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67546bc4332c3d264001c22ba45d6c898bd1fa71 [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67546bc [Pipeline] echo 20:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:34 provisioning config files... 20:15:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config1907074441395735887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:35 ---> docker-login.sh 20:15:35 nexus3.edgexfoundry.org:10001 20:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:35 Configure a credential helper to remove this warning. See 20:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:35 20:15:35 Login Succeeded 20:15:35 nexus3.edgexfoundry.org:10002 20:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:35 Configure a credential helper to remove this warning. See 20:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:35 20:15:35 Login Succeeded 20:15:35 nexus3.edgexfoundry.org:10003 20:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:35 Configure a credential helper to remove this warning. See 20:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:35 20:15:35 Login Succeeded 20:15:35 nexus3.edgexfoundry.org:10004 20:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:35 Configure a credential helper to remove this warning. See 20:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:35 20:15:35 Login Succeeded 20:15:35 docker.io 20:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 ---> docker-login.sh ends [Pipeline] } 20:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:15:36 + git rev-list -1 --merges 67546bc4332c3d264001c22ba45d6c898bd1fa71~1..67546bc4332c3d264001c22ba45d6c898bd1fa71 [Pipeline] echo 20:15:36 -----------> git rev-list -1 --merges 67546bc4332c3d264001c22ba45d6c898bd1fa71~1..67546bc4332c3d264001c22ba45d6c898bd1fa71 67546bc4332c3d264001c22ba45d6c898bd1fa71 20:15:36 67546bc4332c3d264001c22ba45d6c898bd1fa71 [false] [Pipeline] sh 20:15:37 + git log --format=format:%s -1 67546bc4332c3d264001c22ba45d6c898bd1fa71 [Pipeline] echo 20:15:37 ========================================================= 20:15:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:15:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:37 + git log --format=format:%s -1 67546bc4332c3d264001c22ba45d6c898bd1fa71 [Pipeline] echo 20:15:37 [semverPrep] GIT_COMMIT: 67546bc4332c3d264001c22ba45d6c898bd1fa71, Commit Message: Merge remote-tracking branch 'edgex/main' into discovery-probe [Pipeline] echo 20:15:37 [semverPrep] This is not a build commit. [Pipeline] sh 20:15:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:15:37 + grep -v github /etc/ssh/ssh_known_hosts 20:15:37 + [ -e /tmp/ssh_known_hosts ] 20:15:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:15:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:15:37 + sudo tee -a /etc/ssh/ssh_known_hosts 20:15:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:15:38 20:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:15:38 latest: Pulling from edgex-devops/py-git-semver 20:15:38 1fe172e4850f: Pulling fs layer 20:15:38 caf521ccaac6: Pulling fs layer 20:15:38 3ead6fa29328: Pulling fs layer 20:15:38 5c2a1cbceb83: Pulling fs layer 20:15:38 a8d5f1318db7: Pulling fs layer 20:15:38 c427282e49a2: Pulling fs layer 20:15:38 1827001aaf11: Pulling fs layer 20:15:38 5c2a1cbceb83: Waiting 20:15:38 a8d5f1318db7: Waiting 20:15:38 0714d37db230: Pulling fs layer 20:15:38 ac28cf19c067: Pulling fs layer 20:15:38 ca983d60f3e2: Pulling fs layer 20:15:38 9f894cec8388: Pulling fs layer 20:15:38 ca983d60f3e2: Waiting 20:15:38 0714d37db230: Waiting 20:15:38 c427282e49a2: Waiting 20:15:38 1827001aaf11: Waiting 20:15:38 ac28cf19c067: Waiting 20:15:38 caf521ccaac6: Verifying Checksum 20:15:38 caf521ccaac6: Download complete 20:15:38 5c2a1cbceb83: Verifying Checksum 20:15:38 5c2a1cbceb83: Download complete 20:15:38 3ead6fa29328: Verifying Checksum 20:15:38 3ead6fa29328: Download complete 20:15:38 a8d5f1318db7: Verifying Checksum 20:15:38 a8d5f1318db7: Download complete 20:15:38 c427282e49a2: Download complete 20:15:38 0714d37db230: Verifying Checksum 20:15:38 0714d37db230: Download complete 20:15:38 ac28cf19c067: Verifying Checksum 20:15:38 ac28cf19c067: Download complete 20:15:38 ca983d60f3e2: Download complete 20:15:38 9f894cec8388: Download complete 20:15:38 1fe172e4850f: Verifying Checksum 20:15:38 1fe172e4850f: Download complete 20:15:39 1827001aaf11: Verifying Checksum 20:15:39 1827001aaf11: Download complete 20:15:40 1fe172e4850f: Pull complete 20:15:40 caf521ccaac6: Pull complete 20:15:40 3ead6fa29328: Pull complete 20:15:40 5c2a1cbceb83: Pull complete 20:15:41 a8d5f1318db7: Pull complete 20:15:41 c427282e49a2: Pull complete 20:15:43 1827001aaf11: Pull complete 20:15:43 0714d37db230: Pull complete 20:15:43 ac28cf19c067: Pull complete 20:15:43 ca983d60f3e2: Pull complete 20:15:43 9f894cec8388: Pull complete 20:15:43 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:15:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:15:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:15:43 prd-ubuntu20.04-docker-8c-8g-64220 does not seem to be running inside a container 20:15:43 $ 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:15:44 $ docker top 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 -eo pid,comm 20:15:44 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:15:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:15:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:45 [ssh-agent] Looking for ssh-agent implementation... 20:15:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:45 $ docker exec 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 ssh-agent 20:15:45 SSH_AUTH_SOCK=/tmp/ssh-Fwud74HZMvT3/agent.33 20:15:45 SSH_AGENT_PID=39 20:15:45 Running ssh-add (command line suppressed) 20:15:45 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_5331981486644393091.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_5331981486644393091.key) 20:15:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:45 + git tag --points-at HEAD [Pipeline] } 20:15:45 $ docker exec --env ******** --env ******** 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 ssh-agent -k 20:15:45 unset SSH_AUTH_SOCK; 20:15:45 unset SSH_AGENT_PID; 20:15:45 echo Agent pid 39 killed; 20:15:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:15:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:45 [ssh-agent] Looking for ssh-agent implementation... 20:15:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:45 $ docker exec 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 ssh-agent 20:15:46 SSH_AUTH_SOCK=/tmp/ssh-RpgdOrxyI39f/agent.72 20:15:46 SSH_AGENT_PID=79 20:15:46 Running ssh-add (command line suppressed) 20:15:46 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2410092850284030430.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2410092850284030430.key) 20:15:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:46 + git semver init 20:15:46 2022-05-20 20:15:46,746 [run_init] DEBUG init version:0.0.0 force:False 20:15:46 2022-05-20 20:15:46,747 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 20:15:46 2022-05-20 20:15:46,747 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 20:15:46 2022-05-20 20:15:46,747 [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:15:47 2022-05-20 20:15:47,393 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 20:15:47 2022-05-20 20:15:47,393 [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:15:47 2022-05-20 20:15:47,394 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 20:15:47 2022-05-20 20:15:47,394 [write_version] DEBUG version is same as current version 0.0.0 20:15:47 2022-05-20 20:15:47,394 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 20:15:47 0.0.0 [Pipeline] } 20:15:47 $ docker exec --env ******** --env ******** 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 ssh-agent -k 20:15:47 unset SSH_AUTH_SOCK; 20:15:47 unset SSH_AGENT_PID; 20:15:47 echo Agent pid 79 killed; 20:15:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:15:48 + git semver [Pipeline] } 20:15:48 $ docker stop --time=1 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 20:15:49 $ docker rm -f 39d9071cde5b71a14724508c57ef9696748bc866fa3d04e5f1b3109a2c509f91 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:15:50 Stashed 1 file(s) [Pipeline] echo 20:15:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:50 provisioning config files... 20:15:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config664573446137416028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:50 ---> docker-login.sh 20:15:50 nexus3.edgexfoundry.org:10001 20:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:50 Configure a credential helper to remove this warning. See 20:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:50 20:15:50 Login Succeeded 20:15:50 nexus3.edgexfoundry.org:10002 20:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:50 Configure a credential helper to remove this warning. See 20:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:50 20:15:50 Login Succeeded 20:15:51 nexus3.edgexfoundry.org:10003 20:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:51 Configure a credential helper to remove this warning. See 20:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:51 20:15:51 Login Succeeded 20:15:51 nexus3.edgexfoundry.org:10004 20:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:51 Configure a credential helper to remove this warning. See 20:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:51 20:15:51 Login Succeeded 20:15:51 docker.io 20:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:51 Configure a credential helper to remove this warning. See 20:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:51 20:15:51 Login Succeeded 20:15:51 ---> docker-login.sh ends [Pipeline] } 20:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:15:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:51 ========================================================= 20:15:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:15:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:15:52 + 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:15:52 Sending build context to Docker daemon 8.79MB 20:15:52 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:15:52 Step 2/13 : FROM ${BASE} AS builder 20:15:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:15:52 59bf1c3509f3: Pulling fs layer 20:15:52 666ba61612fd: Pulling fs layer 20:15:52 8ed8ca486205: Pulling fs layer 20:15:52 4fe6c5a15a65: Pulling fs layer 20:15:52 22a0e8bec74d: Pulling fs layer 20:15:52 ca2b28591e48: Pulling fs layer 20:15:52 4fe6c5a15a65: Waiting 20:15:52 22a0e8bec74d: Waiting 20:15:52 ca2b28591e48: Waiting 20:15:52 a51346096db8: Pulling fs layer 20:15:52 daebc70d1ce1: Pulling fs layer 20:15:52 0e18a0eac166: Pulling fs layer 20:15:52 a51346096db8: Waiting 20:15:52 daebc70d1ce1: Waiting 20:15:52 0e18a0eac166: Waiting 20:15:52 8ed8ca486205: Download complete 20:15:52 666ba61612fd: Download complete 20:15:52 22a0e8bec74d: Download complete 20:15:52 59bf1c3509f3: Download complete 20:15:52 ca2b28591e48: Verifying Checksum 20:15:52 ca2b28591e48: Download complete 20:15:52 a51346096db8: Download complete 20:15:52 daebc70d1ce1: Verifying Checksum 20:15:52 daebc70d1ce1: Download complete 20:15:52 59bf1c3509f3: Pull complete 20:15:52 666ba61612fd: Pull complete 20:15:52 8ed8ca486205: Pull complete 20:15:52 0e18a0eac166: Verifying Checksum 20:15:52 0e18a0eac166: Download complete 20:15:52 4fe6c5a15a65: Download complete 20:15:56 4fe6c5a15a65: Pull complete 20:15:56 22a0e8bec74d: Pull complete 20:15:56 ca2b28591e48: Pull complete 20:15:56 a51346096db8: Pull complete 20:15:56 daebc70d1ce1: Pull complete 20:15:58 0e18a0eac166: Pull complete 20:15:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:15:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:15:58 ---> f018257e8ee9 20:15:58 Step 3/13 : ARG MAKE="make build" 20:16:00 ---> Running in 0c71939cea38 20:16:00 Removing intermediate container 0c71939cea38 20:16:00 ---> 8fcb96ea3b11 20:16:00 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:16:00 ---> Running in 8bbcacc547fd 20:16:00 Removing intermediate container 8bbcacc547fd 20:16:00 ---> 14a81ba8e482 20:16:00 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:16:00 ---> Running in 344e4890d007 20:16:00 Removing intermediate container 344e4890d007 20:16:00 ---> c87eb7d694a1 20:16:00 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:16:01 ---> Running in 1fc15ae4f679 20:16:01 Removing intermediate container 1fc15ae4f679 20:16:01 ---> 5790d165687c 20:16:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:16:01 ---> Running in df2e7798b729 20:16:01 Removing intermediate container df2e7798b729 20:16:01 ---> 23dd1292c371 20:16:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:01 ---> Running in b2a1a202f509 20:16:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:16:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:16:03 OK: 221 MiB in 52 packages 20:16:03 Removing intermediate container b2a1a202f509 20:16:03 ---> 98c828d02337 20:16:03 Step 9/13 : WORKDIR /device-onvif-camera 20:16:03 ---> Running in bc2499b78f43 20:16:03 Removing intermediate container bc2499b78f43 20:16:03 ---> c12c255adb76 20:16:03 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:16:03 ---> 66af4fbdcd98 20:16:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:03 ---> Running in 6741fd15ba55 20:16:04 Removing intermediate container 6741fd15ba55 20:16:04 ---> c2f758d20e66 20:16:04 Step 12/13 : COPY . . 20:16:04 ---> 5587e2358246 20:16:04 Step 13/13 : RUN ${MAKE} 20:16:05 ---> Running in 2a14322d9810 20:16:05 noop 20:16:05 Still waiting to schedule task 20:16:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:16:05 Removing intermediate container 2a14322d9810 20:16:05 ---> 72a72e064386 20:16:05 Successfully built 72a72e064386 20:16:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:16:05 + docker inspect -f . ci-base-image-x86_64 20:16:05 . [Pipeline] withDockerContainer 20:16:05 prd-ubuntu20.04-docker-8c-8g-64220 does not seem to be running inside a container 20:16:05 $ 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:16:06 $ docker top 7bedf06470f3b5f67f534b064edb29cee5f431612f3c6f1daf2194b58bd1c51a -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:06 + go version 20:16:06 go version go1.17.6 linux/amd64 [Pipeline] } 20:16:06 $ docker stop --time=1 7bedf06470f3b5f67f534b064edb29cee5f431612f3c6f1daf2194b58bd1c51a 20:16:08 $ docker rm -f 7bedf06470f3b5f67f534b064edb29cee5f431612f3c6f1daf2194b58bd1c51a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:16:08 + docker inspect -f . ci-base-image-x86_64 20:16:08 . [Pipeline] withDockerContainer 20:16:08 prd-ubuntu20.04-docker-8c-8g-64220 does not seem to be running inside a container 20:16:08 $ 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:16:08 $ docker top 994e6222aab64ba54dd6749260d70377fbef01f053ce650cc6de0ae9c6d8fa58 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:16:09 + make test 20:16:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:16:09 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:16:09 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:16:09 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:16:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:16:09 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:16:09 go: downloading github.com/gorilla/mux v1.8.0 20:16:09 go: downloading github.com/stretchr/testify v1.7.1 20:16:09 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:16:09 go: downloading github.com/beevik/etree v1.1.0 20:16:09 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:16:09 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:16:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:16:09 go: downloading github.com/google/uuid v1.3.0 20:16:09 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:16:10 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:16:10 go: downloading github.com/davecgh/go-spew v1.1.1 20:16:10 go: downloading github.com/pmezard/go-difflib v1.0.0 20:16:10 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:16:10 go: downloading github.com/go-kit/log v0.2.0 20:16:10 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:16:10 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:16:10 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:16:10 go: downloading github.com/pelletier/go-toml v1.9.4 20:16:10 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:16:10 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:16:10 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:16:10 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:16:10 go: downloading github.com/hashicorp/errwrap v1.0.0 20:16:10 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:16:10 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:16:10 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:16:10 go: downloading github.com/go-playground/universal-translator v0.18.0 20:16:10 go: downloading github.com/leodido/go-urn v1.2.1 20:16:10 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:16:10 go: downloading golang.org/x/text v0.3.7 20:16:10 go: downloading github.com/hashicorp/consul/api v1.9.1 20:16:10 go: downloading github.com/zeebo/errs v1.2.2 20:16:10 go: downloading google.golang.org/grpc v1.42.0 20:16:10 go: downloading github.com/x448/float16 v0.8.4 20:16:10 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:16:10 go: downloading google.golang.org/protobuf v1.27.1 20:16:10 go: downloading github.com/go-playground/locales v0.14.0 20:16:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:16:10 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:16:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:16:10 go: downloading github.com/hashicorp/serf v0.9.5 20:16:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:16:10 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:16:10 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:16:10 go: downloading github.com/pebbe/zmq4 v1.2.7 20:16:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:16:10 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:16:10 go: downloading github.com/fatih/color v1.9.0 20:16:10 go: downloading github.com/mattn/go-isatty v0.0.12 20:16:10 go: downloading github.com/gorilla/websocket v1.4.2 20:16:10 go: downloading github.com/golang/protobuf v1.5.2 20:16:10 go: downloading github.com/mattn/go-colorable v0.1.6 20:16:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:16:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:16:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:16:10 go: downloading github.com/mitchellh/copystructure v1.0.0 20:16:10 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:16:10 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:16:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:16:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:16:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.013s coverage: 0.9% of statements 20:16:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:16:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:16:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:16:33 ./bin/test-attribution-txt.sh 20:16:33 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 20:16:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:16:33 $ docker stop --time=1 994e6222aab64ba54dd6749260d70377fbef01f053ce650cc6de0ae9c6d8fa58 20:16:37 $ docker rm -f 994e6222aab64ba54dd6749260d70377fbef01f053ce650cc6de0ae9c6d8fa58 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:16:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:16:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:16:39 + ls -al . 20:16:39 total 224 20:16:39 drwxrwxr-x 10 jenkins jenkins 4096 May 20 20:16 . 20:16:39 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:15 .. 20:16:39 drwxrwxr-x 8 jenkins jenkins 4096 May 20 20:15 .git 20:16:39 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:15 .github 20:16:39 -rw-rw-r-- 1 jenkins jenkins 352 May 20 20:15 .gitignore 20:16:39 -rw-rw-r-- 1 jenkins jenkins 42 May 20 20:15 .golangci.yml 20:16:39 drwxr-xr-x 3 jenkins jenkins 4096 May 20 20:15 .semver 20:16:39 -rw-rw-r-- 1 jenkins jenkins 9415 May 20 20:15 Attribution.txt 20:16:39 -rw-rw-r-- 1 jenkins jenkins 189 May 20 20:15 CHANGELOG.md 20:16:39 -rw-rw-r-- 1 jenkins jenkins 1686 May 20 20:15 Dockerfile 20:16:39 -rw-rw-r-- 1 jenkins jenkins 677 May 20 20:15 GOVERNANCE.md 20:16:39 -rw-rw-r-- 1 jenkins jenkins 660 May 20 20:15 Jenkinsfile 20:16:39 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 20:15 LICENSE 20:16:39 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 20:15 Makefile 20:16:39 -rw-rw-r-- 1 jenkins jenkins 625 May 20 20:15 OWNERS.md 20:16:39 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 20:15 README.md 20:16:39 -rw-rw-r-- 1 jenkins jenkins 5 May 20 20:15 VERSION 20:16:39 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:15 bin 20:16:39 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:15 cmd 20:16:39 -rw-r--r-- 1 jenkins jenkins 42596 May 20 20:16 coverage.out 20:16:39 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:15 doc 20:16:39 -rw-rw-r-- 1 jenkins jenkins 3716 May 20 20:15 go.mod 20:16:39 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 20:15 go.sum 20:16:39 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:15 internal 20:16:39 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:15 pkg 20:16:39 -rw-rw-r-- 1 jenkins jenkins 236 May 20 20:15 version.go [Pipeline] isUnix [Pipeline] sh 20:16:39 + 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=67546bc4332c3d264001c22ba45d6c898bd1fa71 --label arch=amd64 --label version=0.0.0 . 20:16:39 Sending build context to Docker daemon 8.834MB 20:16:39 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:16:39 Step 2/26 : FROM ${BASE} AS builder 20:16:39 ---> 72a72e064386 20:16:39 Step 3/26 : ARG MAKE="make build" 20:16:39 ---> Running in 0d9996556cf9 20:16:40 Removing intermediate container 0d9996556cf9 20:16:40 ---> 2edf70e0e68a 20:16:40 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:16:40 ---> Running in 19c812b21c8b 20:16:40 Removing intermediate container 19c812b21c8b 20:16:40 ---> af73b8947ab6 20:16:40 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:16:40 ---> Running in d10c5f873912 20:16:40 Removing intermediate container d10c5f873912 20:16:40 ---> 717abe53928c 20:16:40 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:16:40 ---> Running in d727140e6b31 20:16:40 Removing intermediate container d727140e6b31 20:16:40 ---> 6e75d0b311de 20:16:40 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:16:40 ---> Running in ac68a58b6b92 20:16:41 Removing intermediate container ac68a58b6b92 20:16:41 ---> 24f006fbb0c6 20:16:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:41 ---> Running in 1944129c1761 20:16:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:16:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:16:42 OK: 221 MiB in 52 packages 20:16:42 Removing intermediate container 1944129c1761 20:16:42 ---> fe005ff8b975 20:16:42 Step 9/26 : WORKDIR /device-onvif-camera 20:16:42 ---> Running in c59f4bf890cb 20:16:43 Removing intermediate container c59f4bf890cb 20:16:43 ---> 0242fddb4ace 20:16:43 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:16:43 ---> 867931631813 20:16:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:43 ---> Running in bd680e1313e4 20:16:43 Removing intermediate container bd680e1313e4 20:16:43 ---> 3f3c55db3cc8 20:16:43 Step 12/26 : COPY . . 20:16:44 ---> c612333ac9b5 20:16:44 Step 13/26 : RUN ${MAKE} 20:16:44 ---> Running in fa3556497f99 20:16:44 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:16:44 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:16:44 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:16:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:16:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:16:44 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:16:44 go: downloading github.com/gorilla/mux v1.8.0 20:16:44 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:16:44 go: downloading github.com/beevik/etree v1.1.0 20:16:44 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:16:44 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:16:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:16:44 go: downloading github.com/google/uuid v1.3.0 20:16:44 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:16:44 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:16:44 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:16:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:16:44 go: downloading github.com/pelletier/go-toml v1.9.4 20:16:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:16:44 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:16:44 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:16:44 go: downloading github.com/go-kit/log v0.2.0 20:16:44 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:16:44 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:16:44 go: downloading github.com/hashicorp/errwrap v1.0.0 20:16:44 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:16:44 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:16:44 go: downloading github.com/hashicorp/consul/api v1.9.1 20:16:44 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:16:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:16:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:16:44 go: downloading github.com/pebbe/zmq4 v1.2.7 20:16:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:16:44 go: downloading github.com/x448/float16 v0.8.4 20:16:44 go: downloading github.com/go-playground/universal-translator v0.18.0 20:16:44 go: downloading github.com/leodido/go-urn v1.2.1 20:16:44 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:16:44 go: downloading golang.org/x/text v0.3.7 20:16:44 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:16:44 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:16:44 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:16:44 go: downloading github.com/hashicorp/serf v0.9.5 20:16:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:16:44 go: downloading github.com/zeebo/errs v1.2.2 20:16:44 go: downloading google.golang.org/grpc v1.42.0 20:16:45 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:16:45 go: downloading github.com/mitchellh/copystructure v1.0.0 20:16:45 go: downloading github.com/gorilla/websocket v1.4.2 20:16:45 go: downloading github.com/go-playground/locales v0.14.0 20:16:45 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:16:45 go: downloading google.golang.org/protobuf v1.27.1 20:16:45 go: downloading github.com/fatih/color v1.9.0 20:16:45 go: downloading github.com/mattn/go-isatty v0.0.12 20:16:45 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:16:45 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:16:45 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:16:45 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:16:45 go: downloading github.com/mattn/go-colorable v0.1.6 20:16:45 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:16:45 go: downloading github.com/golang/protobuf v1.5.2 20:16:45 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:17:11 Removing intermediate container fa3556497f99 20:17:11 ---> 7a97464e80dd 20:17:11 Step 14/26 : FROM alpine:3.15 20:17:12 3.15: Pulling from library/alpine 20:17:12 df9b9388f04a: Pulling fs layer 20:17:12 df9b9388f04a: Verifying Checksum 20:17:12 df9b9388f04a: Download complete 20:17:12 df9b9388f04a: Pull complete 20:17:12 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 20:17:12 Status: Downloaded newer image for alpine:3.15 20:17:12 ---> 0ac33e5f5afa 20:17:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:17:13 ---> Running in 0536b6ca8aeb 20:17:13 Removing intermediate container 0536b6ca8aeb 20:17:13 ---> 9e60005aaf5d 20:17:13 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:17:13 ---> Running in 22a18c4d5924 20:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:17:13 (1/6) Installing dumb-init (1.2.5-r1) 20:17:13 (2/6) Installing libgcc (10.3.1_git20211027-r0) 20:17:13 (3/6) Installing libsodium (1.0.18-r0) 20:17:13 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 20:17:13 (5/6) Installing libzmq (4.3.4-r0) 20:17:13 (6/6) Installing zeromq (4.3.4-r0) 20:17:13 Executing busybox-1.34.1-r5.trigger 20:17:13 OK: 8 MiB in 20 packages 20:17:14 Removing intermediate container 22a18c4d5924 20:17:14 ---> ffef1e1f5313 20:17:14 Step 17/26 : WORKDIR / 20:17:14 ---> Running in d36fc810a879 20:17:14 Removing intermediate container d36fc810a879 20:17:14 ---> fe16646b43ee 20:17:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:17:14 ---> 2ff99425fa64 20:17:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:17:15 ---> 9ead06fa5fd5 20:17:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:17:15 ---> cbffea8da661 20:17:15 Step 21/26 : EXPOSE 59984 20:17:15 ---> Running in 3bd85203b41d 20:17:15 Removing intermediate container 3bd85203b41d 20:17:15 ---> 0f62f8fa7177 20:17:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:17:15 ---> Running in 2eae5267b49f 20:17:15 Removing intermediate container 2eae5267b49f 20:17:15 ---> c9eab663355e 20:17:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:17:15 ---> Running in ad2560d218b3 20:17:15 Removing intermediate container ad2560d218b3 20:17:15 ---> ae1f7ead571e 20:17:15 Step 24/26 : LABEL arch=amd64 20:17:15 ---> Running in 47f431783610 20:17:15 Removing intermediate container 47f431783610 20:17:15 ---> 63da703f4376 20:17:15 Step 25/26 : LABEL git_sha=67546bc4332c3d264001c22ba45d6c898bd1fa71 20:17:16 ---> Running in a9eeefacb31b 20:17:16 Removing intermediate container a9eeefacb31b 20:17:16 ---> f4efc6503417 20:17:16 Step 26/26 : LABEL version=0.0.0 20:17:16 ---> Running in ad712b6b5220 20:17:16 Removing intermediate container ad712b6b5220 20:17:16 ---> 238cec28b4f6 20:17:16 [Warning] One or more build-args [ARCH] were not consumed 20:17:16 Successfully built 238cec28b4f6 20:17:16 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:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:16 20:17:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:17:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:16 latest: Pulling from edgex-lftools-log-publisher 20:17:16 5eb5b503b376: Pulling fs layer 20:17:16 5c69ac0246d0: Pulling fs layer 20:17:16 ec43610c2a17: Pulling fs layer 20:17:16 3a2ae6a8a46f: Pulling fs layer 20:17:16 33b1e0a273af: Pulling fs layer 20:17:16 5d3b04190fa2: Pulling fs layer 20:17:16 2f39f015ded8: Pulling fs layer 20:17:16 3a2ae6a8a46f: Waiting 20:17:16 5d3b04190fa2: Waiting 20:17:16 2f39f015ded8: Waiting 20:17:16 5c69ac0246d0: Download complete 20:17:16 3a2ae6a8a46f: Verifying Checksum 20:17:16 3a2ae6a8a46f: Download complete 20:17:16 33b1e0a273af: Verifying Checksum 20:17:16 33b1e0a273af: Download complete 20:17:16 5d3b04190fa2: Verifying Checksum 20:17:16 5d3b04190fa2: Download complete 20:17:16 ec43610c2a17: Verifying Checksum 20:17:16 ec43610c2a17: Download complete 20:17:16 5eb5b503b376: Verifying Checksum 20:17:16 5eb5b503b376: Download complete 20:17:17 2f39f015ded8: Download complete 20:17:18 5eb5b503b376: Pull complete 20:17:18 5c69ac0246d0: Pull complete 20:17:18 ec43610c2a17: Pull complete 20:17:18 3a2ae6a8a46f: Pull complete 20:17:18 33b1e0a273af: Pull complete 20:17:19 5d3b04190fa2: Pull complete 20:17:23 2f39f015ded8: Pull complete 20:17:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:17:23 prd-ubuntu20.04-docker-8c-8g-64220 does not seem to be running inside a container 20:17:23 $ 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:17:25 $ docker top 4b05bd8b25ee1f40afec1f477614c535e787d7c89b3c506e128aef4ec2cb141b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:25 ---> job-cost.sh 20:17:25 lf-activate-venv: SKIPPING 20:17:25 INFO: No Stack... 20:17:26 INFO: Retrieving Pricing Info for: v3-standard-8 20:17:27 INFO: Archiving Costs [Pipeline] sh 20:17:27 + + cut -d, -f6 20:17:27 cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv [Pipeline] lock 20:17:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] 20:17:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] did not exist. Created. 20:17:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:17:27 + echo total: 0.2199999988079071 [Pipeline] stash 20:17:27 Stashed 1 file(s) [Pipeline] } 20:17:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:17:27 $ docker stop --time=1 4b05bd8b25ee1f40afec1f477614c535e787d7c89b3c506e128aef4ec2cb141b 20:17:28 $ docker rm -f 4b05bd8b25ee1f40afec1f477614c535e787d7c89b3c506e128aef4ec2cb141b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:17:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64221 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 20:17:40 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 20:17:40 Selected Git installation does not exist. Using Default 20:17:40 The recommended git tool is: NONE 20:17:46 using credential edgex-jenkins-ssh 20:17:46 Cloning the remote Git repository 20:17:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:17:47 > git init /w/workspace/device-onvif-camera/8 # timeout=10 20:17:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:17:47 > git --version # timeout=10 20:17:47 > git --version # 'git version 2.25.1' 20:17:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:17:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:17:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:48 > 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:48 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 67546bc4332c3d264001c22ba45d6c898bd1fa71 20:17:48 Merge succeeded, producing 67546bc4332c3d264001c22ba45d6c898bd1fa71 20:17:48 Checking out Revision 67546bc4332c3d264001c22ba45d6c898bd1fa71 (PR-65) 20:17:48 > git config core.sparsecheckout # timeout=10 20:17:48 > git checkout -f 67546bc4332c3d264001c22ba45d6c898bd1fa71 # timeout=10 20:17:48 > git remote # timeout=10 20:17:48 > git config --get remote.origin.url # timeout=10 20:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:48 > git merge 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 20:17:48 > git rev-parse HEAD^{commit} # timeout=10 20:17:48 > git config core.sparsecheckout # timeout=10 20:17:48 > git checkout -f 67546bc4332c3d264001c22ba45d6c898bd1fa71 # timeout=10 20:17:53 Commit message: "Merge remote-tracking branch 'edgex/main' into discovery-probe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:17:54 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:54 Dload Upload Total Spent Left Speed 20:17:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 42693 0 --:--:-- --:--:-- --:--:-- 42693 [Pipeline] sh 20:17:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:17:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:17:55 + sudo tee /etc/docker/daemon.new 20:17:55 { 20:17:55 "registry-mirrors": [ 20:17:55 "https://nexus3.edgexfoundry.org:10001" 20:17:55 ], 20:17:55 "bip": "10.250.0.254/24", 20:17:55 "hosts": [ 20:17:55 "tcp://0.0.0.0:5555", 20:17:55 "unix:///var/run/docker.sock" 20:17:55 ], 20:17:55 "mtu": 1458, 20:17:55 "selinux-enabled": true, 20:17:55 "seccomp-profile": "/etc/docker/seccomp.json" 20:17:55 } [Pipeline] sh 20:17:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:14 provisioning config files... 20:18:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config9202858025946595905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:14 ---> docker-login.sh 20:18:14 nexus3.edgexfoundry.org:10001 20:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:15 Configure a credential helper to remove this warning. See 20:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:15 20:18:15 Login Succeeded 20:18:15 nexus3.edgexfoundry.org:10002 20:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:15 Configure a credential helper to remove this warning. See 20:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:15 20:18:15 Login Succeeded 20:18:15 nexus3.edgexfoundry.org:10003 20:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:16 Configure a credential helper to remove this warning. See 20:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:16 20:18:16 Login Succeeded 20:18:16 nexus3.edgexfoundry.org:10004 20:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:16 Configure a credential helper to remove this warning. See 20:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:16 20:18:16 Login Succeeded 20:18:16 docker.io 20:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:17 Configure a credential helper to remove this warning. See 20:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:17 20:18:17 Login Succeeded 20:18:17 ---> docker-login.sh ends [Pipeline] } 20:18:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:18 ========================================================= 20:18:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:18:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:18:18 + 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:18 Sending build context to Docker daemon 6.065MB 20:18:19 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:18:19 Step 2/13 : FROM ${BASE} AS builder 20:18:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:19 9b3977197b4f: Pulling fs layer 20:18:19 1a89e8eeedd5: Pulling fs layer 20:18:19 94645a83ff95: Pulling fs layer 20:18:19 3f3a8bcf1eab: Pulling fs layer 20:18:19 0c92f367c5e7: Pulling fs layer 20:18:19 3096ccb668a1: Pulling fs layer 20:18:19 e8cf19c19ddd: Pulling fs layer 20:18:19 a4caa8a26152: Pulling fs layer 20:18:19 3f3a8bcf1eab: Waiting 20:18:19 0c92f367c5e7: Waiting 20:18:19 3096ccb668a1: Waiting 20:18:19 e8cf19c19ddd: Waiting 20:18:19 a4caa8a26152: Waiting 20:18:19 94645a83ff95: Verifying Checksum 20:18:19 94645a83ff95: Download complete 20:18:19 1a89e8eeedd5: Verifying Checksum 20:18:19 1a89e8eeedd5: Download complete 20:18:19 0c92f367c5e7: Download complete 20:18:19 3096ccb668a1: Verifying Checksum 20:18:19 3096ccb668a1: Download complete 20:18:19 9b3977197b4f: Verifying Checksum 20:18:19 9b3977197b4f: Download complete 20:18:19 e8cf19c19ddd: Verifying Checksum 20:18:19 e8cf19c19ddd: Download complete 20:18:20 9b3977197b4f: Pull complete 20:18:20 1a89e8eeedd5: Pull complete 20:18:20 94645a83ff95: Pull complete 20:18:21 a4caa8a26152: Verifying Checksum 20:18:21 a4caa8a26152: Download complete 20:18:21 3f3a8bcf1eab: Verifying Checksum 20:18:21 3f3a8bcf1eab: Download complete 20:18:34 3f3a8bcf1eab: Pull complete 20:18:34 0c92f367c5e7: Pull complete 20:18:34 3096ccb668a1: Pull complete 20:18:34 e8cf19c19ddd: Pull complete 20:18:41 a4caa8a26152: Pull complete 20:18:41 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:18:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:18:41 ---> 725f1c02e7f9 20:18:41 Step 3/13 : ARG MAKE="make build" 20:18:41 ---> Running in 8df21530f891 20:18:42 Removing intermediate container 8df21530f891 20:18:42 ---> 6d060aff6482 20:18:42 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:18:42 ---> Running in c339a0a9cfab 20:18:42 Removing intermediate container c339a0a9cfab 20:18:42 ---> ba36c9434388 20:18:42 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 20:18:42 ---> Running in 0e10a98503de 20:18:42 Removing intermediate container 0e10a98503de 20:18:42 ---> 336758a6966f 20:18:42 Step 6/13 : LABEL Name=edgex-device-onvif-camera 20:18:42 ---> Running in 4bb2ae2f3f25 20:18:43 Removing intermediate container 4bb2ae2f3f25 20:18:43 ---> 3a528bcc9a74 20:18:43 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:43 ---> Running in 73134c40ce81 20:18:45 Removing intermediate container 73134c40ce81 20:18:45 ---> eefb8db9a6ce 20:18:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:45 ---> Running in 5d8f84d897e5 20:18:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:18:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:18:49 OK: 220 MiB in 52 packages 20:18:50 Removing intermediate container 5d8f84d897e5 20:18:50 ---> 5d6af79d825d 20:18:50 Step 9/13 : WORKDIR /device-onvif-camera 20:18:50 ---> Running in 50d9899b8c59 20:18:50 Removing intermediate container 50d9899b8c59 20:18:50 ---> 8a3f0a068106 20:18:50 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:18:51 ---> ccfbd6f20b31 20:18:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:51 ---> Running in 124cc51d97b6 20:18:53 Removing intermediate container 124cc51d97b6 20:18:53 ---> 9fec80ac0747 20:18:53 Step 12/13 : COPY . . 20:18:54 ---> 7a2083762369 20:18:54 Step 13/13 : RUN ${MAKE} 20:18:54 ---> Running in 4e91700b8076 20:18:55 noop 20:18:55 Removing intermediate container 4e91700b8076 20:18:55 ---> bab819785d36 20:18:55 Successfully built bab819785d36 20:18:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:18:55 + docker inspect -f . ci-base-image-arm64 20:18:55 . [Pipeline] withDockerContainer 20:18:56 prd-ubuntu20.04-docker-arm64-4c-16g-64221 does not seem to be running inside a container 20:18:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:18:57 $ docker top 10248a3d8619f83c21fa2b359ec9c264e2e7a121b8af309a36d608d82876e93a -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:58 + go version 20:18:58 go version go1.17.6 linux/arm64 [Pipeline] } 20:18:58 $ docker stop --time=1 10248a3d8619f83c21fa2b359ec9c264e2e7a121b8af309a36d608d82876e93a 20:19:00 $ docker rm -f 10248a3d8619f83c21fa2b359ec9c264e2e7a121b8af309a36d608d82876e93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:00 + docker inspect -f . ci-base-image-arm64 20:19:00 . [Pipeline] withDockerContainer 20:19:00 prd-ubuntu20.04-docker-arm64-4c-16g-64221 does not seem to be running inside a container 20:19:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:19:02 $ docker top b618ff62b34e73a2388e2a8d2abe08ec6c6af9a1bef3f0cd26e40c1fa0f11768 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:19:03 + make test 20:19:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:19:03 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:19:03 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:19:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:19:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:19:04 go: downloading github.com/gorilla/mux v1.8.0 20:19:04 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:19:04 go: downloading github.com/stretchr/testify v1.7.1 20:19:04 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:19:04 go: downloading github.com/beevik/etree v1.1.0 20:19:04 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:19:04 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:19:04 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:19:04 go: downloading github.com/google/uuid v1.3.0 20:19:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:19:04 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:19:04 go: downloading github.com/go-kit/log v0.2.0 20:19:04 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:19:04 go: downloading github.com/davecgh/go-spew v1.1.1 20:19:04 go: downloading github.com/pmezard/go-difflib v1.0.0 20:19:04 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:19:04 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:19:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:19:04 go: downloading github.com/pelletier/go-toml v1.9.4 20:19:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:19:04 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:19:04 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:19:04 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:19:04 go: downloading github.com/hashicorp/errwrap v1.0.0 20:19:04 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:19:04 go: downloading github.com/go-playground/universal-translator v0.18.0 20:19:04 go: downloading github.com/leodido/go-urn v1.2.1 20:19:04 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:19:05 go: downloading golang.org/x/text v0.3.7 20:19:05 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:19:05 go: downloading github.com/hashicorp/consul/api v1.9.1 20:19:05 go: downloading github.com/x448/float16 v0.8.4 20:19:05 go: downloading github.com/zeebo/errs v1.2.2 20:19:05 go: downloading google.golang.org/grpc v1.42.0 20:19:06 go: downloading github.com/go-playground/locales v0.14.0 20:19:06 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:19:06 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:19:06 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:19:07 go: downloading github.com/pebbe/zmq4 v1.2.7 20:19:07 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:19:07 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:19:07 go: downloading google.golang.org/protobuf v1.27.1 20:19:08 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:19:08 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:19:08 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:19:08 go: downloading github.com/hashicorp/serf v0.9.5 20:19:08 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:19:08 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:19:08 go: downloading github.com/gorilla/websocket v1.4.2 20:19:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:19:08 go: downloading github.com/mitchellh/copystructure v1.0.0 20:19:08 go: downloading github.com/fatih/color v1.9.0 20:19:08 go: downloading github.com/mattn/go-isatty v0.0.12 20:19:09 go: downloading github.com/golang/protobuf v1.5.2 20:19:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:19:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:19:09 go: downloading github.com/mattn/go-colorable v0.1.6 20:19:09 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:19:09 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:19:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:20:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:20:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.073s coverage: 0.9% of statements 20:20:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:20:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:10 ./bin/test-attribution-txt.sh 20:21:10 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 20:21:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:10 $ docker stop --time=1 b618ff62b34e73a2388e2a8d2abe08ec6c6af9a1bef3f0cd26e40c1fa0f11768 20:21:12 $ docker rm -f b618ff62b34e73a2388e2a8d2abe08ec6c6af9a1bef3f0cd26e40c1fa0f11768 [Pipeline] // withDockerContainer [Pipeline] sh 20:21:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:14 Warning: overwriting stash ‘coverage-report’ 20:21:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:21:16 + ls -al . 20:21:16 total 220 20:21:16 drwxrwxr-x 9 jenkins jenkins 4096 May 20 20:21 . 20:21:16 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:17 .. 20:21:16 drwxrwxr-x 8 jenkins jenkins 4096 May 20 20:17 .git 20:21:16 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:17 .github 20:21:16 -rw-rw-r-- 1 jenkins jenkins 352 May 20 20:17 .gitignore 20:21:16 -rw-rw-r-- 1 jenkins jenkins 42 May 20 20:17 .golangci.yml 20:21:16 -rw-rw-r-- 1 jenkins jenkins 9415 May 20 20:17 Attribution.txt 20:21:16 -rw-rw-r-- 1 jenkins jenkins 189 May 20 20:17 CHANGELOG.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 1686 May 20 20:17 Dockerfile 20:21:16 -rw-rw-r-- 1 jenkins jenkins 677 May 20 20:17 GOVERNANCE.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 660 May 20 20:17 Jenkinsfile 20:21:16 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 20:17 LICENSE 20:21:16 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 20:17 Makefile 20:21:16 -rw-rw-r-- 1 jenkins jenkins 625 May 20 20:17 OWNERS.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 20:17 README.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 5 May 20 20:15 VERSION 20:21:16 drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:17 bin 20:21:16 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:17 cmd 20:21:16 -rw-r--r-- 1 jenkins jenkins 42596 May 20 20:20 coverage.out 20:21:16 drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:17 doc 20:21:16 -rw-rw-r-- 1 jenkins jenkins 3716 May 20 20:17 go.mod 20:21:16 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 20:17 go.sum 20:21:16 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:17 internal 20:21:16 drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:17 pkg 20:21:16 -rw-rw-r-- 1 jenkins jenkins 236 May 20 20:17 version.go [Pipeline] isUnix [Pipeline] sh 20:21:16 + 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=67546bc4332c3d264001c22ba45d6c898bd1fa71 --label arch=arm64 --label version=0.0.0 . 20:21:16 Sending build context to Docker daemon 6.109MB 20:21:17 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:21:17 Step 2/26 : FROM ${BASE} AS builder 20:21:17 ---> bab819785d36 20:21:17 Step 3/26 : ARG MAKE="make build" 20:21:17 ---> Running in c787c6534d9c 20:21:17 Removing intermediate container c787c6534d9c 20:21:17 ---> 29e8b92e7fe6 20:21:17 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:21:17 ---> Running in e43a1aab3ea0 20:21:17 Removing intermediate container e43a1aab3ea0 20:21:17 ---> 458463a3a98f 20:21:17 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:21:17 ---> Running in fba7327460a3 20:21:18 Removing intermediate container fba7327460a3 20:21:18 ---> 86b427b46da6 20:21:18 Step 6/26 : LABEL Name=edgex-device-onvif-camera 20:21:18 ---> Running in 3f9732f9a776 20:21:18 Removing intermediate container 3f9732f9a776 20:21:18 ---> 4b386824fefb 20:21:18 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:18 ---> Running in a3cb4f3503a4 20:21:20 Removing intermediate container a3cb4f3503a4 20:21:20 ---> 4ab572daffaa 20:21:20 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:20 ---> Running in 737d96927220 20:21:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:21:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:21:23 OK: 220 MiB in 52 packages 20:21:24 Removing intermediate container 737d96927220 20:21:24 ---> eab1c195d340 20:21:24 Step 9/26 : WORKDIR /device-onvif-camera 20:21:24 ---> Running in 91a3535261b9 20:21:24 Removing intermediate container 91a3535261b9 20:21:24 ---> 5941245da4d0 20:21:24 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 20:21:24 ---> 22f7817fa84d 20:21:24 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:24 ---> Running in ab3348965a57 20:21:26 Removing intermediate container ab3348965a57 20:21:26 ---> 4ce328427424 20:21:26 Step 12/26 : COPY . . 20:21:27 ---> d786c6c01562 20:21:27 Step 13/26 : RUN ${MAKE} 20:21:27 ---> Running in e7806fe0408f 20:21:28 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:28 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 20:21:28 go: downloading github.com/IOTechSystems/onvif v0.1.1 20:21:29 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 20:21:29 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 20:21:30 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 20:21:30 go: downloading github.com/gorilla/mux v1.8.0 20:21:30 go: downloading github.com/clbanning/mxj/v2 v2.3.2 20:21:30 go: downloading github.com/beevik/etree v1.1.0 20:21:30 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 20:21:30 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 20:21:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 20:21:30 go: downloading github.com/google/uuid v1.3.0 20:21:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 20:21:30 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:21:30 go: downloading github.com/go-kit/log v0.2.0 20:21:30 go: downloading github.com/go-playground/validator/v10 v10.10.1 20:21:30 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:21:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 20:21:30 go: downloading github.com/pelletier/go-toml v1.9.4 20:21:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:21:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 20:21:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 20:21:30 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:21:30 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 20:21:31 go: downloading github.com/hashicorp/errwrap v1.0.0 20:21:31 go: downloading github.com/go-playground/universal-translator v0.18.0 20:21:31 go: downloading github.com/leodido/go-urn v1.2.1 20:21:31 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 20:21:31 go: downloading golang.org/x/text v0.3.7 20:21:31 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:21:31 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 20:21:31 go: downloading github.com/hashicorp/consul/api v1.9.1 20:21:31 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 20:21:31 go: downloading github.com/x448/float16 v0.8.4 20:21:31 go: downloading github.com/zeebo/errs v1.2.2 20:21:31 go: downloading google.golang.org/grpc v1.42.0 20:21:32 go: downloading github.com/go-playground/locales v0.14.0 20:21:32 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:21:32 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:21:32 go: downloading github.com/pebbe/zmq4 v1.2.7 20:21:33 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:21:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:21:33 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:21:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:21:33 go: downloading github.com/hashicorp/serf v0.9.5 20:21:33 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:21:33 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 20:21:33 go: downloading google.golang.org/protobuf v1.27.1 20:21:34 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 20:21:34 go: downloading github.com/gorilla/websocket v1.4.2 20:21:34 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:21:34 go: downloading github.com/mitchellh/copystructure v1.0.0 20:21:34 go: downloading github.com/fatih/color v1.9.0 20:21:34 go: downloading github.com/mattn/go-isatty v0.0.12 20:21:34 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:21:34 go: downloading github.com/golang/protobuf v1.5.2 20:21:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:21:35 go: downloading github.com/mattn/go-colorable v0.1.6 20:21:35 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:21:35 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:23:56 Removing intermediate container e7806fe0408f 20:23:56 ---> d8d57d63b36f 20:23:56 Step 14/26 : FROM alpine:3.15 20:23:56 3.15: Pulling from library/alpine 20:23:56 9981e73032c8: Pulling fs layer 20:23:56 9981e73032c8: Verifying Checksum 20:23:56 9981e73032c8: Download complete 20:23:56 9981e73032c8: Pull complete 20:23:56 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 20:23:56 Status: Downloaded newer image for alpine:3.15 20:23:56 ---> 3fb3c9af89a9 20:23:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:23:56 ---> Running in f95142612d91 20:23:56 Removing intermediate container f95142612d91 20:23:56 ---> 1d799e2fdf43 20:23:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:23:56 ---> Running in 833ce95e278b 20:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:23:58 (1/6) Installing dumb-init (1.2.5-r1) 20:23:58 (2/6) Installing libgcc (10.3.1_git20211027-r0) 20:23:58 (3/6) Installing libsodium (1.0.18-r0) 20:23:58 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 20:23:58 (5/6) Installing libzmq (4.3.4-r0) 20:23:58 (6/6) Installing zeromq (4.3.4-r0) 20:23:58 Executing busybox-1.34.1-r5.trigger 20:23:58 OK: 8 MiB in 20 packages 20:23:59 Removing intermediate container 833ce95e278b 20:23:59 ---> 3df7c7b31461 20:23:59 Step 17/26 : WORKDIR / 20:23:59 ---> Running in ef9ca646671f 20:23:59 Removing intermediate container ef9ca646671f 20:23:59 ---> ccb4a3a4032e 20:23:59 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:24:01 ---> 76ad973b867f 20:24:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:24:01 ---> e2da4148ec96 20:24:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:24:02 ---> 2127b7c63a55 20:24:02 Step 21/26 : EXPOSE 59984 20:24:02 ---> Running in d9952a634ad7 20:24:02 Removing intermediate container d9952a634ad7 20:24:02 ---> 59827f4d3f4e 20:24:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:24:02 ---> Running in 3bb58a379cad 20:24:03 Removing intermediate container 3bb58a379cad 20:24:03 ---> 60ece97399b0 20:24:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:24:03 ---> Running in 515465b6378f 20:24:03 Removing intermediate container 515465b6378f 20:24:03 ---> 77747d996265 20:24:03 Step 24/26 : LABEL arch=arm64 20:24:03 ---> Running in edee6624ba71 20:24:03 Removing intermediate container edee6624ba71 20:24:03 ---> da9e77527af7 20:24:03 Step 25/26 : LABEL git_sha=67546bc4332c3d264001c22ba45d6c898bd1fa71 20:24:03 ---> Running in ce08dd28522c 20:24:04 Removing intermediate container ce08dd28522c 20:24:04 ---> a34ab400300a 20:24:04 Step 26/26 : LABEL version=0.0.0 20:24:04 ---> Running in 7b4955d251a7 20:24:04 Removing intermediate container 7b4955d251a7 20:24:04 ---> c32001b86849 20:24:04 [Warning] One or more build-args [ARCH] were not consumed 20:24:04 Successfully built c32001b86849 20:24:04 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:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:05 20:24:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:24:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:05 arm64: Pulling from edgex-lftools-log-publisher 20:24:05 8998bd30e6a1: Pulling fs layer 20:24:05 04944245beec: Pulling fs layer 20:24:05 699f458cf7ca: Pulling fs layer 20:24:05 765212b225bb: Pulling fs layer 20:24:05 f23df028b6ca: Pulling fs layer 20:24:05 d65c8cfc05b1: Pulling fs layer 20:24:05 2437ff75d9bd: Pulling fs layer 20:24:05 765212b225bb: Waiting 20:24:05 2437ff75d9bd: Waiting 20:24:05 f23df028b6ca: Waiting 20:24:05 d65c8cfc05b1: Waiting 20:24:05 04944245beec: Verifying Checksum 20:24:05 04944245beec: Download complete 20:24:05 765212b225bb: Verifying Checksum 20:24:05 765212b225bb: Download complete 20:24:05 f23df028b6ca: Verifying Checksum 20:24:05 f23df028b6ca: Download complete 20:24:05 d65c8cfc05b1: Verifying Checksum 20:24:05 d65c8cfc05b1: Download complete 20:24:06 699f458cf7ca: Verifying Checksum 20:24:06 699f458cf7ca: Download complete 20:24:06 8998bd30e6a1: Verifying Checksum 20:24:06 8998bd30e6a1: Download complete 20:24:08 2437ff75d9bd: Verifying Checksum 20:24:08 2437ff75d9bd: Download complete 20:24:11 8998bd30e6a1: Pull complete 20:24:11 04944245beec: Pull complete 20:24:13 699f458cf7ca: Pull complete 20:24:13 765212b225bb: Pull complete 20:24:13 f23df028b6ca: Pull complete 20:24:13 d65c8cfc05b1: Pull complete 20:24:29 2437ff75d9bd: Pull complete 20:24:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:24:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:24:29 prd-ubuntu20.04-docker-arm64-4c-16g-64221 does not seem to be running inside a container 20:24:29 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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:arm64 cat 20:24:31 $ docker top 3d7f26519f7c9e74315449e6e2c9d2b8c95b60e892cbd461806c428dcfe9a70d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:32 ---> job-cost.sh 20:24:32 lf-activate-venv: SKIPPING 20:24:32 INFO: No Stack... 20:24:33 INFO: Retrieving Pricing Info for: v3-standard-4 20:24:33 INFO: Archiving Costs [Pipeline] sh 20:24:34 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 20:24:34 + cut -d, -f6 [Pipeline] lock 20:24:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] 20:24:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] did not exist. Created. 20:24:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:35 /w/workspace/device-onvif-camera/8@tmp/durable-913b905b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:24:36 + echo total: 0.10999999940395355 [Pipeline] stash 20:24:36 Warning: overwriting stash ‘stack-cost’ 20:24:36 Stashed 1 file(s) [Pipeline] } 20:24:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:36 $ docker stop --time=1 3d7f26519f7c9e74315449e6e2c9d2b8c95b60e892cbd461806c428dcfe9a70d 20:24:37 $ docker rm -f 3d7f26519f7c9e74315449e6e2c9d2b8c95b60e892cbd461806c428dcfe9a70d [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:38 provisioning config files... 20:24:38 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config3433303125741827232tmp [Pipeline] { [Pipeline] sh 20:24:38 + set +x 20:24:38 + bash -s -- 20:24:38 + curl -s https://codecov.io/bash 20:24:38 20:24:38 _____ _ 20:24:38 / ____| | | 20:24:38 | | ___ __| | ___ ___ _____ __ 20:24:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:24:38 | |___| (_) | (_| | __/ (_| (_) \ V / 20:24:38 \_____\___/ \__,_|\___|\___\___/ \_/ 20:24:38 Bash-1.0.6 20:24:38 20:24:38 20:24:38 ==> git version 2.25.1 found 20:24:38 ==> 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:38 Release-Date: 2020-01-08 20:24:38 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:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:24:38 ==> Jenkins CI detected. 20:24:38 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 20:24:38 project root: . 20:24:38 --> token set from env 20:24:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:24:38 ==> Running gcov in . (disable via -X gcov) 20:24:38 ==> Python coveragepy not found 20:24:38 ==> Searching for coverage reports in: 20:24:38 + . 20:24:38 -> Found 1 reports 20:24:38 ==> Detecting git/mercurial file structure 20:24:38 ==> Reading reports 20:24:38 + ./coverage.out bytes=42596 20:24:38 ==> Appending adjustments 20:24:38 https://docs.codecov.io/docs/fixing-reports 20:24:38 + Found adjustments 20:24:38 ==> Gzipping contents 20:24:38 8.0K /tmp/codecov.6TGjx8.gz 20:24:38 ==> Uploading reports 20:24:38 url: https://codecov.io 20:24:38 query: branch=PR-65&commit=67546bc4332c3d264001c22ba45d6c898bd1fa71&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 20:24:38 -> Pinging Codecov 20:24:38 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=67546bc4332c3d264001c22ba45d6c898bd1fa71&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 20:24:39 -> Uploading to 20:24:39 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/F29A59C45E3A92E06B3E522C9905F8EF/67546bc4332c3d264001c22ba45d6c898bd1fa71/dcfa8f6d-2743-4d41-8fd2-a7e59db31b12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T202439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f1130010cb91ed20cabe4bb1f914b2b71cc46c0986d0676734f8ca3c2f1058c 20:24:39 % Total % Received % Xferd Average Speed Time Time Time Current 20:24:39 Dload Upload Total Spent Left Speed 20:24:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5660 0 0 100 5660 0 22460 --:--:-- --:--:-- --:--:-- 22549 20:24:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/67546bc4332c3d264001c22ba45d6c898bd1fa71 [Pipeline] } 20:24:39 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:40 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 20:24:40 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:24:40 total 16 20:24:40 drwxr-xr-x 3 root root 4096 May 20 20:17 . 20:24:40 drwxrwxr-x 11 jenkins jenkins 4096 May 20 20:17 .. 20:24:40 drwxr-xr-x 2 root root 4096 May 20 20:17 cost 20:24:40 -rw-r--r-- 1 root root 89 May 20 20:17 cost.csv 20:24:40 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:24:40 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 20:24:40 total 16 20:24:40 drwxr-xr-x 3 jenkins jenkins 4096 May 20 20:17 . 20:24:40 drwxrwxr-x 11 jenkins jenkins 4096 May 20 20:17 .. 20:24:40 drwxr-xr-x 2 jenkins jenkins 4096 May 20 20:17 cost 20:24:40 -rw-r--r-- 1 jenkins jenkins 89 May 20 20:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:24:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:24:41 ---> package-listing.sh 20:24:41 ++ facter osfamily 20:24:41 ++ tr '[:upper:]' '[:lower:]' 20:24:41 + OS_FAMILY=debian 20:24:41 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 20:24:41 + START_PACKAGES=/tmp/packages_start.txt 20:24:41 + END_PACKAGES=/tmp/packages_end.txt 20:24:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:24:41 + PACKAGES=/tmp/packages_start.txt 20:24:41 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 20:24:41 + PACKAGES=/tmp/packages_end.txt 20:24:41 + case "${OS_FAMILY}" in 20:24:41 + dpkg -l 20:24:41 + grep '^ii' 20:24:41 + '[' -f /tmp/packages_start.txt ']' 20:24:41 + '[' -f /tmp/packages_end.txt ']' 20:24:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:24:41 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 20:24:41 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 20:24:41 + 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:41 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:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:24:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:42 . [Pipeline] withDockerContainer 20:24:42 prd-ubuntu20.04-docker-8c-8g-64220 does not seem to be running inside a container 20:24:42 $ 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:42 $ docker top ec148ce72e06b4707483fc344550a7585321b9e0f6d2f011dfe5607c9b6698bf -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:43 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:43 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:43 + ls /var/log/sa-host 20:24:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:44 provisioning config files... 20:24:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config1009615693444719801tmp [Pipeline] { [Pipeline] echo 20:24:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:44 ---> create-netrc.sh [Pipeline] } 20:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:44 ---> python-tools-install.sh [Pipeline] echo 20:24:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:44 ---> sudo-logs.sh 20:24:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:24:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:45 ---> job-cost.sh 20:24:45 lf-activate-venv: SKIPPING 20:24:45 DEBUG: total: 0.2199999988079071 20:24:45 INFO: Retrieving Stack Cost... 20:24:45 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:46 INFO: Archiving Costs [Pipeline] echo 20:24:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:24:46 ---> logs-deploy.sh 20:24:46 lf-activate-venv: SKIPPING 20:24:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/8 20:24:46 INFO: archiving workspace using pattern(s): 20:24:47 Archives upload complete. 20:24:47 INFO: archiving logs to Nexus