Pull request #149 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b7cedde85df3692c69591f25206326ca90501e4e rather than 249282fd5b4181b1d7e8fa35b98efa3270625652 Obtained Jenkinsfile from b7cedde85df3692c69591f25206326ca90501e4e 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-ssh11191621406457069380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4027236189365426232.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9932816442211154994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12305450173420034021.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2671782630304311213.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23957 in /w/workspace/undry_device-onvif-camera_PR-149 [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/undry_device-onvif-camera_PR-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 249282fd5b4181b1d7e8fa35b98efa3270625652 Merge succeeded, producing 249282fd5b4181b1d7e8fa35b98efa3270625652 Checking out Revision 249282fd5b4181b1d7e8fa35b98efa3270625652 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 249282fd5b4181b1d7e8fa35b98efa3270625652 # 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 b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 249282fd5b4181b1d7e8fa35b98efa3270625652 # timeout=10 Commit message: "test: pr updates" > git rev-list --no-walk 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T17:12:18.242Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T17:12:18.301Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T17:12:18.326Z] ========================================================= [2022-08-30T17:12:18.326Z] EdgeX Global Pipelines Version Info [2022-08-30T17:12:18.326Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:12:19.081Z] ------------------- [2022-08-30T17:12:19.081Z] stable info: [2022-08-30T17:12:19.081Z] ------------------- [2022-08-30T17:12:19.081Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T17:12:19.081Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T17:12:19.081Z] Message: update stable to v1.0.239 [2022-08-30T17:12:19.654Z] ------------------- [2022-08-30T17:12:19.654Z] experimental info: [2022-08-30T17:12:19.654Z] ------------------- [2022-08-30T17:12:19.654Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T17:12:19.654Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T17:12:19.654Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T17:12:19.945Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T17:12:19.957Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T17:12:19.967Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T17:12:19.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T17:12:19.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T17:12:20.000Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T17:12:20.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T17:12:20.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T17:12:20.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T17:12:20.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T17:12:20.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T17:12:20.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T17:12:20.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T17:12:20.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T17:12:20.127Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T17:12:20.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T17:12:20.146Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T17:12:20.154Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T17:12:20.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T17:12:20.171Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T17:12:20.181Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T17:12:20.193Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T17:12:20.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T17:12:20.218Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T17:12:20.229Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T17:12:20.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T17:12:20.254Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T17:12:20.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T17:12:20.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T17:12:20.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T17:12:20.300Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 249282fd5b4181b1d7e8fa35b98efa3270625652 [Pipeline] echo [2022-08-30T17:12:20.309Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 249282f [Pipeline] echo [2022-08-30T17:12:20.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T17:12:20.373Z] provisioning config files... [2022-08-30T17:12:20.387Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config4053853738978002371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:12:20.700Z] ---> docker-login.sh [2022-08-30T17:12:20.700Z] nexus3.edgexfoundry.org:10001 [2022-08-30T17:12:20.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:20.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:20.966Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:20.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:20.966Z] [2022-08-30T17:12:20.966Z] Login Succeeded [2022-08-30T17:12:20.966Z] nexus3.edgexfoundry.org:10002 [2022-08-30T17:12:21.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:21.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:21.228Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:21.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:21.228Z] [2022-08-30T17:12:21.228Z] Login Succeeded [2022-08-30T17:12:21.228Z] nexus3.edgexfoundry.org:10003 [2022-08-30T17:12:21.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:21.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:21.490Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:21.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:21.490Z] [2022-08-30T17:12:21.490Z] Login Succeeded [2022-08-30T17:12:21.490Z] nexus3.edgexfoundry.org:10004 [2022-08-30T17:12:21.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:21.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:21.490Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:21.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:21.490Z] [2022-08-30T17:12:21.490Z] Login Succeeded [2022-08-30T17:12:21.490Z] docker.io [2022-08-30T17:12:21.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:22.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:22.016Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:22.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:22.016Z] [2022-08-30T17:12:22.016Z] Login Succeeded [2022-08-30T17:12:22.016Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T17:12:22.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T17:12:22.420Z] + git rev-list -1 --merges 249282fd5b4181b1d7e8fa35b98efa3270625652~1..249282fd5b4181b1d7e8fa35b98efa3270625652 [Pipeline] echo [2022-08-30T17:12:22.460Z] -----------> git rev-list -1 --merges 249282fd5b4181b1d7e8fa35b98efa3270625652~1..249282fd5b4181b1d7e8fa35b98efa3270625652 249282fd5b4181b1d7e8fa35b98efa3270625652 [false] [Pipeline] sh [2022-08-30T17:12:22.760Z] + git log --format=format:%s -1 249282fd5b4181b1d7e8fa35b98efa3270625652 [Pipeline] echo [2022-08-30T17:12:22.777Z] ========================================================= [2022-08-30T17:12:22.777Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T17:12:22.777Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T17:12:23.122Z] + git log --format=format:%s -1 249282fd5b4181b1d7e8fa35b98efa3270625652 [Pipeline] echo [2022-08-30T17:12:23.135Z] [semverPrep] GIT_COMMIT: 249282fd5b4181b1d7e8fa35b98efa3270625652, Commit Message: test: pr updates [Pipeline] echo [2022-08-30T17:12:23.146Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T17:12:23.516Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T17:12:23.516Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T17:12:23.516Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T17:12:23.516Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T17:12:23.516Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T17:12:23.516Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T17:12:23.516Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:12:23.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T17:12:23.932Z] [2022-08-30T17:12:23.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:12:24.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T17:12:24.243Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T17:12:24.243Z] b85a868b505f: Pulling fs layer [2022-08-30T17:12:24.243Z] e2be974225ed: Pulling fs layer [2022-08-30T17:12:24.243Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T17:12:24.243Z] 988bab9f4d93: Pulling fs layer [2022-08-30T17:12:24.243Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T17:12:24.243Z] eaf3925da568: Pulling fs layer [2022-08-30T17:12:24.243Z] bab4dde63d76: Pulling fs layer [2022-08-30T17:12:24.243Z] bde34c3a00c8: Pulling fs layer [2022-08-30T17:12:24.243Z] b352a97aabf1: Pulling fs layer [2022-08-30T17:12:24.243Z] 4872d77fe225: Pulling fs layer [2022-08-30T17:12:24.243Z] bab4dde63d76: Waiting [2022-08-30T17:12:24.243Z] eaf3925da568: Waiting [2022-08-30T17:12:24.243Z] 1469e6f7b9e6: Waiting [2022-08-30T17:12:24.243Z] bde34c3a00c8: Waiting [2022-08-30T17:12:24.243Z] b352a97aabf1: Waiting [2022-08-30T17:12:24.243Z] 988bab9f4d93: Waiting [2022-08-30T17:12:24.243Z] 5851b861e8e6: Pulling fs layer [2022-08-30T17:12:24.243Z] 5851b861e8e6: Waiting [2022-08-30T17:12:24.243Z] 4872d77fe225: Waiting [2022-08-30T17:12:24.243Z] e2be974225ed: Download complete [2022-08-30T17:12:24.243Z] 988bab9f4d93: Verifying Checksum [2022-08-30T17:12:24.243Z] 988bab9f4d93: Download complete [2022-08-30T17:12:24.504Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T17:12:24.504Z] 1469e6f7b9e6: Download complete [2022-08-30T17:12:24.504Z] eaf3925da568: Download complete [2022-08-30T17:12:24.504Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T17:12:24.504Z] 339a4e72a1f5: Download complete [2022-08-30T17:12:24.504Z] bde34c3a00c8: Download complete [2022-08-30T17:12:24.504Z] b352a97aabf1: Download complete [2022-08-30T17:12:24.504Z] 4872d77fe225: Verifying Checksum [2022-08-30T17:12:24.504Z] 4872d77fe225: Download complete [2022-08-30T17:12:24.504Z] 5851b861e8e6: Verifying Checksum [2022-08-30T17:12:24.504Z] 5851b861e8e6: Download complete [2022-08-30T17:12:24.504Z] b85a868b505f: Verifying Checksum [2022-08-30T17:12:24.504Z] b85a868b505f: Download complete [2022-08-30T17:12:24.765Z] bab4dde63d76: Verifying Checksum [2022-08-30T17:12:24.765Z] bab4dde63d76: Download complete [2022-08-30T17:12:26.161Z] b85a868b505f: Pull complete [2022-08-30T17:12:26.161Z] e2be974225ed: Pull complete [2022-08-30T17:12:26.732Z] 339a4e72a1f5: Pull complete [2022-08-30T17:12:26.732Z] 988bab9f4d93: Pull complete [2022-08-30T17:12:27.304Z] 1469e6f7b9e6: Pull complete [2022-08-30T17:12:27.304Z] eaf3925da568: Pull complete [2022-08-30T17:12:29.216Z] bab4dde63d76: Pull complete [2022-08-30T17:12:29.216Z] bde34c3a00c8: Pull complete [2022-08-30T17:12:29.216Z] b352a97aabf1: Pull complete [2022-08-30T17:12:29.216Z] 4872d77fe225: Pull complete [2022-08-30T17:12:29.477Z] 5851b861e8e6: Pull complete [2022-08-30T17:12:29.477Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T17:12:29.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T17:12:29.477Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:12:29.587Z] prd-ubuntu20.04-docker-8c-8g-23957 does not seem to be running inside a container [2022-08-30T17:12:29.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-30T17:12:31.320Z] $ docker top 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 -eo pid,comm [2022-08-30T17:12:31.391Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-30T17:12:31.391Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T17:12:31.431Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T17:12:31.431Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T17:12:31.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T17:12:31.575Z] $ docker exec 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 ssh-agent [2022-08-30T17:12:31.697Z] SSH_AUTH_SOCK=/tmp/ssh-QFLZPtW6ae79/agent.34 [2022-08-30T17:12:31.697Z] SSH_AGENT_PID=40 [2022-08-30T17:12:31.704Z] Running ssh-add (command line suppressed) [2022-08-30T17:12:31.833Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_180493698551140448.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_180493698551140448.key) [2022-08-30T17:12:31.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T17:12:32.138Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T17:12:32.155Z] $ docker exec --env ******** --env ******** 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 ssh-agent -k [2022-08-30T17:12:32.266Z] unset SSH_AUTH_SOCK; [2022-08-30T17:12:32.266Z] unset SSH_AGENT_PID; [2022-08-30T17:12:32.267Z] echo Agent pid 40 killed; [2022-08-30T17:12:32.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T17:12:32.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T17:12:32.306Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T17:12:32.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T17:12:32.449Z] $ docker exec 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 ssh-agent [2022-08-30T17:12:32.582Z] SSH_AUTH_SOCK=/tmp/ssh-J5ey1UpwWlIi/agent.75 [2022-08-30T17:12:32.582Z] SSH_AGENT_PID=81 [2022-08-30T17:12:32.588Z] Running ssh-add (command line suppressed) [2022-08-30T17:12:32.711Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_666373438047698682.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_666373438047698682.key) [2022-08-30T17:12:32.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T17:12:33.017Z] + git semver init [2022-08-30T17:12:33.278Z] 2022-08-30 17:12:33,246 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T17:12:33.278Z] 2022-08-30 17:12:33,247 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T17:12:33.278Z] 2022-08-30 17:12:33,248 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T17:12:33.278Z] 2022-08-30 17:12:33,248 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,971 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,972 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,972 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,976 [execute] INFO git cat-file --batch-check [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,983 [execute] INFO git cat-file --batch [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T17:12:34.223Z] 2022-08-30 17:12:33,989 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T17:12:34.223Z] 0.0.0 [Pipeline] } [2022-08-30T17:12:34.237Z] $ docker exec --env ******** --env ******** 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 ssh-agent -k [2022-08-30T17:12:34.348Z] unset SSH_AUTH_SOCK; [2022-08-30T17:12:34.348Z] unset SSH_AGENT_PID; [2022-08-30T17:12:34.348Z] echo Agent pid 81 killed; [2022-08-30T17:12:34.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T17:12:34.676Z] + git semver [Pipeline] } [2022-08-30T17:12:34.958Z] $ docker stop --time=1 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 [2022-08-30T17:12:36.289Z] $ docker rm -f 9083fa414f1e62b6cc25b3a2edc252a472bb7ed8658780f004a1f01a5176e019 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T17:12:36.642Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T17:12:36.908Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T17:12:36.910Z] [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 [2022-08-30T17:12:37.053Z] provisioning config files... [2022-08-30T17:12:37.064Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7820362964174695777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:12:37.369Z] ---> docker-login.sh [2022-08-30T17:12:37.369Z] nexus3.edgexfoundry.org:10001 [2022-08-30T17:12:37.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:37.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:37.369Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:37.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:37.369Z] [2022-08-30T17:12:37.369Z] Login Succeeded [2022-08-30T17:12:37.369Z] nexus3.edgexfoundry.org:10002 [2022-08-30T17:12:37.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:37.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:37.630Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:37.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:37.630Z] [2022-08-30T17:12:37.630Z] Login Succeeded [2022-08-30T17:12:37.630Z] nexus3.edgexfoundry.org:10003 [2022-08-30T17:12:37.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:37.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:37.630Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:37.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:37.630Z] [2022-08-30T17:12:37.630Z] Login Succeeded [2022-08-30T17:12:37.630Z] nexus3.edgexfoundry.org:10004 [2022-08-30T17:12:37.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:37.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:37.891Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:37.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:37.891Z] [2022-08-30T17:12:37.891Z] Login Succeeded [2022-08-30T17:12:37.891Z] docker.io [2022-08-30T17:12:37.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:12:38.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:12:38.152Z] Configure a credential helper to remove this warning. See [2022-08-30T17:12:38.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:12:38.152Z] [2022-08-30T17:12:38.152Z] Login Succeeded [2022-08-30T17:12:38.152Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T17:12:38.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T17:12:38.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T17:12:38.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T17:12:38.257Z] ========================================================= [2022-08-30T17:12:38.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T17:12:38.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:12:38.592Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T17:12:38.592Z] Sending build context to Docker daemon 20.61MB [2022-08-30T17:12:38.592Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T17:12:38.592Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T17:12:38.873Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T17:12:38.873Z] 2408cc74d12b: Pulling fs layer [2022-08-30T17:12:38.873Z] ea60b727a1ce: Pulling fs layer [2022-08-30T17:12:38.873Z] 30c4a7721957: Pulling fs layer [2022-08-30T17:12:38.873Z] 370296b7ddb6: Pulling fs layer [2022-08-30T17:12:38.873Z] 7c6cee850709: Pulling fs layer [2022-08-30T17:12:38.873Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T17:12:38.873Z] d94ebbe4e438: Pulling fs layer [2022-08-30T17:12:38.873Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T17:12:38.873Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T17:12:38.873Z] 39a5fcdaea64: Waiting [2022-08-30T17:12:38.873Z] d94ebbe4e438: Waiting [2022-08-30T17:12:38.873Z] bcfd1f05c69d: Waiting [2022-08-30T17:12:38.873Z] 59ccb84bbe0f: Waiting [2022-08-30T17:12:38.873Z] 370296b7ddb6: Waiting [2022-08-30T17:12:38.873Z] 7c6cee850709: Waiting [2022-08-30T17:12:38.873Z] 30c4a7721957: Download complete [2022-08-30T17:12:38.873Z] ea60b727a1ce: Download complete [2022-08-30T17:12:38.873Z] 7c6cee850709: Download complete [2022-08-30T17:12:38.873Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T17:12:38.873Z] 39a5fcdaea64: Download complete [2022-08-30T17:12:38.873Z] 2408cc74d12b: Verifying Checksum [2022-08-30T17:12:38.873Z] 2408cc74d12b: Download complete [2022-08-30T17:12:38.873Z] d94ebbe4e438: Download complete [2022-08-30T17:12:39.148Z] 2408cc74d12b: Pull complete [2022-08-30T17:12:39.148Z] ea60b727a1ce: Pull complete [2022-08-30T17:12:39.148Z] 30c4a7721957: Pull complete [2022-08-30T17:12:39.740Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T17:12:39.740Z] bcfd1f05c69d: Download complete [2022-08-30T17:12:39.740Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T17:12:39.740Z] 59ccb84bbe0f: Download complete [2022-08-30T17:12:39.740Z] 370296b7ddb6: Verifying Checksum [2022-08-30T17:12:39.740Z] 370296b7ddb6: Download complete [2022-08-30T17:12:45.032Z] 370296b7ddb6: Pull complete [2022-08-30T17:12:45.032Z] 7c6cee850709: Pull complete [2022-08-30T17:12:45.032Z] 39a5fcdaea64: Pull complete [2022-08-30T17:12:45.032Z] d94ebbe4e438: Pull complete [2022-08-30T17:12:46.941Z] bcfd1f05c69d: Pull complete [2022-08-30T17:12:47.512Z] 59ccb84bbe0f: Pull complete [2022-08-30T17:12:47.512Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T17:12:47.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T17:12:47.512Z] ---> a4fb48ad2a94 [2022-08-30T17:12:47.512Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T17:12:49.431Z] ---> Running in 0e8e0a1c9d5a [2022-08-30T17:12:49.431Z] Removing intermediate container 0e8e0a1c9d5a [2022-08-30T17:12:49.431Z] ---> 80e664cf0dd6 [2022-08-30T17:12:49.431Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T17:12:49.431Z] ---> Running in 9143f0f15a24 [2022-08-30T17:12:49.431Z] Removing intermediate container 9143f0f15a24 [2022-08-30T17:12:49.431Z] ---> bae77e3a7627 [2022-08-30T17:12:49.431Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T17:12:49.431Z] ---> Running in 7173b99dd4f2 [2022-08-30T17:12:49.431Z] Removing intermediate container 7173b99dd4f2 [2022-08-30T17:12:49.431Z] ---> 380e9c74a656 [2022-08-30T17:12:49.431Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T17:12:49.431Z] ---> Running in 4a821cd8d720 [2022-08-30T17:12:49.691Z] Removing intermediate container 4a821cd8d720 [2022-08-30T17:12:49.691Z] ---> 732b9b3c439a [2022-08-30T17:12:49.691Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T17:12:49.691Z] ---> Running in bd8df85622cd [2022-08-30T17:12:50.263Z] Removing intermediate container bd8df85622cd [2022-08-30T17:12:50.263Z] ---> 2633e0e505c1 [2022-08-30T17:12:50.263Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T17:12:50.263Z] ---> Running in 41392ab06a8c [2022-08-30T17:12:50.526Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T17:12:51.469Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T17:12:51.731Z] OK: 211 MiB in 51 packages [2022-08-30T17:12:52.012Z] Still waiting to schedule task [2022-08-30T17:12:52.012Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-30T17:12:52.315Z] Removing intermediate container 41392ab06a8c [2022-08-30T17:12:52.315Z] ---> a55345c8284f [2022-08-30T17:12:52.315Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T17:12:52.315Z] ---> Running in e3a55e48dbe4 [2022-08-30T17:12:52.315Z] Removing intermediate container e3a55e48dbe4 [2022-08-30T17:12:52.315Z] ---> 64cd9e9b57fb [2022-08-30T17:12:52.315Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T17:12:52.315Z] ---> 06a93d0ef0aa [2022-08-30T17:12:52.315Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T17:12:52.575Z] ---> Running in 62767658732c [2022-08-30T17:13:10.696Z] Removing intermediate container 62767658732c [2022-08-30T17:13:10.696Z] ---> e58769b38f61 [2022-08-30T17:13:10.696Z] Step 12/13 : COPY . . [2022-08-30T17:13:10.696Z] ---> e4047b043e24 [2022-08-30T17:13:10.696Z] Step 13/13 : RUN ${MAKE} [2022-08-30T17:13:10.696Z] ---> Running in b9fe03e21a9a [2022-08-30T17:13:10.696Z] noop [2022-08-30T17:13:10.696Z] Removing intermediate container b9fe03e21a9a [2022-08-30T17:13:10.696Z] ---> 8144817d557d [2022-08-30T17:13:10.696Z] Successfully built 8144817d557d [2022-08-30T17:13:10.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:13:11.018Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T17:13:11.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:13:11.094Z] prd-ubuntu20.04-docker-8c-8g-23957 does not seem to be running inside a container [2022-08-30T17:13:11.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat [2022-08-30T17:13:11.549Z] $ docker top 065edb9f4f3ef1dd874a8a2dd855d9ff473729d8806dcb1ce4daf3aacf94adf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:13:11.907Z] + go version [2022-08-30T17:13:11.907Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T17:13:11.937Z] $ docker stop --time=1 065edb9f4f3ef1dd874a8a2dd855d9ff473729d8806dcb1ce4daf3aacf94adf2 [2022-08-30T17:13:13.280Z] $ docker rm -f 065edb9f4f3ef1dd874a8a2dd855d9ff473729d8806dcb1ce4daf3aacf94adf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:13:13.758Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T17:13:13.758Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:13:13.836Z] prd-ubuntu20.04-docker-8c-8g-23957 does not seem to be running inside a container [2022-08-30T17:13:13.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat [2022-08-30T17:13:14.243Z] $ docker top 525a42448d2829d1ad983840815fa841964968cf94bb2e5605a1c3d6def84bf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:13:14.602Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T17:13:14.903Z] + make test [2022-08-30T17:13:14.903Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T17:13:15.161Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T17:13:25.138Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T17:13:25.710Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 23.1% of statements [2022-08-30T17:13:29.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.823s coverage: 13.8% of statements [2022-08-30T17:13:35.588Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-30T17:13:35.588Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T17:13:38.881Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T17:13:38.881Z] ./internal/driver/driver_test.go [2022-08-30T17:13:38.881Z] ./internal/driver/driver.go [2022-08-30T17:13:38.881Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T17:13:39.141Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T17:13:39.158Z] $ docker stop --time=1 525a42448d2829d1ad983840815fa841964968cf94bb2e5605a1c3d6def84bf7 [2022-08-30T17:13:40.939Z] $ docker rm -f 525a42448d2829d1ad983840815fa841964968cf94bb2e5605a1c3d6def84bf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:13:41.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T17:13:41.514Z] [2022-08-30T17:13:41.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:13:41.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T17:13:41.815Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T17:13:41.815Z] 5eb5b503b376: Pulling fs layer [2022-08-30T17:13:41.815Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T17:13:41.815Z] ec43610c2a17: Pulling fs layer [2022-08-30T17:13:41.815Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T17:13:41.815Z] 33b1e0a273af: Pulling fs layer [2022-08-30T17:13:41.815Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T17:13:41.815Z] 2f39f015ded8: Pulling fs layer [2022-08-30T17:13:41.815Z] 33b1e0a273af: Waiting [2022-08-30T17:13:41.815Z] 2f39f015ded8: Waiting [2022-08-30T17:13:41.815Z] 5d3b04190fa2: Waiting [2022-08-30T17:13:41.815Z] 3a2ae6a8a46f: Waiting [2022-08-30T17:13:41.815Z] 5c69ac0246d0: Verifying Checksum [2022-08-30T17:13:41.815Z] 5c69ac0246d0: Download complete [2022-08-30T17:13:41.815Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T17:13:41.815Z] 3a2ae6a8a46f: Download complete [2022-08-30T17:13:41.815Z] 33b1e0a273af: Verifying Checksum [2022-08-30T17:13:41.815Z] 33b1e0a273af: Download complete [2022-08-30T17:13:41.815Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T17:13:41.815Z] 5d3b04190fa2: Download complete [2022-08-30T17:13:41.815Z] ec43610c2a17: Verifying Checksum [2022-08-30T17:13:41.815Z] ec43610c2a17: Download complete [2022-08-30T17:13:42.076Z] 5eb5b503b376: Verifying Checksum [2022-08-30T17:13:42.076Z] 5eb5b503b376: Download complete [2022-08-30T17:13:42.646Z] 2f39f015ded8: Verifying Checksum [2022-08-30T17:13:42.646Z] 2f39f015ded8: Download complete [2022-08-30T17:13:43.216Z] 5eb5b503b376: Pull complete [2022-08-30T17:13:43.476Z] 5c69ac0246d0: Pull complete [2022-08-30T17:13:44.046Z] ec43610c2a17: Pull complete [2022-08-30T17:13:44.046Z] 3a2ae6a8a46f: Pull complete [2022-08-30T17:13:44.306Z] 33b1e0a273af: Pull complete [2022-08-30T17:13:44.306Z] 5d3b04190fa2: Pull complete [2022-08-30T17:13:49.588Z] 2f39f015ded8: Pull complete [2022-08-30T17:13:49.588Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T17:13:49.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T17:13:49.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:13:49.675Z] prd-ubuntu20.04-docker-8c-8g-23957 does not seem to be running inside a container [2022-08-30T17:13:49.710Z] $ 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/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T17:13:51.327Z] $ docker top f4e72ccf78d31375b19309b889827e4a1aea9ccceb02173228bf9030af2fa94e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:13:51.741Z] ---> job-cost.sh [2022-08-30T17:13:51.741Z] lf-activate-venv: SKIPPING [2022-08-30T17:13:51.741Z] INFO: No Stack... [2022-08-30T17:13:52.002Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T17:13:52.575Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T17:13:52.867Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T17:13:52.867Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T17:13:52.883Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] [2022-08-30T17:13:52.889Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] did not exist. Created. [2022-08-30T17:13:52.889Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T17:13:53.201Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T17:13:53.245Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T17:13:53.251Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T17:13:53.276Z] $ docker stop --time=1 f4e72ccf78d31375b19309b889827e4a1aea9ccceb02173228bf9030af2fa94e [2022-08-30T17:13:54.466Z] $ docker rm -f f4e72ccf78d31375b19309b889827e4a1aea9ccceb02173228bf9030af2fa94e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T17:13:54.592Z] Failed in branch amd64 [2022-08-30T17:14:31.524Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23959 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T17:14:31.536Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-08-30T17:14:31.608Z] Selected Git installation does not exist. Using Default [2022-08-30T17:14:31.608Z] The recommended git tool is: NONE [2022-08-30T17:14:38.083Z] using credential edgex-jenkins-ssh [2022-08-30T17:14:38.102Z] Cloning the remote Git repository [2022-08-30T17:14:38.187Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T17:14:38.268Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-08-30T17:14:38.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T17:14:38.354Z] > git --version # timeout=10 [2022-08-30T17:14:38.372Z] > git --version # 'git version 2.25.1' [2022-08-30T17:14:38.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T17:14:38.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T17:14:40.385Z] Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 249282fd5b4181b1d7e8fa35b98efa3270625652 [2022-08-30T17:14:40.739Z] Merge succeeded, producing 249282fd5b4181b1d7e8fa35b98efa3270625652 [2022-08-30T17:14:40.739Z] Checking out Revision 249282fd5b4181b1d7e8fa35b98efa3270625652 (PR-149) [2022-08-30T17:14:39.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T17:14:39.769Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T17:14:39.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T17:14:39.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T17:14:39.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T17:14:39.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T17:14:40.406Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T17:14:40.421Z] > git checkout -f 249282fd5b4181b1d7e8fa35b98efa3270625652 # timeout=10 [2022-08-30T17:14:40.647Z] > git remote # timeout=10 [2022-08-30T17:14:40.666Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T17:14:40.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T17:14:40.695Z] > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 [2022-08-30T17:14:40.723Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T17:14:40.749Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T17:14:40.764Z] > git checkout -f 249282fd5b4181b1d7e8fa35b98efa3270625652 # timeout=10 [2022-08-30T17:14:45.195Z] Commit message: "test: pr updates" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T17:14:46.198Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T17:14:46.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T17:14:46.198Z] Dload Upload Total Spent Left Speed [2022-08-30T17:14:46.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 48283 0 --:--:-- --:--:-- --:--:-- 48099 [Pipeline] sh [2022-08-30T17:14:46.903Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T17:14:47.254Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T17:14:47.254Z] sudo tee /etc/docker/daemon.new [2022-08-30T17:14:47.254Z] { [2022-08-30T17:14:47.254Z] "registry-mirrors": [ [2022-08-30T17:14:47.254Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T17:14:47.254Z] ], [2022-08-30T17:14:47.254Z] "bip": "10.250.0.254/24", [2022-08-30T17:14:47.254Z] "hosts": [ [2022-08-30T17:14:47.254Z] "tcp://0.0.0.0:5555", [2022-08-30T17:14:47.254Z] "unix:///var/run/docker.sock" [2022-08-30T17:14:47.254Z] ], [2022-08-30T17:14:47.254Z] "mtu": 1458, [2022-08-30T17:14:47.254Z] "selinux-enabled": true, [2022-08-30T17:14:47.254Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T17:14:47.254Z] } [Pipeline] sh [2022-08-30T17:14:47.598Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T17:14:47.948Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T17:15:06.317Z] provisioning config files... [2022-08-30T17:15:06.343Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config8250118011379085732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:15:06.928Z] ---> docker-login.sh [2022-08-30T17:15:06.928Z] nexus3.edgexfoundry.org:10001 [2022-08-30T17:15:07.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:15:07.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:15:07.809Z] Configure a credential helper to remove this warning. See [2022-08-30T17:15:07.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:15:07.809Z] [2022-08-30T17:15:07.809Z] Login Succeeded [2022-08-30T17:15:07.809Z] nexus3.edgexfoundry.org:10002 [2022-08-30T17:15:08.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:15:08.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:15:08.374Z] Configure a credential helper to remove this warning. See [2022-08-30T17:15:08.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:15:08.374Z] [2022-08-30T17:15:08.374Z] Login Succeeded [2022-08-30T17:15:08.374Z] nexus3.edgexfoundry.org:10003 [2022-08-30T17:15:08.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:15:08.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:15:08.926Z] Configure a credential helper to remove this warning. See [2022-08-30T17:15:08.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:15:08.926Z] [2022-08-30T17:15:08.926Z] Login Succeeded [2022-08-30T17:15:08.926Z] nexus3.edgexfoundry.org:10004 [2022-08-30T17:15:09.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:15:09.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:15:09.200Z] Configure a credential helper to remove this warning. See [2022-08-30T17:15:09.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:15:09.200Z] [2022-08-30T17:15:09.200Z] Login Succeeded [2022-08-30T17:15:09.200Z] docker.io [2022-08-30T17:15:09.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:15:10.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:15:10.072Z] Configure a credential helper to remove this warning. See [2022-08-30T17:15:10.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:15:10.072Z] [2022-08-30T17:15:10.072Z] Login Succeeded [2022-08-30T17:15:10.072Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T17:15:10.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T17:15:10.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T17:15:10.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T17:15:10.388Z] ========================================================= [2022-08-30T17:15:10.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T17:15:10.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:15:10.749Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T17:15:11.352Z] Sending build context to Docker daemon 14.14MB [2022-08-30T17:15:11.352Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T17:15:11.352Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T17:15:11.352Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T17:15:11.352Z] b3c136eddcbf: Pulling fs layer [2022-08-30T17:15:11.352Z] c0a3192eca97: Pulling fs layer [2022-08-30T17:15:11.352Z] a050256f5b6f: Pulling fs layer [2022-08-30T17:15:11.352Z] 656be50a0ddc: Pulling fs layer [2022-08-30T17:15:11.352Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T17:15:11.352Z] 46d945488cbd: Pulling fs layer [2022-08-30T17:15:11.352Z] 8a5474983e97: Pulling fs layer [2022-08-30T17:15:11.352Z] 329c88fbcd65: Pulling fs layer [2022-08-30T17:15:11.352Z] 46d945488cbd: Waiting [2022-08-30T17:15:11.352Z] 656be50a0ddc: Waiting [2022-08-30T17:15:11.352Z] 8a5474983e97: Waiting [2022-08-30T17:15:11.352Z] 2bbca73fdf42: Waiting [2022-08-30T17:15:11.352Z] 329c88fbcd65: Waiting [2022-08-30T17:15:11.352Z] a050256f5b6f: Verifying Checksum [2022-08-30T17:15:11.352Z] a050256f5b6f: Download complete [2022-08-30T17:15:11.631Z] c0a3192eca97: Verifying Checksum [2022-08-30T17:15:11.631Z] c0a3192eca97: Download complete [2022-08-30T17:15:11.631Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T17:15:11.631Z] 2bbca73fdf42: Download complete [2022-08-30T17:15:11.631Z] 46d945488cbd: Verifying Checksum [2022-08-30T17:15:11.631Z] 46d945488cbd: Download complete [2022-08-30T17:15:11.631Z] b3c136eddcbf: Verifying Checksum [2022-08-30T17:15:12.625Z] b3c136eddcbf: Pull complete [2022-08-30T17:15:12.625Z] 329c88fbcd65: Verifying Checksum [2022-08-30T17:15:12.625Z] 329c88fbcd65: Download complete [2022-08-30T17:15:13.235Z] c0a3192eca97: Pull complete [2022-08-30T17:15:13.512Z] a050256f5b6f: Pull complete [2022-08-30T17:15:13.787Z] 8a5474983e97: Verifying Checksum [2022-08-30T17:15:13.787Z] 8a5474983e97: Download complete [2022-08-30T17:15:14.385Z] 656be50a0ddc: Verifying Checksum [2022-08-30T17:15:14.385Z] 656be50a0ddc: Download complete [2022-08-30T17:15:29.509Z] 656be50a0ddc: Pull complete [2022-08-30T17:15:29.509Z] 2bbca73fdf42: Pull complete [2022-08-30T17:15:29.509Z] 46d945488cbd: Pull complete [2022-08-30T17:15:34.947Z] 8a5474983e97: Pull complete [2022-08-30T17:15:36.395Z] 329c88fbcd65: Pull complete [2022-08-30T17:15:36.395Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T17:15:36.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T17:15:36.395Z] ---> ff4287adb874 [2022-08-30T17:15:36.395Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T17:15:38.407Z] ---> Running in 08e5c68753da [2022-08-30T17:15:39.852Z] Removing intermediate container 08e5c68753da [2022-08-30T17:15:39.852Z] ---> 642fd14be5f7 [2022-08-30T17:15:39.852Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T17:15:39.852Z] ---> Running in 5f2fe5c9053c [2022-08-30T17:15:39.852Z] Removing intermediate container 5f2fe5c9053c [2022-08-30T17:15:39.852Z] ---> 67ca8459d7b4 [2022-08-30T17:15:39.852Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T17:15:39.852Z] ---> Running in c396f083f03e [2022-08-30T17:15:40.457Z] Removing intermediate container c396f083f03e [2022-08-30T17:15:40.457Z] ---> 7323828085d6 [2022-08-30T17:15:40.457Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T17:15:40.457Z] ---> Running in 29f9d3f38d21 [2022-08-30T17:15:40.732Z] Removing intermediate container 29f9d3f38d21 [2022-08-30T17:15:40.732Z] ---> c2485b8ce9e9 [2022-08-30T17:15:40.732Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T17:15:40.732Z] ---> Running in 3f11795d33fc [2022-08-30T17:15:42.720Z] Removing intermediate container 3f11795d33fc [2022-08-30T17:15:42.720Z] ---> a46718a354fc [2022-08-30T17:15:42.720Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T17:15:42.720Z] ---> Running in aa3dbe01660b [2022-08-30T17:15:43.697Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T17:15:44.292Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T17:15:45.274Z] OK: 221 MiB in 51 packages [2022-08-30T17:15:46.258Z] Removing intermediate container aa3dbe01660b [2022-08-30T17:15:46.258Z] ---> 6ea1fd2a90cc [2022-08-30T17:15:46.258Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T17:15:46.258Z] ---> Running in 0f65d2d05962 [2022-08-30T17:15:46.533Z] Removing intermediate container 0f65d2d05962 [2022-08-30T17:15:46.533Z] ---> a39e45ec4417 [2022-08-30T17:15:46.533Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T17:15:47.133Z] ---> 59a12b3d59dd [2022-08-30T17:15:47.133Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T17:15:47.133Z] ---> Running in 18bfe36f4013 [2022-08-30T17:16:43.700Z] Removing intermediate container 18bfe36f4013 [2022-08-30T17:16:43.700Z] ---> 0380242feb4d [2022-08-30T17:16:43.701Z] Step 12/13 : COPY . . [2022-08-30T17:16:43.701Z] ---> 3ffd2340a3d5 [2022-08-30T17:16:43.701Z] Step 13/13 : RUN ${MAKE} [2022-08-30T17:16:43.701Z] ---> Running in ba09d00ff712 [2022-08-30T17:16:43.701Z] noop [2022-08-30T17:16:43.701Z] Removing intermediate container ba09d00ff712 [2022-08-30T17:16:43.701Z] ---> ccedb586f662 [2022-08-30T17:16:43.701Z] Successfully built ccedb586f662 [2022-08-30T17:16:43.701Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:16:44.069Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T17:16:44.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:16:44.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-23959 does not seem to be running inside a container [2022-08-30T17:16:44.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** ci-base-image-arm64 cat [2022-08-30T17:16:45.643Z] $ docker top a7b91421be44b6a45fd446e9286fe0803b00d932fe5427510681cff2bb5e56fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:16:46.537Z] + go version [2022-08-30T17:16:46.537Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T17:16:46.564Z] $ docker stop --time=1 a7b91421be44b6a45fd446e9286fe0803b00d932fe5427510681cff2bb5e56fb [2022-08-30T17:16:48.148Z] $ docker rm -f a7b91421be44b6a45fd446e9286fe0803b00d932fe5427510681cff2bb5e56fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:16:48.766Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T17:16:48.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:16:48.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-23959 does not seem to be running inside a container [2022-08-30T17:16:49.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** ci-base-image-arm64 cat [2022-08-30T17:16:50.295Z] $ docker top bd52cbfa1b9b431dd910365f72b7fbed5d129f70f3f820e8366cab4141921e73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:16:51.178Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-08-30T17:16:51.854Z] + make test [2022-08-30T17:16:51.854Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T17:16:53.303Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T17:18:30.174Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T17:18:30.174Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.167s coverage: 23.1% of statements [2022-08-30T17:18:48.487Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.109s coverage: 13.8% of statements [2022-08-30T17:18:48.487Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T17:18:48.487Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T17:19:10.690Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T17:19:10.690Z] ./internal/driver/driver_test.go [2022-08-30T17:19:10.690Z] ./internal/driver/driver.go [2022-08-30T17:19:10.690Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T17:19:10.690Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T17:19:10.717Z] $ docker stop --time=1 bd52cbfa1b9b431dd910365f72b7fbed5d129f70f3f820e8366cab4141921e73 [2022-08-30T17:19:12.520Z] $ docker rm -f bd52cbfa1b9b431dd910365f72b7fbed5d129f70f3f820e8366cab4141921e73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:19:13.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T17:19:13.637Z] [2022-08-30T17:19:13.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:19:13.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T17:19:14.257Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T17:19:14.257Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T17:19:14.257Z] 04944245beec: Pulling fs layer [2022-08-30T17:19:14.257Z] 699f458cf7ca: Pulling fs layer [2022-08-30T17:19:14.257Z] 765212b225bb: Pulling fs layer [2022-08-30T17:19:14.257Z] f23df028b6ca: Pulling fs layer [2022-08-30T17:19:14.257Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T17:19:14.257Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T17:19:14.257Z] 765212b225bb: Waiting [2022-08-30T17:19:14.257Z] f23df028b6ca: Waiting [2022-08-30T17:19:14.257Z] d65c8cfc05b1: Waiting [2022-08-30T17:19:14.257Z] 2437ff75d9bd: Waiting [2022-08-30T17:19:14.534Z] 04944245beec: Verifying Checksum [2022-08-30T17:19:14.535Z] 04944245beec: Download complete [2022-08-30T17:19:14.535Z] 765212b225bb: Verifying Checksum [2022-08-30T17:19:14.535Z] 765212b225bb: Download complete [2022-08-30T17:19:14.535Z] f23df028b6ca: Verifying Checksum [2022-08-30T17:19:14.535Z] f23df028b6ca: Download complete [2022-08-30T17:19:14.535Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T17:19:14.535Z] d65c8cfc05b1: Download complete [2022-08-30T17:19:14.535Z] 699f458cf7ca: Download complete [2022-08-30T17:19:15.134Z] 8998bd30e6a1: Verifying Checksum [2022-08-30T17:19:15.134Z] 8998bd30e6a1: Download complete [2022-08-30T17:19:17.766Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T17:19:17.766Z] 2437ff75d9bd: Download complete [2022-08-30T17:19:19.208Z] 8998bd30e6a1: Pull complete [2022-08-30T17:19:19.804Z] 04944245beec: Pull complete [2022-08-30T17:19:21.239Z] 699f458cf7ca: Pull complete [2022-08-30T17:19:21.239Z] 765212b225bb: Pull complete [2022-08-30T17:19:22.212Z] f23df028b6ca: Pull complete [2022-08-30T17:19:22.486Z] d65c8cfc05b1: Pull complete [2022-08-30T17:19:37.567Z] 2437ff75d9bd: Pull complete [2022-08-30T17:19:37.567Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T17:19:37.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T17:19:37.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:19:37.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-23959 does not seem to be running inside a container [2022-08-30T17:19:37.916Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-30T17:19:40.507Z] $ docker top e825f52c4c90d45dd1b7e53068b5ce61b1b619a0cc682aa6cfa4d650fe6c7071 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:41.427Z] ---> job-cost.sh [2022-08-30T17:19:41.427Z] lf-activate-venv: SKIPPING [2022-08-30T17:19:41.427Z] INFO: No Stack... [2022-08-30T17:19:41.699Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T17:19:42.677Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T17:19:43.348Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-08-30T17:19:43.348Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T17:19:43.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] [2022-08-30T17:19:43.425Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] did not exist. Created. [2022-08-30T17:19:43.425Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T17:19:44.104Z] /w/workspace/device-onvif-camera/6@tmp/durable-a3978f88/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T17:19:44.782Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T17:19:44.803Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T17:19:45.294Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T17:19:45.300Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T17:19:45.320Z] $ docker stop --time=1 e825f52c4c90d45dd1b7e53068b5ce61b1b619a0cc682aa6cfa4d650fe6c7071 [2022-08-30T17:19:46.764Z] $ docker rm -f e825f52c4c90d45dd1b7e53068b5ce61b1b619a0cc682aa6cfa4d650fe6c7071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T17:19:47.100Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-30T17:19:47.784Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T17:19:47.785Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T17:19:47.785Z] total 16 [2022-08-30T17:19:47.785Z] drwxr-xr-x 3 root root 4096 Aug 30 17:13 . [2022-08-30T17:19:47.785Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 17:13 .. [2022-08-30T17:19:47.785Z] drwxr-xr-x 2 root root 4096 Aug 30 17:13 cost [2022-08-30T17:19:47.785Z] -rw-r--r-- 1 root root 91 Aug 30 17:13 cost.csv [2022-08-30T17:19:47.785Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T17:19:47.785Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T17:19:47.785Z] total 16 [2022-08-30T17:19:47.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 17:13 . [2022-08-30T17:19:47.785Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 17:13 .. [2022-08-30T17:19:47.785Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 17:13 cost [2022-08-30T17:19:47.785Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 30 17:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:48.091Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:48.964Z] ---> package-listing.sh [2022-08-30T17:19:48.964Z] ++ facter osfamily [2022-08-30T17:19:48.964Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T17:19:49.224Z] + OS_FAMILY=debian [2022-08-30T17:19:49.224Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T17:19:49.224Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T17:19:49.224Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T17:19:49.224Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T17:19:49.224Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T17:19:49.224Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T17:19:49.224Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T17:19:49.224Z] + case "${OS_FAMILY}" in [2022-08-30T17:19:49.224Z] + dpkg -l [2022-08-30T17:19:49.224Z] + grep '^ii' [2022-08-30T17:19:49.224Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T17:19:49.224Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T17:19:49.224Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T17:19:49.224Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T17:19:49.224Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T17:19:49.224Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-30T17:19:49.236Z] 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/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T17:19:49.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:19:50.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T17:19:50.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:19:50.175Z] prd-ubuntu20.04-docker-8c-8g-23957 does not seem to be running inside a container [2022-08-30T17:19:50.212Z] $ 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/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-lftools-log-publisher:latest cat [2022-08-30T17:19:50.486Z] $ docker top c5b94958a47a8290660afb3314f4f67fd6da21f448f3623684f96b4d19d71b92 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:19:50.856Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T17:19:51.222Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T17:19:51.519Z] + ls /var/log/sa-host [2022-08-30T17:19:51.519Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T17:19:51.589Z] provisioning config files... [2022-08-30T17:19:51.598Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config4728507301396239505tmp [Pipeline] { [Pipeline] echo [2022-08-30T17:19:51.612Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:51.897Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T17:19:51.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:52.236Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T17:19:52.245Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:52.532Z] ---> sudo-logs.sh [2022-08-30T17:19:52.532Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T17:19:52.555Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:52.841Z] ---> job-cost.sh [2022-08-30T17:19:52.841Z] lf-activate-venv: SKIPPING [2022-08-30T17:19:52.841Z] DEBUG: total: 0.2199999988079071 [2022-08-30T17:19:52.841Z] INFO: Retrieving Stack Cost... [2022-08-30T17:19:53.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T17:19:53.672Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T17:19:53.684Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:19:53.973Z] ---> logs-deploy.sh [2022-08-30T17:19:53.974Z] lf-activate-venv: SKIPPING [2022-08-30T17:19:53.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/6 [2022-08-30T17:19:53.974Z] INFO: archiving workspace using pattern(s): [2022-08-30T17:19:54.916Z] Archives upload complete. [2022-08-30T17:19:54.916Z] INFO: archiving logs to Nexus