Pull request #65 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 18118626ca0893b728531bfc2ef8f97357a298a2 rather than a1be4988cd933429e45f7ee3bed69cf1725361f3 Obtained Jenkinsfile from 18118626ca0893b728531bfc2ef8f97357a298a2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1816460017876760354.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-ssh17482848474432368040.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12293194404939846282.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1454326933033270639.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16042718845707697426.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-609 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit a1be4988cd933429e45f7ee3bed69cf1725361f3 Merge succeeded, producing 808de0c143d46081d36b558d7b26536cb8cf1ed9 Checking out Revision 808de0c143d46081d36b558d7b26536cb8cf1ed9 (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f a1be4988cd933429e45f7ee3bed69cf1725361f3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 808de0c143d46081d36b558d7b26536cb8cf1ed9 # timeout=10 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:03:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:03:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:03:47 ========================================================= 00:03:47 EdgeX Global Pipelines Version Info 00:03:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3d469abd9a882ab41759bf06fbae54ab0889207c # timeout=10 00:03:48 ------------------- 00:03:48 stable info: 00:03:48 ------------------- 00:03:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:48 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:03:48 Message: update stable to v1.0.230 00:03:48 ------------------- 00:03:48 experimental info: 00:03:48 ------------------- 00:03:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:48 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 00:03:48 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 808de0c143d46081d36b558d7b26536cb8cf1ed9 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 808de0c [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:03:49 provisioning config files... 00:03:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config7751798934944114273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:49 ---> docker-login.sh 00:03:49 nexus3.edgexfoundry.org:10001 00:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:50 Configure a credential helper to remove this warning. See 00:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:50 00:03:50 Login Succeeded 00:03:50 nexus3.edgexfoundry.org:10002 00:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:50 Configure a credential helper to remove this warning. See 00:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:50 00:03:50 Login Succeeded 00:03:50 nexus3.edgexfoundry.org:10003 00:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:50 Configure a credential helper to remove this warning. See 00:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:50 00:03:50 Login Succeeded 00:03:50 nexus3.edgexfoundry.org:10004 00:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:50 Configure a credential helper to remove this warning. See 00:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:50 00:03:50 Login Succeeded 00:03:50 docker.io 00:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:51 Configure a credential helper to remove this warning. See 00:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:51 00:03:51 Login Succeeded 00:03:51 ---> docker-login.sh ends [Pipeline] } 00:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:03:51 + git rev-list -1 --merges 808de0c143d46081d36b558d7b26536cb8cf1ed9~1..808de0c143d46081d36b558d7b26536cb8cf1ed9 [Pipeline] echo 00:03:51 -----------> git rev-list -1 --merges 808de0c143d46081d36b558d7b26536cb8cf1ed9~1..808de0c143d46081d36b558d7b26536cb8cf1ed9 808de0c143d46081d36b558d7b26536cb8cf1ed9 00:03:51 808de0c143d46081d36b558d7b26536cb8cf1ed9 [false] [Pipeline] sh 00:03:51 + git log --format=format:%s -1 808de0c143d46081d36b558d7b26536cb8cf1ed9 [Pipeline] echo 00:03:51 ========================================================= 00:03:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:03:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:52 + git log --format=format:%s -1 808de0c143d46081d36b558d7b26536cb8cf1ed9 [Pipeline] echo 00:03:52 [semverPrep] GIT_COMMIT: 808de0c143d46081d36b558d7b26536cb8cf1ed9, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo 00:03:52 [semverPrep] This is not a build commit. [Pipeline] sh 00:03:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:03:52 + grep -v github /etc/ssh/ssh_known_hosts 00:03:52 + [ -e /tmp/ssh_known_hosts ] 00:03:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:03:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:03:52 + sudo tee -a /etc/ssh/ssh_known_hosts 00:03:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:03:53 00:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:03:53 latest: Pulling from edgex-devops/py-git-semver 00:03:53 1fe172e4850f: Pulling fs layer 00:03:53 caf521ccaac6: Pulling fs layer 00:03:53 3ead6fa29328: Pulling fs layer 00:03:53 5c2a1cbceb83: Pulling fs layer 00:03:53 a8d5f1318db7: Pulling fs layer 00:03:53 c427282e49a2: Pulling fs layer 00:03:53 1827001aaf11: Pulling fs layer 00:03:53 0714d37db230: Pulling fs layer 00:03:53 ac28cf19c067: Pulling fs layer 00:03:53 ca983d60f3e2: Pulling fs layer 00:03:53 9f894cec8388: Pulling fs layer 00:03:53 5c2a1cbceb83: Waiting 00:03:53 a8d5f1318db7: Waiting 00:03:53 c427282e49a2: Waiting 00:03:53 1827001aaf11: Waiting 00:03:53 0714d37db230: Waiting 00:03:53 9f894cec8388: Waiting 00:03:53 ac28cf19c067: Waiting 00:03:53 ca983d60f3e2: Waiting 00:03:53 caf521ccaac6: Download complete 00:03:53 5c2a1cbceb83: Download complete 00:03:53 3ead6fa29328: Verifying Checksum 00:03:53 3ead6fa29328: Download complete 00:03:53 a8d5f1318db7: Verifying Checksum 00:03:53 a8d5f1318db7: Download complete 00:03:53 c427282e49a2: Verifying Checksum 00:03:53 c427282e49a2: Download complete 00:03:53 0714d37db230: Verifying Checksum 00:03:53 0714d37db230: Download complete 00:03:53 ac28cf19c067: Download complete 00:03:53 ca983d60f3e2: Verifying Checksum 00:03:53 ca983d60f3e2: Download complete 00:03:53 9f894cec8388: Verifying Checksum 00:03:53 9f894cec8388: Download complete 00:03:53 1fe172e4850f: Verifying Checksum 00:03:53 1fe172e4850f: Download complete 00:03:53 1827001aaf11: Verifying Checksum 00:03:53 1827001aaf11: Download complete 00:03:54 1fe172e4850f: Pull complete 00:03:55 caf521ccaac6: Pull complete 00:03:55 3ead6fa29328: Pull complete 00:03:55 5c2a1cbceb83: Pull complete 00:03:55 a8d5f1318db7: Pull complete 00:03:55 c427282e49a2: Pull complete 00:03:57 1827001aaf11: Pull complete 00:03:57 0714d37db230: Pull complete 00:03:58 ac28cf19c067: Pull complete 00:03:58 ca983d60f3e2: Pull complete 00:03:58 9f894cec8388: Pull complete 00:03:58 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:03:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:03:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:58 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 00:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:03:59 $ docker top ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 -eo pid,comm 00:03:59 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). 00:03:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:03:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:59 [ssh-agent] Looking for ssh-agent implementation... 00:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:59 $ docker exec ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 ssh-agent 00:04:00 SSH_AUTH_SOCK=/tmp/ssh-zZEAWBNpqYoL/agent.32 00:04:00 SSH_AGENT_PID=39 00:04:00 Running ssh-add (command line suppressed) 00:04:00 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3308709576210853174.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3308709576210853174.key) 00:04:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:00 + git tag --points-at HEAD [Pipeline] } 00:04:00 $ docker exec --env ******** --env ******** ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 ssh-agent -k 00:04:00 unset SSH_AUTH_SOCK; 00:04:00 unset SSH_AGENT_PID; 00:04:00 echo Agent pid 39 killed; 00:04:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:04:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:04:00 [ssh-agent] Looking for ssh-agent implementation... 00:04:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:04:00 $ docker exec ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 ssh-agent 00:04:00 SSH_AUTH_SOCK=/tmp/ssh-vjlefPTPTVHt/agent.72 00:04:00 SSH_AGENT_PID=79 00:04:00 Running ssh-add (command line suppressed) 00:04:01 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1579048995742610491.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1579048995742610491.key) 00:04:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:01 + git semver init 00:04:01 2022-06-02 00:04:01,534 [run_init] DEBUG init version:0.0.0 force:False 00:04:01 2022-06-02 00:04:01,535 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 00:04:01 2022-06-02 00:04:01,535 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 00:04:01 2022-06-02 00:04:01,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) 00:04:02 2022-06-02 00:04:02,216 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 00:04:02 2022-06-02 00:04:02,217 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False 00:04:02 2022-06-02 00:04:02,217 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 00:04:02 2022-06-02 00:04:02,217 [write_version] DEBUG version is same as current version 0.0.0 00:04:02 2022-06-02 00:04:02,217 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 00:04:02 0.0.0 [Pipeline] } 00:04:02 $ docker exec --env ******** --env ******** ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 ssh-agent -k 00:04:02 unset SSH_AUTH_SOCK; 00:04:02 unset SSH_AGENT_PID; 00:04:02 echo Agent pid 79 killed; 00:04:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:04:03 + git semver [Pipeline] } 00:04:03 $ docker stop --time=1 ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 00:04:04 $ docker rm -f ecaf0e57fd9f54f02450d49430483c6a79c6729afbdd7554c59f17aab7a43788 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:04:05 Stashed 1 file(s) [Pipeline] echo 00:04:05 [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 00:04:05 provisioning config files... 00:04:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4232606417738390753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:05 ---> docker-login.sh 00:04:05 nexus3.edgexfoundry.org:10001 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 nexus3.edgexfoundry.org:10002 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 nexus3.edgexfoundry.org:10003 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 nexus3.edgexfoundry.org:10004 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:06 Configure a credential helper to remove this warning. See 00:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:06 00:04:06 Login Succeeded 00:04:06 docker.io 00:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:06 Configure a credential helper to remove this warning. See 00:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:06 00:04:06 Login Succeeded 00:04:06 ---> docker-login.sh ends [Pipeline] } 00:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:04:06 ========================================================= 00:04:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:04:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:06 + 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 . 00:04:06 Sending build context to Docker daemon 8.777MB 00:04:06 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:04:06 Step 2/13 : FROM ${BASE} AS builder 00:04:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:04:06 59bf1c3509f3: Pulling fs layer 00:04:06 666ba61612fd: Pulling fs layer 00:04:06 8ed8ca486205: Pulling fs layer 00:04:06 4fe6c5a15a65: Pulling fs layer 00:04:06 22a0e8bec74d: Pulling fs layer 00:04:06 ca2b28591e48: Pulling fs layer 00:04:06 a51346096db8: Pulling fs layer 00:04:06 daebc70d1ce1: Pulling fs layer 00:04:06 0e18a0eac166: Pulling fs layer 00:04:06 4fe6c5a15a65: Waiting 00:04:06 0e18a0eac166: Waiting 00:04:06 ca2b28591e48: Waiting 00:04:06 a51346096db8: Waiting 00:04:06 daebc70d1ce1: Waiting 00:04:06 8ed8ca486205: Download complete 00:04:07 666ba61612fd: Download complete 00:04:07 22a0e8bec74d: Download complete 00:04:07 ca2b28591e48: Verifying Checksum 00:04:07 ca2b28591e48: Download complete 00:04:07 59bf1c3509f3: Verifying Checksum 00:04:07 a51346096db8: Verifying Checksum 00:04:07 a51346096db8: Download complete 00:04:07 daebc70d1ce1: Verifying Checksum 00:04:07 daebc70d1ce1: Download complete 00:04:07 59bf1c3509f3: Pull complete 00:04:07 666ba61612fd: Pull complete 00:04:07 8ed8ca486205: Pull complete 00:04:07 0e18a0eac166: Verifying Checksum 00:04:07 4fe6c5a15a65: Verifying Checksum 00:04:07 4fe6c5a15a65: Download complete 00:04:11 4fe6c5a15a65: Pull complete 00:04:11 22a0e8bec74d: Pull complete 00:04:11 ca2b28591e48: Pull complete 00:04:11 a51346096db8: Pull complete 00:04:11 daebc70d1ce1: Pull complete 00:04:14 0e18a0eac166: Pull complete 00:04:14 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:04:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:04:14 ---> f018257e8ee9 00:04:14 Step 3/13 : ARG MAKE="make build" 00:04:15 ---> Running in 1e16419e7725 00:04:15 Removing intermediate container 1e16419e7725 00:04:15 ---> 4b2b534278a1 00:04:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:04:15 ---> Running in 8ed1bdead867 00:04:15 Removing intermediate container 8ed1bdead867 00:04:15 ---> 169baf55b39f 00:04:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:04:15 ---> Running in 46e2fdf46870 00:04:15 Removing intermediate container 46e2fdf46870 00:04:15 ---> 2d72eba77979 00:04:15 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:04:15 ---> Running in 09afccba771a 00:04:15 Removing intermediate container 09afccba771a 00:04:15 ---> eb2afa0d811d 00:04:15 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:15 ---> Running in 951adbecf4ef 00:04:16 Removing intermediate container 951adbecf4ef 00:04:16 ---> d37323308ad6 00:04:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:16 ---> Running in 2b309eaea5d5 00:04:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:04:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:04:18 OK: 221 MiB in 52 packages 00:04:18 Removing intermediate container 2b309eaea5d5 00:04:18 ---> ef14a722f705 00:04:18 Step 9/13 : WORKDIR /device-onvif-camera 00:04:18 ---> Running in 9ba538cbff9f 00:04:18 Removing intermediate container 9ba538cbff9f 00:04:18 ---> 91fc7edcbe54 00:04:18 Step 10/13 : COPY go.mod vendor* ./ 00:04:18 ---> df9a855a63ab 00:04:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:18 ---> Running in 05da027a5218 00:04:20 Still waiting to schedule task 00:04:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:04:36 Removing intermediate container 05da027a5218 00:04:36 ---> e585ab2b68df 00:04:36 Step 12/13 : COPY . . 00:04:36 ---> d2ae21699e35 00:04:36 Step 13/13 : RUN ${MAKE} 00:04:36 ---> Running in 5f16a124dcac 00:04:36 noop 00:04:36 Removing intermediate container 5f16a124dcac 00:04:36 ---> 64efb976d0bb 00:04:36 Successfully built 64efb976d0bb 00:04:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:37 + docker inspect -f . ci-base-image-x86_64 00:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:37 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 00:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:04:37 $ docker top 7a586d8dc67d9f64c00fa8863760ecb1cf80500266c85a0825097f6411cdb1c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:37 + go version 00:04:37 go version go1.17.6 linux/amd64 [Pipeline] } 00:04:38 $ docker stop --time=1 7a586d8dc67d9f64c00fa8863760ecb1cf80500266c85a0825097f6411cdb1c8 00:04:39 $ docker rm -f 7a586d8dc67d9f64c00fa8863760ecb1cf80500266c85a0825097f6411cdb1c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:39 + docker inspect -f . ci-base-image-x86_64 00:04:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:39 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 00:04:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:04:40 $ docker top 036fcadf684cdccd0ee5d9a79f37deaf8f1b8c339a54369db4bd4287e6b95143 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:04:40 + make test 00:04:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:04:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:04:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:04:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 0.9% of statements 00:04:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.776s coverage: 13.8% of statements 00:05:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:05:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:05:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:05:04 ./bin/test-attribution-txt.sh [Pipeline] echo 00:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:05:04 $ docker stop --time=1 036fcadf684cdccd0ee5d9a79f37deaf8f1b8c339a54369db4bd4287e6b95143 00:05:06 $ docker rm -f 036fcadf684cdccd0ee5d9a79f37deaf8f1b8c339a54369db4bd4287e6b95143 [Pipeline] // withDockerContainer [Pipeline] sh 00:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:05:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:05:08 + ls -al . 00:05:08 total 228 00:05:08 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 00:05 . 00:05:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:03 .. 00:05:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 00:04 .git 00:05:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:03 .github 00:05:08 -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 00:03 .gitignore 00:05:08 -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 00:03 .golangci.yml 00:05:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 00:04 .semver 00:05:08 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 00:03 Attribution.txt 00:05:08 -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 00:03 CHANGELOG.md 00:05:08 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 00:03 Dockerfile 00:05:08 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 00:03 GOVERNANCE.md 00:05:08 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 00:03 Jenkinsfile 00:05:08 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 00:03 LICENSE 00:05:08 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 00:03 Makefile 00:05:08 -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 00:03 OWNERS.md 00:05:08 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 00:03 README.md 00:05:08 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 00:04 VERSION 00:05:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:03 bin 00:05:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 00:03 cmd 00:05:08 -rw-r--r-- 1 jenkins jenkins 49507 Jun 2 00:04 coverage.out 00:05:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:03 doc 00:05:08 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 00:03 go.mod 00:05:08 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 00:03 go.sum 00:05:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:03 internal 00:05:08 -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 00:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:08 + 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=808de0c143d46081d36b558d7b26536cb8cf1ed9 --label arch=amd64 --label version=0.0.0 . 00:05:08 Sending build context to Docker daemon 8.827MB 00:05:08 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:05:08 Step 2/26 : FROM ${BASE} AS builder 00:05:08 ---> 64efb976d0bb 00:05:08 Step 3/26 : ARG MAKE="make build" 00:05:08 ---> Running in cd51afb594cf 00:05:08 Removing intermediate container cd51afb594cf 00:05:08 ---> bf5645561866 00:05:08 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:05:08 ---> Running in 24793297690f 00:05:08 Removing intermediate container 24793297690f 00:05:08 ---> 494230b00d50 00:05:08 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:05:08 ---> Running in f087f88eab04 00:05:08 Removing intermediate container f087f88eab04 00:05:08 ---> f5d1657a8add 00:05:08 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:05:08 ---> Running in 799e5859dda2 00:05:08 Removing intermediate container 799e5859dda2 00:05:08 ---> 3e5790703cf0 00:05:08 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:05:09 ---> Running in c8e69fdd41d7 00:05:09 Removing intermediate container c8e69fdd41d7 00:05:09 ---> 663ab54d335b 00:05:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:05:09 ---> Running in 65499ada2b7b 00:05:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:05:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:05:10 OK: 221 MiB in 52 packages 00:05:11 Removing intermediate container 65499ada2b7b 00:05:11 ---> 2ccdf25d6f11 00:05:11 Step 9/26 : WORKDIR /device-onvif-camera 00:05:11 ---> Running in 47af0cbe3078 00:05:11 Removing intermediate container 47af0cbe3078 00:05:11 ---> 92cb74dbda15 00:05:11 Step 10/26 : COPY go.mod vendor* ./ 00:05:11 ---> fcb11265c43c 00:05:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:05:11 ---> Running in 8ed61bd0e8b7 00:05:12 Removing intermediate container 8ed61bd0e8b7 00:05:12 ---> 2b04e65b5a06 00:05:12 Step 12/26 : COPY . . 00:05:12 ---> 23710051d96b 00:05:12 Step 13/26 : RUN ${MAKE} 00:05:12 ---> Running in 6eb42e6136ac 00:05:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:05:35 Removing intermediate container 6eb42e6136ac 00:05:35 ---> f46cf5db2cc4 00:05:35 Step 14/26 : FROM alpine:3.15 00:05:35 3.15: Pulling from library/alpine 00:05:35 df9b9388f04a: Pulling fs layer 00:05:35 df9b9388f04a: Verifying Checksum 00:05:35 df9b9388f04a: Download complete 00:05:35 df9b9388f04a: Pull complete 00:05:35 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:05:35 Status: Downloaded newer image for alpine:3.15 00:05:35 ---> 0ac33e5f5afa 00:05:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:05:35 ---> Running in f86f02715ba2 00:05:35 Removing intermediate container f86f02715ba2 00:05:35 ---> 55f5ca326bc9 00:05:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:05:35 ---> Running in c8cfe4cc7682 00:05:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:05:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:05:35 (1/6) Installing dumb-init (1.2.5-r1) 00:05:35 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:05:35 (3/6) Installing libsodium (1.0.18-r0) 00:05:35 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:05:35 (5/6) Installing libzmq (4.3.4-r0) 00:05:35 (6/6) Installing zeromq (4.3.4-r0) 00:05:35 Executing busybox-1.34.1-r5.trigger 00:05:35 OK: 8 MiB in 20 packages 00:05:35 Removing intermediate container c8cfe4cc7682 00:05:35 ---> 473d55e47c79 00:05:35 Step 17/26 : WORKDIR / 00:05:35 ---> Running in 0344435c3b1f 00:05:35 Removing intermediate container 0344435c3b1f 00:05:35 ---> 4c8d84d0514b 00:05:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:05:35 ---> 10e03db16c8e 00:05:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:05:35 ---> 4b4ff87edb48 00:05:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:05:35 ---> f7cc5a0e2e23 00:05:35 Step 21/26 : EXPOSE 59984 00:05:35 ---> Running in a50055217a11 00:05:35 Removing intermediate container a50055217a11 00:05:35 ---> c58005241d19 00:05:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:05:35 ---> Running in eec928a93785 00:05:35 Removing intermediate container eec928a93785 00:05:35 ---> 5e808464bd37 00:05:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:05:35 ---> Running in 5a346198ca7d 00:05:35 Removing intermediate container 5a346198ca7d 00:05:35 ---> 5da239d9f885 00:05:35 Step 24/26 : LABEL arch=amd64 00:05:35 ---> Running in ef4b00363d8f 00:05:35 Removing intermediate container ef4b00363d8f 00:05:35 ---> 3c96f2a24ad9 00:05:35 Step 25/26 : LABEL git_sha=808de0c143d46081d36b558d7b26536cb8cf1ed9 00:05:35 ---> Running in da3ff69a2b26 00:05:35 Removing intermediate container da3ff69a2b26 00:05:35 ---> 0d4aac8a83d3 00:05:35 Step 26/26 : LABEL version=0.0.0 00:05:35 ---> Running in bb020eecf259 00:05:35 Removing intermediate container bb020eecf259 00:05:35 ---> d534da040ea5 00:05:35 [Warning] One or more build-args [ARCH] were not consumed 00:05:35 Successfully built d534da040ea5 00:05:35 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:36 00:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:36 latest: Pulling from edgex-lftools-log-publisher 00:05:36 5eb5b503b376: Pulling fs layer 00:05:36 5c69ac0246d0: Pulling fs layer 00:05:36 ec43610c2a17: Pulling fs layer 00:05:36 3a2ae6a8a46f: Pulling fs layer 00:05:36 33b1e0a273af: Pulling fs layer 00:05:36 5d3b04190fa2: Pulling fs layer 00:05:36 2f39f015ded8: Pulling fs layer 00:05:36 3a2ae6a8a46f: Waiting 00:05:36 2f39f015ded8: Waiting 00:05:36 33b1e0a273af: Waiting 00:05:36 5d3b04190fa2: Waiting 00:05:36 5c69ac0246d0: Verifying Checksum 00:05:36 5c69ac0246d0: Download complete 00:05:36 3a2ae6a8a46f: Verifying Checksum 00:05:36 3a2ae6a8a46f: Download complete 00:05:36 33b1e0a273af: Verifying Checksum 00:05:36 33b1e0a273af: Download complete 00:05:36 5d3b04190fa2: Verifying Checksum 00:05:36 5d3b04190fa2: Download complete 00:05:36 ec43610c2a17: Verifying Checksum 00:05:36 ec43610c2a17: Download complete 00:05:36 5eb5b503b376: Verifying Checksum 00:05:36 5eb5b503b376: Download complete 00:05:37 2f39f015ded8: Verifying Checksum 00:05:37 2f39f015ded8: Download complete 00:05:38 5eb5b503b376: Pull complete 00:05:38 5c69ac0246d0: Pull complete 00:05:38 ec43610c2a17: Pull complete 00:05:38 3a2ae6a8a46f: Pull complete 00:05:39 33b1e0a273af: Pull complete 00:05:39 5d3b04190fa2: Pull complete 00:05:43 2f39f015ded8: Pull complete 00:05:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:05:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:43 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 00:05:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:05:45 $ docker top 2a8153269a5147cbef6db823d7945742594a407df4ed029074b298bb363b5de1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:45 ---> job-cost.sh 00:05:45 lf-activate-venv: SKIPPING 00:05:45 INFO: No Stack... 00:05:45 INFO: Retrieving Pricing Info for: v3-standard-8 00:05:46 INFO: Archiving Costs [Pipeline] sh 00:05:46 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 00:05:46 + cut -d, -f6 [Pipeline] lock 00:05:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] 00:05:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] did not exist. Created. 00:05:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:46 + echo total: 0.2199999988079071 [Pipeline] stash 00:05:46 Stashed 1 file(s) [Pipeline] } 00:05:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:47 $ docker stop --time=1 2a8153269a5147cbef6db823d7945742594a407df4ed029074b298bb363b5de1 00:05:48 $ docker rm -f 2a8153269a5147cbef6db823d7945742594a407df4ed029074b298bb363b5de1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:05:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-611 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 00:05:57 Running in /w/workspace/device-onvif-camera/17 [Pipeline] { [Pipeline] checkout 00:05:57 Selected Git installation does not exist. Using Default 00:05:57 The recommended git tool is: NONE 00:06:03 using credential edgex-jenkins-ssh 00:06:03 Cloning the remote Git repository 00:06:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:06:03 > git init /w/workspace/device-onvif-camera/17 # timeout=10 00:06:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:06:03 > git --version # timeout=10 00:06:03 > git --version # 'git version 2.25.1' 00:06:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:05 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit a1be4988cd933429e45f7ee3bed69cf1725361f3 00:06:05 Merge succeeded, producing bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae 00:06:05 Checking out Revision bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae (PR-65) 00:06:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:06:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:06:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:06:05 > git config core.sparsecheckout # timeout=10 00:06:05 > git checkout -f a1be4988cd933429e45f7ee3bed69cf1725361f3 # timeout=10 00:06:05 > git remote # timeout=10 00:06:05 > git config --get remote.origin.url # timeout=10 00:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:05 > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 00:06:05 > git rev-parse HEAD^{commit} # timeout=10 00:06:05 > git config core.sparsecheckout # timeout=10 00:06:06 > git checkout -f bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae # timeout=10 00:06:10 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" 00:06:10 First time build. Skipping changelog. 00:06:10 > git rev-list --no-walk 3d469abd9a882ab41759bf06fbae54ab0889207c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:06:11 % Total % Received % Xferd Average Speed Time Time Time Current 00:06:11 Dload Upload Total Spent Left Speed 00:06:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 75171 0 --:--:-- --:--:-- --:--:-- 75171 [Pipeline] sh 00:06:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:06:12 + sudo tee /etc/docker/daemon.new 00:06:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:06:12 { 00:06:12 "registry-mirrors": [ 00:06:12 "https://nexus3.edgexfoundry.org:10001" 00:06:12 ], 00:06:12 "bip": "10.250.0.254/24", 00:06:12 "hosts": [ 00:06:12 "tcp://0.0.0.0:5555", 00:06:12 "unix:///var/run/docker.sock" 00:06:12 ], 00:06:12 "mtu": 1458, 00:06:12 "selinux-enabled": true, 00:06:12 "seccomp-profile": "/etc/docker/seccomp.json" 00:06:12 } [Pipeline] sh 00:06:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:06:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:31 provisioning config files... 00:06:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config7336873876590671128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:31 ---> docker-login.sh 00:06:31 nexus3.edgexfoundry.org:10001 00:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:32 Configure a credential helper to remove this warning. See 00:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:32 00:06:32 Login Succeeded 00:06:32 nexus3.edgexfoundry.org:10002 00:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:32 Configure a credential helper to remove this warning. See 00:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:32 00:06:32 Login Succeeded 00:06:32 nexus3.edgexfoundry.org:10003 00:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:33 Configure a credential helper to remove this warning. See 00:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:33 00:06:33 Login Succeeded 00:06:33 nexus3.edgexfoundry.org:10004 00:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:33 Configure a credential helper to remove this warning. See 00:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:33 00:06:33 Login Succeeded 00:06:33 docker.io 00:06:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:34 Configure a credential helper to remove this warning. See 00:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:34 00:06:34 Login Succeeded 00:06:34 ---> docker-login.sh ends [Pipeline] } 00:06:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:06:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:35 ========================================================= 00:06:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:06:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:35 + 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 . 00:06:35 Sending build context to Docker daemon 6.065MB 00:06:36 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:06:36 Step 2/13 : FROM ${BASE} AS builder 00:06:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:06:36 9b3977197b4f: Pulling fs layer 00:06:36 1a89e8eeedd5: Pulling fs layer 00:06:36 94645a83ff95: Pulling fs layer 00:06:36 3f3a8bcf1eab: Pulling fs layer 00:06:36 0c92f367c5e7: Pulling fs layer 00:06:36 3096ccb668a1: Pulling fs layer 00:06:36 e8cf19c19ddd: Pulling fs layer 00:06:36 a4caa8a26152: Pulling fs layer 00:06:36 3096ccb668a1: Waiting 00:06:36 e8cf19c19ddd: Waiting 00:06:36 a4caa8a26152: Waiting 00:06:36 3f3a8bcf1eab: Waiting 00:06:36 0c92f367c5e7: Waiting 00:06:36 94645a83ff95: Verifying Checksum 00:06:36 94645a83ff95: Download complete 00:06:36 1a89e8eeedd5: Verifying Checksum 00:06:36 1a89e8eeedd5: Download complete 00:06:36 0c92f367c5e7: Download complete 00:06:36 3096ccb668a1: Verifying Checksum 00:06:36 3096ccb668a1: Download complete 00:06:36 9b3977197b4f: Verifying Checksum 00:06:36 9b3977197b4f: Download complete 00:06:36 e8cf19c19ddd: Verifying Checksum 00:06:36 e8cf19c19ddd: Download complete 00:06:36 9b3977197b4f: Pull complete 00:06:37 1a89e8eeedd5: Pull complete 00:06:37 94645a83ff95: Pull complete 00:06:38 a4caa8a26152: Verifying Checksum 00:06:38 a4caa8a26152: Download complete 00:06:38 3f3a8bcf1eab: Download complete 00:06:51 3f3a8bcf1eab: Pull complete 00:06:51 0c92f367c5e7: Pull complete 00:06:51 3096ccb668a1: Pull complete 00:06:51 e8cf19c19ddd: Pull complete 00:06:58 a4caa8a26152: Pull complete 00:06:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:06:58 ---> 725f1c02e7f9 00:06:58 Step 3/13 : ARG MAKE="make build" 00:06:59 ---> Running in 3f11a2aaea3b 00:06:59 Removing intermediate container 3f11a2aaea3b 00:06:59 ---> 8c93748df2d7 00:06:59 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:06:59 ---> Running in 6401a4d52f7a 00:06:59 Removing intermediate container 6401a4d52f7a 00:06:59 ---> 0d78f36d6ae3 00:06:59 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:06:59 ---> Running in 2208a1b76d19 00:06:59 Removing intermediate container 2208a1b76d19 00:06:59 ---> 2c77a00e2c55 00:06:59 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:06:59 ---> Running in 276650de98ca 00:07:00 Removing intermediate container 276650de98ca 00:07:00 ---> 9189707826f2 00:07:00 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:00 ---> Running in efa6f0f5675d 00:07:02 Removing intermediate container efa6f0f5675d 00:07:02 ---> d8628a4ff6a2 00:07:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:02 ---> Running in eef1eb1f2dd7 00:07:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:07:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:07:05 OK: 220 MiB in 52 packages 00:07:06 Removing intermediate container eef1eb1f2dd7 00:07:06 ---> c0522dc46bd5 00:07:06 Step 9/13 : WORKDIR /device-onvif-camera 00:07:06 ---> Running in 9645224b4a3b 00:07:06 Removing intermediate container 9645224b4a3b 00:07:06 ---> 57575cd33ea2 00:07:06 Step 10/13 : COPY go.mod vendor* ./ 00:07:07 ---> c9511e42ed45 00:07:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:07 ---> Running in 18c931f707ad 00:07:54 Removing intermediate container 18c931f707ad 00:07:54 ---> 4b1a42d26b4a 00:07:54 Step 12/13 : COPY . . 00:07:54 ---> d9b9e130f798 00:07:54 Step 13/13 : RUN ${MAKE} 00:07:54 ---> Running in 313be0563d09 00:07:54 noop 00:07:55 Removing intermediate container 313be0563d09 00:07:55 ---> c5e0439e9431 00:07:55 Successfully built c5e0439e9431 00:07:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:55 + docker inspect -f . ci-base-image-arm64 00:07:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:55 prd-ubuntu20.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 00:07:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:07:57 $ docker top 67bc878ed067929528ce39a3bd5e5859205509209e5c34007eda4a2368c55fe8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:58 + go version 00:07:58 go version go1.17.6 linux/arm64 [Pipeline] } 00:07:58 $ docker stop --time=1 67bc878ed067929528ce39a3bd5e5859205509209e5c34007eda4a2368c55fe8 00:07:59 $ docker rm -f 67bc878ed067929528ce39a3bd5e5859205509209e5c34007eda4a2368c55fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:00 + docker inspect -f . ci-base-image-arm64 00:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:00 prd-ubuntu20.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 00:08:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:01 $ docker top 54f7c4746c75abe4c807907273878a78ca21029dd45f9be2bfb0ba02d2c92c6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:08:02 + make test 00:08:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:08:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:09:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:09:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.080s coverage: 0.9% of statements 00:09:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.385s coverage: 13.8% of statements 00:09:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:09:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:10:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:10:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:10:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:10:18 $ docker stop --time=1 54f7c4746c75abe4c807907273878a78ca21029dd45f9be2bfb0ba02d2c92c6c 00:10:20 $ docker rm -f 54f7c4746c75abe4c807907273878a78ca21029dd45f9be2bfb0ba02d2c92c6c [Pipeline] // withDockerContainer [Pipeline] sh 00:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:10:21 Warning: overwriting stash ‘coverage-report’ 00:10:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:10:22 + ls -al . 00:10:22 total 224 00:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 00:10 . 00:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:06 .. 00:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 00:06 .git 00:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:06 .github 00:10:22 -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 00:06 .gitignore 00:10:22 -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 00:06 .golangci.yml 00:10:22 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 00:06 Attribution.txt 00:10:22 -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 00:06 CHANGELOG.md 00:10:22 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 00:06 Dockerfile 00:10:22 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 00:06 GOVERNANCE.md 00:10:22 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 00:06 Jenkinsfile 00:10:22 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 00:06 LICENSE 00:10:22 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 00:06 Makefile 00:10:22 -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 00:06 OWNERS.md 00:10:22 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 00:06 README.md 00:10:22 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 00:04 VERSION 00:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:06 bin 00:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 00:06 cmd 00:10:22 -rw-r--r-- 1 jenkins jenkins 49507 Jun 2 00:09 coverage.out 00:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:06 doc 00:10:22 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 00:06 go.mod 00:10:22 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 00:06 go.sum 00:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:06 internal 00:10:22 -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 00:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:22 + 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=bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae --label arch=arm64 --label version=0.0.0 . 00:10:23 Sending build context to Docker daemon 6.115MB 00:10:23 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:10:23 Step 2/26 : FROM ${BASE} AS builder 00:10:23 ---> c5e0439e9431 00:10:23 Step 3/26 : ARG MAKE="make build" 00:10:23 ---> Running in f48b32f30b7a 00:10:23 Removing intermediate container f48b32f30b7a 00:10:23 ---> 88206cca41b4 00:10:23 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:10:23 ---> Running in 80e6806c65a7 00:10:24 Removing intermediate container 80e6806c65a7 00:10:24 ---> 757e4b21287a 00:10:24 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:10:24 ---> Running in 8afdb8348457 00:10:24 Removing intermediate container 8afdb8348457 00:10:24 ---> 53b25c131c2f 00:10:24 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:10:24 ---> Running in 77c7ac8f9f25 00:10:24 Removing intermediate container 77c7ac8f9f25 00:10:24 ---> 1d652db6d8b4 00:10:24 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:10:24 ---> Running in 433e74d7522e 00:10:26 Removing intermediate container 433e74d7522e 00:10:26 ---> f2a885afd98f 00:10:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:26 ---> Running in 83fdcb93a19b 00:10:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:10:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:10:28 OK: 220 MiB in 52 packages 00:10:29 Removing intermediate container 83fdcb93a19b 00:10:29 ---> 2e9b887a887b 00:10:29 Step 9/26 : WORKDIR /device-onvif-camera 00:10:29 ---> Running in d5af7fb6add2 00:10:29 Removing intermediate container d5af7fb6add2 00:10:29 ---> d92f93353fbd 00:10:29 Step 10/26 : COPY go.mod vendor* ./ 00:10:30 ---> 14de15f2fae4 00:10:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:30 ---> Running in 8e8a3a5faade 00:10:32 Removing intermediate container 8e8a3a5faade 00:10:32 ---> dbeabd732a25 00:10:32 Step 12/26 : COPY . . 00:10:33 ---> 9a41f1eb35e3 00:10:33 Step 13/26 : RUN ${MAKE} 00:10:33 ---> Running in 38ae81489363 00:10:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:12:40 Removing intermediate container 38ae81489363 00:12:40 ---> 0714222bf25f 00:12:40 Step 14/26 : FROM alpine:3.15 00:12:40 3.15: Pulling from library/alpine 00:12:40 9981e73032c8: Pulling fs layer 00:12:40 9981e73032c8: Verifying Checksum 00:12:40 9981e73032c8: Download complete 00:12:40 9981e73032c8: Pull complete 00:12:40 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:12:40 Status: Downloaded newer image for alpine:3.15 00:12:40 ---> 3fb3c9af89a9 00:12:40 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:12:40 ---> Running in 02b51146deda 00:12:40 Removing intermediate container 02b51146deda 00:12:40 ---> 20f76e4b2b9d 00:12:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:12:40 ---> Running in eb9b2bf7d687 00:12:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:12:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:12:40 (1/6) Installing dumb-init (1.2.5-r1) 00:12:40 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:12:40 (3/6) Installing libsodium (1.0.18-r0) 00:12:40 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:12:40 (5/6) Installing libzmq (4.3.4-r0) 00:12:40 (6/6) Installing zeromq (4.3.4-r0) 00:12:40 Executing busybox-1.34.1-r5.trigger 00:12:40 OK: 8 MiB in 20 packages 00:12:40 Removing intermediate container eb9b2bf7d687 00:12:40 ---> b315917aa60c 00:12:40 Step 17/26 : WORKDIR / 00:12:40 ---> Running in 03bc3b425d08 00:12:40 Removing intermediate container 03bc3b425d08 00:12:40 ---> 2dce5541bdb4 00:12:40 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:12:41 ---> 5cc5c7f15be5 00:12:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:12:42 ---> be8065c53d45 00:12:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:12:43 ---> ac309a593b6c 00:12:43 Step 21/26 : EXPOSE 59984 00:12:43 ---> Running in f0604037898f 00:12:43 Removing intermediate container f0604037898f 00:12:43 ---> c4c5c0395ad3 00:12:43 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:12:43 ---> Running in 06f7e54b4221 00:12:43 Removing intermediate container 06f7e54b4221 00:12:43 ---> cac698460b9b 00:12:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:12:43 ---> Running in 1b2bce65a621 00:12:43 Removing intermediate container 1b2bce65a621 00:12:43 ---> 961f8312000e 00:12:43 Step 24/26 : LABEL arch=arm64 00:12:44 ---> Running in 40b05bd2ded4 00:12:44 Removing intermediate container 40b05bd2ded4 00:12:44 ---> 3a2ca2c50eb2 00:12:44 Step 25/26 : LABEL git_sha=bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae 00:12:44 ---> Running in 19060ba41246 00:12:44 Removing intermediate container 19060ba41246 00:12:44 ---> 163ca235f51f 00:12:44 Step 26/26 : LABEL version=0.0.0 00:12:44 ---> Running in 5307c38a1ddf 00:12:45 Removing intermediate container 5307c38a1ddf 00:12:45 ---> b6267660283b 00:12:45 [Warning] One or more build-args [ARCH] were not consumed 00:12:45 Successfully built b6267660283b 00:12:45 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:45 00:12:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:45 arm64: Pulling from edgex-lftools-log-publisher 00:12:45 8998bd30e6a1: Pulling fs layer 00:12:45 04944245beec: Pulling fs layer 00:12:45 699f458cf7ca: Pulling fs layer 00:12:45 765212b225bb: Pulling fs layer 00:12:45 f23df028b6ca: Pulling fs layer 00:12:45 d65c8cfc05b1: Pulling fs layer 00:12:45 2437ff75d9bd: Pulling fs layer 00:12:45 765212b225bb: Waiting 00:12:45 f23df028b6ca: Waiting 00:12:45 d65c8cfc05b1: Waiting 00:12:45 2437ff75d9bd: Waiting 00:12:46 04944245beec: Verifying Checksum 00:12:46 04944245beec: Download complete 00:12:46 765212b225bb: Download complete 00:12:46 f23df028b6ca: Verifying Checksum 00:12:46 f23df028b6ca: Download complete 00:12:46 d65c8cfc05b1: Verifying Checksum 00:12:46 d65c8cfc05b1: Download complete 00:12:46 699f458cf7ca: Verifying Checksum 00:12:46 699f458cf7ca: Download complete 00:12:46 8998bd30e6a1: Verifying Checksum 00:12:46 8998bd30e6a1: Download complete 00:12:48 2437ff75d9bd: Verifying Checksum 00:12:48 2437ff75d9bd: Download complete 00:12:50 8998bd30e6a1: Pull complete 00:12:50 04944245beec: Pull complete 00:12:52 699f458cf7ca: Pull complete 00:12:52 765212b225bb: Pull complete 00:12:53 f23df028b6ca: Pull complete 00:12:53 d65c8cfc05b1: Pull complete 00:13:08 2437ff75d9bd: Pull complete 00:13:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 00:13:08 $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:13:11 $ docker top 15120421a731fbad098c72c840a83eae2781aaee55eb78037a1acbe69369676f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:12 ---> job-cost.sh 00:13:12 lf-activate-venv: SKIPPING 00:13:12 INFO: No Stack... 00:13:12 INFO: Retrieving Pricing Info for: v3-standard-4 00:13:13 INFO: Archiving Costs [Pipeline] sh 00:13:14 + + cut -d, -f6 00:13:14 cat /w/workspace/device-onvif-camera/17/archives/cost.csv [Pipeline] lock 00:13:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] 00:13:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] did not exist. Created. 00:13:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:14 /w/workspace/device-onvif-camera/17@tmp/durable-a65ac1b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:13:15 + echo total: 0.10999999940395355 [Pipeline] stash 00:13:15 Warning: overwriting stash ‘stack-cost’ 00:13:15 Stashed 1 file(s) [Pipeline] } 00:13:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-17-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:15 $ docker stop --time=1 15120421a731fbad098c72c840a83eae2781aaee55eb78037a1acbe69369676f 00:13:17 $ docker rm -f 15120421a731fbad098c72c840a83eae2781aaee55eb78037a1acbe69369676f [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 00:13:17 provisioning config files... 00:13:17 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8604484276496578742tmp [Pipeline] { [Pipeline] sh 00:13:17 + set +x 00:13:17 + curl -s https://codecov.io/bash 00:13:17 + bash -s -- 00:13:17 00:13:17 _____ _ 00:13:17 / ____| | | 00:13:17 | | ___ __| | ___ ___ _____ __ 00:13:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:13:17 | |___| (_) | (_| | __/ (_| (_) \ V / 00:13:17 \_____\___/ \__,_|\___|\___\___/ \_/ 00:13:17 Bash-1.0.6 00:13:17 00:13:17 00:13:17 ==> git version 2.25.1 found 00:13:17 ==> 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 00:13:17 Release-Date: 2020-01-08 00:13:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:13:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:13:17 ==> Jenkins CI detected. 00:13:17 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 00:13:17 project root: . 00:13:17 --> token set from env 00:13:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:13:17 ==> Running gcov in . (disable via -X gcov) 00:13:17 ==> Python coveragepy not found 00:13:17 ==> Searching for coverage reports in: 00:13:17 + . 00:13:17 -> Found 1 reports 00:13:17 ==> Detecting git/mercurial file structure 00:13:17 ==> Reading reports 00:13:17 + ./coverage.out bytes=49507 00:13:17 ==> Appending adjustments 00:13:17 https://docs.codecov.io/docs/fixing-reports 00:13:18 + Found adjustments 00:13:18 ==> Gzipping contents 00:13:18 8.0K /tmp/codecov.A9cwBz.gz 00:13:18 ==> Uploading reports 00:13:18 url: https://codecov.io 00:13:18 query: branch=PR-65&commit=808de0c143d46081d36b558d7b26536cb8cf1ed9&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 00:13:18 -> Pinging Codecov 00:13:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-65&commit=808de0c143d46081d36b558d7b26536cb8cf1ed9&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 00:13:18 -> Uploading to 00:13:18 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/F29A59C45E3A92E06B3E522C9905F8EF/808de0c143d46081d36b558d7b26536cb8cf1ed9/0193373c-1e75-4cef-b787-0c2011785f78.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T001318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4aecb0728cf319b42b4c75275d121eaaf43199d3144109b241355453619a0058 00:13:18 % Total % Received % Xferd Average Speed Time Time Time Current 00:13:18 Dload Upload Total Spent Left Speed 00:13:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6149 0 0 100 6149 0 25836 --:--:-- --:--:-- --:--:-- 25836 00:13:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/808de0c143d46081d36b558d7b26536cb8cf1ed9 [Pipeline] } 00:13:18 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 00:13:19 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 00:13:19 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 00:13:19 total 16 00:13:19 drwxr-xr-x 3 root root 4096 Jun 2 00:05 . 00:13:19 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 00:05 .. 00:13:19 drwxr-xr-x 2 root root 4096 Jun 2 00:05 cost 00:13:19 -rw-r--r-- 1 root root 90 Jun 2 00:05 cost.csv 00:13:19 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 00:13:19 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 00:13:19 total 16 00:13:19 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 00:05 . 00:13:19 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 00:05 .. 00:13:19 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 00:05 cost 00:13:19 -rw-r--r-- 1 jenkins jenkins 90 Jun 2 00:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:13:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:20 ---> package-listing.sh 00:13:20 ++ facter osfamily 00:13:20 ++ tr '[:upper:]' '[:lower:]' 00:13:20 + OS_FAMILY=debian 00:13:20 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 00:13:20 + START_PACKAGES=/tmp/packages_start.txt 00:13:20 + END_PACKAGES=/tmp/packages_end.txt 00:13:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:20 + PACKAGES=/tmp/packages_start.txt 00:13:20 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 00:13:20 + PACKAGES=/tmp/packages_end.txt 00:13:20 + case "${OS_FAMILY}" in 00:13:20 + dpkg -l 00:13:20 + grep '^ii' 00:13:20 + '[' -f /tmp/packages_start.txt ']' 00:13:20 + '[' -f /tmp/packages_end.txt ']' 00:13:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:20 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 00:13:20 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 00:13:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo 00:13:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:13:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:21 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 00:13:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:13:21 $ docker top 472be77e31b42ef88ccae764ed9199d24b1437540a40e4bd3b09e9d2f414f766 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:22 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:22 + mkdir -p /var/log/sysstat [Pipeline] sh 00:13:22 + ls /var/log/sa-host 00:13:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:23 provisioning config files... 00:13:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config5207831226434819658tmp [Pipeline] { [Pipeline] echo 00:13:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:23 ---> create-netrc.sh [Pipeline] } 00:13:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:13:23 ---> python-tools-install.sh [Pipeline] echo 00:13:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:24 ---> sudo-logs.sh 00:13:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:13:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:24 ---> job-cost.sh 00:13:24 lf-activate-venv: SKIPPING 00:13:24 DEBUG: total: 0.2199999988079071 00:13:24 INFO: Retrieving Stack Cost... 00:13:24 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:25 INFO: Archiving Costs [Pipeline] echo 00:13:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:25 ---> logs-deploy.sh 00:13:25 lf-activate-venv: SKIPPING 00:13:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/17 00:13:25 INFO: archiving workspace using pattern(s): 00:13:26 Archives upload complete. 00:13:26 INFO: archiving logs to Nexus