Pull request #65 updated 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 6645443a7f8ea24da924c7873177c59f6e6a8053 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-ssh2905722416203563641.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-ssh3274793595543914690.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-ssh16070956807891030025.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-ssh9694880604722759265.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-ssh17626496021293471072.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 ‘prd-ubuntu20.04-docker-8c-8g-609’ is offline Running on prd-ubuntu20.04-docker-8c-8g-612 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 6645443a7f8ea24da924c7873177c59f6e6a8053 Merge succeeded, producing 752232451bbcd4e1ce5aba51b07de090037bdaa7 Checking out Revision 752232451bbcd4e1ce5aba51b07de090037bdaa7 (PR-65) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6645443a7f8ea24da924c7873177c59f6e6a8053 # 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 752232451bbcd4e1ce5aba51b07de090037bdaa7 # 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:14:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:14:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:14:38 ========================================================= 00:14:38 EdgeX Global Pipelines Version Info 00:14:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae # timeout=10 00:14:38 ------------------- 00:14:38 stable info: 00:14:38 ------------------- 00:14:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:38 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:14:38 Message: update stable to v1.0.230 00:14:39 ------------------- 00:14:39 experimental info: 00:14:39 ------------------- 00:14:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:39 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 00:14:39 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 752232451bbcd4e1ce5aba51b07de090037bdaa7 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7522324 [Pipeline] echo 00:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:40 provisioning config files... 00:14:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config6744854262408986873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:40 ---> docker-login.sh 00:14:40 nexus3.edgexfoundry.org:10001 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 nexus3.edgexfoundry.org:10002 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 nexus3.edgexfoundry.org:10003 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:41 Login Succeeded 00:14:41 nexus3.edgexfoundry.org:10004 00:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:41 Configure a credential helper to remove this warning. See 00:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:41 00:14:41 Login Succeeded 00:14:41 docker.io 00:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:41 Configure a credential helper to remove this warning. See 00:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:41 00:14:41 Login Succeeded 00:14:41 ---> docker-login.sh ends [Pipeline] } 00:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:14:42 + git rev-list -1 --merges 752232451bbcd4e1ce5aba51b07de090037bdaa7~1..752232451bbcd4e1ce5aba51b07de090037bdaa7 [Pipeline] echo 00:14:42 -----------> git rev-list -1 --merges 752232451bbcd4e1ce5aba51b07de090037bdaa7~1..752232451bbcd4e1ce5aba51b07de090037bdaa7 752232451bbcd4e1ce5aba51b07de090037bdaa7 00:14:42 752232451bbcd4e1ce5aba51b07de090037bdaa7 [false] [Pipeline] sh 00:14:42 + git log --format=format:%s -1 752232451bbcd4e1ce5aba51b07de090037bdaa7 [Pipeline] echo 00:14:42 ========================================================= 00:14:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:14:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:42 + git log --format=format:%s -1 752232451bbcd4e1ce5aba51b07de090037bdaa7 [Pipeline] echo 00:14:42 [semverPrep] GIT_COMMIT: 752232451bbcd4e1ce5aba51b07de090037bdaa7, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo 00:14:42 [semverPrep] This is not a build commit. [Pipeline] sh 00:14:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:43 + grep -v github /etc/ssh/ssh_known_hosts 00:14:43 + [ -e /tmp/ssh_known_hosts ] 00:14:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:14:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:14:43 + sudo tee -a /etc/ssh/ssh_known_hosts 00:14:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:14:43 00:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:14:43 latest: Pulling from edgex-devops/py-git-semver 00:14:43 1fe172e4850f: Pulling fs layer 00:14:43 caf521ccaac6: Pulling fs layer 00:14:43 3ead6fa29328: Pulling fs layer 00:14:43 5c2a1cbceb83: Pulling fs layer 00:14:43 a8d5f1318db7: Pulling fs layer 00:14:43 c427282e49a2: Pulling fs layer 00:14:43 1827001aaf11: Pulling fs layer 00:14:43 0714d37db230: Pulling fs layer 00:14:43 ac28cf19c067: Pulling fs layer 00:14:43 ca983d60f3e2: Pulling fs layer 00:14:43 9f894cec8388: Pulling fs layer 00:14:43 5c2a1cbceb83: Waiting 00:14:43 a8d5f1318db7: Waiting 00:14:43 c427282e49a2: Waiting 00:14:43 1827001aaf11: Waiting 00:14:43 0714d37db230: Waiting 00:14:43 ac28cf19c067: Waiting 00:14:43 ca983d60f3e2: Waiting 00:14:43 9f894cec8388: Waiting 00:14:43 caf521ccaac6: Verifying Checksum 00:14:43 caf521ccaac6: Download complete 00:14:43 5c2a1cbceb83: Verifying Checksum 00:14:43 5c2a1cbceb83: Download complete 00:14:44 a8d5f1318db7: Verifying Checksum 00:14:44 a8d5f1318db7: Download complete 00:14:44 3ead6fa29328: Verifying Checksum 00:14:44 3ead6fa29328: Download complete 00:14:44 c427282e49a2: Verifying Checksum 00:14:44 c427282e49a2: Download complete 00:14:44 0714d37db230: Download complete 00:14:44 ac28cf19c067: Download complete 00:14:44 ca983d60f3e2: Verifying Checksum 00:14:44 ca983d60f3e2: Download complete 00:14:44 9f894cec8388: Verifying Checksum 00:14:44 9f894cec8388: Download complete 00:14:44 1fe172e4850f: Download complete 00:14:44 1827001aaf11: Verifying Checksum 00:14:44 1827001aaf11: Download complete 00:14:45 1fe172e4850f: Pull complete 00:14:45 caf521ccaac6: Pull complete 00:14:46 3ead6fa29328: Pull complete 00:14:46 5c2a1cbceb83: Pull complete 00:14:46 a8d5f1318db7: Pull complete 00:14:46 c427282e49a2: Pull complete 00:14:48 1827001aaf11: Pull complete 00:14:48 0714d37db230: Pull complete 00:14:49 ac28cf19c067: Pull complete 00:14:49 ca983d60f3e2: Pull complete 00:14:49 9f894cec8388: Pull complete 00:14:49 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:14:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:14:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:49 prd-ubuntu20.04-docker-8c-8g-612 does not seem to be running inside a container 00:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:14:50 $ docker top 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc -eo pid,comm 00:14:50 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:14:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:51 [ssh-agent] Looking for ssh-agent implementation... 00:14:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:51 $ docker exec 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc ssh-agent 00:14:51 SSH_AUTH_SOCK=/tmp/ssh-Ne4ycdcB3V9t/agent.33 00:14:51 SSH_AGENT_PID=39 00:14:51 Running ssh-add (command line suppressed) 00:14:51 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_8873382236442936247.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_8873382236442936247.key) 00:14:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:51 + git tag --points-at HEAD [Pipeline] } 00:14:51 $ docker exec --env ******** --env ******** 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc ssh-agent -k 00:14:51 unset SSH_AUTH_SOCK; 00:14:51 unset SSH_AGENT_PID; 00:14:51 echo Agent pid 39 killed; 00:14:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:14:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:51 [ssh-agent] Looking for ssh-agent implementation... 00:14:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:52 $ docker exec 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc ssh-agent 00:14:52 SSH_AUTH_SOCK=/tmp/ssh-1n8QRiD5Bj0X/agent.73 00:14:52 SSH_AGENT_PID=79 00:14:52 Running ssh-add (command line suppressed) 00:14:52 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_4340361681442209649.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_4340361681442209649.key) 00:14:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:52 + git semver init 00:14:52 2022-06-02 00:14:52,887 [run_init] DEBUG init version:0.0.0 force:False 00:14:52 2022-06-02 00:14:52,887 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 00:14:52 2022-06-02 00:14:52,888 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 00:14:52 2022-06-02 00:14:52,888 [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:14:53 2022-06-02 00:14:53,554 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 00:14:53 2022-06-02 00:14:53,554 [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:14:53 2022-06-02 00:14:53,554 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 00:14:53 2022-06-02 00:14:53,555 [write_version] DEBUG version is same as current version 0.0.0 00:14:53 2022-06-02 00:14:53,555 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 00:14:53 0.0.0 [Pipeline] } 00:14:53 $ docker exec --env ******** --env ******** 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc ssh-agent -k 00:14:54 unset SSH_AUTH_SOCK; 00:14:54 unset SSH_AGENT_PID; 00:14:54 echo Agent pid 79 killed; 00:14:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:54 + git semver [Pipeline] } 00:14:54 $ docker stop --time=1 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc 00:14:55 $ docker rm -f 00bf6efc96d9c6b8b2588cfb380792fb9d1aa507f858c1671eb68432c70efefc [Pipeline] // withDockerContainer [Pipeline] sh 00:14:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:14:56 Stashed 1 file(s) [Pipeline] echo 00:14:56 [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:14:56 provisioning config files... 00:14:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config5421514228858772608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:57 ---> docker-login.sh 00:14:57 nexus3.edgexfoundry.org:10001 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10002 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10003 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10004 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 docker.io 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 ---> docker-login.sh ends [Pipeline] } 00:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:57 ========================================================= 00:14:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:14:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:58 + 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:14:58 Sending build context to Docker daemon 8.802MB 00:14:58 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:14:58 Step 2/13 : FROM ${BASE} AS builder 00:14:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:14:58 59bf1c3509f3: Pulling fs layer 00:14:58 666ba61612fd: Pulling fs layer 00:14:58 8ed8ca486205: Pulling fs layer 00:14:58 4fe6c5a15a65: Pulling fs layer 00:14:58 22a0e8bec74d: Pulling fs layer 00:14:58 ca2b28591e48: Pulling fs layer 00:14:58 a51346096db8: Pulling fs layer 00:14:58 daebc70d1ce1: Pulling fs layer 00:14:58 0e18a0eac166: Pulling fs layer 00:14:58 a51346096db8: Waiting 00:14:58 0e18a0eac166: Waiting 00:14:58 4fe6c5a15a65: Waiting 00:14:58 8ed8ca486205: Download complete 00:14:58 666ba61612fd: Download complete 00:14:58 22a0e8bec74d: Verifying Checksum 00:14:58 22a0e8bec74d: Download complete 00:14:58 ca2b28591e48: Download complete 00:14:58 59bf1c3509f3: Verifying Checksum 00:14:58 a51346096db8: Verifying Checksum 00:14:58 a51346096db8: Download complete 00:14:58 daebc70d1ce1: Verifying Checksum 00:14:58 daebc70d1ce1: Download complete 00:14:58 59bf1c3509f3: Pull complete 00:14:58 666ba61612fd: Pull complete 00:14:59 8ed8ca486205: Pull complete 00:14:59 0e18a0eac166: Verifying Checksum 00:14:59 0e18a0eac166: Download complete 00:14:59 4fe6c5a15a65: Verifying Checksum 00:14:59 4fe6c5a15a65: Download complete 00:15:03 4fe6c5a15a65: Pull complete 00:15:03 22a0e8bec74d: Pull complete 00:15:03 ca2b28591e48: Pull complete 00:15:03 a51346096db8: Pull complete 00:15:03 daebc70d1ce1: Pull complete 00:15:06 0e18a0eac166: Pull complete 00:15:06 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:15:06 ---> f018257e8ee9 00:15:06 Step 3/13 : ARG MAKE="make build" 00:15:07 ---> Running in f5393343f686 00:15:07 Removing intermediate container f5393343f686 00:15:07 ---> 772606b8b221 00:15:07 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:15:07 ---> Running in d52667debe91 00:15:08 Removing intermediate container d52667debe91 00:15:08 ---> 9c4ea34e68b4 00:15:08 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:15:08 ---> Running in 97229c5ac8b0 00:15:08 Removing intermediate container 97229c5ac8b0 00:15:08 ---> aa2b5b328c32 00:15:08 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:15:08 ---> Running in 09d759801bdc 00:15:08 Removing intermediate container 09d759801bdc 00:15:08 ---> bde199594fa8 00:15:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:15:08 ---> Running in 54707724ce02 00:15:09 Removing intermediate container 54707724ce02 00:15:09 ---> 539e3d3e51f7 00:15:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:09 ---> Running in 9e3de0a67c1a 00:15:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:15:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:15:10 OK: 221 MiB in 52 packages 00:15:10 Removing intermediate container 9e3de0a67c1a 00:15:10 ---> 4eb744abda49 00:15:10 Step 9/13 : WORKDIR /device-onvif-camera 00:15:11 ---> Running in 9fd6726f544c 00:15:11 Removing intermediate container 9fd6726f544c 00:15:11 ---> 2e4b1c00511f 00:15:11 Step 10/13 : COPY go.mod vendor* ./ 00:15:11 ---> 6bdfc3e57b41 00:15:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:11 ---> Running in eda5c0cac7c5 00:15:11 Still waiting to schedule task 00:15:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-611’ is offline 00:15:29 Removing intermediate container eda5c0cac7c5 00:15:29 ---> d4a938f72d38 00:15:29 Step 12/13 : COPY . . 00:15:29 ---> 7002dde33c2c 00:15:29 Step 13/13 : RUN ${MAKE} 00:15:29 ---> Running in 65c8a41616e8 00:15:29 noop 00:15:29 Removing intermediate container 65c8a41616e8 00:15:29 ---> 64e79e267aa7 00:15:29 Successfully built 64e79e267aa7 00:15:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:29 + docker inspect -f . ci-base-image-x86_64 00:15:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:29 prd-ubuntu20.04-docker-8c-8g-612 does not seem to be running inside a container 00:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:15:30 $ docker top 74b9cff8f647e0266df0acb006683f61035065a22966514d2c538407a4592851 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:30 + go version 00:15:30 go version go1.17.6 linux/amd64 [Pipeline] } 00:15:30 $ docker stop --time=1 74b9cff8f647e0266df0acb006683f61035065a22966514d2c538407a4592851 00:15:31 $ docker rm -f 74b9cff8f647e0266df0acb006683f61035065a22966514d2c538407a4592851 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:32 + docker inspect -f . ci-base-image-x86_64 00:15:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:32 prd-ubuntu20.04-docker-8c-8g-612 does not seem to be running inside a container 00:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:15:32 $ docker top d611e22a39d6619110d3abbb4e1179472515ee148f6624dc3422f48e0a935491 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:15:33 + make test 00:15:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:15:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:15:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:15:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.044s coverage: 0.9% of statements 00:15:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.711s coverage: 13.8% of statements 00:15:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:15:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:15:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:15:57 ./bin/test-attribution-txt.sh [Pipeline] echo 00:15:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:15:58 $ docker stop --time=1 d611e22a39d6619110d3abbb4e1179472515ee148f6624dc3422f48e0a935491 00:16:00 $ docker rm -f d611e22a39d6619110d3abbb4e1179472515ee148f6624dc3422f48e0a935491 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:16:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:01 + ls -al . 00:16:01 total 228 00:16:01 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 00:15 . 00:16:01 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:14 .. 00:16:01 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 00:14 .git 00:16:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:14 .github 00:16:01 -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 00:14 .gitignore 00:16:01 -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 00:14 .golangci.yml 00:16:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 00:14 .semver 00:16:01 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 00:14 Attribution.txt 00:16:01 -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 00:14 CHANGELOG.md 00:16:01 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 00:14 Dockerfile 00:16:01 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 00:14 GOVERNANCE.md 00:16:01 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 00:14 Jenkinsfile 00:16:01 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 00:14 LICENSE 00:16:01 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 00:14 Makefile 00:16:01 -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 00:14 OWNERS.md 00:16:01 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 00:14 README.md 00:16:01 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 00:14 VERSION 00:16:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:14 bin 00:16:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 00:14 cmd 00:16:01 -rw-r--r-- 1 jenkins jenkins 49507 Jun 2 00:15 coverage.out 00:16:01 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:14 doc 00:16:01 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 00:14 go.mod 00:16:01 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 00:14 go.sum 00:16:01 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:14 internal 00:16:01 -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:01 + 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=752232451bbcd4e1ce5aba51b07de090037bdaa7 --label arch=amd64 --label version=0.0.0 . 00:16:01 Sending build context to Docker daemon 8.852MB 00:16:01 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:16:01 Step 2/26 : FROM ${BASE} AS builder 00:16:01 ---> 64e79e267aa7 00:16:01 Step 3/26 : ARG MAKE="make build" 00:16:02 ---> Running in a5e8f28bc256 00:16:02 Removing intermediate container a5e8f28bc256 00:16:02 ---> fc6faae59424 00:16:02 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:16:02 ---> Running in f86ec52ffc96 00:16:02 Removing intermediate container f86ec52ffc96 00:16:02 ---> 4a38938bef36 00:16:02 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:16:02 ---> Running in 2dc4ebb555a6 00:16:02 Removing intermediate container 2dc4ebb555a6 00:16:02 ---> d19a4b4f0870 00:16:02 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:16:02 ---> Running in 47cb1b6170cd 00:16:02 Removing intermediate container 47cb1b6170cd 00:16:02 ---> d18be7bff943 00:16:02 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:02 ---> Running in faa134f6adc0 00:16:03 Removing intermediate container faa134f6adc0 00:16:03 ---> 7390b179be8c 00:16:03 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:03 ---> Running in 53bbeeb6b33f 00:16:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:16:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:16:04 OK: 221 MiB in 52 packages 00:16:04 Removing intermediate container 53bbeeb6b33f 00:16:04 ---> 40594e898b8d 00:16:04 Step 9/26 : WORKDIR /device-onvif-camera 00:16:04 ---> Running in e9152d4ce475 00:16:05 Removing intermediate container e9152d4ce475 00:16:05 ---> 0239eb5451ec 00:16:05 Step 10/26 : COPY go.mod vendor* ./ 00:16:05 ---> 4138a6e54bf9 00:16:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:05 ---> Running in 5a6a577b67c3 00:16:06 Removing intermediate container 5a6a577b67c3 00:16:06 ---> 9d1431fed9ce 00:16:06 Step 12/26 : COPY . . 00:16:06 ---> b4a377ec0a2c 00:16:06 Step 13/26 : RUN ${MAKE} 00:16:06 ---> Running in af9608bbf016 00:16:06 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:16:28 Removing intermediate container af9608bbf016 00:16:28 ---> bd974f51afaf 00:16:28 Step 14/26 : FROM alpine:3.15 00:16:28 3.15: Pulling from library/alpine 00:16:28 df9b9388f04a: Pulling fs layer 00:16:28 df9b9388f04a: Verifying Checksum 00:16:28 df9b9388f04a: Download complete 00:16:28 df9b9388f04a: Pull complete 00:16:28 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:16:28 Status: Downloaded newer image for alpine:3.15 00:16:28 ---> 0ac33e5f5afa 00:16:28 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:16:28 ---> Running in 2a041e57a884 00:16:28 Removing intermediate container 2a041e57a884 00:16:28 ---> 975e38113e21 00:16:28 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:16:28 ---> Running in 4ff706f7af6e 00:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:16:28 (1/6) Installing dumb-init (1.2.5-r1) 00:16:28 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:16:28 (3/6) Installing libsodium (1.0.18-r0) 00:16:28 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:16:28 (5/6) Installing libzmq (4.3.4-r0) 00:16:28 (6/6) Installing zeromq (4.3.4-r0) 00:16:28 Executing busybox-1.34.1-r5.trigger 00:16:28 OK: 8 MiB in 20 packages 00:16:28 Removing intermediate container 4ff706f7af6e 00:16:28 ---> 5cbfe63dfb33 00:16:28 Step 17/26 : WORKDIR / 00:16:28 ---> Running in 824a7e2c89c3 00:16:28 Removing intermediate container 824a7e2c89c3 00:16:28 ---> 78d03390f7f9 00:16:28 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:16:29 ---> 327ed8534f78 00:16:29 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:16:29 ---> d87d8bf7f0ac 00:16:29 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:16:29 ---> 4637bf515e4a 00:16:29 Step 21/26 : EXPOSE 59984 00:16:29 ---> Running in 89519a92ca37 00:16:29 Removing intermediate container 89519a92ca37 00:16:29 ---> ce9dac0dfb2e 00:16:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:16:29 ---> Running in 67a4180c1716 00:16:29 Removing intermediate container 67a4180c1716 00:16:29 ---> 45a50b71e019 00:16:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:16:29 ---> Running in 7ad0dd747b6b 00:16:30 Removing intermediate container 7ad0dd747b6b 00:16:30 ---> 7e992acab9ad 00:16:30 Step 24/26 : LABEL arch=amd64 00:16:30 ---> Running in d25e3ac0ac40 00:16:30 Removing intermediate container d25e3ac0ac40 00:16:30 ---> 5bcda1dc5cd8 00:16:30 Step 25/26 : LABEL git_sha=752232451bbcd4e1ce5aba51b07de090037bdaa7 00:16:30 ---> Running in bd3378b40f65 00:16:30 Removing intermediate container bd3378b40f65 00:16:30 ---> e17e89ff5fd9 00:16:30 Step 26/26 : LABEL version=0.0.0 00:16:30 ---> Running in c8b313b8558e 00:16:30 Removing intermediate container c8b313b8558e 00:16:30 ---> 960c32ddf4cf 00:16:30 [Warning] One or more build-args [ARCH] were not consumed 00:16:30 Successfully built 960c32ddf4cf 00:16:30 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:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:30 00:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:31 latest: Pulling from edgex-lftools-log-publisher 00:16:31 5eb5b503b376: Pulling fs layer 00:16:31 5c69ac0246d0: Pulling fs layer 00:16:31 ec43610c2a17: Pulling fs layer 00:16:31 3a2ae6a8a46f: Pulling fs layer 00:16:31 33b1e0a273af: Pulling fs layer 00:16:31 5d3b04190fa2: Pulling fs layer 00:16:31 2f39f015ded8: Pulling fs layer 00:16:31 2f39f015ded8: Waiting 00:16:31 3a2ae6a8a46f: Waiting 00:16:31 5c69ac0246d0: Download complete 00:16:31 3a2ae6a8a46f: Verifying Checksum 00:16:31 3a2ae6a8a46f: Download complete 00:16:31 33b1e0a273af: Verifying Checksum 00:16:31 33b1e0a273af: Download complete 00:16:31 ec43610c2a17: Verifying Checksum 00:16:31 ec43610c2a17: Download complete 00:16:31 5d3b04190fa2: Download complete 00:16:31 5eb5b503b376: Verifying Checksum 00:16:31 5eb5b503b376: Download complete 00:16:31 2f39f015ded8: Download complete 00:16:32 5eb5b503b376: Pull complete 00:16:32 5c69ac0246d0: Pull complete 00:16:33 ec43610c2a17: Pull complete 00:16:33 3a2ae6a8a46f: Pull complete 00:16:33 33b1e0a273af: Pull complete 00:16:33 5d3b04190fa2: Pull complete 00:16:37 2f39f015ded8: Pull complete 00:16:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:37 prd-ubuntu20.04-docker-8c-8g-612 does not seem to be running inside a container 00:16:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:16:40 $ docker top c1c105e3b896f8fc9648eb27bf5979c49b4abbad933d43a395d8a5f6705317ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:40 ---> job-cost.sh 00:16:40 lf-activate-venv: SKIPPING 00:16:40 INFO: No Stack... 00:16:40 INFO: Retrieving Pricing Info for: v3-standard-8 00:16:41 INFO: Archiving Costs [Pipeline] sh 00:16:41 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 00:16:41 + cut -d, -f6 [Pipeline] lock 00:16:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] 00:16:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] did not exist. Created. 00:16:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:42 + echo total: 0.2199999988079071 [Pipeline] stash 00:16:42 Stashed 1 file(s) [Pipeline] } 00:16:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] [Pipeline] // lock [Pipeline] } 00:16:42 $ docker stop --time=1 c1c105e3b896f8fc9648eb27bf5979c49b4abbad933d43a395d8a5f6705317ce 00:16:43 $ docker rm -f c1c105e3b896f8fc9648eb27bf5979c49b4abbad933d43a395d8a5f6705317ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:16:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-613 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 00:16:47 Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout 00:16:47 Selected Git installation does not exist. Using Default 00:16:47 The recommended git tool is: NONE 00:16:54 using credential edgex-jenkins-ssh 00:16:54 Cloning the remote Git repository 00:16:54 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:16:54 > git init /w/workspace/device-onvif-camera/18 # timeout=10 00:16:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:16:54 > git --version # timeout=10 00:16:54 > git --version # 'git version 2.25.1' 00:16:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:16:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:16:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:16:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:55 > 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:16:55 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 6645443a7f8ea24da924c7873177c59f6e6a8053 00:16:56 Merge succeeded, producing a8e2ebb86087667526910716a43a60f04b447529 00:16:56 Checking out Revision a8e2ebb86087667526910716a43a60f04b447529 (PR-65) 00:16:55 > git config core.sparsecheckout # timeout=10 00:16:55 > git checkout -f 6645443a7f8ea24da924c7873177c59f6e6a8053 # timeout=10 00:16:56 > git remote # timeout=10 00:16:56 > git config --get remote.origin.url # timeout=10 00:16:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:56 > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 00:16:56 > git rev-parse HEAD^{commit} # timeout=10 00:16:56 > git config core.sparsecheckout # timeout=10 00:16:56 > git checkout -f a8e2ebb86087667526910716a43a60f04b447529 # timeout=10 00:17:00 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" 00:17:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:17:00 > git rev-list --no-walk bc6f9ecc0747e0ce5c71ee91b5f8ed46e234a8ae # timeout=10 00:17:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:17:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:17:01 Dload Upload Total Spent Left Speed 00:17:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 44882 0 --:--:-- --:--:-- --:--:-- 44882 [Pipeline] sh 00:17:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:17:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo tee /etc/docker/daemon.new 00:17:02 /etc/docker/daemon.json 00:17:02 { 00:17:02 "registry-mirrors": [ 00:17:02 "https://nexus3.edgexfoundry.org:10001" 00:17:02 ], 00:17:02 "bip": "10.250.0.254/24", 00:17:02 "hosts": [ 00:17:02 "tcp://0.0.0.0:5555", 00:17:02 "unix:///var/run/docker.sock" 00:17:02 ], 00:17:02 "mtu": 1458, 00:17:02 "selinux-enabled": true, 00:17:02 "seccomp-profile": "/etc/docker/seccomp.json" 00:17:02 } [Pipeline] sh 00:17:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:17:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:17:21 provisioning config files... 00:17:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config7414160980442070806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:22 ---> docker-login.sh 00:17:22 nexus3.edgexfoundry.org:10001 00:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:23 Configure a credential helper to remove this warning. See 00:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:23 00:17:23 Login Succeeded 00:17:23 nexus3.edgexfoundry.org:10002 00:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:23 Configure a credential helper to remove this warning. See 00:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:23 00:17:23 Login Succeeded 00:17:23 nexus3.edgexfoundry.org:10003 00:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:24 Configure a credential helper to remove this warning. See 00:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:24 00:17:24 Login Succeeded 00:17:24 nexus3.edgexfoundry.org:10004 00:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:24 Configure a credential helper to remove this warning. See 00:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:24 00:17:24 Login Succeeded 00:17:24 docker.io 00:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:25 Configure a credential helper to remove this warning. See 00:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:25 00:17:25 Login Succeeded 00:17:25 ---> docker-login.sh ends [Pipeline] } 00:17:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:17:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:17:25 ========================================================= 00:17:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:17:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:25 + 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:17:26 Sending build context to Docker daemon 6.064MB 00:17:26 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:17:26 Step 2/13 : FROM ${BASE} AS builder 00:17:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:17:26 9b3977197b4f: Pulling fs layer 00:17:26 1a89e8eeedd5: Pulling fs layer 00:17:26 94645a83ff95: Pulling fs layer 00:17:26 3f3a8bcf1eab: Pulling fs layer 00:17:26 0c92f367c5e7: Pulling fs layer 00:17:26 3096ccb668a1: Pulling fs layer 00:17:26 e8cf19c19ddd: Pulling fs layer 00:17:26 a4caa8a26152: Pulling fs layer 00:17:26 3f3a8bcf1eab: Waiting 00:17:26 0c92f367c5e7: Waiting 00:17:26 3096ccb668a1: Waiting 00:17:26 e8cf19c19ddd: Waiting 00:17:26 a4caa8a26152: Waiting 00:17:26 94645a83ff95: Verifying Checksum 00:17:26 94645a83ff95: Download complete 00:17:26 1a89e8eeedd5: Verifying Checksum 00:17:26 1a89e8eeedd5: Download complete 00:17:26 0c92f367c5e7: Verifying Checksum 00:17:26 0c92f367c5e7: Download complete 00:17:26 3096ccb668a1: Download complete 00:17:26 9b3977197b4f: Download complete 00:17:26 e8cf19c19ddd: Verifying Checksum 00:17:26 e8cf19c19ddd: Download complete 00:17:27 9b3977197b4f: Pull complete 00:17:27 1a89e8eeedd5: Pull complete 00:17:28 94645a83ff95: Pull complete 00:17:28 a4caa8a26152: Download complete 00:17:29 3f3a8bcf1eab: Verifying Checksum 00:17:29 3f3a8bcf1eab: Download complete 00:17:41 3f3a8bcf1eab: Pull complete 00:17:41 0c92f367c5e7: Pull complete 00:17:41 3096ccb668a1: Pull complete 00:17:41 e8cf19c19ddd: Pull complete 00:17:48 a4caa8a26152: Pull complete 00:17:48 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:17:48 ---> 725f1c02e7f9 00:17:48 Step 3/13 : ARG MAKE="make build" 00:17:49 ---> Running in 3e61f5521f1f 00:17:49 Removing intermediate container 3e61f5521f1f 00:17:49 ---> b4716a3fd2be 00:17:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:17:49 ---> Running in 674730d124e9 00:17:49 Removing intermediate container 674730d124e9 00:17:49 ---> e0a6f42fdd8e 00:17:49 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:17:49 ---> Running in 62720cca653a 00:17:50 Removing intermediate container 62720cca653a 00:17:50 ---> 0e615f89be7c 00:17:50 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:17:50 ---> Running in cea6aeebb4ed 00:17:50 Removing intermediate container cea6aeebb4ed 00:17:50 ---> 953bd3a316c7 00:17:50 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:50 ---> Running in d8a1e769671a 00:17:52 Removing intermediate container d8a1e769671a 00:17:52 ---> efb105cd4555 00:17:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:52 ---> Running in 8d18ff6fa7b7 00:17:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:17:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:17:55 OK: 220 MiB in 52 packages 00:17:55 Removing intermediate container 8d18ff6fa7b7 00:17:55 ---> cef533b4e7b8 00:17:55 Step 9/13 : WORKDIR /device-onvif-camera 00:17:56 ---> Running in 983e18e6443d 00:17:56 Removing intermediate container 983e18e6443d 00:17:56 ---> 52ff4bfd302c 00:17:56 Step 10/13 : COPY go.mod vendor* ./ 00:17:57 ---> 2b828e306102 00:17:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:57 ---> Running in a55644c504bd 00:18:44 Removing intermediate container a55644c504bd 00:18:44 ---> 3e95491e17f2 00:18:44 Step 12/13 : COPY . . 00:18:44 ---> 18d814d52c21 00:18:44 Step 13/13 : RUN ${MAKE} 00:18:44 ---> Running in 313aad9224d7 00:18:44 noop 00:18:45 Removing intermediate container 313aad9224d7 00:18:45 ---> 1f5152a1b400 00:18:45 Successfully built 1f5152a1b400 00:18:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:45 + docker inspect -f . ci-base-image-arm64 00:18:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:45 prd-ubuntu20.04-docker-arm64-4c-16g-613 does not seem to be running inside a container 00:18:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:18:47 $ docker top 52f7090d23bdb0ba649968e8b92c7659b167a168912540a89659ac3a03f78217 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:48 + go version 00:18:48 go version go1.17.6 linux/arm64 [Pipeline] } 00:18:48 $ docker stop --time=1 52f7090d23bdb0ba649968e8b92c7659b167a168912540a89659ac3a03f78217 00:18:49 $ docker rm -f 52f7090d23bdb0ba649968e8b92c7659b167a168912540a89659ac3a03f78217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:50 + docker inspect -f . ci-base-image-arm64 00:18:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:50 prd-ubuntu20.04-docker-arm64-4c-16g-613 does not seem to be running inside a container 00:18:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:18:51 $ docker top a08d5a577293ac17b2d0d911a6682eed1988af6f41fe45c387d7cec3280bdc73 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:18:52 + make test 00:18:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:18:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:20:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:20:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.080s coverage: 0.9% of statements 00:20:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 37.462s coverage: 13.8% of statements 00:20:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:21:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:22 ./bin/test-attribution-txt.sh [Pipeline] echo 00:21:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:21:22 $ docker stop --time=1 a08d5a577293ac17b2d0d911a6682eed1988af6f41fe45c387d7cec3280bdc73 00:21:24 $ docker rm -f a08d5a577293ac17b2d0d911a6682eed1988af6f41fe45c387d7cec3280bdc73 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:25 Warning: overwriting stash ‘coverage-report’ 00:21:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:26 + ls -al . 00:21:26 total 224 00:21:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 00:21 . 00:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:16 .. 00:21:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 00:17 .git 00:21:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:16 .github 00:21:26 -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 00:16 .gitignore 00:21:26 -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 00:16 .golangci.yml 00:21:26 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 00:16 Attribution.txt 00:21:26 -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 00:16 CHANGELOG.md 00:21:26 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 00:16 Dockerfile 00:21:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 00:16 GOVERNANCE.md 00:21:26 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 00:16 Jenkinsfile 00:21:26 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 00:16 LICENSE 00:21:26 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 00:16 Makefile 00:21:26 -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 00:16 OWNERS.md 00:21:26 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 00:16 README.md 00:21:26 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 00:14 VERSION 00:21:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 00:16 bin 00:21:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 00:16 cmd 00:21:26 -rw-r--r-- 1 jenkins jenkins 49507 Jun 2 00:20 coverage.out 00:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:16 doc 00:21:26 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 00:16 go.mod 00:21:26 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 00:16 go.sum 00:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 00:16 internal 00:21:26 -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:26 + 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=a8e2ebb86087667526910716a43a60f04b447529 --label arch=arm64 --label version=0.0.0 . 00:21:27 Sending build context to Docker daemon 6.114MB 00:21:27 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:21:27 Step 2/26 : FROM ${BASE} AS builder 00:21:27 ---> 1f5152a1b400 00:21:27 Step 3/26 : ARG MAKE="make build" 00:21:27 ---> Running in d00986decb9b 00:21:27 Removing intermediate container d00986decb9b 00:21:27 ---> f823617e7c10 00:21:27 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:21:27 ---> Running in 582922532e65 00:21:27 Removing intermediate container 582922532e65 00:21:27 ---> 0bfcc72d8ef0 00:21:27 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:21:27 ---> Running in bfa2b3bfa51a 00:21:28 Removing intermediate container bfa2b3bfa51a 00:21:28 ---> 9874b7862840 00:21:28 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:21:28 ---> Running in 8fb04ee5db27 00:21:28 Removing intermediate container 8fb04ee5db27 00:21:28 ---> 89e8b63d0ca1 00:21:28 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:21:28 ---> Running in cfabde49f599 00:21:30 Removing intermediate container cfabde49f599 00:21:30 ---> eacea9e9530f 00:21:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:30 ---> Running in 328fb7011fa8 00:21:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:21:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:21:33 OK: 220 MiB in 52 packages 00:21:33 Removing intermediate container 328fb7011fa8 00:21:33 ---> 564d7dbcdf17 00:21:33 Step 9/26 : WORKDIR /device-onvif-camera 00:21:33 ---> Running in b17f32bf13bb 00:21:34 Removing intermediate container b17f32bf13bb 00:21:34 ---> bd1b13f4646c 00:21:34 Step 10/26 : COPY go.mod vendor* ./ 00:21:34 ---> 6527b76afdbd 00:21:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:34 ---> Running in cf1b98173530 00:21:36 Removing intermediate container cf1b98173530 00:21:36 ---> f1b71cb2fa65 00:21:36 Step 12/26 : COPY . . 00:21:37 ---> c69327a3cd6f 00:21:37 Step 13/26 : RUN ${MAKE} 00:21:37 ---> Running in 8b0e5191b7ab 00:21:38 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:23:45 Removing intermediate container 8b0e5191b7ab 00:23:45 ---> 67daf095a700 00:23:45 Step 14/26 : FROM alpine:3.15 00:23:45 3.15: Pulling from library/alpine 00:23:45 9981e73032c8: Pulling fs layer 00:23:45 9981e73032c8: Verifying Checksum 00:23:45 9981e73032c8: Download complete 00:23:45 9981e73032c8: Pull complete 00:23:45 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:23:45 Status: Downloaded newer image for alpine:3.15 00:23:45 ---> 3fb3c9af89a9 00:23:45 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:23:45 ---> Running in d6abab47ef34 00:23:45 Removing intermediate container d6abab47ef34 00:23:45 ---> 5e4381194634 00:23:45 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:23:45 ---> Running in 994a25dd2742 00:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:23:45 (1/6) Installing dumb-init (1.2.5-r1) 00:23:45 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:23:45 (3/6) Installing libsodium (1.0.18-r0) 00:23:45 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:23:45 (5/6) Installing libzmq (4.3.4-r0) 00:23:45 (6/6) Installing zeromq (4.3.4-r0) 00:23:45 Executing busybox-1.34.1-r5.trigger 00:23:45 OK: 8 MiB in 20 packages 00:23:45 Removing intermediate container 994a25dd2742 00:23:45 ---> da371881bfa6 00:23:45 Step 17/26 : WORKDIR / 00:23:45 ---> Running in 28ad47c76ad3 00:23:45 Removing intermediate container 28ad47c76ad3 00:23:45 ---> b7ef0ade08f2 00:23:45 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:23:45 ---> c19b67313c46 00:23:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:23:45 ---> d9e0c6977b68 00:23:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:23:46 ---> 2ec2783ff3f4 00:23:46 Step 21/26 : EXPOSE 59984 00:23:46 ---> Running in 5c7d7f8f7d2e 00:23:46 Removing intermediate container 5c7d7f8f7d2e 00:23:46 ---> 5153a2e43a97 00:23:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:23:46 ---> Running in e55bd5f0eeba 00:23:46 Removing intermediate container e55bd5f0eeba 00:23:46 ---> d7895efe06e1 00:23:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:23:46 ---> Running in 51060e304649 00:23:47 Removing intermediate container 51060e304649 00:23:47 ---> cc2b327ad27b 00:23:47 Step 24/26 : LABEL arch=arm64 00:23:47 ---> Running in a93ecc4b0ff2 00:23:47 Removing intermediate container a93ecc4b0ff2 00:23:47 ---> 55fbca91e3bf 00:23:47 Step 25/26 : LABEL git_sha=a8e2ebb86087667526910716a43a60f04b447529 00:23:47 ---> Running in c25160ee0a1f 00:23:47 Removing intermediate container c25160ee0a1f 00:23:47 ---> 12071327d19f 00:23:47 Step 26/26 : LABEL version=0.0.0 00:23:47 ---> Running in aa3f3be5a601 00:23:48 Removing intermediate container aa3f3be5a601 00:23:48 ---> d327187f1434 00:23:48 [Warning] One or more build-args [ARCH] were not consumed 00:23:48 Successfully built d327187f1434 00:23:48 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:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:48 00:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:49 arm64: Pulling from edgex-lftools-log-publisher 00:23:49 8998bd30e6a1: Pulling fs layer 00:23:49 04944245beec: Pulling fs layer 00:23:49 699f458cf7ca: Pulling fs layer 00:23:49 765212b225bb: Pulling fs layer 00:23:49 f23df028b6ca: Pulling fs layer 00:23:49 d65c8cfc05b1: Pulling fs layer 00:23:49 2437ff75d9bd: Pulling fs layer 00:23:49 f23df028b6ca: Waiting 00:23:49 d65c8cfc05b1: Waiting 00:23:49 2437ff75d9bd: Waiting 00:23:49 765212b225bb: Waiting 00:23:49 04944245beec: Verifying Checksum 00:23:49 04944245beec: Download complete 00:23:49 765212b225bb: Download complete 00:23:49 f23df028b6ca: Verifying Checksum 00:23:49 f23df028b6ca: Download complete 00:23:49 d65c8cfc05b1: Verifying Checksum 00:23:49 d65c8cfc05b1: Download complete 00:23:49 699f458cf7ca: Verifying Checksum 00:23:49 699f458cf7ca: Download complete 00:23:50 8998bd30e6a1: Verifying Checksum 00:23:50 8998bd30e6a1: Download complete 00:23:52 2437ff75d9bd: Verifying Checksum 00:23:52 2437ff75d9bd: Download complete 00:23:54 8998bd30e6a1: Pull complete 00:23:54 04944245beec: Pull complete 00:23:56 699f458cf7ca: Pull complete 00:23:56 765212b225bb: Pull complete 00:23:57 f23df028b6ca: Pull complete 00:23:57 d65c8cfc05b1: Pull complete 00:24:13 2437ff75d9bd: Pull complete 00:24:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:24:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:13 prd-ubuntu20.04-docker-arm64-4c-16g-613 does not seem to be running inside a container 00:24:13 $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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:24:16 $ docker top a935adc08f53cbda510347168479b52ad8efd1ba407de0ba4ae9a9f689f21a99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:17 ---> job-cost.sh 00:24:17 lf-activate-venv: SKIPPING 00:24:17 INFO: No Stack... 00:24:17 INFO: Retrieving Pricing Info for: v3-standard-4 00:24:18 INFO: Archiving Costs [Pipeline] sh 00:24:19 + cat /w/workspace/device-onvif-camera/18/archives/cost.csv 00:24:19 + cut -d, -f6 [Pipeline] lock 00:24:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] 00:24:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] did not exist. Created. 00:24:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:20 /w/workspace/device-onvif-camera/18@tmp/durable-8c72b39f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:24:20 + echo total: 0.10999999940395355 [Pipeline] stash 00:24:20 Warning: overwriting stash ‘stack-cost’ 00:24:21 Stashed 1 file(s) [Pipeline] } 00:24:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-18-stack-cost] [Pipeline] // lock [Pipeline] } 00:24:21 $ docker stop --time=1 a935adc08f53cbda510347168479b52ad8efd1ba407de0ba4ae9a9f689f21a99 00:24:22 $ docker rm -f a935adc08f53cbda510347168479b52ad8efd1ba407de0ba4ae9a9f689f21a99 [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:24:23 provisioning config files... 00:24:23 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config7123884910081903899tmp [Pipeline] { [Pipeline] sh 00:24:23 + set +x 00:24:23 + curl -s https://codecov.io/bash 00:24:23 + bash -s -- 00:24:23 00:24:23 _____ _ 00:24:23 / ____| | | 00:24:23 | | ___ __| | ___ ___ _____ __ 00:24:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:24:23 | |___| (_) | (_| | __/ (_| (_) \ V / 00:24:23 \_____\___/ \__,_|\___|\___\___/ \_/ 00:24:23 Bash-1.0.6 00:24:23 00:24:23 00:24:23 ==> git version 2.25.1 found 00:24:23 ==> 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:24:23 Release-Date: 2020-01-08 00:24:23 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:24:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:24:23 ==> Jenkins CI detected. 00:24:23 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 00:24:23 project root: . 00:24:23 --> token set from env 00:24:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:24:23 ==> Running gcov in . (disable via -X gcov) 00:24:23 ==> Python coveragepy not found 00:24:23 ==> Searching for coverage reports in: 00:24:23 + . 00:24:23 -> Found 1 reports 00:24:23 ==> Detecting git/mercurial file structure 00:24:23 ==> Reading reports 00:24:23 + ./coverage.out bytes=49507 00:24:23 ==> Appending adjustments 00:24:23 https://docs.codecov.io/docs/fixing-reports 00:24:23 + Found adjustments 00:24:23 ==> Gzipping contents 00:24:23 8.0K /tmp/codecov.QqVCYE.gz 00:24:23 ==> Uploading reports 00:24:23 url: https://codecov.io 00:24:23 query: branch=PR-65&commit=752232451bbcd4e1ce5aba51b07de090037bdaa7&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 00:24:23 -> Pinging Codecov 00:24:23 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=752232451bbcd4e1ce5aba51b07de090037bdaa7&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 00:24:23 -> Uploading to 00:24:23 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/F29A59C45E3A92E06B3E522C9905F8EF/752232451bbcd4e1ce5aba51b07de090037bdaa7/0217a3b2-1fe4-4a5a-911a-ed3b99623822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T002423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=917bd4a30a608e88ac9f805ebaa22f8ec943ea595d54c03cab9d63cb9076fad8 00:24:23 % Total % Received % Xferd Average Speed Time Time Time Current 00:24:23 Dload Upload Total Spent Left Speed 00:24:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6171 0 0 100 6171 0 24585 --:--:-- --:--:-- --:--:-- 24684 00:24:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/752232451bbcd4e1ce5aba51b07de090037bdaa7 [Pipeline] } 00:24:24 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:24:24 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 00:24:24 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 00:24:24 total 16 00:24:24 drwxr-xr-x 3 root root 4096 Jun 2 00:16 . 00:24:24 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 00:16 .. 00:24:24 drwxr-xr-x 2 root root 4096 Jun 2 00:16 cost 00:24:24 -rw-r--r-- 1 root root 90 Jun 2 00:16 cost.csv 00:24:24 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 00:24:24 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 00:24:24 total 16 00:24:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 00:16 . 00:24:24 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 00:16 .. 00:24:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 00:16 cost 00:24:24 -rw-r--r-- 1 jenkins jenkins 90 Jun 2 00:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:24:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:24:26 ---> package-listing.sh 00:24:26 ++ facter osfamily 00:24:26 ++ tr '[:upper:]' '[:lower:]' 00:24:26 + OS_FAMILY=debian 00:24:26 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 00:24:26 + START_PACKAGES=/tmp/packages_start.txt 00:24:26 + END_PACKAGES=/tmp/packages_end.txt 00:24:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:24:26 + PACKAGES=/tmp/packages_start.txt 00:24:26 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 00:24:26 + PACKAGES=/tmp/packages_end.txt 00:24:26 + case "${OS_FAMILY}" in 00:24:26 + dpkg -l 00:24:26 + grep '^ii' 00:24:26 + '[' -f /tmp/packages_start.txt ']' 00:24:26 + '[' -f /tmp/packages_end.txt ']' 00:24:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:24:26 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 00:24:26 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 00:24:26 + 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:24:26 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:24:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:27 prd-ubuntu20.04-docker-8c-8g-612 does not seem to be running inside a container 00:24:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:24:27 $ docker top 7b983df90a182f66919ddc5b370adc23b4d77eb8584ef51eb35187221b54ac2f -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:27 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:28 + mkdir -p /var/log/sysstat [Pipeline] sh 00:24:28 + ls /var/log/sa-host 00:24:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:28 provisioning config files... 00:24:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4139324300285690560tmp [Pipeline] { [Pipeline] echo 00:24:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:28 ---> create-netrc.sh [Pipeline] } 00:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:29 ---> python-tools-install.sh [Pipeline] echo 00:24:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:29 ---> sudo-logs.sh 00:24:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:29 ---> job-cost.sh 00:24:29 lf-activate-venv: SKIPPING 00:24:29 DEBUG: total: 0.2199999988079071 00:24:29 INFO: Retrieving Stack Cost... 00:24:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:31 INFO: Archiving Costs [Pipeline] echo 00:24:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:31 ---> logs-deploy.sh 00:24:31 lf-activate-venv: SKIPPING 00:24:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/18 00:24:31 INFO: archiving workspace using pattern(s): 00:24:32 Archives upload complete. 00:24:32 INFO: archiving logs to Nexus