Push event to branch issue-66 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99e4fa65c00eec4a95619ae796b9ec4b51828628 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-ssh5995237550026659122.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-ssh1157921099541026918.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-66/workspace@libs/edgex-global-pipelines # timeout=10 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/issue-66/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12777710495707048146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/issue-66/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7882096837519103638.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1173117764605070450.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-66/workspace@libs/lf-pipelines # timeout=10 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/issue-66/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10109075324945390889.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-64190 in /w/workspace/dry_device-onvif-camera_issue-66 [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 Avoid second fetch Checking out Revision 99e4fa65c00eec4a95619ae796b9ec4b51828628 (issue-66) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/dry_device-onvif-camera_issue-66 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e4fa65c00eec4a95619ae796b9ec4b51828628 # timeout=10 Commit message: "build: Update device-sdk-go to Kamakura release version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:00:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:00:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:00:33 ========================================================= 13:00:33 EdgeX Global Pipelines Version Info 13:00:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:00:34 ------------------- 13:00:34 stable info: 13:00:34 ------------------- 13:00:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:00:34 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:00:34 Message: update stable to v1.0.230 13:00:34 ------------------- 13:00:34 experimental info: 13:00:34 ------------------- 13:00:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:00:34 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:00:34 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:00:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-66 [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-66 [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-66 [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99e4fa6 [Pipeline] echo 13:00:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:36 provisioning config files... 13:00:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-66@tmp/config6305631921031539841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:36 ---> docker-login.sh 13:00:36 nexus3.edgexfoundry.org:10001 13:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:37 Configure a credential helper to remove this warning. See 13:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:37 13:00:37 Login Succeeded 13:00:37 nexus3.edgexfoundry.org:10002 13:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:37 Configure a credential helper to remove this warning. See 13:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:37 13:00:37 Login Succeeded 13:00:37 nexus3.edgexfoundry.org:10003 13:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:37 Configure a credential helper to remove this warning. See 13:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:37 13:00:37 Login Succeeded 13:00:37 nexus3.edgexfoundry.org:10004 13:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:37 Configure a credential helper to remove this warning. See 13:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:37 13:00:37 Login Succeeded 13:00:37 docker.io 13:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:38 Configure a credential helper to remove this warning. See 13:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:38 13:00:38 Login Succeeded 13:00:38 ---> docker-login.sh ends [Pipeline] } 13:00:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:00:38 + git rev-list -1 --merges 99e4fa65c00eec4a95619ae796b9ec4b51828628~1..99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:00:38 -----------> git rev-list -1 --merges 99e4fa65c00eec4a95619ae796b9ec4b51828628~1..99e4fa65c00eec4a95619ae796b9ec4b51828628 99e4fa65c00eec4a95619ae796b9ec4b51828628 [false] [Pipeline] sh 13:00:39 + git log --format=format:%s -1 99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:00:39 ========================================================= 13:00:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:00:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:39 + git log --format=format:%s -1 99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:00:39 [semverPrep] GIT_COMMIT: 99e4fa65c00eec4a95619ae796b9ec4b51828628, Commit Message: build: Update device-sdk-go to Kamakura release version [Pipeline] echo 13:00:39 [semverPrep] This is not a build commit. [Pipeline] sh 13:00:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:00:40 + grep -v github /etc/ssh/ssh_known_hosts 13:00:40 + [ -e /tmp/ssh_known_hosts ] 13:00:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:00:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:00:40 + sudo tee -a /etc/ssh/ssh_known_hosts 13:00:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:00:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:00:40 13:00:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:00:41 latest: Pulling from edgex-devops/py-git-semver 13:00:41 1fe172e4850f: Pulling fs layer 13:00:41 caf521ccaac6: Pulling fs layer 13:00:41 3ead6fa29328: Pulling fs layer 13:00:41 5c2a1cbceb83: Pulling fs layer 13:00:41 a8d5f1318db7: Pulling fs layer 13:00:41 c427282e49a2: Pulling fs layer 13:00:41 1827001aaf11: Pulling fs layer 13:00:41 0714d37db230: Pulling fs layer 13:00:41 ac28cf19c067: Pulling fs layer 13:00:41 ca983d60f3e2: Pulling fs layer 13:00:41 9f894cec8388: Pulling fs layer 13:00:41 1827001aaf11: Waiting 13:00:41 0714d37db230: Waiting 13:00:41 ac28cf19c067: Waiting 13:00:41 a8d5f1318db7: Waiting 13:00:41 5c2a1cbceb83: Waiting 13:00:41 c427282e49a2: Waiting 13:00:41 9f894cec8388: Waiting 13:00:41 ca983d60f3e2: Waiting 13:00:41 caf521ccaac6: Verifying Checksum 13:00:41 caf521ccaac6: Download complete 13:00:41 5c2a1cbceb83: Verifying Checksum 13:00:41 5c2a1cbceb83: Download complete 13:00:41 3ead6fa29328: Verifying Checksum 13:00:41 3ead6fa29328: Download complete 13:00:41 a8d5f1318db7: Verifying Checksum 13:00:41 a8d5f1318db7: Download complete 13:00:41 c427282e49a2: Verifying Checksum 13:00:41 c427282e49a2: Download complete 13:00:41 0714d37db230: Download complete 13:00:41 ac28cf19c067: Verifying Checksum 13:00:41 ac28cf19c067: Download complete 13:00:41 ca983d60f3e2: Verifying Checksum 13:00:41 ca983d60f3e2: Download complete 13:00:41 9f894cec8388: Download complete 13:00:41 1fe172e4850f: Verifying Checksum 13:00:41 1fe172e4850f: Download complete 13:00:41 1827001aaf11: Verifying Checksum 13:00:41 1827001aaf11: Download complete 13:00:42 1fe172e4850f: Pull complete 13:00:42 caf521ccaac6: Pull complete 13:00:43 3ead6fa29328: Pull complete 13:00:43 5c2a1cbceb83: Pull complete 13:00:43 a8d5f1318db7: Pull complete 13:00:43 c427282e49a2: Pull complete 13:00:46 1827001aaf11: Pull complete 13:00:46 0714d37db230: Pull complete 13:00:46 ac28cf19c067: Pull complete 13:00:46 ca983d60f3e2: Pull complete 13:00:46 9f894cec8388: Pull complete 13:00:46 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:00:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:00:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:00:46 prd-ubuntu20.04-docker-8c-8g-64190 does not seem to be running inside a container 13:00:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_device-onvif-camera_issue-66 -v /w/workspace/dry_device-onvif-camera_issue-66:/w/workspace/dry_device-onvif-camera_issue-66:rw,z -v /w/workspace/dry_device-onvif-camera_issue-66@tmp:/w/workspace/dry_device-onvif-camera_issue-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:00:48 $ docker top 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 -eo pid,comm 13:00:48 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). 13:00:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:00:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:48 [ssh-agent] Looking for ssh-agent implementation... 13:00:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:48 $ docker exec 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 ssh-agent 13:00:48 SSH_AUTH_SOCK=/tmp/ssh-XCqKRIraeJFO/agent.33 13:00:48 SSH_AGENT_PID=39 13:00:48 Running ssh-add (command line suppressed) 13:00:48 Identity added: /w/workspace/dry_device-onvif-camera_issue-66@tmp/private_key_8493642520649231551.key (/w/workspace/dry_device-onvif-camera_issue-66@tmp/private_key_8493642520649231551.key) 13:00:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:49 + git tag --points-at HEAD [Pipeline] } 13:00:49 $ docker exec --env ******** --env ******** 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 ssh-agent -k 13:00:49 unset SSH_AUTH_SOCK; 13:00:49 unset SSH_AGENT_PID; 13:00:49 echo Agent pid 39 killed; 13:00:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:00:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:49 [ssh-agent] Looking for ssh-agent implementation... 13:00:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:49 $ docker exec 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 ssh-agent 13:00:49 SSH_AUTH_SOCK=/tmp/ssh-gv1t0rhaO54S/agent.71 13:00:49 SSH_AGENT_PID=77 13:00:49 Running ssh-add (command line suppressed) 13:00:49 Identity added: /w/workspace/dry_device-onvif-camera_issue-66@tmp/private_key_7029793214342594113.key (/w/workspace/dry_device-onvif-camera_issue-66@tmp/private_key_7029793214342594113.key) 13:00:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:50 + git semver init 13:00:50 2022-05-20 13:00:50,404 [run_init] DEBUG init version:0.0.0 force:False 13:00:50 2022-05-20 13:00:50,404 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-66/.semver 13:00:50 2022-05-20 13:00:50,405 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/dry_device-onvif-camera_issue-66/.semver 13:00:50 2022-05-20 13:00:50,405 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/dry_device-onvif-camera_issue-66/.semver'], cwd=/w/workspace/dry_device-onvif-camera_issue-66, universal_newlines=False, shell=None, istream=None) 13:00:51 2022-05-20 13:00:51,054 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-66/.git/info/exclude 13:00:51 2022-05-20 13:00:51,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-onvif-camera_issue-66/.semver/issue-66 with force:False 13:00:51 2022-05-20 13:00:51,054 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-66/.semver/issue-66 13:00:51 2022-05-20 13:00:51,057 [execute] INFO git cat-file --batch-check 13:00:51 2022-05-20 13:00:51,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-onvif-camera_issue-66/.semver, universal_newlines=False, shell=None, istream=) 13:00:51 2022-05-20 13:00:51,062 [execute] INFO git cat-file --batch 13:00:51 2022-05-20 13:00:51,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-onvif-camera_issue-66/.semver, universal_newlines=False, shell=None, istream=) 13:00:51 2022-05-20 13:00:51,067 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-66/.semver/issue-66 13:00:51 0.0.0 [Pipeline] } 13:00:51 $ docker exec --env ******** --env ******** 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 ssh-agent -k 13:00:51 unset SSH_AUTH_SOCK; 13:00:51 unset SSH_AGENT_PID; 13:00:51 echo Agent pid 77 killed; 13:00:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:00:51 + git semver [Pipeline] } 13:00:52 $ docker stop --time=1 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 13:00:53 $ docker rm -f 0d783e8f7de10a5c07683ce9a67d071c5ce4a7646e3cb427c3c7957aaefc7d55 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:00:54 Stashed 1 file(s) [Pipeline] echo 13:00:54 [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 13:00:55 provisioning config files... 13:00:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-66@tmp/config6553288388118076377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:55 ---> docker-login.sh 13:00:55 nexus3.edgexfoundry.org:10001 13:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:55 Configure a credential helper to remove this warning. See 13:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:55 13:00:55 Login Succeeded 13:00:55 nexus3.edgexfoundry.org:10002 13:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:55 Configure a credential helper to remove this warning. See 13:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:55 13:00:55 Login Succeeded 13:00:55 nexus3.edgexfoundry.org:10003 13:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:55 Configure a credential helper to remove this warning. See 13:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:55 13:00:55 Login Succeeded 13:00:55 nexus3.edgexfoundry.org:10004 13:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:55 Configure a credential helper to remove this warning. See 13:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:55 13:00:55 Login Succeeded 13:00:55 docker.io 13:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:56 Configure a credential helper to remove this warning. See 13:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:56 13:00:56 Login Succeeded 13:00:56 ---> docker-login.sh ends [Pipeline] } 13:00:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:00:56 [edgeX.isLTS] Checking if [issue-66] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:56 ========================================================= 13:00:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:00:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:00:56 + 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 . 13:00:56 Sending build context to Docker daemon 8.545MB 13:00:56 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:00:56 Step 2/13 : FROM ${BASE} AS builder 13:00:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:00:56 59bf1c3509f3: Pulling fs layer 13:00:56 666ba61612fd: Pulling fs layer 13:00:56 8ed8ca486205: Pulling fs layer 13:00:56 4fe6c5a15a65: Pulling fs layer 13:00:56 22a0e8bec74d: Pulling fs layer 13:00:56 ca2b28591e48: Pulling fs layer 13:00:56 a51346096db8: Pulling fs layer 13:00:56 daebc70d1ce1: Pulling fs layer 13:00:56 0e18a0eac166: Pulling fs layer 13:00:56 4fe6c5a15a65: Waiting 13:00:56 22a0e8bec74d: Waiting 13:00:56 ca2b28591e48: Waiting 13:00:56 0e18a0eac166: Waiting 13:00:56 8ed8ca486205: Verifying Checksum 13:00:56 8ed8ca486205: Download complete 13:00:57 666ba61612fd: Verifying Checksum 13:00:57 666ba61612fd: Download complete 13:00:57 22a0e8bec74d: Download complete 13:00:57 ca2b28591e48: Verifying Checksum 13:00:57 ca2b28591e48: Download complete 13:00:57 59bf1c3509f3: Verifying Checksum 13:00:57 a51346096db8: Verifying Checksum 13:00:57 a51346096db8: Download complete 13:00:57 daebc70d1ce1: Verifying Checksum 13:00:57 daebc70d1ce1: Download complete 13:00:57 59bf1c3509f3: Pull complete 13:00:57 666ba61612fd: Pull complete 13:00:57 8ed8ca486205: Pull complete 13:00:57 0e18a0eac166: Verifying Checksum 13:00:57 0e18a0eac166: Download complete 13:00:57 4fe6c5a15a65: Verifying Checksum 13:00:57 4fe6c5a15a65: Download complete 13:01:02 4fe6c5a15a65: Pull complete 13:01:02 22a0e8bec74d: Pull complete 13:01:02 ca2b28591e48: Pull complete 13:01:02 a51346096db8: Pull complete 13:01:02 daebc70d1ce1: Pull complete 13:01:04 0e18a0eac166: Pull complete 13:01:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:01:04 ---> f018257e8ee9 13:01:04 Step 3/13 : ARG MAKE="make build" 13:01:06 ---> Running in 60be6713bd0f 13:01:06 Removing intermediate container 60be6713bd0f 13:01:06 ---> 4e86aa24729d 13:01:06 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:01:06 ---> Running in c7b3ab220d22 13:01:06 Removing intermediate container c7b3ab220d22 13:01:06 ---> ee25e94b151a 13:01:06 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 13:01:06 ---> Running in 5d8ca141d949 13:01:06 Removing intermediate container 5d8ca141d949 13:01:06 ---> 9af0dfcff055 13:01:06 Step 6/13 : LABEL Name=edgex-device-onvif-camera 13:01:06 ---> Running in b923f0ef7b90 13:01:06 Removing intermediate container b923f0ef7b90 13:01:06 ---> 620ad0728c5e 13:01:06 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:06 ---> Running in c2b843ddde9b 13:01:07 Removing intermediate container c2b843ddde9b 13:01:07 ---> 9940170b9291 13:01:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:07 ---> Running in 655cae637381 13:01:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:01:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:01:08 OK: 221 MiB in 52 packages 13:01:09 Removing intermediate container 655cae637381 13:01:09 ---> 5818ccdcbd40 13:01:09 Step 9/13 : WORKDIR /device-onvif-camera 13:01:09 ---> Running in 43b14fca16d0 13:01:09 Removing intermediate container 43b14fca16d0 13:01:09 ---> 9d329f2d8463 13:01:09 Step 10/13 : COPY go.mod vendor* ./ 13:01:09 ---> 7a65cc9ea60b 13:01:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:09 ---> Running in f94a91e8bc76 13:01:09 Still waiting to schedule task 13:01:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:01:27 Removing intermediate container f94a91e8bc76 13:01:27 ---> 351e5325e397 13:01:27 Step 12/13 : COPY . . 13:01:27 ---> 31c465edca16 13:01:27 Step 13/13 : RUN ${MAKE} 13:01:27 ---> Running in 997e5d7975eb 13:01:27 noop 13:01:27 Removing intermediate container 997e5d7975eb 13:01:27 ---> 4270984e6fad 13:01:27 Successfully built 4270984e6fad 13:01:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:01:28 + docker inspect -f . ci-base-image-x86_64 13:01:28 . [Pipeline] withDockerContainer 13:01:28 prd-ubuntu20.04-docker-8c-8g-64190 does not seem to be running inside a container 13:01:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-66 -v /w/workspace/dry_device-onvif-camera_issue-66:/w/workspace/dry_device-onvif-camera_issue-66:rw,z -v /w/workspace/dry_device-onvif-camera_issue-66@tmp:/w/workspace/dry_device-onvif-camera_issue-66@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 ******** ci-base-image-x86_64 cat 13:01:28 $ docker top a2db7441b90872f64c73e04b9bd8eda994b079ed1b82315b0d21cbd2e87c6293 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:29 + go version 13:01:29 go version go1.17.6 linux/amd64 [Pipeline] } 13:01:29 $ docker stop --time=1 a2db7441b90872f64c73e04b9bd8eda994b079ed1b82315b0d21cbd2e87c6293 13:01:30 $ docker rm -f a2db7441b90872f64c73e04b9bd8eda994b079ed1b82315b0d21cbd2e87c6293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:01:31 + docker inspect -f . ci-base-image-x86_64 13:01:31 . [Pipeline] withDockerContainer 13:01:31 prd-ubuntu20.04-docker-8c-8g-64190 does not seem to be running inside a container 13:01:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-66 -v /w/workspace/dry_device-onvif-camera_issue-66:/w/workspace/dry_device-onvif-camera_issue-66:rw,z -v /w/workspace/dry_device-onvif-camera_issue-66@tmp:/w/workspace/dry_device-onvif-camera_issue-66@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 ******** ci-base-image-x86_64 cat 13:01:31 $ docker top c0c470f4a1ff85879330ae47ddf710591cc00e57fa2ba34ce5000b04a5b7e70e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:01:32 + make test 13:01:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:01:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:01:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:01:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.0% of statements 13:01:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:01:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:01:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:01:54 ./bin/test-attribution-txt.sh [Pipeline] echo 13:01:54 [edgeX.isLTS] Checking if [issue-66] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:01:54 $ docker stop --time=1 c0c470f4a1ff85879330ae47ddf710591cc00e57fa2ba34ce5000b04a5b7e70e 13:01:57 $ docker rm -f c0c470f4a1ff85879330ae47ddf710591cc00e57fa2ba34ce5000b04a5b7e70e [Pipeline] // withDockerContainer [Pipeline] sh 13:01:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:01:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:01:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:01:59 + ls -al . 13:01:59 total 216 13:01:59 drwxrwxr-x 9 jenkins jenkins 4096 May 20 13:01 . 13:01:59 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:00 .. 13:01:59 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:00 .git 13:01:59 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:00 .github 13:01:59 -rw-rw-r-- 1 jenkins jenkins 352 May 20 13:00 .gitignore 13:01:59 -rw-rw-r-- 1 jenkins jenkins 42 May 20 13:00 .golangci.yml 13:01:59 drwxr-xr-x 3 jenkins jenkins 4096 May 20 13:00 .semver 13:01:59 -rw-rw-r-- 1 jenkins jenkins 9099 May 20 13:00 Attribution.txt 13:01:59 -rw-rw-r-- 1 jenkins jenkins 189 May 20 13:00 CHANGELOG.md 13:01:59 -rw-rw-r-- 1 jenkins jenkins 1667 May 20 13:00 Dockerfile 13:01:59 -rw-rw-r-- 1 jenkins jenkins 677 May 20 13:00 GOVERNANCE.md 13:01:59 -rw-rw-r-- 1 jenkins jenkins 660 May 20 13:00 Jenkinsfile 13:01:59 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 13:00 LICENSE 13:01:59 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 13:00 Makefile 13:01:59 -rw-rw-r-- 1 jenkins jenkins 625 May 20 13:00 OWNERS.md 13:01:59 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 13:00 README.md 13:01:59 -rw-rw-r-- 1 jenkins jenkins 5 May 20 13:00 VERSION 13:01:59 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:00 bin 13:01:59 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:00 cmd 13:01:59 -rw-r--r-- 1 jenkins jenkins 37307 May 20 13:01 coverage.out 13:01:59 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:00 doc 13:01:59 -rw-rw-r-- 1 jenkins jenkins 3546 May 20 13:00 go.mod 13:01:59 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 13:00 go.sum 13:01:59 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:00 internal 13:01:59 -rw-rw-r-- 1 jenkins jenkins 236 May 20 13:00 version.go [Pipeline] isUnix [Pipeline] sh 13:01:59 + 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=99e4fa65c00eec4a95619ae796b9ec4b51828628 --label arch=amd64 --label version=0.0.0 . 13:01:59 Sending build context to Docker daemon 8.583MB 13:01:59 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:01:59 Step 2/26 : FROM ${BASE} AS builder 13:01:59 ---> 4270984e6fad 13:01:59 Step 3/26 : ARG MAKE="make build" 13:01:59 ---> Running in 4b8e1cac1c83 13:01:59 Removing intermediate container 4b8e1cac1c83 13:01:59 ---> 8f49451fe101 13:01:59 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:01:59 ---> Running in 48236755d2b7 13:01:59 Removing intermediate container 48236755d2b7 13:01:59 ---> d70b623d647e 13:01:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 13:01:59 ---> Running in 22b20c687349 13:01:59 Removing intermediate container 22b20c687349 13:01:59 ---> 00a557bae34c 13:01:59 Step 6/26 : LABEL Name=edgex-device-onvif-camera 13:01:59 ---> Running in 6f05d730b3fb 13:01:59 Removing intermediate container 6f05d730b3fb 13:01:59 ---> 21a92b6f3e3d 13:01:59 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:02:00 ---> Running in bec54f24ef3e 13:02:00 Removing intermediate container bec54f24ef3e 13:02:00 ---> 83cd1b644b7d 13:02:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:00 ---> Running in 4d3c0c90ba3c 13:02:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:02:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:02:02 OK: 221 MiB in 52 packages 13:02:02 Removing intermediate container 4d3c0c90ba3c 13:02:02 ---> 240ecaa52922 13:02:02 Step 9/26 : WORKDIR /device-onvif-camera 13:02:02 ---> Running in d016828a06c3 13:02:02 Removing intermediate container d016828a06c3 13:02:02 ---> 0da88f68107c 13:02:02 Step 10/26 : COPY go.mod vendor* ./ 13:02:02 ---> f4dcbfc0717f 13:02:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:02 ---> Running in e3622cd4c98b 13:02:03 Removing intermediate container e3622cd4c98b 13:02:03 ---> 3e5c478f3d96 13:02:03 Step 12/26 : COPY . . 13:02:03 ---> 30953e5c949c 13:02:03 Step 13/26 : RUN ${MAKE} 13:02:03 ---> Running in 800e91b0cd65 13:02:04 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 13:02:26 Removing intermediate container 800e91b0cd65 13:02:26 ---> 4cafefa5dae4 13:02:26 Step 14/26 : FROM alpine:3.15 13:02:26 3.15: Pulling from library/alpine 13:02:26 df9b9388f04a: Pulling fs layer 13:02:26 df9b9388f04a: Download complete 13:02:26 df9b9388f04a: Pull complete 13:02:26 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:02:26 Status: Downloaded newer image for alpine:3.15 13:02:26 ---> 0ac33e5f5afa 13:02:26 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:02:26 ---> Running in c8559f043aee 13:02:26 Removing intermediate container c8559f043aee 13:02:26 ---> 1d98d24f3a9e 13:02:26 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:02:26 ---> Running in deefcaf1a73c 13:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:02:26 (1/6) Installing dumb-init (1.2.5-r1) 13:02:26 (2/6) Installing libgcc (10.3.1_git20211027-r0) 13:02:26 (3/6) Installing libsodium (1.0.18-r0) 13:02:26 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 13:02:26 (5/6) Installing libzmq (4.3.4-r0) 13:02:26 (6/6) Installing zeromq (4.3.4-r0) 13:02:26 Executing busybox-1.34.1-r5.trigger 13:02:26 OK: 8 MiB in 20 packages 13:02:26 Removing intermediate container deefcaf1a73c 13:02:26 ---> b95234554e10 13:02:26 Step 17/26 : WORKDIR / 13:02:26 ---> Running in f3362e221686 13:02:26 Removing intermediate container f3362e221686 13:02:26 ---> fcb8d0ea2115 13:02:26 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 13:02:27 ---> c0f267458e4f 13:02:27 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 13:02:27 ---> 1938d4a940c6 13:02:27 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:02:27 ---> 0d4f979b61eb 13:02:27 Step 21/26 : EXPOSE 59984 13:02:27 ---> Running in 423adfcff019 13:02:27 Removing intermediate container 423adfcff019 13:02:27 ---> 25ae54a19a23 13:02:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 13:02:27 ---> Running in c3e591e4b6e3 13:02:27 Removing intermediate container c3e591e4b6e3 13:02:27 ---> 1380be5c749e 13:02:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:02:27 ---> Running in a5d2fcb74752 13:02:27 Removing intermediate container a5d2fcb74752 13:02:27 ---> e4283aa638d1 13:02:27 Step 24/26 : LABEL arch=amd64 13:02:27 ---> Running in 6a05942fe834 13:02:27 Removing intermediate container 6a05942fe834 13:02:27 ---> 1d62fb133441 13:02:27 Step 25/26 : LABEL git_sha=99e4fa65c00eec4a95619ae796b9ec4b51828628 13:02:27 ---> Running in c43d7d364251 13:02:27 Removing intermediate container c43d7d364251 13:02:27 ---> fba56b32b63d 13:02:27 Step 26/26 : LABEL version=0.0.0 13:02:28 ---> Running in 859b3b5b813f 13:02:28 Removing intermediate container 859b3b5b813f 13:02:28 ---> 62922e78b926 13:02:28 [Warning] One or more build-args [ARCH] were not consumed 13:02:28 Successfully built 62922e78b926 13:02:28 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 13:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:28 13:02:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:02:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:29 latest: Pulling from edgex-lftools-log-publisher 13:02:29 5eb5b503b376: Pulling fs layer 13:02:29 5c69ac0246d0: Pulling fs layer 13:02:29 ec43610c2a17: Pulling fs layer 13:02:29 3a2ae6a8a46f: Pulling fs layer 13:02:29 33b1e0a273af: Pulling fs layer 13:02:29 5d3b04190fa2: Pulling fs layer 13:02:29 2f39f015ded8: Pulling fs layer 13:02:29 33b1e0a273af: Waiting 13:02:29 2f39f015ded8: Waiting 13:02:29 5d3b04190fa2: Waiting 13:02:29 3a2ae6a8a46f: Waiting 13:02:29 5c69ac0246d0: Verifying Checksum 13:02:29 5c69ac0246d0: Download complete 13:02:29 3a2ae6a8a46f: Verifying Checksum 13:02:29 3a2ae6a8a46f: Download complete 13:02:29 ec43610c2a17: Verifying Checksum 13:02:29 ec43610c2a17: Download complete 13:02:29 33b1e0a273af: Verifying Checksum 13:02:29 33b1e0a273af: Download complete 13:02:29 5d3b04190fa2: Download complete 13:02:29 5eb5b503b376: Download complete 13:02:29 2f39f015ded8: Download complete 13:02:30 5eb5b503b376: Pull complete 13:02:30 5c69ac0246d0: Pull complete 13:02:31 ec43610c2a17: Pull complete 13:02:31 3a2ae6a8a46f: Pull complete 13:02:31 33b1e0a273af: Pull complete 13:02:31 5d3b04190fa2: Pull complete 13:02:36 2f39f015ded8: Pull complete 13:02:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:02:37 prd-ubuntu20.04-docker-8c-8g-64190 does not seem to be running inside a container 13:02:37 $ 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/dry_device-onvif-camera_issue-66 -v /w/workspace/dry_device-onvif-camera_issue-66:/w/workspace/dry_device-onvif-camera_issue-66:rw,z -v /w/workspace/dry_device-onvif-camera_issue-66@tmp:/w/workspace/dry_device-onvif-camera_issue-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:02:39 $ docker top 0782134742df40c098afff6b6cdc6a945e592412cdb066326cf850baedb17a1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:39 ---> job-cost.sh 13:02:39 lf-activate-venv: SKIPPING 13:02:39 INFO: No Stack... 13:02:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:02:40 INFO: Archiving Costs [Pipeline] sh 13:02:40 + cat /w/workspace/dry_device-onvif-camera_issue-66/archives/cost.csv 13:02:40 + cut -d, -f6 [Pipeline] lock 13:02:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] 13:02:40 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] did not exist. Created. 13:02:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:02:41 + echo total: 0.2199999988079071 [Pipeline] stash 13:02:41 Stashed 1 file(s) [Pipeline] } 13:02:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:02:41 $ docker stop --time=1 0782134742df40c098afff6b6cdc6a945e592412cdb066326cf850baedb17a1c 13:02:42 $ docker rm -f 0782134742df40c098afff6b6cdc6a945e592412cdb066326cf850baedb17a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:02:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64191 in /w/workspace/dry_device-onvif-camera_issue-66 [Pipeline] { [Pipeline] ws 13:02:52 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 13:02:53 Selected Git installation does not exist. Using Default 13:02:53 The recommended git tool is: NONE 13:02:59 using credential edgex-jenkins-ssh 13:02:59 Cloning the remote Git repository 13:02:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 13:02:59 > git init /w/workspace/device-onvif-camera/1 # timeout=10 13:02:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:02:59 > git --version # timeout=10 13:02:59 > git --version # 'git version 2.25.1' 13:02:59 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:00 Avoid second fetch 13:03:00 Checking out Revision 99e4fa65c00eec4a95619ae796b9ec4b51828628 (issue-66) 13:03:00 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:03:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:00 > git config core.sparsecheckout # timeout=10 13:03:00 > git checkout -f 99e4fa65c00eec4a95619ae796b9ec4b51828628 # timeout=10 13:03:04 Commit message: "build: Update device-sdk-go to Kamakura release version" 13:03:04 > git --version # timeout=10 13:03:04 > git --version # 'git version 2.25.1' 13:03:04 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:03:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:03:05 % Total % Received % Xferd Average Speed Time Time Time Current 13:03:05 Dload Upload Total Spent Left Speed 13:03:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50423 0 --:--:-- --:--:-- --:--:-- 50423 [Pipeline] sh 13:03:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:03:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:03:06 + sudo tee /etc/docker/daemon.new 13:03:06 { 13:03:06 "registry-mirrors": [ 13:03:06 "https://nexus3.edgexfoundry.org:10001" 13:03:06 ], 13:03:06 "bip": "10.250.0.254/24", 13:03:06 "hosts": [ 13:03:06 "tcp://0.0.0.0:5555", 13:03:06 "unix:///var/run/docker.sock" 13:03:06 ], 13:03:06 "mtu": 1458, 13:03:06 "selinux-enabled": true, 13:03:06 "seccomp-profile": "/etc/docker/seccomp.json" 13:03:06 } [Pipeline] sh 13:03:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:03:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:25 provisioning config files... 13:03:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7377353459343212573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:26 ---> docker-login.sh 13:03:26 nexus3.edgexfoundry.org:10001 13:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:27 Configure a credential helper to remove this warning. See 13:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:27 13:03:27 Login Succeeded 13:03:27 nexus3.edgexfoundry.org:10002 13:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:27 Configure a credential helper to remove this warning. See 13:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:27 13:03:27 Login Succeeded 13:03:27 nexus3.edgexfoundry.org:10003 13:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:28 Configure a credential helper to remove this warning. See 13:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:28 13:03:28 Login Succeeded 13:03:28 nexus3.edgexfoundry.org:10004 13:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:28 Configure a credential helper to remove this warning. See 13:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:28 13:03:28 Login Succeeded 13:03:28 docker.io 13:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:29 Configure a credential helper to remove this warning. See 13:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:29 13:03:29 Login Succeeded 13:03:29 ---> docker-login.sh ends [Pipeline] } 13:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:03:29 [edgeX.isLTS] Checking if [issue-66] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:29 ========================================================= 13:03:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:03:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:03:30 + 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 . 13:03:30 Sending build context to Docker daemon 5.816MB 13:03:30 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:03:30 Step 2/13 : FROM ${BASE} AS builder 13:03:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:03:30 9b3977197b4f: Pulling fs layer 13:03:30 1a89e8eeedd5: Pulling fs layer 13:03:30 94645a83ff95: Pulling fs layer 13:03:30 3f3a8bcf1eab: Pulling fs layer 13:03:30 0c92f367c5e7: Pulling fs layer 13:03:30 3096ccb668a1: Pulling fs layer 13:03:30 e8cf19c19ddd: Pulling fs layer 13:03:30 a4caa8a26152: Pulling fs layer 13:03:30 3f3a8bcf1eab: Waiting 13:03:30 0c92f367c5e7: Waiting 13:03:30 3096ccb668a1: Waiting 13:03:30 a4caa8a26152: Waiting 13:03:30 94645a83ff95: Download complete 13:03:30 1a89e8eeedd5: Verifying Checksum 13:03:30 1a89e8eeedd5: Download complete 13:03:30 0c92f367c5e7: Verifying Checksum 13:03:30 0c92f367c5e7: Download complete 13:03:30 3096ccb668a1: Verifying Checksum 13:03:30 3096ccb668a1: Download complete 13:03:30 9b3977197b4f: Verifying Checksum 13:03:30 9b3977197b4f: Download complete 13:03:30 e8cf19c19ddd: Verifying Checksum 13:03:30 e8cf19c19ddd: Download complete 13:03:31 9b3977197b4f: Pull complete 13:03:32 1a89e8eeedd5: Pull complete 13:03:32 94645a83ff95: Pull complete 13:03:32 a4caa8a26152: Verifying Checksum 13:03:32 a4caa8a26152: Download complete 13:03:33 3f3a8bcf1eab: Verifying Checksum 13:03:45 3f3a8bcf1eab: Pull complete 13:03:45 0c92f367c5e7: Pull complete 13:03:45 3096ccb668a1: Pull complete 13:03:45 e8cf19c19ddd: Pull complete 13:03:52 a4caa8a26152: Pull complete 13:03:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:03:52 ---> 725f1c02e7f9 13:03:52 Step 3/13 : ARG MAKE="make build" 13:03:53 ---> Running in 9b9d741541e8 13:03:54 Removing intermediate container 9b9d741541e8 13:03:54 ---> 5e1af0a390be 13:03:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:03:54 ---> Running in cb84f6310bc9 13:03:54 Removing intermediate container cb84f6310bc9 13:03:54 ---> 01ec2ab5ccb6 13:03:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 13:03:54 ---> Running in 8cca3d68c3fe 13:03:54 Removing intermediate container 8cca3d68c3fe 13:03:54 ---> b8a0be38d06e 13:03:54 Step 6/13 : LABEL Name=edgex-device-onvif-camera 13:03:54 ---> Running in dae8023bafc7 13:03:55 Removing intermediate container dae8023bafc7 13:03:55 ---> 60786fed40c6 13:03:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:03:55 ---> Running in 6a9a0d11b4d0 13:03:57 Removing intermediate container 6a9a0d11b4d0 13:03:57 ---> 190356afcffd 13:03:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:58 ---> Running in b0eda47fe336 13:03:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:04:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:04:00 OK: 220 MiB in 52 packages 13:04:01 Removing intermediate container b0eda47fe336 13:04:01 ---> 0223d063565e 13:04:01 Step 9/13 : WORKDIR /device-onvif-camera 13:04:01 ---> Running in 311af5c70106 13:04:01 Removing intermediate container 311af5c70106 13:04:01 ---> e778458848ce 13:04:01 Step 10/13 : COPY go.mod vendor* ./ 13:04:02 ---> 7c995ae333f1 13:04:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:04:02 ---> Running in 458864c84ead 13:04:49 Removing intermediate container 458864c84ead 13:04:49 ---> 6bcfda942ab3 13:04:49 Step 12/13 : COPY . . 13:04:49 ---> 2481249f72ef 13:04:49 Step 13/13 : RUN ${MAKE} 13:04:49 ---> Running in 4474b40b5f30 13:04:49 noop 13:04:50 Removing intermediate container 4474b40b5f30 13:04:50 ---> 2f66221d2890 13:04:50 Successfully built 2f66221d2890 13:04:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:04:50 + docker inspect -f . ci-base-image-arm64 13:04:50 . [Pipeline] withDockerContainer 13:04:50 prd-ubuntu20.04-docker-arm64-4c-16g-64191 does not seem to be running inside a container 13:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 13:04:52 $ docker top 906ba8e79803fd5fc525befceb7b91e187fb55f6eb962b77987e5706fec61279 -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:53 + go version 13:04:53 go version go1.17.6 linux/arm64 [Pipeline] } 13:04:53 $ docker stop --time=1 906ba8e79803fd5fc525befceb7b91e187fb55f6eb962b77987e5706fec61279 13:04:54 $ docker rm -f 906ba8e79803fd5fc525befceb7b91e187fb55f6eb962b77987e5706fec61279 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:04:55 + docker inspect -f . ci-base-image-arm64 13:04:55 . [Pipeline] withDockerContainer 13:04:55 prd-ubuntu20.04-docker-arm64-4c-16g-64191 does not seem to be running inside a container 13:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 13:04:57 $ docker top 5457a27851f5c2484ef152937fdbccf0eb0fe9923c334ca771000340d70bb8c7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:04:58 + make test 13:04:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:05:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:06:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:06:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.071s coverage: 1.0% of statements 13:06:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:06:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:06:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:06:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:06:48 ./bin/test-attribution-txt.sh [Pipeline] echo 13:06:49 [edgeX.isLTS] Checking if [issue-66] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:06:50 $ docker stop --time=1 5457a27851f5c2484ef152937fdbccf0eb0fe9923c334ca771000340d70bb8c7 13:06:51 $ docker rm -f 5457a27851f5c2484ef152937fdbccf0eb0fe9923c334ca771000340d70bb8c7 [Pipeline] // withDockerContainer [Pipeline] sh 13:06:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:06:52 Warning: overwriting stash ‘coverage-report’ 13:06:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:06:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:06:54 + ls -al . 13:06:54 total 212 13:06:54 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:06 . 13:06:54 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:02 .. 13:06:54 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:03 .git 13:06:54 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:03 .github 13:06:54 -rw-rw-r-- 1 jenkins jenkins 352 May 20 13:03 .gitignore 13:06:54 -rw-rw-r-- 1 jenkins jenkins 42 May 20 13:03 .golangci.yml 13:06:54 -rw-rw-r-- 1 jenkins jenkins 9099 May 20 13:03 Attribution.txt 13:06:54 -rw-rw-r-- 1 jenkins jenkins 189 May 20 13:03 CHANGELOG.md 13:06:54 -rw-rw-r-- 1 jenkins jenkins 1667 May 20 13:03 Dockerfile 13:06:54 -rw-rw-r-- 1 jenkins jenkins 677 May 20 13:03 GOVERNANCE.md 13:06:54 -rw-rw-r-- 1 jenkins jenkins 660 May 20 13:03 Jenkinsfile 13:06:54 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 13:03 LICENSE 13:06:54 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 13:03 Makefile 13:06:54 -rw-rw-r-- 1 jenkins jenkins 625 May 20 13:03 OWNERS.md 13:06:54 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 13:03 README.md 13:06:54 -rw-rw-r-- 1 jenkins jenkins 5 May 20 13:00 VERSION 13:06:54 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:03 bin 13:06:54 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:03 cmd 13:06:54 -rw-r--r-- 1 jenkins jenkins 37307 May 20 13:06 coverage.out 13:06:54 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:03 doc 13:06:54 -rw-rw-r-- 1 jenkins jenkins 3546 May 20 13:03 go.mod 13:06:54 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 13:03 go.sum 13:06:54 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:03 internal 13:06:54 -rw-rw-r-- 1 jenkins jenkins 236 May 20 13:03 version.go [Pipeline] isUnix [Pipeline] sh 13:06:54 + 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=99e4fa65c00eec4a95619ae796b9ec4b51828628 --label arch=arm64 --label version=0.0.0 . 13:06:55 Sending build context to Docker daemon 5.854MB 13:06:55 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:06:55 Step 2/26 : FROM ${BASE} AS builder 13:06:55 ---> 2f66221d2890 13:06:55 Step 3/26 : ARG MAKE="make build" 13:06:55 ---> Running in 26321539c4b1 13:06:56 Removing intermediate container 26321539c4b1 13:06:56 ---> 26d75fe33bfd 13:06:56 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:06:56 ---> Running in fe2c36cf07bd 13:06:56 Removing intermediate container fe2c36cf07bd 13:06:56 ---> 58121e4c1cc2 13:06:56 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 13:06:56 ---> Running in a7163b77f44b 13:06:56 Removing intermediate container a7163b77f44b 13:06:56 ---> d8e905e06558 13:06:56 Step 6/26 : LABEL Name=edgex-device-onvif-camera 13:06:56 ---> Running in 16ebd3e76272 13:06:57 Removing intermediate container 16ebd3e76272 13:06:57 ---> c2b0da0744e0 13:06:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:06:57 ---> Running in 48a4f14c8a77 13:06:59 Removing intermediate container 48a4f14c8a77 13:06:59 ---> c7eb3b9b393d 13:06:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:59 ---> Running in de59f52af3ee 13:06:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:07:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:07:01 OK: 220 MiB in 52 packages 13:07:02 Removing intermediate container de59f52af3ee 13:07:02 ---> 40c48abea444 13:07:02 Step 9/26 : WORKDIR /device-onvif-camera 13:07:02 ---> Running in a39eda10e474 13:07:02 Removing intermediate container a39eda10e474 13:07:02 ---> daf54c87b704 13:07:02 Step 10/26 : COPY go.mod vendor* ./ 13:07:03 ---> 93001f4ccfc6 13:07:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:03 ---> Running in 4f3905d8d371 13:07:05 Removing intermediate container 4f3905d8d371 13:07:05 ---> 44f3ac5e9a88 13:07:05 Step 12/26 : COPY . . 13:07:05 ---> dc3d0787d801 13:07:05 Step 13/26 : RUN ${MAKE} 13:07:06 ---> Running in 4b210ebc2210 13:07:07 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 13:09:13 Removing intermediate container 4b210ebc2210 13:09:13 ---> 3318fa6886c0 13:09:13 Step 14/26 : FROM alpine:3.15 13:09:13 3.15: Pulling from library/alpine 13:09:13 9981e73032c8: Pulling fs layer 13:09:13 9981e73032c8: Verifying Checksum 13:09:13 9981e73032c8: Download complete 13:09:13 9981e73032c8: Pull complete 13:09:13 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:09:13 Status: Downloaded newer image for alpine:3.15 13:09:13 ---> 3fb3c9af89a9 13:09:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:09:14 ---> Running in 7fc477b1fe83 13:09:14 Removing intermediate container 7fc477b1fe83 13:09:14 ---> 2cabfc3940f6 13:09:14 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:09:14 ---> Running in 21201c11ac78 13:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:09:16 (1/6) Installing dumb-init (1.2.5-r1) 13:09:16 (2/6) Installing libgcc (10.3.1_git20211027-r0) 13:09:16 (3/6) Installing libsodium (1.0.18-r0) 13:09:16 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 13:09:16 (5/6) Installing libzmq (4.3.4-r0) 13:09:16 (6/6) Installing zeromq (4.3.4-r0) 13:09:16 Executing busybox-1.34.1-r5.trigger 13:09:16 OK: 8 MiB in 20 packages 13:09:17 Removing intermediate container 21201c11ac78 13:09:17 ---> c6c6e212f029 13:09:17 Step 17/26 : WORKDIR / 13:09:17 ---> Running in 125145b3f4c8 13:09:18 Removing intermediate container 125145b3f4c8 13:09:18 ---> 24b9fbb6fd8f 13:09:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 13:09:19 ---> 3c7139cd6b28 13:09:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 13:09:20 ---> d48ee0f234de 13:09:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:09:20 ---> 6c79b96e8f30 13:09:20 Step 21/26 : EXPOSE 59984 13:09:20 ---> Running in bfac00c878ee 13:09:21 Removing intermediate container bfac00c878ee 13:09:21 ---> 4d1538e858b7 13:09:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 13:09:21 ---> Running in ca7708b2b67c 13:09:21 Removing intermediate container ca7708b2b67c 13:09:21 ---> ec0ca8afb4c9 13:09:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:09:21 ---> Running in b2b7699cfa96 13:09:21 Removing intermediate container b2b7699cfa96 13:09:21 ---> cd90d58f6673 13:09:21 Step 24/26 : LABEL arch=arm64 13:09:21 ---> Running in e08785752695 13:09:22 Removing intermediate container e08785752695 13:09:22 ---> a4144493f1a2 13:09:22 Step 25/26 : LABEL git_sha=99e4fa65c00eec4a95619ae796b9ec4b51828628 13:09:22 ---> Running in fad09776a26e 13:09:22 Removing intermediate container fad09776a26e 13:09:22 ---> 64f0bb3a18bb 13:09:22 Step 26/26 : LABEL version=0.0.0 13:09:22 ---> Running in 605c5fa6574b 13:09:22 Removing intermediate container 605c5fa6574b 13:09:22 ---> adc98aa7de19 13:09:22 [Warning] One or more build-args [ARCH] were not consumed 13:09:22 Successfully built adc98aa7de19 13:09:22 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 13:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:23 13:09:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:09:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:24 arm64: Pulling from edgex-lftools-log-publisher 13:09:24 8998bd30e6a1: Pulling fs layer 13:09:24 04944245beec: Pulling fs layer 13:09:24 699f458cf7ca: Pulling fs layer 13:09:24 765212b225bb: Pulling fs layer 13:09:24 f23df028b6ca: Pulling fs layer 13:09:24 d65c8cfc05b1: Pulling fs layer 13:09:24 2437ff75d9bd: Pulling fs layer 13:09:24 f23df028b6ca: Waiting 13:09:24 765212b225bb: Waiting 13:09:24 d65c8cfc05b1: Waiting 13:09:24 2437ff75d9bd: Waiting 13:09:24 04944245beec: Verifying Checksum 13:09:24 04944245beec: Download complete 13:09:24 765212b225bb: Verifying Checksum 13:09:24 765212b225bb: Download complete 13:09:24 f23df028b6ca: Verifying Checksum 13:09:24 f23df028b6ca: Download complete 13:09:24 d65c8cfc05b1: Verifying Checksum 13:09:24 d65c8cfc05b1: Download complete 13:09:24 699f458cf7ca: Verifying Checksum 13:09:24 699f458cf7ca: Download complete 13:09:25 8998bd30e6a1: Verifying Checksum 13:09:25 8998bd30e6a1: Download complete 13:09:27 2437ff75d9bd: Verifying Checksum 13:09:27 2437ff75d9bd: Download complete 13:09:29 8998bd30e6a1: Pull complete 13:09:29 04944245beec: Pull complete 13:09:31 699f458cf7ca: Pull complete 13:09:31 765212b225bb: Pull complete 13:09:32 f23df028b6ca: Pull complete 13:09:32 d65c8cfc05b1: Pull complete 13:09:47 2437ff75d9bd: Pull complete 13:09:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:09:47 prd-ubuntu20.04-docker-arm64-4c-16g-64191 does not seem to be running inside a container 13:09:48 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:09:50 $ docker top 83d18ed76db239fbb3ae6bf43a5406e091b1ccf166dec85898d9265ae26e2b79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:51 ---> job-cost.sh 13:09:51 lf-activate-venv: SKIPPING 13:09:51 INFO: No Stack... 13:09:52 INFO: Retrieving Pricing Info for: v3-standard-4 13:09:53 INFO: Archiving Costs [Pipeline] sh 13:09:53 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 13:09:53 + cut -d, -f6 [Pipeline] lock 13:09:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] 13:09:53 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] did not exist. Created. 13:09:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:09:54 /w/workspace/device-onvif-camera/1@tmp/durable-4726ae6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:09:55 + echo total: 0.10999999940395355 [Pipeline] stash 13:09:55 Warning: overwriting stash ‘stack-cost’ 13:09:55 Stashed 1 file(s) [Pipeline] } 13:09:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-66-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:09:55 $ docker stop --time=1 83d18ed76db239fbb3ae6bf43a5406e091b1ccf166dec85898d9265ae26e2b79 13:09:57 $ docker rm -f 83d18ed76db239fbb3ae6bf43a5406e091b1ccf166dec85898d9265ae26e2b79 [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 13:09:58 provisioning config files... 13:09:58 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/dry_device-onvif-camera_issue-66@tmp/config4698472256690245783tmp [Pipeline] { [Pipeline] sh 13:09:58 + set +x 13:09:58 + curl -s https://codecov.io/bash 13:09:58 + bash -s -- 13:09:58 13:09:58 _____ _ 13:09:58 / ____| | | 13:09:58 | | ___ __| | ___ ___ _____ __ 13:09:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:09:58 | |___| (_) | (_| | __/ (_| (_) \ V / 13:09:58 \_____\___/ \__,_|\___|\___\___/ \_/ 13:09:58 Bash-1.0.6 13:09:58 13:09:58 13:09:58 ==> git version 2.25.1 found 13:09:58 ==> 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 13:09:58 Release-Date: 2020-01-08 13:09:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:09:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:09:58 ==> Jenkins CI detected. 13:09:58 current dir:  /w/workspace/dry_device-onvif-camera_issue-66 13:09:58 project root: . 13:09:58 --> token set from env 13:09:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:09:58 ==> Running gcov in . (disable via -X gcov) 13:09:58 ==> Python coveragepy not found 13:09:58 ==> Searching for coverage reports in: 13:09:58 + . 13:09:58 -> Found 1 reports 13:09:58 ==> Detecting git/mercurial file structure 13:09:59 ==> Reading reports 13:09:59 + ./coverage.out bytes=37307 13:09:59 ==> Appending adjustments 13:09:59 https://docs.codecov.io/docs/fixing-reports 13:09:59 + Found adjustments 13:09:59 ==> Gzipping contents 13:09:59 8.0K /tmp/codecov.MCmh8o.gz 13:09:59 ==> Uploading reports 13:09:59 url: https://codecov.io 13:09:59 query: branch=issue-66&commit=99e4fa65c00eec4a95619ae796b9ec4b51828628&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-66%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 13:09:59 -> Pinging Codecov 13:09:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=issue-66&commit=99e4fa65c00eec4a95619ae796b9ec4b51828628&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-66%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 13:09:59 -> Uploading to 13:09:59 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/F29A59C45E3A92E06B3E522C9905F8EF/99e4fa65c00eec4a95619ae796b9ec4b51828628/dfe8c884-5fbc-4a3f-9982-4ffc4efa4584.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T130959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d6aacdc296f5450675b2dad0e6ccbcf9af3f7731d895c461a582e49e27ed734 13:09:59 % Total % Received % Xferd Average Speed Time Time Time Current 13:09:59 Dload Upload Total Spent Left Speed 13:09:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4577 0 0 100 4577 0 18681 --:--:-- --:--:-- --:--:-- 18605 13:09:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] } 13:09:59 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 13:10:01 + [ -d /w/workspace/dry_device-onvif-camera_issue-66/archives ] 13:10:01 + ls -al /w/workspace/dry_device-onvif-camera_issue-66/archives 13:10:01 total 16 13:10:01 drwxr-xr-x 3 root root 4096 May 20 13:02 . 13:10:01 drwxrwxr-x 10 jenkins jenkins 4096 May 20 13:02 .. 13:10:01 drwxr-xr-x 2 root root 4096 May 20 13:02 cost 13:10:01 -rw-r--r-- 1 root root 92 May 20 13:02 cost.csv 13:10:01 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-66/archives 13:10:01 + ls -al /w/workspace/dry_device-onvif-camera_issue-66/archives 13:10:01 total 16 13:10:01 drwxr-xr-x 3 jenkins jenkins 4096 May 20 13:02 . 13:10:01 drwxrwxr-x 10 jenkins jenkins 4096 May 20 13:02 .. 13:10:01 drwxr-xr-x 2 jenkins jenkins 4096 May 20 13:02 cost 13:10:01 -rw-r--r-- 1 jenkins jenkins 92 May 20 13:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:10:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:02 ---> package-listing.sh 13:10:02 ++ facter osfamily 13:10:02 ++ tr '[:upper:]' '[:lower:]' 13:10:03 + OS_FAMILY=debian 13:10:03 + workspace=/w/workspace/dry_device-onvif-camera_issue-66 13:10:03 + START_PACKAGES=/tmp/packages_start.txt 13:10:03 + END_PACKAGES=/tmp/packages_end.txt 13:10:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:03 + PACKAGES=/tmp/packages_start.txt 13:10:03 + '[' /w/workspace/dry_device-onvif-camera_issue-66 ']' 13:10:03 + PACKAGES=/tmp/packages_end.txt 13:10:03 + case "${OS_FAMILY}" in 13:10:03 + dpkg -l 13:10:03 + grep '^ii' 13:10:03 + '[' -f /tmp/packages_start.txt ']' 13:10:03 + '[' -f /tmp/packages_end.txt ']' 13:10:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:03 + '[' /w/workspace/dry_device-onvif-camera_issue-66 ']' 13:10:03 + mkdir -p /w/workspace/dry_device-onvif-camera_issue-66/archives/ 13:10:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_device-onvif-camera_issue-66/archives/ [Pipeline] echo 13:10:03 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/dry_device-onvif-camera_issue-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:03 . [Pipeline] withDockerContainer 13:10:04 prd-ubuntu20.04-docker-8c-8g-64190 does not seem to be running inside a container 13:10:04 $ 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/dry_device-onvif-camera_issue-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-66 -v /w/workspace/dry_device-onvif-camera_issue-66:/w/workspace/dry_device-onvif-camera_issue-66:rw,z -v /w/workspace/dry_device-onvif-camera_issue-66@tmp:/w/workspace/dry_device-onvif-camera_issue-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:10:04 $ docker top a7526c82332916e1b9f7d16f707578d33340d8ff5307f5c7e1d7a11b2bef77a7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:04 + touch /tmp/pre-build-complete [Pipeline] sh 13:10:05 + mkdir -p /var/log/sysstat [Pipeline] sh 13:10:05 + ls /var/log/sa-host 13:10:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:05 provisioning config files... 13:10:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-onvif-camera_issue-66@tmp/config8299610917326465410tmp [Pipeline] { [Pipeline] echo 13:10:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:10:06 ---> create-netrc.sh [Pipeline] } 13:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:10:06 ---> python-tools-install.sh [Pipeline] echo 13:10:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:10:06 ---> sudo-logs.sh 13:10:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:10:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:10:07 ---> job-cost.sh 13:10:07 lf-activate-venv: SKIPPING 13:10:07 DEBUG: total: 0.2199999988079071 13:10:07 INFO: Retrieving Stack Cost... 13:10:07 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:08 INFO: Archiving Costs [Pipeline] echo 13:10:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:10:08 ---> logs-deploy.sh 13:10:08 lf-activate-venv: SKIPPING 13:10:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/issue-66/1 13:10:08 INFO: archiving workspace using pattern(s): 13:10:09 Archives upload complete. 13:10:09 INFO: archiving logs to Nexus