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 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d 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-ssh17489286489449063395.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-ssh7294535845950528998.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-ssh1142654454039348242.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-ssh11685562937566384476.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-ssh11247741525337020415.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-557 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d Merge succeeded, producing 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 Checking out Revision 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d # 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 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 # 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 17:10:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:10:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:10:35 ========================================================= 17:10:35 EdgeX Global Pipelines Version Info 17:10:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f # timeout=10 17:10:36 ------------------- 17:10:36 stable info: 17:10:36 ------------------- 17:10:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:10:36 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 17:10:36 Message: update stable to v1.0.230 17:10:37 ------------------- 17:10:37 experimental info: 17:10:37 ------------------- 17:10:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:10:37 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 17:10:37 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25dd83f [Pipeline] echo 17:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:37 provisioning config files... 17:10:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config6083678151180109293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:37 ---> docker-login.sh 17:10:37 nexus3.edgexfoundry.org:10001 17:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:38 Configure a credential helper to remove this warning. See 17:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:38 17:10:38 Login Succeeded 17:10:38 nexus3.edgexfoundry.org:10002 17:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:38 Configure a credential helper to remove this warning. See 17:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:38 17:10:38 Login Succeeded 17:10:38 nexus3.edgexfoundry.org:10003 17:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:38 Configure a credential helper to remove this warning. See 17:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:38 17:10:38 Login Succeeded 17:10:38 nexus3.edgexfoundry.org:10004 17:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:38 Configure a credential helper to remove this warning. See 17:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:38 17:10:38 Login Succeeded 17:10:38 docker.io 17:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:39 Configure a credential helper to remove this warning. See 17:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:39 17:10:39 Login Succeeded 17:10:39 ---> docker-login.sh ends [Pipeline] } 17:10:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:10:39 + git rev-list -1 --merges 25dd83f2b48c0aff3804ab2ce152b73d998f45b1~1..25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo 17:10:39 -----------> git rev-list -1 --merges 25dd83f2b48c0aff3804ab2ce152b73d998f45b1~1..25dd83f2b48c0aff3804ab2ce152b73d998f45b1 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 17:10:39 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [false] [Pipeline] sh 17:10:39 + git log --format=format:%s -1 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo 17:10:39 ========================================================= 17:10:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:10:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:10:40 + git log --format=format:%s -1 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo 17:10:40 [semverPrep] GIT_COMMIT: 25dd83f2b48c0aff3804ab2ce152b73d998f45b1, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo 17:10:40 [semverPrep] This is not a build commit. [Pipeline] sh 17:10:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:10:40 + grep -v github /etc/ssh/ssh_known_hosts 17:10:40 + [ -e /tmp/ssh_known_hosts ] 17:10:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:10:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:10:40 + sudo tee -a /etc/ssh/ssh_known_hosts 17:10:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:10:40 17:10:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:10:41 latest: Pulling from edgex-devops/py-git-semver 17:10:41 1fe172e4850f: Pulling fs layer 17:10:41 caf521ccaac6: Pulling fs layer 17:10:41 3ead6fa29328: Pulling fs layer 17:10:41 5c2a1cbceb83: Pulling fs layer 17:10:41 a8d5f1318db7: Pulling fs layer 17:10:41 c427282e49a2: Pulling fs layer 17:10:41 1827001aaf11: Pulling fs layer 17:10:41 0714d37db230: Pulling fs layer 17:10:41 ac28cf19c067: Pulling fs layer 17:10:41 ca983d60f3e2: Pulling fs layer 17:10:41 9f894cec8388: Pulling fs layer 17:10:41 c427282e49a2: Waiting 17:10:41 ca983d60f3e2: Waiting 17:10:41 9f894cec8388: Waiting 17:10:41 1827001aaf11: Waiting 17:10:41 0714d37db230: Waiting 17:10:41 ac28cf19c067: Waiting 17:10:41 5c2a1cbceb83: Waiting 17:10:41 a8d5f1318db7: Waiting 17:10:41 caf521ccaac6: Download complete 17:10:41 5c2a1cbceb83: Verifying Checksum 17:10:41 5c2a1cbceb83: Download complete 17:10:41 a8d5f1318db7: Verifying Checksum 17:10:41 a8d5f1318db7: Download complete 17:10:41 c427282e49a2: Verifying Checksum 17:10:41 3ead6fa29328: Verifying Checksum 17:10:41 3ead6fa29328: Download complete 17:10:41 0714d37db230: Download complete 17:10:41 ac28cf19c067: Download complete 17:10:41 ca983d60f3e2: Verifying Checksum 17:10:41 ca983d60f3e2: Download complete 17:10:41 9f894cec8388: Verifying Checksum 17:10:41 9f894cec8388: Download complete 17:10:41 1fe172e4850f: Verifying Checksum 17:10:41 1fe172e4850f: Download complete 17:10:41 1827001aaf11: Verifying Checksum 17:10:41 1827001aaf11: Download complete 17:10:42 1fe172e4850f: Pull complete 17:10:42 caf521ccaac6: Pull complete 17:10:43 3ead6fa29328: Pull complete 17:10:43 5c2a1cbceb83: Pull complete 17:10:43 a8d5f1318db7: Pull complete 17:10:43 c427282e49a2: Pull complete 17:10:45 1827001aaf11: Pull complete 17:10:45 0714d37db230: Pull complete 17:10:45 ac28cf19c067: Pull complete 17:10:45 ca983d60f3e2: Pull complete 17:10:45 9f894cec8388: Pull complete 17:10:45 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:10:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:46 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 17:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:10:47 $ docker top c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:10:47 [ssh-agent] Looking for ssh-agent implementation... 17:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:10:47 $ docker exec c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent 17:10:47 SSH_AUTH_SOCK=/tmp/ssh-4H0B9AgqxjVU/agent.35 17:10:47 SSH_AGENT_PID=41 17:10:47 Running ssh-add (command line suppressed) 17:10:47 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3927188840054960778.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3927188840054960778.key) 17:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:10:48 + git tag --points-at HEAD [Pipeline] } 17:10:48 $ docker exec --env ******** --env ******** c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent -k 17:10:48 unset SSH_AUTH_SOCK; 17:10:48 unset SSH_AGENT_PID; 17:10:48 echo Agent pid 41 killed; 17:10:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:10:48 [ssh-agent] Looking for ssh-agent implementation... 17:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:10:48 $ docker exec c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent 17:10:48 SSH_AUTH_SOCK=/tmp/ssh-jD2eD0Jk6igg/agent.75 17:10:48 SSH_AGENT_PID=82 17:10:48 Running ssh-add (command line suppressed) 17:10:48 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1686299753820555055.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1686299753820555055.key) 17:10:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:10:49 + git semver init 17:10:49 2022-06-01 17:10:49,230 [run_init] DEBUG init version:0.0.0 force:False 17:10:49 2022-06-01 17:10:49,230 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 17:10:49 2022-06-01 17:10:49,231 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 17:10:49 2022-06-01 17:10:49,231 [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) 17:10:50 2022-06-01 17:10:49,875 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 17:10:50 2022-06-01 17:10:49,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False 17:10:50 2022-06-01 17:10:49,876 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 17:10:50 2022-06-01 17:10:49,876 [write_version] DEBUG version is same as current version 0.0.0 17:10:50 2022-06-01 17:10:49,876 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 17:10:50 0.0.0 [Pipeline] } 17:10:50 $ docker exec --env ******** --env ******** c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent -k 17:10:50 unset SSH_AUTH_SOCK; 17:10:50 unset SSH_AGENT_PID; 17:10:50 echo Agent pid 82 killed; 17:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:10:50 + git semver [Pipeline] } 17:10:51 $ docker stop --time=1 c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 17:10:52 $ docker rm -f c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 [Pipeline] // withDockerContainer [Pipeline] sh 17:10:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:10:53 Stashed 1 file(s) [Pipeline] echo 17:10:53 [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 17:10:53 provisioning config files... 17:10:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8064022194061296375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:53 ---> docker-login.sh 17:10:53 nexus3.edgexfoundry.org:10001 17:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:53 Configure a credential helper to remove this warning. See 17:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:53 17:10:53 Login Succeeded 17:10:53 nexus3.edgexfoundry.org:10002 17:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:53 Configure a credential helper to remove this warning. See 17:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:53 17:10:53 Login Succeeded 17:10:53 nexus3.edgexfoundry.org:10003 17:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:53 Configure a credential helper to remove this warning. See 17:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:53 17:10:53 Login Succeeded 17:10:53 nexus3.edgexfoundry.org:10004 17:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:54 Configure a credential helper to remove this warning. See 17:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:54 17:10:54 Login Succeeded 17:10:54 docker.io 17:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:54 Configure a credential helper to remove this warning. See 17:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:54 17:10:54 Login Succeeded 17:10:54 ---> docker-login.sh ends [Pipeline] } 17:10:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:54 ========================================================= 17:10:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:10:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:54 + 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 . 17:10:54 Sending build context to Docker daemon 8.773MB 17:10:54 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:10:54 Step 2/12 : FROM ${BASE} AS builder 17:10:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:10:54 59bf1c3509f3: Pulling fs layer 17:10:54 666ba61612fd: Pulling fs layer 17:10:54 8ed8ca486205: Pulling fs layer 17:10:54 4fe6c5a15a65: Pulling fs layer 17:10:54 22a0e8bec74d: Pulling fs layer 17:10:54 ca2b28591e48: Pulling fs layer 17:10:54 a51346096db8: Pulling fs layer 17:10:54 daebc70d1ce1: Pulling fs layer 17:10:54 0e18a0eac166: Pulling fs layer 17:10:54 a51346096db8: Waiting 17:10:54 daebc70d1ce1: Waiting 17:10:54 4fe6c5a15a65: Waiting 17:10:54 22a0e8bec74d: Waiting 17:10:54 ca2b28591e48: Waiting 17:10:54 0e18a0eac166: Waiting 17:10:54 8ed8ca486205: Download complete 17:10:54 666ba61612fd: Download complete 17:10:54 22a0e8bec74d: Verifying Checksum 17:10:54 22a0e8bec74d: Download complete 17:10:54 ca2b28591e48: Download complete 17:10:54 a51346096db8: Verifying Checksum 17:10:54 a51346096db8: Download complete 17:10:54 59bf1c3509f3: Verifying Checksum 17:10:54 59bf1c3509f3: Download complete 17:10:54 daebc70d1ce1: Verifying Checksum 17:10:54 daebc70d1ce1: Download complete 17:10:54 59bf1c3509f3: Pull complete 17:10:55 666ba61612fd: Pull complete 17:10:55 8ed8ca486205: Pull complete 17:10:55 0e18a0eac166: Download complete 17:10:55 4fe6c5a15a65: Download complete 17:10:59 4fe6c5a15a65: Pull complete 17:10:59 22a0e8bec74d: Pull complete 17:10:59 ca2b28591e48: Pull complete 17:10:59 a51346096db8: Pull complete 17:10:59 daebc70d1ce1: Pull complete 17:11:01 0e18a0eac166: Pull complete 17:11:01 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:11:01 ---> f018257e8ee9 17:11:01 Step 3/12 : ARG MAKE="make build" 17:11:02 ---> Running in 2ebcb1468002 17:11:02 Removing intermediate container 2ebcb1468002 17:11:02 ---> 3645bff52aae 17:11:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:11:02 ---> Running in b702a07e4d4f 17:11:02 Removing intermediate container b702a07e4d4f 17:11:02 ---> 5445733ca7de 17:11:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:11:02 ---> Running in 4ebc5d63efb0 17:11:02 Removing intermediate container 4ebc5d63efb0 17:11:02 ---> dceaad1cb01a 17:11:02 Step 6/12 : LABEL Name=edgex-device-onvif-camera 17:11:02 ---> Running in eb3f4e5586ac 17:11:02 Removing intermediate container eb3f4e5586ac 17:11:02 ---> e56b36bb21f0 17:11:02 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:02 ---> Running in 21d4c7dac20b 17:11:03 Removing intermediate container 21d4c7dac20b 17:11:03 ---> 0786ac6ed7e7 17:11:03 Step 8/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:03 ---> Running in 95def06b8199 17:11:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:11:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:11:04 OK: 221 MiB in 52 packages 17:11:04 Removing intermediate container 95def06b8199 17:11:04 ---> ca5c0ea45c4a 17:11:04 Step 9/12 : WORKDIR /device-onvif-camera 17:11:05 ---> Running in e747d9a67597 17:11:05 Removing intermediate container e747d9a67597 17:11:05 ---> 2008d6c7f76f 17:11:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:05 ---> Running in e671fe22cd80 17:11:05 go: cannot match "all": go.mod file not found in current directory or any parent directory; see 'go help modules' 17:11:05 skipping... 17:11:05 Removing intermediate container e671fe22cd80 17:11:05 ---> 1371a4625884 17:11:05 Step 11/12 : COPY . . 17:11:05 ---> 77deb25fa829 17:11:05 Step 12/12 : RUN ${MAKE} 17:11:05 ---> Running in 7eece5c65765 17:11:06 noop 17:11:06 Removing intermediate container 7eece5c65765 17:11:06 ---> 823764d5b2d0 17:11:06 Successfully built 823764d5b2d0 17:11:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:06 + docker inspect -f . ci-base-image-x86_64 17:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:06 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 17:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:11:07 $ docker top ae80499b5f8549e5f8bee14cec25ee711afeb169d49336192688a6ba2c8fb227 -eo pid,comm [Pipeline] { [Pipeline] sh 17:11:07 + go version 17:11:07 go version go1.17.6 linux/amd64 [Pipeline] } 17:11:07 $ docker stop --time=1 ae80499b5f8549e5f8bee14cec25ee711afeb169d49336192688a6ba2c8fb227 17:11:08 Still waiting to schedule task 17:11:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:11:08 $ docker rm -f ae80499b5f8549e5f8bee14cec25ee711afeb169d49336192688a6ba2c8fb227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:09 + docker inspect -f . ci-base-image-x86_64 17:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:09 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 17:11:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:11:09 $ docker top a97fffcd308e45dc2aac810dd7e861b68de57a6a48e8275e5fe7d3ddbc324526 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:11:10 + make test 17:11:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:11:10 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 17:11:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 17:11:10 go: downloading github.com/stretchr/testify v1.7.1 17:11:10 go: downloading github.com/IOTechSystems/onvif v0.1.1 17:11:12 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 17:11:12 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 17:11:12 go: downloading github.com/gorilla/mux v1.8.0 17:11:12 go: downloading github.com/davecgh/go-spew v1.1.1 17:11:12 go: downloading github.com/pmezard/go-difflib v1.0.0 17:11:12 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:11:12 go: downloading github.com/go-kit/log v0.2.0 17:11:12 go: downloading github.com/beevik/etree v1.1.0 17:11:12 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:11:12 go: downloading github.com/clbanning/mxj/v2 v2.3.2 17:11:12 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 17:11:12 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:11:12 go: downloading github.com/google/uuid v1.3.0 17:11:12 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 17:11:12 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 17:11:12 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:11:12 go: downloading github.com/OneOfOne/xxhash v1.2.8 17:11:12 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 17:11:12 go: downloading github.com/pelletier/go-toml v1.9.4 17:11:12 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 17:11:12 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:11:12 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:11:12 go: downloading github.com/go-playground/universal-translator v0.18.0 17:11:12 go: downloading github.com/leodido/go-urn v1.2.1 17:11:12 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:11:12 go: downloading golang.org/x/text v0.3.7 17:11:12 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:11:12 go: downloading github.com/hashicorp/errwrap v1.0.0 17:11:12 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:11:12 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 17:11:12 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:11:12 go: downloading github.com/go-playground/locales v0.14.0 17:11:12 go: downloading github.com/hashicorp/consul/api v1.9.1 17:11:12 go: downloading github.com/x448/float16 v0.8.4 17:11:12 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:11:12 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:11:12 go: downloading github.com/pebbe/zmq4 v1.2.7 17:11:12 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:11:12 go: downloading github.com/zeebo/errs v1.2.2 17:11:12 go: downloading google.golang.org/grpc v1.42.0 17:11:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:11:12 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:11:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:11:12 go: downloading github.com/hashicorp/serf v0.9.5 17:11:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:11:12 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:11:12 go: downloading google.golang.org/protobuf v1.27.1 17:11:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:11:12 go: downloading github.com/mitchellh/copystructure v1.0.0 17:11:12 go: downloading github.com/gorilla/websocket v1.4.2 17:11:12 go: downloading github.com/fatih/color v1.9.0 17:11:12 go: downloading github.com/mattn/go-isatty v0.0.12 17:11:13 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:11:13 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:11:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:11:13 go: downloading github.com/mattn/go-colorable v0.1.6 17:11:13 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:11:13 go: downloading github.com/golang/protobuf v1.5.2 17:11:13 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:11:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:11:25 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:11:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.011s coverage: 0.9% of statements 17:11:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.656s coverage: 13.8% of statements 17:11:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:11:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:41 ./bin/test-attribution-txt.sh 17:11:41 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 17:11:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:11:41 $ docker stop --time=1 a97fffcd308e45dc2aac810dd7e861b68de57a6a48e8275e5fe7d3ddbc324526 17:11:43 $ docker rm -f a97fffcd308e45dc2aac810dd7e861b68de57a6a48e8275e5fe7d3ddbc324526 [Pipeline] // withDockerContainer [Pipeline] sh 17:11:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:11:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:11:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:45 + ls -al . 17:11:45 total 228 17:11:45 drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 17:11 . 17:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:10 .. 17:11:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 17:10 .git 17:11:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:10 .github 17:11:45 -rw-rw-r-- 1 jenkins jenkins 352 Jun 1 17:10 .gitignore 17:11:45 -rw-rw-r-- 1 jenkins jenkins 42 Jun 1 17:10 .golangci.yml 17:11:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 17:10 .semver 17:11:45 -rw-rw-r-- 1 jenkins jenkins 9210 Jun 1 17:10 Attribution.txt 17:11:45 -rw-rw-r-- 1 jenkins jenkins 189 Jun 1 17:10 CHANGELOG.md 17:11:45 -rw-rw-r-- 1 jenkins jenkins 1644 Jun 1 17:10 Dockerfile 17:11:45 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 17:10 GOVERNANCE.md 17:11:45 -rw-rw-r-- 1 jenkins jenkins 660 Jun 1 17:10 Jenkinsfile 17:11:45 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 1 17:10 LICENSE 17:11:45 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 1 17:10 Makefile 17:11:45 -rw-rw-r-- 1 jenkins jenkins 625 Jun 1 17:10 OWNERS.md 17:11:45 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 1 17:10 README.md 17:11:45 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 17:10 VERSION 17:11:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:10 bin 17:11:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 17:10 cmd 17:11:45 -rw-r--r-- 1 jenkins jenkins 49507 Jun 1 17:11 coverage.out 17:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:10 doc 17:11:45 -rw-rw-r-- 1 jenkins jenkins 3576 Jun 1 17:11 go.mod 17:11:45 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 1 17:10 go.sum 17:11:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:10 internal 17:11:45 -rw-rw-r-- 1 jenkins jenkins 236 Jun 1 17:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:45 + 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=25dd83f2b48c0aff3804ab2ce152b73d998f45b1 --label arch=amd64 --label version=0.0.0 . 17:11:45 Sending build context to Docker daemon 8.823MB 17:11:45 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:11:45 Step 2/25 : FROM ${BASE} AS builder 17:11:45 ---> 823764d5b2d0 17:11:45 Step 3/25 : ARG MAKE="make build" 17:11:45 ---> Running in 99475f4866ab 17:11:46 Removing intermediate container 99475f4866ab 17:11:46 ---> 5c9c450dcdfb 17:11:46 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:11:46 ---> Running in 5acefb23e493 17:11:46 Removing intermediate container 5acefb23e493 17:11:46 ---> ca0d0ebde725 17:11:46 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:11:46 ---> Running in bd6f7d24a400 17:11:46 Removing intermediate container bd6f7d24a400 17:11:46 ---> 6d9c30122a0d 17:11:46 Step 6/25 : LABEL Name=edgex-device-onvif-camera 17:11:46 ---> Running in 10c7cbe35d8e 17:11:46 Removing intermediate container 10c7cbe35d8e 17:11:46 ---> 5a3eb5f08de0 17:11:46 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:46 ---> Running in d28362bffd05 17:11:46 Removing intermediate container d28362bffd05 17:11:46 ---> ebe621d0c611 17:11:46 Step 8/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:46 ---> Running in fc182e370180 17:11:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:11:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:11:48 OK: 221 MiB in 52 packages 17:11:48 Removing intermediate container fc182e370180 17:11:48 ---> 4318a85f3f08 17:11:48 Step 9/25 : WORKDIR /device-onvif-camera 17:11:48 ---> Running in e6e48e4e3e19 17:11:48 Removing intermediate container e6e48e4e3e19 17:11:48 ---> 2e692562ae75 17:11:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:48 ---> Running in 2c315c797d21 17:12:03 Removing intermediate container 2c315c797d21 17:12:03 ---> 927f365e3284 17:12:03 Step 11/25 : COPY . . 17:12:03 ---> 3aee0f2e6f8c 17:12:03 Step 12/25 : RUN ${MAKE} 17:12:03 ---> Running in 0c7529acc82b 17:12:03 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 17:12:25 Removing intermediate container 0c7529acc82b 17:12:25 ---> 9bb9bf6ea341 17:12:25 Step 13/25 : FROM alpine:3.15 17:12:25 3.15: Pulling from library/alpine 17:12:25 df9b9388f04a: Pulling fs layer 17:12:25 df9b9388f04a: Verifying Checksum 17:12:25 df9b9388f04a: Download complete 17:12:25 df9b9388f04a: Pull complete 17:12:25 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 17:12:25 Status: Downloaded newer image for alpine:3.15 17:12:25 ---> 0ac33e5f5afa 17:12:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:12:25 ---> Running in 0f15e3219b85 17:12:25 Removing intermediate container 0f15e3219b85 17:12:25 ---> bef4bd878ded 17:12:25 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 17:12:25 ---> Running in 8c166f9074fc 17:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:12:25 (1/6) Installing dumb-init (1.2.5-r1) 17:12:25 (2/6) Installing libgcc (10.3.1_git20211027-r0) 17:12:25 (3/6) Installing libsodium (1.0.18-r0) 17:12:25 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 17:12:25 (5/6) Installing libzmq (4.3.4-r0) 17:12:25 (6/6) Installing zeromq (4.3.4-r0) 17:12:25 Executing busybox-1.34.1-r5.trigger 17:12:25 OK: 8 MiB in 20 packages 17:12:25 Removing intermediate container 8c166f9074fc 17:12:25 ---> 2b6c7d125b06 17:12:25 Step 16/25 : WORKDIR / 17:12:25 ---> Running in bda3405e6949 17:12:25 Removing intermediate container bda3405e6949 17:12:25 ---> e5db9717b34f 17:12:25 Step 17/25 : COPY --from=builder /device-onvif-camera/cmd / 17:12:25 ---> aa2e385216da 17:12:25 Step 18/25 : COPY --from=builder /device-onvif-camera/LICENSE / 17:12:25 ---> ccb78606863a 17:12:25 Step 19/25 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:12:25 ---> a7d5c0c3668c 17:12:25 Step 20/25 : EXPOSE 59984 17:12:25 ---> Running in d5b80164acaa 17:12:25 Removing intermediate container d5b80164acaa 17:12:25 ---> d784e49a18cc 17:12:25 Step 21/25 : ENTRYPOINT ["/device-onvif-camera"] 17:12:25 ---> Running in fbff36ca7a83 17:12:25 Removing intermediate container fbff36ca7a83 17:12:25 ---> be254ceee8c2 17:12:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:12:25 ---> Running in b5c01effa953 17:12:25 Removing intermediate container b5c01effa953 17:12:25 ---> 2222de70cb15 17:12:25 Step 23/25 : LABEL arch=amd64 17:12:25 ---> Running in b6f0babba55b 17:12:25 Removing intermediate container b6f0babba55b 17:12:25 ---> 2febc7d99afc 17:12:25 Step 24/25 : LABEL git_sha=25dd83f2b48c0aff3804ab2ce152b73d998f45b1 17:12:25 ---> Running in a28a530cceea 17:12:25 Removing intermediate container a28a530cceea 17:12:25 ---> 42eebeb058aa 17:12:25 Step 25/25 : LABEL version=0.0.0 17:12:25 ---> Running in cb2b0de48a57 17:12:25 Removing intermediate container cb2b0de48a57 17:12:25 ---> 1745a98c8ff8 17:12:25 [Warning] One or more build-args [ARCH] were not consumed 17:12:25 Successfully built 1745a98c8ff8 17:12:25 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 17:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:26 17:12:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:26 latest: Pulling from edgex-lftools-log-publisher 17:12:26 5eb5b503b376: Pulling fs layer 17:12:26 5c69ac0246d0: Pulling fs layer 17:12:26 ec43610c2a17: Pulling fs layer 17:12:26 3a2ae6a8a46f: Pulling fs layer 17:12:26 33b1e0a273af: Pulling fs layer 17:12:26 5d3b04190fa2: Pulling fs layer 17:12:26 2f39f015ded8: Pulling fs layer 17:12:26 33b1e0a273af: Waiting 17:12:26 5d3b04190fa2: Waiting 17:12:26 3a2ae6a8a46f: Waiting 17:12:26 2f39f015ded8: Waiting 17:12:26 5c69ac0246d0: Verifying Checksum 17:12:26 5c69ac0246d0: Download complete 17:12:26 3a2ae6a8a46f: Verifying Checksum 17:12:26 3a2ae6a8a46f: Download complete 17:12:26 33b1e0a273af: Verifying Checksum 17:12:26 33b1e0a273af: Download complete 17:12:26 5d3b04190fa2: Verifying Checksum 17:12:26 5d3b04190fa2: Download complete 17:12:26 ec43610c2a17: Download complete 17:12:26 5eb5b503b376: Verifying Checksum 17:12:26 5eb5b503b376: Download complete 17:12:27 2f39f015ded8: Download complete 17:12:27 5eb5b503b376: Pull complete 17:12:28 5c69ac0246d0: Pull complete 17:12:28 ec43610c2a17: Pull complete 17:12:28 3a2ae6a8a46f: Pull complete 17:12:28 33b1e0a273af: Pull complete 17:12:28 5d3b04190fa2: Pull complete 17:12:33 2f39f015ded8: Pull complete 17:12:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:33 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 17:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:12:35 $ docker top a56db6c80a29c0283267bc423718a1f52f1e6df74690fedd0148f9a089fcde68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:35 ---> job-cost.sh 17:12:35 lf-activate-venv: SKIPPING 17:12:35 INFO: No Stack... 17:12:36 INFO: Retrieving Pricing Info for: v3-standard-8 17:12:36 INFO: Archiving Costs [Pipeline] sh 17:12:37 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 17:12:37 + cut -d, -f6 [Pipeline] lock 17:12:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] 17:12:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] did not exist. Created. 17:12:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:12:37 + echo total: 0.2199999988079071 [Pipeline] stash 17:12:37 Stashed 1 file(s) [Pipeline] } 17:12:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] // lock [Pipeline] } 17:12:37 $ docker stop --time=1 a56db6c80a29c0283267bc423718a1f52f1e6df74690fedd0148f9a089fcde68 17:12:38 $ docker rm -f a56db6c80a29c0283267bc423718a1f52f1e6df74690fedd0148f9a089fcde68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-559 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 17:12:46 Running in /w/workspace/device-onvif-camera/15 [Pipeline] { [Pipeline] checkout 17:12:46 Selected Git installation does not exist. Using Default 17:12:46 The recommended git tool is: NONE 17:12:52 using credential edgex-jenkins-ssh 17:12:52 Cloning the remote Git repository 17:12:52 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:12:52 > git init /w/workspace/device-onvif-camera/15 # timeout=10 17:12:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:12:52 > git --version # timeout=10 17:12:52 > git --version # 'git version 2.25.1' 17:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:12:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:12:53 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:12:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:53 > 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 17:12:54 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d 17:12:54 Merge succeeded, producing 98190250be04db0b004c72245e1b668a46d461ce 17:12:54 Checking out Revision 98190250be04db0b004c72245e1b668a46d461ce (PR-65) 17:12:54 > git config core.sparsecheckout # timeout=10 17:12:54 > git checkout -f 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d # timeout=10 17:12:54 > git remote # timeout=10 17:12:54 > git config --get remote.origin.url # timeout=10 17:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:54 > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 17:12:54 > git rev-parse HEAD^{commit} # timeout=10 17:12:54 > git config core.sparsecheckout # timeout=10 17:12:54 > git checkout -f 98190250be04db0b004c72245e1b668a46d461ce # timeout=10 17:12:59 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" 17:12:59 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:59 > git rev-list --no-walk 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f # timeout=10 17:12:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:12:59 % Total % Received % Xferd Average Speed Time Time Time Current 17:12:59 Dload Upload Total Spent Left Speed 17:13:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 39912 0 --:--:-- --:--:-- --:--:-- 39912 [Pipeline] sh 17:13:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:13:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:13:01 + sudo tee /etc/docker/daemon.new 17:13:01 { 17:13:01 "registry-mirrors": [ 17:13:01 "https://nexus3.edgexfoundry.org:10001" 17:13:01 ], 17:13:01 "bip": "10.250.0.254/24", 17:13:01 "hosts": [ 17:13:01 "tcp://0.0.0.0:5555", 17:13:01 "unix:///var/run/docker.sock" 17:13:01 ], 17:13:01 "mtu": 1458, 17:13:01 "selinux-enabled": true, 17:13:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:13:01 } [Pipeline] sh 17:13:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:13:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:20 provisioning config files... 17:13:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/15@tmp/config8503660668868647687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:20 ---> docker-login.sh 17:13:20 nexus3.edgexfoundry.org:10001 17:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:21 Configure a credential helper to remove this warning. See 17:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:21 17:13:21 Login Succeeded 17:13:21 nexus3.edgexfoundry.org:10002 17:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:22 Configure a credential helper to remove this warning. See 17:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:22 17:13:22 Login Succeeded 17:13:22 nexus3.edgexfoundry.org:10003 17:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:22 Configure a credential helper to remove this warning. See 17:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:22 17:13:22 Login Succeeded 17:13:22 nexus3.edgexfoundry.org:10004 17:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:23 Configure a credential helper to remove this warning. See 17:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:23 17:13:23 Login Succeeded 17:13:23 docker.io 17:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:23 Configure a credential helper to remove this warning. See 17:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:23 17:13:23 Login Succeeded 17:13:23 ---> docker-login.sh ends [Pipeline] } 17:13:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:24 ========================================================= 17:13:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:13:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13: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 . 17:13:25 Sending build context to Docker daemon 6.062MB 17:13:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:13:25 Step 2/12 : FROM ${BASE} AS builder 17:13:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:13:25 9b3977197b4f: Pulling fs layer 17:13:25 1a89e8eeedd5: Pulling fs layer 17:13:25 94645a83ff95: Pulling fs layer 17:13:25 3f3a8bcf1eab: Pulling fs layer 17:13:25 0c92f367c5e7: Pulling fs layer 17:13:25 3096ccb668a1: Pulling fs layer 17:13:25 e8cf19c19ddd: Pulling fs layer 17:13:25 a4caa8a26152: Pulling fs layer 17:13:25 3f3a8bcf1eab: Waiting 17:13:25 0c92f367c5e7: Waiting 17:13:25 3096ccb668a1: Waiting 17:13:25 e8cf19c19ddd: Waiting 17:13:25 a4caa8a26152: Waiting 17:13:25 94645a83ff95: Download complete 17:13:25 1a89e8eeedd5: Verifying Checksum 17:13:25 1a89e8eeedd5: Download complete 17:13:25 0c92f367c5e7: Verifying Checksum 17:13:25 0c92f367c5e7: Download complete 17:13:25 3096ccb668a1: Verifying Checksum 17:13:25 3096ccb668a1: Download complete 17:13:25 9b3977197b4f: Verifying Checksum 17:13:25 9b3977197b4f: Download complete 17:13:26 e8cf19c19ddd: Verifying Checksum 17:13:26 e8cf19c19ddd: Download complete 17:13:26 9b3977197b4f: Pull complete 17:13:27 1a89e8eeedd5: Pull complete 17:13:27 94645a83ff95: Pull complete 17:13:28 a4caa8a26152: Verifying Checksum 17:13:28 a4caa8a26152: Download complete 17:13:28 3f3a8bcf1eab: Verifying Checksum 17:13:28 3f3a8bcf1eab: Download complete 17:13:40 3f3a8bcf1eab: Pull complete 17:13:41 0c92f367c5e7: Pull complete 17:13:41 3096ccb668a1: Pull complete 17:13:41 e8cf19c19ddd: Pull complete 17:13:48 a4caa8a26152: Pull complete 17:13:48 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:13:48 ---> 725f1c02e7f9 17:13:48 Step 3/12 : ARG MAKE="make build" 17:13:49 ---> Running in faa893e4f219 17:13:49 Removing intermediate container faa893e4f219 17:13:49 ---> 93e5d3595751 17:13:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:13:49 ---> Running in 5a16b3be5d23 17:13:49 Removing intermediate container 5a16b3be5d23 17:13:49 ---> 04c22a932a04 17:13:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:13:49 ---> Running in 137206c81016 17:13:50 Removing intermediate container 137206c81016 17:13:50 ---> efd0e47c39a3 17:13:50 Step 6/12 : LABEL Name=edgex-device-onvif-camera 17:13:50 ---> Running in 0edc85225cbe 17:13:50 Removing intermediate container 0edc85225cbe 17:13:50 ---> 0ee0a56f9033 17:13:50 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:50 ---> Running in fb7afcea5515 17:13:54 Removing intermediate container fb7afcea5515 17:13:54 ---> 50c149d9899f 17:13:54 Step 8/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:13:54 ---> Running in 355a94d91843 17:13:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:13:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:13:56 OK: 220 MiB in 52 packages 17:13:57 Removing intermediate container 355a94d91843 17:13:57 ---> c7a08f40bda8 17:13:57 Step 9/12 : WORKDIR /device-onvif-camera 17:13:57 ---> Running in 84afd1192daf 17:13:58 Removing intermediate container 84afd1192daf 17:13:58 ---> 671c8d6f3f8e 17:13:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:58 ---> Running in ec7ec0fff24f 17:13:59 go: cannot match "all": go.mod file not found in current directory or any parent directory; see 'go help modules' 17:13:59 skipping... 17:13:59 Removing intermediate container ec7ec0fff24f 17:13:59 ---> 7bc881a68d58 17:13:59 Step 11/12 : COPY . . 17:14:00 ---> 70064c0972d9 17:14:00 Step 12/12 : RUN ${MAKE} 17:14:00 ---> Running in 404e9866ca86 17:14:01 noop 17:14:02 Removing intermediate container 404e9866ca86 17:14:02 ---> b816d9215ce2 17:14:02 Successfully built b816d9215ce2 17:14:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:02 + docker inspect -f . ci-base-image-arm64 17:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-559 does not seem to be running inside a container 17:14:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 17:14:04 $ docker top fcda93b4b29363528741e80df3f15e012719cc1b45a1f4756dcb2ed28fe5d430 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:05 + go version 17:14:05 go version go1.17.6 linux/arm64 [Pipeline] } 17:14:05 $ docker stop --time=1 fcda93b4b29363528741e80df3f15e012719cc1b45a1f4756dcb2ed28fe5d430 17:14:06 $ docker rm -f fcda93b4b29363528741e80df3f15e012719cc1b45a1f4756dcb2ed28fe5d430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:07 + docker inspect -f . ci-base-image-arm64 17:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:07 prd-ubuntu20.04-docker-arm64-4c-16g-559 does not seem to be running inside a container 17:14:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 17:14:09 $ docker top 9c2b488fefb9c68f1f4bf41c013527febd8f12e99ebd0d04224a0a90d359ca5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:14:10 + make test 17:14:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:14:10 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 17:14:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 17:14:10 go: downloading github.com/stretchr/testify v1.7.1 17:14:10 go: downloading github.com/IOTechSystems/onvif v0.1.1 17:14:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 17:14:10 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 17:14:10 go: downloading github.com/gorilla/mux v1.8.0 17:14:10 go: downloading github.com/davecgh/go-spew v1.1.1 17:14:10 go: downloading github.com/pmezard/go-difflib v1.0.0 17:14:10 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:14:10 go: downloading github.com/go-kit/log v0.2.0 17:14:11 go: downloading github.com/clbanning/mxj/v2 v2.3.2 17:14:11 go: downloading github.com/beevik/etree v1.1.0 17:14:11 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 17:14:11 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:14:11 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 17:14:11 go: downloading github.com/google/uuid v1.3.0 17:14:11 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:14:11 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 17:14:11 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:14:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:14:11 go: downloading github.com/OneOfOne/xxhash v1.2.8 17:14:11 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 17:14:11 go: downloading github.com/pelletier/go-toml v1.9.4 17:14:11 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 17:14:11 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:14:11 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:14:11 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:14:11 go: downloading github.com/hashicorp/errwrap v1.0.0 17:14:12 go: downloading github.com/go-playground/universal-translator v0.18.0 17:14:12 go: downloading github.com/leodido/go-urn v1.2.1 17:14:12 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:14:12 go: downloading golang.org/x/text v0.3.7 17:14:12 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 17:14:12 go: downloading github.com/hashicorp/consul/api v1.9.1 17:14:12 go: downloading github.com/x448/float16 v0.8.4 17:14:12 go: downloading github.com/zeebo/errs v1.2.2 17:14:12 go: downloading google.golang.org/grpc v1.42.0 17:14:13 go: downloading github.com/go-playground/locales v0.14.0 17:14:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:14:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:14:13 go: downloading github.com/pebbe/zmq4 v1.2.7 17:14:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:14:13 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:14:13 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:14:13 go: downloading google.golang.org/protobuf v1.27.1 17:14:15 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:14:15 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:14:15 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:14:15 go: downloading github.com/hashicorp/serf v0.9.5 17:14:15 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:14:15 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:14:15 go: downloading github.com/gorilla/websocket v1.4.2 17:14:15 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:14:15 go: downloading github.com/mitchellh/copystructure v1.0.0 17:14:15 go: downloading github.com/fatih/color v1.9.0 17:14:15 go: downloading github.com/mattn/go-isatty v0.0.12 17:14:15 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:14:15 go: downloading github.com/golang/protobuf v1.5.2 17:14:16 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:14:16 go: downloading github.com/mattn/go-colorable v0.1.6 17:14:16 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:14:16 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:14:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:15:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:15:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.076s coverage: 0.9% of statements 17:16:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.200s coverage: 13.8% of statements 17:16:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:16:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:16:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:16:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:16:41 ./bin/test-attribution-txt.sh 17:16:41 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 17:16:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:16:45 $ docker stop --time=1 9c2b488fefb9c68f1f4bf41c013527febd8f12e99ebd0d04224a0a90d359ca5d 17:16:47 $ docker rm -f 9c2b488fefb9c68f1f4bf41c013527febd8f12e99ebd0d04224a0a90d359ca5d [Pipeline] // withDockerContainer [Pipeline] sh 17:16:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:16:49 Warning: overwriting stash ‘coverage-report’ 17:16:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:16:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:16:51 + ls -al . 17:16:51 total 224 17:16:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 17:16 . 17:16:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:12 .. 17:16:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 17:12 .git 17:16:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:12 .github 17:16:51 -rw-rw-r-- 1 jenkins jenkins 352 Jun 1 17:12 .gitignore 17:16:51 -rw-rw-r-- 1 jenkins jenkins 42 Jun 1 17:12 .golangci.yml 17:16:51 -rw-rw-r-- 1 jenkins jenkins 9210 Jun 1 17:12 Attribution.txt 17:16:51 -rw-rw-r-- 1 jenkins jenkins 189 Jun 1 17:12 CHANGELOG.md 17:16:51 -rw-rw-r-- 1 jenkins jenkins 1644 Jun 1 17:12 Dockerfile 17:16:51 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 17:12 GOVERNANCE.md 17:16:51 -rw-rw-r-- 1 jenkins jenkins 660 Jun 1 17:12 Jenkinsfile 17:16:51 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 1 17:12 LICENSE 17:16:51 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 1 17:12 Makefile 17:16:51 -rw-rw-r-- 1 jenkins jenkins 625 Jun 1 17:12 OWNERS.md 17:16:51 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 1 17:12 README.md 17:16:51 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 17:10 VERSION 17:16:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:12 bin 17:16:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 17:12 cmd 17:16:51 -rw-r--r-- 1 jenkins jenkins 49507 Jun 1 17:16 coverage.out 17:16:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:12 doc 17:16:51 -rw-rw-r-- 1 jenkins jenkins 3576 Jun 1 17:16 go.mod 17:16:51 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 1 17:12 go.sum 17:16:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:12 internal 17:16:51 -rw-rw-r-- 1 jenkins jenkins 236 Jun 1 17:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:51 + 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=98190250be04db0b004c72245e1b668a46d461ce --label arch=arm64 --label version=0.0.0 . 17:16:51 Sending build context to Docker daemon 6.112MB 17:16:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:16:52 Step 2/25 : FROM ${BASE} AS builder 17:16:52 ---> b816d9215ce2 17:16:52 Step 3/25 : ARG MAKE="make build" 17:16:52 ---> Running in 123415f9d5f7 17:16:52 Removing intermediate container 123415f9d5f7 17:16:52 ---> 31b84481ef72 17:16:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:16:52 ---> Running in 094a022e9c27 17:16:52 Removing intermediate container 094a022e9c27 17:16:52 ---> c31143ec2b5c 17:16:52 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:16:52 ---> Running in 12b40913813a 17:16:53 Removing intermediate container 12b40913813a 17:16:53 ---> 3abc5daf85ba 17:16:53 Step 6/25 : LABEL Name=edgex-device-onvif-camera 17:16:53 ---> Running in c50ae4dbb699 17:16:53 Removing intermediate container c50ae4dbb699 17:16:53 ---> 1b844d9e2fca 17:16:53 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:16:53 ---> Running in 07f45c8c8faf 17:16:55 Removing intermediate container 07f45c8c8faf 17:16:55 ---> 7621af727fe2 17:16:55 Step 8/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:16:55 ---> Running in c5ed4f1cfa47 17:16:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:16:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:16:58 OK: 220 MiB in 52 packages 17:16:59 Removing intermediate container c5ed4f1cfa47 17:16:59 ---> 3928d038bcc8 17:16:59 Step 9/25 : WORKDIR /device-onvif-camera 17:16:59 ---> Running in 0f17146af4ad 17:16:59 Removing intermediate container 0f17146af4ad 17:16:59 ---> d3df1d43e846 17:16:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:16:59 ---> Running in 6b04a9411a3d 17:17:46 Removing intermediate container 6b04a9411a3d 17:17:46 ---> a65ee20c1a3c 17:17:46 Step 11/25 : COPY . . 17:17:48 ---> 7a22ed2503d9 17:17:48 Step 12/25 : RUN ${MAKE} 17:17:48 ---> Running in 3578b3af0724 17:17:49 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 17:19:56 Removing intermediate container 3578b3af0724 17:19:56 ---> 544303393cd3 17:19:56 Step 13/25 : FROM alpine:3.15 17:19:56 3.15: Pulling from library/alpine 17:19:56 9981e73032c8: Pulling fs layer 17:19:56 9981e73032c8: Verifying Checksum 17:19:56 9981e73032c8: Download complete 17:19:56 9981e73032c8: Pull complete 17:19:56 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 17:19:56 Status: Downloaded newer image for alpine:3.15 17:19:56 ---> 3fb3c9af89a9 17:19:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:19:56 ---> Running in af374423560d 17:19:56 Removing intermediate container af374423560d 17:19:56 ---> 3a079bcef124 17:19:56 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 17:19:56 ---> Running in ebece40b1b67 17:19:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:19:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:19:56 (1/6) Installing dumb-init (1.2.5-r1) 17:19:56 (2/6) Installing libgcc (10.3.1_git20211027-r0) 17:19:56 (3/6) Installing libsodium (1.0.18-r0) 17:19:56 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 17:19:56 (5/6) Installing libzmq (4.3.4-r0) 17:19:56 (6/6) Installing zeromq (4.3.4-r0) 17:19:56 Executing busybox-1.34.1-r5.trigger 17:19:56 OK: 8 MiB in 20 packages 17:19:56 Removing intermediate container ebece40b1b67 17:19:56 ---> 7401052bb395 17:19:56 Step 16/25 : WORKDIR / 17:19:56 ---> Running in 0a044cdcd3c2 17:19:56 Removing intermediate container 0a044cdcd3c2 17:19:56 ---> d5b725c8e4ca 17:19:56 Step 17/25 : COPY --from=builder /device-onvif-camera/cmd / 17:19:58 ---> 0eb3e3f2cbae 17:19:58 Step 18/25 : COPY --from=builder /device-onvif-camera/LICENSE / 17:19:58 ---> 5c2e6ecf2e16 17:19:58 Step 19/25 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:19:59 ---> 53eb4d1fa85b 17:19:59 Step 20/25 : EXPOSE 59984 17:19:59 ---> Running in bfeb261eb115 17:19:59 Removing intermediate container bfeb261eb115 17:19:59 ---> d7f3d784dcc2 17:19:59 Step 21/25 : ENTRYPOINT ["/device-onvif-camera"] 17:19:59 ---> Running in 209f74e1110d 17:20:00 Removing intermediate container 209f74e1110d 17:20:00 ---> 889e53cf4a60 17:20:00 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:20:00 ---> Running in 1fc20b477ac7 17:20:00 Removing intermediate container 1fc20b477ac7 17:20:00 ---> 364f008401bd 17:20:00 Step 23/25 : LABEL arch=arm64 17:20:00 ---> Running in 88155037a405 17:20:00 Removing intermediate container 88155037a405 17:20:00 ---> 1bd4a0978313 17:20:00 Step 24/25 : LABEL git_sha=98190250be04db0b004c72245e1b668a46d461ce 17:20:00 ---> Running in 023d6a7a0d15 17:20:01 Removing intermediate container 023d6a7a0d15 17:20:01 ---> 0ba040c60c86 17:20:01 Step 25/25 : LABEL version=0.0.0 17:20:01 ---> Running in 49214b7d2527 17:20:01 Removing intermediate container 49214b7d2527 17:20:01 ---> a1817473bfd5 17:20:01 [Warning] One or more build-args [ARCH] were not consumed 17:20:01 Successfully built a1817473bfd5 17:20:01 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 17:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:20:01 17:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:20:02 arm64: Pulling from edgex-lftools-log-publisher 17:20:02 8998bd30e6a1: Pulling fs layer 17:20:02 04944245beec: Pulling fs layer 17:20:02 699f458cf7ca: Pulling fs layer 17:20:02 765212b225bb: Pulling fs layer 17:20:02 f23df028b6ca: Pulling fs layer 17:20:02 d65c8cfc05b1: Pulling fs layer 17:20:02 2437ff75d9bd: Pulling fs layer 17:20:02 f23df028b6ca: Waiting 17:20:02 d65c8cfc05b1: Waiting 17:20:02 765212b225bb: Waiting 17:20:02 2437ff75d9bd: Waiting 17:20:02 04944245beec: Verifying Checksum 17:20:02 04944245beec: Download complete 17:20:02 765212b225bb: Download complete 17:20:02 f23df028b6ca: Download complete 17:20:02 d65c8cfc05b1: Verifying Checksum 17:20:02 d65c8cfc05b1: Download complete 17:20:02 699f458cf7ca: Verifying Checksum 17:20:02 699f458cf7ca: Download complete 17:20:03 8998bd30e6a1: Verifying Checksum 17:20:03 8998bd30e6a1: Download complete 17:20:05 2437ff75d9bd: Verifying Checksum 17:20:05 2437ff75d9bd: Download complete 17:20:07 8998bd30e6a1: Pull complete 17:20:07 04944245beec: Pull complete 17:20:09 699f458cf7ca: Pull complete 17:20:09 765212b225bb: Pull complete 17:20:09 f23df028b6ca: Pull complete 17:20:10 d65c8cfc05b1: Pull complete 17:20:25 2437ff75d9bd: Pull complete 17:20:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:20:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:25 prd-ubuntu20.04-docker-arm64-4c-16g-559 does not seem to be running inside a container 17:20:25 $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 17:20:28 $ docker top 8a0f5fd56e809378a3db44984254e9641a027daafa7dba322f969fc920c1d0dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:29 ---> job-cost.sh 17:20:29 lf-activate-venv: SKIPPING 17:20:29 INFO: No Stack... 17:20:29 INFO: Retrieving Pricing Info for: v3-standard-4 17:20:30 INFO: Archiving Costs [Pipeline] sh 17:20:31 + cat /w/workspace/device-onvif-camera/15/archives/cost.csv 17:20:31 + cut -d, -f6 [Pipeline] lock 17:20:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] 17:20:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] did not exist. Created. 17:20:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:20:32 /w/workspace/device-onvif-camera/15@tmp/durable-d5bdd816/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:20:32 + echo total: 0.10999999940395355 [Pipeline] stash 17:20:32 Warning: overwriting stash ‘stack-cost’ 17:20:32 Stashed 1 file(s) [Pipeline] } 17:20:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] // lock [Pipeline] } 17:20:32 $ docker stop --time=1 8a0f5fd56e809378a3db44984254e9641a027daafa7dba322f969fc920c1d0dc 17:20:34 $ docker rm -f 8a0f5fd56e809378a3db44984254e9641a027daafa7dba322f969fc920c1d0dc [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 17:20:34 provisioning config files... 17:20:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4000580242918744697tmp [Pipeline] { [Pipeline] sh 17:20:35 + set +x 17:20:35 + curl -s https://codecov.io/bash 17:20:35 + bash -s -- 17:20:35 17:20:35 _____ _ 17:20:35 / ____| | | 17:20:35 | | ___ __| | ___ ___ _____ __ 17:20:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:20:35 | |___| (_) | (_| | __/ (_| (_) \ V / 17:20:35 \_____\___/ \__,_|\___|\___\___/ \_/ 17:20:35 Bash-1.0.6 17:20:35 17:20:35 17:20:35 ==> git version 2.25.1 found 17:20:35 ==> 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 17:20:35 Release-Date: 2020-01-08 17:20:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:20:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:20:35 ==> Jenkins CI detected. 17:20:35 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 17:20:35 project root: . 17:20:35 --> token set from env 17:20:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:20:35 ==> Running gcov in . (disable via -X gcov) 17:20:35 ==> Python coveragepy not found 17:20:35 ==> Searching for coverage reports in: 17:20:35 + . 17:20:35 -> Found 1 reports 17:20:35 ==> Detecting git/mercurial file structure 17:20:35 ==> Reading reports 17:20:35 + ./coverage.out bytes=49507 17:20:35 ==> Appending adjustments 17:20:35 https://docs.codecov.io/docs/fixing-reports 17:20:35 + Found adjustments 17:20:35 ==> Gzipping contents 17:20:35 8.0K /tmp/codecov.6RLsqw.gz 17:20:35 ==> Uploading reports 17:20:35 url: https://codecov.io 17:20:35 query: branch=PR-65&commit=25dd83f2b48c0aff3804ab2ce152b73d998f45b1&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 17:20:35 -> Pinging Codecov 17:20:35 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=25dd83f2b48c0aff3804ab2ce152b73d998f45b1&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 17:20:35 -> Uploading to 17:20:35 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/F29A59C45E3A92E06B3E522C9905F8EF/25dd83f2b48c0aff3804ab2ce152b73d998f45b1/77235783-e801-4dfd-b852-72ff47b5cad2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T172035Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd596d9548dd9d5dd72af96dddd48d6f6df2a5458347752887bd72de299bdd5e 17:20:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:20:35 Dload Upload Total Spent Left Speed 17:20:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6166 0 0 100 6166 0 29084 --:--:-- --:--:-- --:--:-- 29084 17:20:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] } 17:20:35 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 17:20:36 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 17:20:36 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 17:20:36 total 16 17:20:36 drwxr-xr-x 3 root root 4096 Jun 1 17:12 . 17:20:36 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 17:12 .. 17:20:36 drwxr-xr-x 2 root root 4096 Jun 1 17:12 cost 17:20:36 -rw-r--r-- 1 root root 90 Jun 1 17:12 cost.csv 17:20:36 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 17:20:36 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 17:20:36 total 16 17:20:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 17:12 . 17:20:36 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 17:12 .. 17:20:36 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 17:12 cost 17:20:36 -rw-r--r-- 1 jenkins jenkins 90 Jun 1 17:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:20:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:20:37 ---> package-listing.sh 17:20:37 ++ facter osfamily 17:20:37 ++ tr '[:upper:]' '[:lower:]' 17:20:38 + OS_FAMILY=debian 17:20:38 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 17:20:38 + START_PACKAGES=/tmp/packages_start.txt 17:20:38 + END_PACKAGES=/tmp/packages_end.txt 17:20:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:20:38 + PACKAGES=/tmp/packages_start.txt 17:20:38 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 17:20:38 + PACKAGES=/tmp/packages_end.txt 17:20:38 + case "${OS_FAMILY}" in 17:20:38 + dpkg -l 17:20:38 + grep '^ii' 17:20:38 + '[' -f /tmp/packages_start.txt ']' 17:20:38 + '[' -f /tmp/packages_end.txt ']' 17:20:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:20:38 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 17:20:38 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 17:20:38 + 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 17:20:38 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 17:20:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:38 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 17:20:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:20:39 $ docker top b7268658d92e5032cc518a4fdb55e8ffec73c63c92b901ce4b32bbc902381df7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:39 + touch /tmp/pre-build-complete [Pipeline] sh 17:20:39 + mkdir -p /var/log/sysstat [Pipeline] sh 17:20:40 + ls /var/log/sa-host 17:20:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:40 provisioning config files... 17:20:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2535420377061085368tmp [Pipeline] { [Pipeline] echo 17:20:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:20:40 ---> create-netrc.sh [Pipeline] } 17:20:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:20:40 ---> python-tools-install.sh [Pipeline] echo 17:20:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:20:41 ---> sudo-logs.sh 17:20:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:20:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:20:41 ---> job-cost.sh 17:20:41 lf-activate-venv: SKIPPING 17:20:41 DEBUG: total: 0.2199999988079071 17:20:41 INFO: Retrieving Stack Cost... 17:20:41 INFO: Retrieving Pricing Info for: v3-standard-8 17:20:42 INFO: Archiving Costs [Pipeline] echo 17:20:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:20:42 ---> logs-deploy.sh 17:20:42 lf-activate-venv: SKIPPING 17:20:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/15 17:20:42 INFO: archiving workspace using pattern(s): 17:20:43 Archives upload complete. 17:20:43 INFO: archiving logs to Nexus