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 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 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-ssh7343822842315934644.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-ssh7320075024295965845.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5088927550034379392.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh458095386512865262.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-ssh6750876080213926942.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15826826314834462015.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 ‘prd-ubuntu20.04-docker-8c-8g-23803’ Running on prd-ubuntu20.04-docker-8c-8g-23805 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 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 Merge succeeded, producing da95bc562ae3fd9bb23c2e420cb4165fbe35a798 Checking out Revision da95bc562ae3fd9bb23c2e420cb4165fbe35a798 (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 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # 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 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # timeout=10 Commit message: "Merge branch 'main' of https://github.com/edgexfoundry/device-onvif-camera into test-coverage" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-29T22:24:41.934Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-29T22:24:42.104Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-29T22:24:42.199Z] ========================================================= [2022-08-29T22:24:42.199Z] EdgeX Global Pipelines Version Info [2022-08-29T22:24:42.199Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:24:42.971Z] ------------------- [2022-08-29T22:24:42.971Z] stable info: [2022-08-29T22:24:42.971Z] ------------------- [2022-08-29T22:24:42.971Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-29T22:24:42.971Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-29T22:24:42.971Z] Message: update stable to v1.0.239 [2022-08-29T22:24:43.554Z] ------------------- [2022-08-29T22:24:43.555Z] experimental info: [2022-08-29T22:24:43.555Z] ------------------- [2022-08-29T22:24:43.555Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-29T22:24:43.555Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-29T22:24:43.555Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-29T22:24:43.984Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-29T22:24:44.024Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-29T22:24:44.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-29T22:24:44.096Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-29T22:24:44.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-29T22:24:44.167Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-29T22:24:44.204Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-29T22:24:44.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-29T22:24:44.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-29T22:24:44.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-29T22:24:44.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-29T22:24:44.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-29T22:24:44.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-29T22:24:44.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-29T22:24:44.519Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-29T22:24:44.559Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-29T22:24:44.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-29T22:24:44.635Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-29T22:24:44.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-29T22:24:44.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-29T22:24:44.751Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-29T22:24:44.794Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-29T22:24:44.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-29T22:24:44.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-29T22:24:44.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-29T22:24:44.961Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-29T22:24:45.002Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-29T22:24:45.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-29T22:24:45.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-29T22:24:45.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-29T22:24:45.153Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo [2022-08-29T22:24:45.189Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da95bc5 [Pipeline] echo [2022-08-29T22:24:45.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T22:24:45.341Z] provisioning config files... [2022-08-29T22:24:45.355Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7426036044491694279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:24:45.704Z] ---> docker-login.sh [2022-08-29T22:24:45.704Z] nexus3.edgexfoundry.org:10001 [2022-08-29T22:24:45.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:24:45.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:24:45.967Z] Configure a credential helper to remove this warning. See [2022-08-29T22:24:45.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:24:45.967Z] [2022-08-29T22:24:45.967Z] Login Succeeded [2022-08-29T22:24:45.967Z] nexus3.edgexfoundry.org:10002 [2022-08-29T22:24:46.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:24:46.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:24:46.227Z] Configure a credential helper to remove this warning. See [2022-08-29T22:24:46.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:24:46.227Z] [2022-08-29T22:24:46.227Z] Login Succeeded [2022-08-29T22:24:46.227Z] nexus3.edgexfoundry.org:10003 [2022-08-29T22:24:46.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:24:46.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:24:46.227Z] Configure a credential helper to remove this warning. See [2022-08-29T22:24:46.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:24:46.227Z] [2022-08-29T22:24:46.227Z] Login Succeeded [2022-08-29T22:24:46.227Z] nexus3.edgexfoundry.org:10004 [2022-08-29T22:24:46.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:24:46.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:24:46.488Z] Configure a credential helper to remove this warning. See [2022-08-29T22:24:46.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:24:46.488Z] [2022-08-29T22:24:46.488Z] Login Succeeded [2022-08-29T22:24:46.488Z] docker.io [2022-08-29T22:24:46.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:24:47.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:24:47.060Z] Configure a credential helper to remove this warning. See [2022-08-29T22:24:47.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:24:47.060Z] [2022-08-29T22:24:47.060Z] Login Succeeded [2022-08-29T22:24:47.060Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T22:24:47.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-29T22:24:47.704Z] + git rev-list -1 --merges da95bc562ae3fd9bb23c2e420cb4165fbe35a798~1..da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo [2022-08-29T22:24:47.754Z] -----------> git rev-list -1 --merges da95bc562ae3fd9bb23c2e420cb4165fbe35a798~1..da95bc562ae3fd9bb23c2e420cb4165fbe35a798 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [2022-08-29T22:24:47.755Z] da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [false] [Pipeline] sh [2022-08-29T22:24:48.077Z] + git log --format=format:%s -1 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo [2022-08-29T22:24:48.110Z] ========================================================= [2022-08-29T22:24:48.110Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-29T22:24:48.110Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T22:24:48.553Z] + git log --format=format:%s -1 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo [2022-08-29T22:24:48.583Z] [semverPrep] GIT_COMMIT: da95bc562ae3fd9bb23c2e420cb4165fbe35a798, Commit Message: Merge branch 'main' of https://github.com/edgexfoundry/device-onvif-camera into test-coverage [Pipeline] echo [2022-08-29T22:24:48.617Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-29T22:24:48.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-29T22:24:48.994Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-29T22:24:48.994Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-29T22:24:48.994Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-29T22:24:48.994Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-29T22:24:48.994Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-29T22:24:48.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:24:49.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T22:24:49.416Z] [2022-08-29T22:24:49.416Z] 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-29T22:24:49.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T22:24:49.793Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-29T22:24:49.793Z] b85a868b505f: Pulling fs layer [2022-08-29T22:24:49.793Z] e2be974225ed: Pulling fs layer [2022-08-29T22:24:49.793Z] 339a4e72a1f5: Pulling fs layer [2022-08-29T22:24:49.793Z] 988bab9f4d93: Pulling fs layer [2022-08-29T22:24:49.793Z] 1469e6f7b9e6: Pulling fs layer [2022-08-29T22:24:49.793Z] eaf3925da568: Pulling fs layer [2022-08-29T22:24:49.793Z] bab4dde63d76: Pulling fs layer [2022-08-29T22:24:49.793Z] bde34c3a00c8: Pulling fs layer [2022-08-29T22:24:49.793Z] b352a97aabf1: Pulling fs layer [2022-08-29T22:24:49.793Z] 4872d77fe225: Pulling fs layer [2022-08-29T22:24:49.793Z] 5851b861e8e6: Pulling fs layer [2022-08-29T22:24:49.793Z] b352a97aabf1: Waiting [2022-08-29T22:24:49.793Z] 5851b861e8e6: Waiting [2022-08-29T22:24:49.793Z] 1469e6f7b9e6: Waiting [2022-08-29T22:24:49.793Z] 988bab9f4d93: Waiting [2022-08-29T22:24:49.793Z] 4872d77fe225: Waiting [2022-08-29T22:24:49.793Z] bab4dde63d76: Waiting [2022-08-29T22:24:49.793Z] eaf3925da568: Waiting [2022-08-29T22:24:49.793Z] e2be974225ed: Verifying Checksum [2022-08-29T22:24:49.793Z] e2be974225ed: Download complete [2022-08-29T22:24:49.793Z] 988bab9f4d93: Download complete [2022-08-29T22:24:50.053Z] 1469e6f7b9e6: Verifying Checksum [2022-08-29T22:24:50.053Z] 1469e6f7b9e6: Download complete [2022-08-29T22:24:50.053Z] eaf3925da568: Verifying Checksum [2022-08-29T22:24:50.053Z] eaf3925da568: Download complete [2022-08-29T22:24:50.053Z] 339a4e72a1f5: Verifying Checksum [2022-08-29T22:24:50.053Z] 339a4e72a1f5: Download complete [2022-08-29T22:24:50.053Z] bde34c3a00c8: Download complete [2022-08-29T22:24:50.053Z] b352a97aabf1: Verifying Checksum [2022-08-29T22:24:50.053Z] b352a97aabf1: Download complete [2022-08-29T22:24:50.053Z] 4872d77fe225: Verifying Checksum [2022-08-29T22:24:50.053Z] 4872d77fe225: Download complete [2022-08-29T22:24:50.053Z] 5851b861e8e6: Verifying Checksum [2022-08-29T22:24:50.053Z] 5851b861e8e6: Download complete [2022-08-29T22:24:50.053Z] b85a868b505f: Verifying Checksum [2022-08-29T22:24:50.053Z] b85a868b505f: Download complete [2022-08-29T22:24:50.314Z] bab4dde63d76: Verifying Checksum [2022-08-29T22:24:50.314Z] bab4dde63d76: Download complete [2022-08-29T22:24:51.696Z] b85a868b505f: Pull complete [2022-08-29T22:24:51.696Z] e2be974225ed: Pull complete [2022-08-29T22:24:52.267Z] 339a4e72a1f5: Pull complete [2022-08-29T22:24:52.267Z] 988bab9f4d93: Pull complete [2022-08-29T22:24:52.527Z] 1469e6f7b9e6: Pull complete [2022-08-29T22:24:52.527Z] eaf3925da568: Pull complete [2022-08-29T22:24:54.436Z] bab4dde63d76: Pull complete [2022-08-29T22:24:54.436Z] bde34c3a00c8: Pull complete [2022-08-29T22:24:54.698Z] b352a97aabf1: Pull complete [2022-08-29T22:24:54.698Z] 4872d77fe225: Pull complete [2022-08-29T22:24:54.698Z] 5851b861e8e6: Pull complete [2022-08-29T22:24:54.698Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-29T22:24:54.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T22:24:54.698Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:24:54.959Z] prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container [2022-08-29T22:24:55.004Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-29T22:24:57.079Z] $ docker top 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 -eo pid,comm [2022-08-29T22:24:57.145Z] 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-29T22:24:57.145Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-29T22:24:57.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-29T22:24:57.271Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-29T22:24:57.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-29T22:24:57.404Z] $ docker exec 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent [2022-08-29T22:24:57.538Z] SSH_AUTH_SOCK=/tmp/ssh-IttTnNcTuocu/agent.32 [2022-08-29T22:24:57.538Z] SSH_AGENT_PID=39 [2022-08-29T22:24:57.544Z] Running ssh-add (command line suppressed) [2022-08-29T22:24:57.676Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8496682187827733389.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8496682187827733389.key) [2022-08-29T22:24:57.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-29T22:24:58.025Z] + git tag --points-at HEAD [Pipeline] } [2022-08-29T22:24:58.056Z] $ docker exec --env ******** --env ******** 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent -k [2022-08-29T22:24:58.167Z] unset SSH_AUTH_SOCK; [2022-08-29T22:24:58.167Z] unset SSH_AGENT_PID; [2022-08-29T22:24:58.168Z] echo Agent pid 39 killed; [2022-08-29T22:24:58.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-29T22:24:58.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-29T22:24:58.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-29T22:24:58.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-29T22:24:58.412Z] $ docker exec 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent [2022-08-29T22:24:58.528Z] SSH_AUTH_SOCK=/tmp/ssh-SWXoWSouAdzj/agent.72 [2022-08-29T22:24:58.528Z] SSH_AGENT_PID=78 [2022-08-29T22:24:58.534Z] Running ssh-add (command line suppressed) [2022-08-29T22:24:58.661Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8617070532872903945.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8617070532872903945.key) [2022-08-29T22:24:58.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-29T22:24:59.006Z] + git semver init [2022-08-29T22:24:59.268Z] 2022-08-29 22:24:59,239 [run_init] DEBUG init version:0.0.0 force:False [2022-08-29T22:24:59.268Z] 2022-08-29 22:24:59,240 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-29T22:24:59.268Z] 2022-08-29 22:24:59,241 [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-29T22:24:59.268Z] 2022-08-29 22:24:59,241 [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-29T22:25:00.211Z] 2022-08-29 22:24:59,996 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-29T22:25:00.211Z] 2022-08-29 22:24:59,997 [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-29T22:25:00.211Z] 2022-08-29 22:24:59,997 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-29T22:25:00.211Z] 2022-08-29 22:25:00,001 [execute] INFO git cat-file --batch-check [2022-08-29T22:25:00.211Z] 2022-08-29 22:25:00,002 [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-29T22:25:00.211Z] 2022-08-29 22:25:00,008 [execute] INFO git cat-file --batch [2022-08-29T22:25:00.211Z] 2022-08-29 22:25:00,008 [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-29T22:25:00.211Z] 2022-08-29 22:25:00,013 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-29T22:25:00.211Z] 0.0.0 [Pipeline] } [2022-08-29T22:25:00.240Z] $ docker exec --env ******** --env ******** 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent -k [2022-08-29T22:25:00.366Z] unset SSH_AUTH_SOCK; [2022-08-29T22:25:00.367Z] unset SSH_AGENT_PID; [2022-08-29T22:25:00.367Z] echo Agent pid 78 killed; [2022-08-29T22:25:00.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-29T22:25:00.812Z] + git semver [Pipeline] } [2022-08-29T22:25:01.410Z] $ docker stop --time=1 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 [2022-08-29T22:25:02.721Z] $ docker rm -f 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T22:25:03.130Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-29T22:25:03.433Z] Stashed 1 file(s) [Pipeline] echo [2022-08-29T22:25:03.450Z] [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-29T22:25:04.056Z] provisioning config files... [2022-08-29T22:25:04.066Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7258042713226543131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:25:04.413Z] ---> docker-login.sh [2022-08-29T22:25:04.413Z] nexus3.edgexfoundry.org:10001 [2022-08-29T22:25:04.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:25:04.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:25:04.413Z] Configure a credential helper to remove this warning. See [2022-08-29T22:25:04.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:25:04.413Z] [2022-08-29T22:25:04.413Z] Login Succeeded [2022-08-29T22:25:04.413Z] nexus3.edgexfoundry.org:10002 [2022-08-29T22:25:04.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:25:04.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:25:04.672Z] Configure a credential helper to remove this warning. See [2022-08-29T22:25:04.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:25:04.672Z] [2022-08-29T22:25:04.672Z] Login Succeeded [2022-08-29T22:25:04.672Z] nexus3.edgexfoundry.org:10003 [2022-08-29T22:25:04.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:25:04.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:25:04.672Z] Configure a credential helper to remove this warning. See [2022-08-29T22:25:04.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:25:04.672Z] [2022-08-29T22:25:04.672Z] Login Succeeded [2022-08-29T22:25:04.672Z] nexus3.edgexfoundry.org:10004 [2022-08-29T22:25:04.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:25:04.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:25:04.932Z] Configure a credential helper to remove this warning. See [2022-08-29T22:25:04.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:25:04.932Z] [2022-08-29T22:25:04.932Z] Login Succeeded [2022-08-29T22:25:04.932Z] docker.io [2022-08-29T22:25:04.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:25:05.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:25:05.193Z] Configure a credential helper to remove this warning. See [2022-08-29T22:25:05.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:25:05.193Z] [2022-08-29T22:25:05.193Z] Login Succeeded [2022-08-29T22:25:05.193Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T22:25:05.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-29T22:25:05.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T22:25:05.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T22:25:05.486Z] ========================================================= [2022-08-29T22:25:05.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-29T22:25:05.486Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:25:05.946Z] + 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-29T22:25:05.947Z] Sending build context to Docker daemon 20.59MB [2022-08-29T22:25:05.947Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T22:25:05.947Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-29T22:25:06.208Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-29T22:25:06.208Z] 2408cc74d12b: Pulling fs layer [2022-08-29T22:25:06.208Z] ea60b727a1ce: Pulling fs layer [2022-08-29T22:25:06.208Z] 30c4a7721957: Pulling fs layer [2022-08-29T22:25:06.208Z] 370296b7ddb6: Pulling fs layer [2022-08-29T22:25:06.208Z] 7c6cee850709: Pulling fs layer [2022-08-29T22:25:06.208Z] 39a5fcdaea64: Pulling fs layer [2022-08-29T22:25:06.208Z] d94ebbe4e438: Pulling fs layer [2022-08-29T22:25:06.208Z] bcfd1f05c69d: Pulling fs layer [2022-08-29T22:25:06.208Z] 7c6cee850709: Waiting [2022-08-29T22:25:06.208Z] d94ebbe4e438: Waiting [2022-08-29T22:25:06.208Z] 39a5fcdaea64: Waiting [2022-08-29T22:25:06.208Z] bcfd1f05c69d: Waiting [2022-08-29T22:25:06.208Z] 370296b7ddb6: Waiting [2022-08-29T22:25:06.208Z] 59ccb84bbe0f: Pulling fs layer [2022-08-29T22:25:06.208Z] 59ccb84bbe0f: Waiting [2022-08-29T22:25:06.208Z] 30c4a7721957: Download complete [2022-08-29T22:25:06.208Z] ea60b727a1ce: Download complete [2022-08-29T22:25:06.208Z] 7c6cee850709: Verifying Checksum [2022-08-29T22:25:06.208Z] 7c6cee850709: Download complete [2022-08-29T22:25:06.208Z] 39a5fcdaea64: Verifying Checksum [2022-08-29T22:25:06.208Z] 39a5fcdaea64: Download complete [2022-08-29T22:25:06.208Z] 2408cc74d12b: Verifying Checksum [2022-08-29T22:25:06.208Z] 2408cc74d12b: Download complete [2022-08-29T22:25:06.208Z] d94ebbe4e438: Verifying Checksum [2022-08-29T22:25:06.208Z] d94ebbe4e438: Download complete [2022-08-29T22:25:06.208Z] 2408cc74d12b: Pull complete [2022-08-29T22:25:06.472Z] ea60b727a1ce: Pull complete [2022-08-29T22:25:06.472Z] 30c4a7721957: Pull complete [2022-08-29T22:25:06.731Z] 59ccb84bbe0f: Verifying Checksum [2022-08-29T22:25:06.731Z] 59ccb84bbe0f: Download complete [2022-08-29T22:25:06.731Z] bcfd1f05c69d: Verifying Checksum [2022-08-29T22:25:06.731Z] bcfd1f05c69d: Download complete [2022-08-29T22:25:06.992Z] 370296b7ddb6: Verifying Checksum [2022-08-29T22:25:06.992Z] 370296b7ddb6: Download complete [2022-08-29T22:25:11.195Z] 370296b7ddb6: Pull complete [2022-08-29T22:25:11.195Z] 7c6cee850709: Pull complete [2022-08-29T22:25:11.195Z] 39a5fcdaea64: Pull complete [2022-08-29T22:25:11.195Z] d94ebbe4e438: Pull complete [2022-08-29T22:25:13.102Z] bcfd1f05c69d: Pull complete [2022-08-29T22:25:14.038Z] 59ccb84bbe0f: Pull complete [2022-08-29T22:25:14.038Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-29T22:25:14.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-29T22:25:14.038Z] ---> a4fb48ad2a94 [2022-08-29T22:25:14.038Z] Step 3/13 : ARG MAKE="make build" [2022-08-29T22:25:17.335Z] ---> Running in 3cf40d441019 [2022-08-29T22:25:17.597Z] Removing intermediate container 3cf40d441019 [2022-08-29T22:25:17.597Z] ---> d5a55cdae262 [2022-08-29T22:25:17.597Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T22:25:17.597Z] ---> Running in 0c1052858720 [2022-08-29T22:25:17.597Z] Removing intermediate container 0c1052858720 [2022-08-29T22:25:17.597Z] ---> 92112d2af654 [2022-08-29T22:25:17.597Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T22:25:17.597Z] ---> Running in 688de0f824d1 [2022-08-29T22:25:17.597Z] Removing intermediate container 688de0f824d1 [2022-08-29T22:25:17.597Z] ---> bde750ded499 [2022-08-29T22:25:17.597Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-29T22:25:17.597Z] ---> Running in 1f0622873a71 [2022-08-29T22:25:17.857Z] Removing intermediate container 1f0622873a71 [2022-08-29T22:25:17.857Z] ---> 6d015a999b62 [2022-08-29T22:25:17.857Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T22:25:17.857Z] ---> Running in 1fd1398339ad [2022-08-29T22:25:18.426Z] Removing intermediate container 1fd1398339ad [2022-08-29T22:25:18.426Z] ---> 135b5311e348 [2022-08-29T22:25:18.426Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T22:25:18.426Z] ---> Running in 83068c31066a [2022-08-29T22:25:18.689Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T22:25:18.878Z] Still waiting to schedule task [2022-08-29T22:25:18.878Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23804’ [2022-08-29T22:25:19.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T22:25:19.889Z] OK: 211 MiB in 51 packages [2022-08-29T22:25:20.149Z] Removing intermediate container 83068c31066a [2022-08-29T22:25:20.149Z] ---> 7d3c8e8d3539 [2022-08-29T22:25:20.149Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-29T22:25:20.149Z] ---> Running in 3fcd27162f95 [2022-08-29T22:25:20.149Z] Removing intermediate container 3fcd27162f95 [2022-08-29T22:25:20.149Z] ---> 735b0262c6d8 [2022-08-29T22:25:20.149Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-29T22:25:20.410Z] ---> d07a66795afb [2022-08-29T22:25:20.410Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T22:25:20.410Z] ---> Running in 460231bda611 [2022-08-29T22:25:42.383Z] Removing intermediate container 460231bda611 [2022-08-29T22:25:42.383Z] ---> cd3411c1a6f7 [2022-08-29T22:25:42.383Z] Step 12/13 : COPY . . [2022-08-29T22:25:42.383Z] ---> a128c5a26511 [2022-08-29T22:25:42.383Z] Step 13/13 : RUN ${MAKE} [2022-08-29T22:25:42.383Z] ---> Running in af56ae8b495b [2022-08-29T22:25:42.383Z] noop [2022-08-29T22:25:42.383Z] Removing intermediate container af56ae8b495b [2022-08-29T22:25:42.383Z] ---> db9b5cce93fe [2022-08-29T22:25:42.383Z] Successfully built db9b5cce93fe [2022-08-29T22:25:42.383Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:25:42.819Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-29T22:25:42.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:25:42.980Z] prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container [2022-08-29T22:25:43.010Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-29T22:25:43.346Z] $ docker top 7447ad5225255f6a2975529e27ead74bd64d39f274740a5ea679bb5e3ef94613 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T22:25:43.750Z] + go version [2022-08-29T22:25:43.750Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-29T22:25:43.784Z] $ docker stop --time=1 7447ad5225255f6a2975529e27ead74bd64d39f274740a5ea679bb5e3ef94613 [2022-08-29T22:25:45.075Z] $ docker rm -f 7447ad5225255f6a2975529e27ead74bd64d39f274740a5ea679bb5e3ef94613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:25:45.778Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-29T22:25:45.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:25:45.940Z] prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container [2022-08-29T22:25:45.987Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-29T22:25:46.417Z] $ docker top ae65c45a110a4e7394895dd3a44b0d5ecb07964c4a452c3f0060c15da021dd07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T22:25:46.816Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-29T22:25:47.178Z] + make test [2022-08-29T22:25:47.178Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-29T22:25:47.452Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-29T22:25:57.434Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-29T22:25:58.374Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 22.3% of statements [2022-08-29T22:26:02.577Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.649s coverage: 13.8% of statements [2022-08-29T22:26:10.705Z] 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-29T22:26:10.705Z] internal/driver/driver_test.go:99:30: func `(*mockGetOnvifClient).GetOnvifClient` is unused (unused) [2022-08-29T22:26:10.705Z] func (m *mockGetOnvifClient) GetOnvifClient(deviceName string) (*OnvifClient, errors.EdgeX) { [2022-08-29T22:26:10.705Z] ^ [2022-08-29T22:26:10.705Z] internal/driver/driver_test.go:91:6: type `mockGetOnvifClient` is unused (unused) [2022-08-29T22:26:10.705Z] type mockGetOnvifClient struct { [2022-08-29T22:26:10.705Z] ^ [2022-08-29T22:26:10.705Z] internal/driver/driver_test.go:103:33: func `(*mockCallOnvifFunction).CallOnvifFunction` is unused (unused) [2022-08-29T22:26:10.705Z] func (m *mockCallOnvifFunction) CallOnvifFunction(req sdkModel.CommandRequest, functionType string, data []byte) (cv *sdkModel.CommandValue, edgexErr errors.EdgeX) { [2022-08-29T22:26:10.705Z] ^ [2022-08-29T22:26:10.706Z] internal/driver/driver_test.go:95:6: type `mockCallOnvifFunction` is unused (unused) [2022-08-29T22:26:10.706Z] type mockCallOnvifFunction struct { [2022-08-29T22:26:10.706Z] ^ [2022-08-29T22:26:10.706Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-08-29T22:26:10.757Z] $ docker stop --time=1 ae65c45a110a4e7394895dd3a44b0d5ecb07964c4a452c3f0060c15da021dd07 [2022-08-29T22:26:13.039Z] $ docker rm -f ae65c45a110a4e7394895dd3a44b0d5ecb07964c4a452c3f0060c15da021dd07 [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-29T22:26:14.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T22:26:14.244Z] [2022-08-29T22:26:14.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:26:14.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T22:26:14.620Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-29T22:26:14.620Z] 5eb5b503b376: Pulling fs layer [2022-08-29T22:26:14.620Z] 5c69ac0246d0: Pulling fs layer [2022-08-29T22:26:14.620Z] ec43610c2a17: Pulling fs layer [2022-08-29T22:26:14.620Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-29T22:26:14.620Z] 33b1e0a273af: Pulling fs layer [2022-08-29T22:26:14.620Z] 5d3b04190fa2: Pulling fs layer [2022-08-29T22:26:14.620Z] 2f39f015ded8: Pulling fs layer [2022-08-29T22:26:14.620Z] 3a2ae6a8a46f: Waiting [2022-08-29T22:26:14.620Z] 33b1e0a273af: Waiting [2022-08-29T22:26:14.620Z] 5d3b04190fa2: Waiting [2022-08-29T22:26:14.620Z] 5c69ac0246d0: Download complete [2022-08-29T22:26:14.620Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-29T22:26:14.620Z] 3a2ae6a8a46f: Download complete [2022-08-29T22:26:14.620Z] 33b1e0a273af: Verifying Checksum [2022-08-29T22:26:14.620Z] 33b1e0a273af: Download complete [2022-08-29T22:26:14.880Z] ec43610c2a17: Verifying Checksum [2022-08-29T22:26:14.880Z] ec43610c2a17: Download complete [2022-08-29T22:26:14.880Z] 5d3b04190fa2: Verifying Checksum [2022-08-29T22:26:14.880Z] 5d3b04190fa2: Download complete [2022-08-29T22:26:14.880Z] 5eb5b503b376: Verifying Checksum [2022-08-29T22:26:14.880Z] 5eb5b503b376: Download complete [2022-08-29T22:26:15.452Z] 2f39f015ded8: Download complete [2022-08-29T22:26:16.020Z] 5eb5b503b376: Pull complete [2022-08-29T22:26:16.280Z] 5c69ac0246d0: Pull complete [2022-08-29T22:26:16.541Z] ec43610c2a17: Pull complete [2022-08-29T22:26:16.801Z] 3a2ae6a8a46f: Pull complete [2022-08-29T22:26:17.059Z] 33b1e0a273af: Pull complete [2022-08-29T22:26:17.059Z] 5d3b04190fa2: Pull complete [2022-08-29T22:26:21.249Z] 2f39f015ded8: Pull complete [2022-08-29T22:26:21.249Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-29T22:26:21.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T22:26:21.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:26:21.472Z] prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container [2022-08-29T22:26:21.507Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-29T22:26:24.179Z] $ docker top 6e9a6b8ad19b16102c1c573d2c9d3cf56cf5b7e8c7767b6231a01b8bd0f36e78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:26:24.654Z] ---> job-cost.sh [2022-08-29T22:26:24.654Z] lf-activate-venv: SKIPPING [2022-08-29T22:26:24.654Z] INFO: No Stack... [2022-08-29T22:26:25.225Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-29T22:26:25.797Z] INFO: Archiving Costs [Pipeline] sh [2022-08-29T22:26:26.112Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-29T22:26:26.112Z] + cut -d, -f6 [Pipeline] lock [2022-08-29T22:26:26.148Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [2022-08-29T22:26:26.152Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] did not exist. Created. [2022-08-29T22:26:26.153Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-29T22:26:26.535Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-29T22:26:26.596Z] Stashed 1 file(s) [Pipeline] } [2022-08-29T22:26:26.612Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-29T22:26:26.684Z] $ docker stop --time=1 6e9a6b8ad19b16102c1c573d2c9d3cf56cf5b7e8c7767b6231a01b8bd0f36e78 [2022-08-29T22:26:27.826Z] $ docker rm -f 6e9a6b8ad19b16102c1c573d2c9d3cf56cf5b7e8c7767b6231a01b8bd0f36e78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-29T22:26:28.190Z] Failed in branch amd64 [2022-08-29T22:28:16.914Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23806 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-29T22:28:16.957Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-08-29T22:28:17.073Z] Selected Git installation does not exist. Using Default [2022-08-29T22:28:17.073Z] The recommended git tool is: NONE [2022-08-29T22:28:22.685Z] using credential edgex-jenkins-ssh [2022-08-29T22:28:22.704Z] Cloning the remote Git repository [2022-08-29T22:28:22.763Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T22:28:22.851Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-08-29T22:28:22.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T22:28:22.934Z] > git --version # timeout=10 [2022-08-29T22:28:22.965Z] > git --version # 'git version 2.25.1' [2022-08-29T22:28:22.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T22:28:23.138Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-29T22:28:24.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-29T22:28:24.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-29T22:28:24.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-29T22:28:24.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T22:28:24.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T22:28:24.345Z] > 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-29T22:28:24.838Z] Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [2022-08-29T22:28:25.200Z] Merge succeeded, producing da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [2022-08-29T22:28:25.200Z] Checking out Revision da95bc562ae3fd9bb23c2e420cb4165fbe35a798 (PR-149) [2022-08-29T22:28:24.861Z] > git config core.sparsecheckout # timeout=10 [2022-08-29T22:28:24.884Z] > git checkout -f da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # timeout=10 [2022-08-29T22:28:25.113Z] > git remote # timeout=10 [2022-08-29T22:28:25.130Z] > git config --get remote.origin.url # timeout=10 [2022-08-29T22:28:25.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T22:28:25.157Z] > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 [2022-08-29T22:28:25.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-29T22:28:25.211Z] > git config core.sparsecheckout # timeout=10 [2022-08-29T22:28:25.229Z] > git checkout -f da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # timeout=10 [2022-08-29T22:28:29.511Z] Commit message: "Merge branch 'main' of https://github.com/edgexfoundry/device-onvif-camera into test-coverage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T22:28:30.536Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-29T22:28:30.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-29T22:28:30.536Z] Dload Upload Total Spent Left Speed [2022-08-29T22:28:30.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-08-29T22:28:31.499Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-29T22:28:31.862Z] + sudo tee /etc/docker/daemon.new [2022-08-29T22:28:31.862Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-29T22:28:31.862Z] { [2022-08-29T22:28:31.862Z] "registry-mirrors": [ [2022-08-29T22:28:31.862Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-29T22:28:31.862Z] ], [2022-08-29T22:28:31.862Z] "bip": "10.250.0.254/24", [2022-08-29T22:28:31.862Z] "hosts": [ [2022-08-29T22:28:31.862Z] "tcp://0.0.0.0:5555", [2022-08-29T22:28:31.862Z] "unix:///var/run/docker.sock" [2022-08-29T22:28:31.862Z] ], [2022-08-29T22:28:31.862Z] "mtu": 1458, [2022-08-29T22:28:31.862Z] "selinux-enabled": true, [2022-08-29T22:28:31.862Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-29T22:28:31.862Z] } [Pipeline] sh [2022-08-29T22:28:32.222Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-29T22:28:32.583Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T22:28:50.995Z] provisioning config files... [2022-08-29T22:28:51.022Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3737037825449593549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:28:51.635Z] ---> docker-login.sh [2022-08-29T22:28:51.636Z] nexus3.edgexfoundry.org:10001 [2022-08-29T22:28:52.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:28:52.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:28:52.842Z] Configure a credential helper to remove this warning. See [2022-08-29T22:28:52.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:28:52.842Z] [2022-08-29T22:28:52.842Z] Login Succeeded [2022-08-29T22:28:52.842Z] nexus3.edgexfoundry.org:10002 [2022-08-29T22:28:53.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:28:53.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:28:53.120Z] Configure a credential helper to remove this warning. See [2022-08-29T22:28:53.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:28:53.120Z] [2022-08-29T22:28:53.120Z] Login Succeeded [2022-08-29T22:28:53.120Z] nexus3.edgexfoundry.org:10003 [2022-08-29T22:28:53.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:28:53.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:28:53.726Z] Configure a credential helper to remove this warning. See [2022-08-29T22:28:53.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:28:53.726Z] [2022-08-29T22:28:53.726Z] Login Succeeded [2022-08-29T22:28:53.726Z] nexus3.edgexfoundry.org:10004 [2022-08-29T22:28:54.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:28:54.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:28:54.283Z] Configure a credential helper to remove this warning. See [2022-08-29T22:28:54.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:28:54.283Z] [2022-08-29T22:28:54.283Z] Login Succeeded [2022-08-29T22:28:54.283Z] docker.io [2022-08-29T22:28:54.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T22:28:55.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T22:28:55.154Z] Configure a credential helper to remove this warning. See [2022-08-29T22:28:55.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T22:28:55.154Z] [2022-08-29T22:28:55.154Z] Login Succeeded [2022-08-29T22:28:55.154Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T22:28:55.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-29T22:28:55.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T22:28:55.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T22:28:55.659Z] ========================================================= [2022-08-29T22:28:55.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-29T22:28:55.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:28:56.163Z] + 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-29T22:28:56.771Z] Sending build context to Docker daemon 14.11MB [2022-08-29T22:28:56.771Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T22:28:56.771Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-29T22:28:57.050Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-29T22:28:57.050Z] b3c136eddcbf: Pulling fs layer [2022-08-29T22:28:57.050Z] c0a3192eca97: Pulling fs layer [2022-08-29T22:28:57.050Z] a050256f5b6f: Pulling fs layer [2022-08-29T22:28:57.050Z] 656be50a0ddc: Pulling fs layer [2022-08-29T22:28:57.050Z] 2bbca73fdf42: Pulling fs layer [2022-08-29T22:28:57.050Z] 46d945488cbd: Pulling fs layer [2022-08-29T22:28:57.050Z] 8a5474983e97: Pulling fs layer [2022-08-29T22:28:57.050Z] 329c88fbcd65: Pulling fs layer [2022-08-29T22:28:57.050Z] 656be50a0ddc: Waiting [2022-08-29T22:28:57.050Z] 2bbca73fdf42: Waiting [2022-08-29T22:28:57.050Z] 46d945488cbd: Waiting [2022-08-29T22:28:57.050Z] 8a5474983e97: Waiting [2022-08-29T22:28:57.050Z] 329c88fbcd65: Waiting [2022-08-29T22:28:57.050Z] a050256f5b6f: Verifying Checksum [2022-08-29T22:28:57.050Z] a050256f5b6f: Download complete [2022-08-29T22:28:57.050Z] c0a3192eca97: Download complete [2022-08-29T22:28:57.050Z] 2bbca73fdf42: Verifying Checksum [2022-08-29T22:28:57.050Z] 2bbca73fdf42: Download complete [2022-08-29T22:28:57.050Z] 46d945488cbd: Verifying Checksum [2022-08-29T22:28:57.050Z] 46d945488cbd: Download complete [2022-08-29T22:28:57.050Z] b3c136eddcbf: Verifying Checksum [2022-08-29T22:28:57.050Z] b3c136eddcbf: Download complete [2022-08-29T22:28:58.063Z] b3c136eddcbf: Pull complete [2022-08-29T22:28:58.063Z] 329c88fbcd65: Verifying Checksum [2022-08-29T22:28:58.063Z] 329c88fbcd65: Download complete [2022-08-29T22:28:58.668Z] c0a3192eca97: Pull complete [2022-08-29T22:28:58.953Z] a050256f5b6f: Pull complete [2022-08-29T22:28:59.554Z] 8a5474983e97: Verifying Checksum [2022-08-29T22:28:59.554Z] 8a5474983e97: Download complete [2022-08-29T22:29:00.154Z] 656be50a0ddc: Verifying Checksum [2022-08-29T22:29:00.154Z] 656be50a0ddc: Download complete [2022-08-29T22:29:15.263Z] 656be50a0ddc: Pull complete [2022-08-29T22:29:15.263Z] 2bbca73fdf42: Pull complete [2022-08-29T22:29:15.263Z] 46d945488cbd: Pull complete [2022-08-29T22:29:20.688Z] 8a5474983e97: Pull complete [2022-08-29T22:29:23.325Z] 329c88fbcd65: Pull complete [2022-08-29T22:29:23.325Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-29T22:29:23.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-29T22:29:23.325Z] ---> ff4287adb874 [2022-08-29T22:29:23.325Z] Step 3/13 : ARG MAKE="make build" [2022-08-29T22:29:25.317Z] ---> Running in af4cc0d44dcc [2022-08-29T22:29:25.590Z] Removing intermediate container af4cc0d44dcc [2022-08-29T22:29:25.590Z] ---> b180257b2d6b [2022-08-29T22:29:25.590Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T22:29:25.590Z] ---> Running in e38642abde23 [2022-08-29T22:29:25.866Z] Removing intermediate container e38642abde23 [2022-08-29T22:29:25.866Z] ---> 2ce3f3164d4f [2022-08-29T22:29:25.866Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T22:29:25.866Z] ---> Running in 2e6cb135d103 [2022-08-29T22:29:26.465Z] Removing intermediate container 2e6cb135d103 [2022-08-29T22:29:26.465Z] ---> f0a8461bfb8e [2022-08-29T22:29:26.465Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-29T22:29:26.465Z] ---> Running in e300f5b131e1 [2022-08-29T22:29:26.738Z] Removing intermediate container e300f5b131e1 [2022-08-29T22:29:26.738Z] ---> f91700b591ba [2022-08-29T22:29:26.738Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T22:29:26.738Z] ---> Running in 3852e76a3360 [2022-08-29T22:29:28.729Z] Removing intermediate container 3852e76a3360 [2022-08-29T22:29:28.729Z] ---> 42eafd67b56f [2022-08-29T22:29:28.729Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T22:29:28.729Z] ---> Running in 8f8e4536d095 [2022-08-29T22:29:29.722Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T22:29:30.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T22:29:31.682Z] OK: 221 MiB in 51 packages [2022-08-29T22:29:32.669Z] Removing intermediate container 8f8e4536d095 [2022-08-29T22:29:32.669Z] ---> 344a0a2356ef [2022-08-29T22:29:32.669Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-29T22:29:32.669Z] ---> Running in 037fc66ac351 [2022-08-29T22:29:32.947Z] Removing intermediate container 037fc66ac351 [2022-08-29T22:29:32.947Z] ---> 6791ade637d8 [2022-08-29T22:29:32.947Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-29T22:29:33.224Z] ---> 62197990aad1 [2022-08-29T22:29:33.224Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T22:29:33.508Z] ---> Running in 31e3be9ce49e [2022-08-29T22:30:30.069Z] Removing intermediate container 31e3be9ce49e [2022-08-29T22:30:30.069Z] ---> c59cf0813bf9 [2022-08-29T22:30:30.069Z] Step 12/13 : COPY . . [2022-08-29T22:30:30.069Z] ---> cca1360a9992 [2022-08-29T22:30:30.069Z] Step 13/13 : RUN ${MAKE} [2022-08-29T22:30:30.069Z] ---> Running in 68a8fa4634fd [2022-08-29T22:30:30.069Z] noop [2022-08-29T22:30:30.069Z] Removing intermediate container 68a8fa4634fd [2022-08-29T22:30:30.069Z] ---> 3c5ffc5d6db7 [2022-08-29T22:30:30.069Z] Successfully built 3c5ffc5d6db7 [2022-08-29T22:30:30.069Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:30:30.546Z] + docker inspect -f . ci-base-image-arm64 [2022-08-29T22:30:30.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:30:30.845Z] prd-ubuntu20.04-docker-arm64-4c-16g-23806 does not seem to be running inside a container [2022-08-29T22:30:30.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2022-08-29T22:30:32.153Z] $ docker top 4e64f636142dff34434e5eb293c4d84e5180b052c721a3349ad68fec65ceb791 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T22:30:33.093Z] + go version [2022-08-29T22:30:33.093Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-29T22:30:33.131Z] $ docker stop --time=1 4e64f636142dff34434e5eb293c4d84e5180b052c721a3349ad68fec65ceb791 [2022-08-29T22:30:34.775Z] $ docker rm -f 4e64f636142dff34434e5eb293c4d84e5180b052c721a3349ad68fec65ceb791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:30:35.631Z] + docker inspect -f . ci-base-image-arm64 [2022-08-29T22:30:35.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:30:35.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-23806 does not seem to be running inside a container [2022-08-29T22:30:35.997Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2022-08-29T22:30:37.139Z] $ docker top a89bd1f554932019e0574f25d089b488bc67e1ccc2fcdfa5445a7b0fe8a55ad5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T22:30:38.056Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-08-29T22:30:38.787Z] + make test [2022-08-29T22:30:38.787Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-29T22:30:40.771Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-29T22:32:17.672Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-29T22:32:18.272Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.168s coverage: 22.3% of statements [2022-08-29T22:32:45.127Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.582s coverage: 13.8% of statements [2022-08-29T22:32:45.127Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-29T22:32:45.127Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-29T22:33:07.351Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-29T22:33:07.351Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-29T22:33:07.351Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-29T22:33:07.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-29T22:33:07.419Z] $ docker stop --time=1 a89bd1f554932019e0574f25d089b488bc67e1ccc2fcdfa5445a7b0fe8a55ad5 [2022-08-29T22:33:09.215Z] $ docker rm -f a89bd1f554932019e0574f25d089b488bc67e1ccc2fcdfa5445a7b0fe8a55ad5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T22:33:10.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-29T22:33:10.913Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T22:33:11.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-29T22:33:11.930Z] + ls -al . [2022-08-29T22:33:11.930Z] total 228 [2022-08-29T22:33:11.930Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 22:30 . [2022-08-29T22:33:11.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 22:28 .. [2022-08-29T22:33:11.930Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 22:28 .git [2022-08-29T22:33:11.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 22:28 .github [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 22:28 .gitignore [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 22:28 .golangci.yml [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 22:28 Attribution.txt [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 22:28 CHANGELOG.md [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 22:28 Dockerfile [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 22:28 GOVERNANCE.md [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 22:28 Jenkinsfile [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 22:28 LICENSE [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 22:28 Makefile [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 22:28 OWNERS.md [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 22:28 README.md [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 22:25 VERSION [2022-08-29T22:33:11.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 22:28 bin [2022-08-29T22:33:11.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 22:28 cmd [2022-08-29T22:33:11.930Z] -rw-r--r-- 1 jenkins jenkins 76672 Aug 29 22:32 coverage.out [2022-08-29T22:33:11.930Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 22:28 doc [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 29 22:28 go.mod [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 29 22:28 go.sum [2022-08-29T22:33:11.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 22:28 internal [2022-08-29T22:33:11.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 22:28 snap [2022-08-29T22:33:11.930Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:33:12.355Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=da95bc562ae3fd9bb23c2e420cb4165fbe35a798 --label arch=arm64 --label version=0.0.0 . [2022-08-29T22:33:12.952Z] Sending build context to Docker daemon 14.19MB [2022-08-29T22:33:12.952Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T22:33:12.952Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-29T22:33:12.952Z] ---> 3c5ffc5d6db7 [2022-08-29T22:33:12.952Z] Step 3/26 : ARG MAKE="make build" [2022-08-29T22:33:12.952Z] ---> Running in 8710c9fc9d93 [2022-08-29T22:33:13.549Z] Removing intermediate container 8710c9fc9d93 [2022-08-29T22:33:13.549Z] ---> b13ed120de7c [2022-08-29T22:33:13.549Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T22:33:13.549Z] ---> Running in 361c16d80b2b [2022-08-29T22:33:13.823Z] Removing intermediate container 361c16d80b2b [2022-08-29T22:33:13.823Z] ---> 9a6a4d3b2784 [2022-08-29T22:33:13.823Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T22:33:13.823Z] ---> Running in a18812187b75 [2022-08-29T22:33:14.107Z] Removing intermediate container a18812187b75 [2022-08-29T22:33:14.107Z] ---> e672a729f21a [2022-08-29T22:33:14.107Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-29T22:33:14.107Z] ---> Running in 580c149d72c2 [2022-08-29T22:33:14.711Z] Removing intermediate container 580c149d72c2 [2022-08-29T22:33:14.711Z] ---> 976547c22372 [2022-08-29T22:33:14.711Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T22:33:14.711Z] ---> Running in 26fadc04752f [2022-08-29T22:33:16.694Z] Removing intermediate container 26fadc04752f [2022-08-29T22:33:16.694Z] ---> 0d709a738dd7 [2022-08-29T22:33:16.694Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T22:33:16.694Z] ---> Running in a29f87f04a5e [2022-08-29T22:33:17.294Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T22:33:18.278Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T22:33:19.259Z] OK: 221 MiB in 51 packages [2022-08-29T22:33:19.860Z] Removing intermediate container a29f87f04a5e [2022-08-29T22:33:19.860Z] ---> f76c7c622bd2 [2022-08-29T22:33:19.860Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-29T22:33:20.138Z] ---> Running in 7d5f01e908d9 [2022-08-29T22:33:20.415Z] Removing intermediate container 7d5f01e908d9 [2022-08-29T22:33:20.415Z] ---> efe8bf317b20 [2022-08-29T22:33:20.415Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-29T22:33:21.017Z] ---> 66d5cb09f313 [2022-08-29T22:33:21.017Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T22:33:21.017Z] ---> Running in 28f01e4bbc39 [2022-08-29T22:33:23.025Z] Removing intermediate container 28f01e4bbc39 [2022-08-29T22:33:23.025Z] ---> 0273acfafeea [2022-08-29T22:33:23.025Z] Step 12/26 : COPY . . [2022-08-29T22:33:24.465Z] ---> 55f5c6c4405f [2022-08-29T22:33:24.465Z] Step 13/26 : RUN ${MAKE} [2022-08-29T22:33:24.465Z] ---> Running in c6c1ac66a713 [2022-08-29T22:33:25.458Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-29T22:35:47.383Z] Removing intermediate container c6c1ac66a713 [2022-08-29T22:35:47.383Z] ---> 08c6057b002e [2022-08-29T22:35:47.383Z] Step 14/26 : FROM alpine:3.16 [2022-08-29T22:35:47.383Z] 3.16: Pulling from library/alpine [2022-08-29T22:35:47.383Z] 9b18e9b68314: Pulling fs layer [2022-08-29T22:35:47.383Z] 9b18e9b68314: Verifying Checksum [2022-08-29T22:35:47.383Z] 9b18e9b68314: Download complete [2022-08-29T22:35:47.383Z] 9b18e9b68314: Pull complete [2022-08-29T22:35:47.383Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-29T22:35:47.383Z] Status: Downloaded newer image for alpine:3.16 [2022-08-29T22:35:47.383Z] ---> a6215f271958 [2022-08-29T22:35:47.383Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-29T22:35:47.383Z] ---> Running in 52843aaf950a [2022-08-29T22:35:47.383Z] Removing intermediate container 52843aaf950a [2022-08-29T22:35:47.383Z] ---> 92ee83cc1db3 [2022-08-29T22:35:47.383Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-29T22:35:47.383Z] ---> Running in 1a945552c92d [2022-08-29T22:35:47.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T22:35:47.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T22:35:47.383Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-29T22:35:47.383Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-29T22:35:47.383Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-29T22:35:47.383Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-29T22:35:47.383Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-29T22:35:47.383Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-29T22:35:47.383Z] Executing busybox-1.35.0-r17.trigger [2022-08-29T22:35:47.383Z] OK: 8 MiB in 20 packages [2022-08-29T22:35:47.383Z] Removing intermediate container 1a945552c92d [2022-08-29T22:35:47.383Z] ---> 69bb80d03512 [2022-08-29T22:35:47.383Z] Step 17/26 : WORKDIR / [2022-08-29T22:35:47.383Z] ---> Running in 2f6ff7b54390 [2022-08-29T22:35:47.383Z] Removing intermediate container 2f6ff7b54390 [2022-08-29T22:35:47.383Z] ---> 097f1658d5ce [2022-08-29T22:35:47.384Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-29T22:35:47.384Z] ---> 70b31fb82e51 [2022-08-29T22:35:47.384Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-29T22:35:47.384Z] ---> 813cbebe3297 [2022-08-29T22:35:47.384Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-29T22:35:47.384Z] ---> 6cbbc4d7a736 [2022-08-29T22:35:47.384Z] Step 21/26 : EXPOSE 59984 [2022-08-29T22:35:47.384Z] ---> Running in 75ce644408e6 [2022-08-29T22:35:47.384Z] Removing intermediate container 75ce644408e6 [2022-08-29T22:35:47.384Z] ---> 0ad60b03db14 [2022-08-29T22:35:47.384Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-29T22:35:47.384Z] ---> Running in fa67a292af98 [2022-08-29T22:35:47.384Z] Removing intermediate container fa67a292af98 [2022-08-29T22:35:47.384Z] ---> c3b4d6c682a7 [2022-08-29T22:35:47.384Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-29T22:35:47.384Z] ---> Running in bc589d48f1c8 [2022-08-29T22:35:47.384Z] Removing intermediate container bc589d48f1c8 [2022-08-29T22:35:47.384Z] ---> 569a646042e1 [2022-08-29T22:35:47.384Z] Step 24/26 : LABEL arch=arm64 [2022-08-29T22:35:47.384Z] ---> Running in 2aeb853d550a [2022-08-29T22:35:47.384Z] Removing intermediate container 2aeb853d550a [2022-08-29T22:35:47.384Z] ---> fbd1a6856344 [2022-08-29T22:35:47.384Z] Step 25/26 : LABEL git_sha=da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [2022-08-29T22:35:47.384Z] ---> Running in ebbaf91f4aa6 [2022-08-29T22:35:47.384Z] Removing intermediate container ebbaf91f4aa6 [2022-08-29T22:35:47.384Z] ---> 7ee486a32464 [2022-08-29T22:35:47.384Z] Step 26/26 : LABEL version=0.0.0 [2022-08-29T22:35:47.384Z] ---> Running in d1eee2f4b708 [2022-08-29T22:35:47.384Z] Removing intermediate container d1eee2f4b708 [2022-08-29T22:35:47.384Z] ---> dd1e2a2fa51b [2022-08-29T22:35:47.384Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-29T22:35:47.384Z] Successfully built dd1e2a2fa51b [2022-08-29T22:35:47.384Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:35:48.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T22:35:48.257Z] [2022-08-29T22:35:48.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:35:48.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T22:35:48.951Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-29T22:35:48.951Z] 8998bd30e6a1: Pulling fs layer [2022-08-29T22:35:48.951Z] 04944245beec: Pulling fs layer [2022-08-29T22:35:48.951Z] 699f458cf7ca: Pulling fs layer [2022-08-29T22:35:48.951Z] 765212b225bb: Pulling fs layer [2022-08-29T22:35:48.951Z] f23df028b6ca: Pulling fs layer [2022-08-29T22:35:48.951Z] d65c8cfc05b1: Pulling fs layer [2022-08-29T22:35:48.951Z] 2437ff75d9bd: Pulling fs layer [2022-08-29T22:35:48.951Z] 765212b225bb: Waiting [2022-08-29T22:35:48.951Z] d65c8cfc05b1: Waiting [2022-08-29T22:35:48.951Z] 2437ff75d9bd: Waiting [2022-08-29T22:35:48.951Z] f23df028b6ca: Waiting [2022-08-29T22:35:48.951Z] 04944245beec: Verifying Checksum [2022-08-29T22:35:48.951Z] 04944245beec: Download complete [2022-08-29T22:35:48.951Z] 765212b225bb: Verifying Checksum [2022-08-29T22:35:48.951Z] 765212b225bb: Download complete [2022-08-29T22:35:48.951Z] f23df028b6ca: Verifying Checksum [2022-08-29T22:35:48.951Z] f23df028b6ca: Download complete [2022-08-29T22:35:48.951Z] d65c8cfc05b1: Verifying Checksum [2022-08-29T22:35:48.951Z] d65c8cfc05b1: Download complete [2022-08-29T22:35:49.232Z] 699f458cf7ca: Verifying Checksum [2022-08-29T22:35:49.232Z] 699f458cf7ca: Download complete [2022-08-29T22:35:49.511Z] 8998bd30e6a1: Download complete [2022-08-29T22:35:52.145Z] 2437ff75d9bd: Verifying Checksum [2022-08-29T22:35:52.145Z] 2437ff75d9bd: Download complete [2022-08-29T22:35:53.583Z] 8998bd30e6a1: Pull complete [2022-08-29T22:35:54.176Z] 04944245beec: Pull complete [2022-08-29T22:35:55.619Z] 699f458cf7ca: Pull complete [2022-08-29T22:35:55.619Z] 765212b225bb: Pull complete [2022-08-29T22:35:56.600Z] f23df028b6ca: Pull complete [2022-08-29T22:35:56.875Z] d65c8cfc05b1: Pull complete [2022-08-29T22:36:11.980Z] 2437ff75d9bd: Pull complete [2022-08-29T22:36:11.980Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-29T22:36:11.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T22:36:11.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:36:12.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-23806 does not seem to be running inside a container [2022-08-29T22:36:12.462Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-29T22:36:15.131Z] $ docker top a838ff14215c37a13840e8b5cfa5aa4d2183d3b9f74598851d1968aa376b33d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:16.147Z] ---> job-cost.sh [2022-08-29T22:36:16.147Z] lf-activate-venv: SKIPPING [2022-08-29T22:36:16.147Z] INFO: No Stack... [2022-08-29T22:36:16.744Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-29T22:36:17.733Z] INFO: Archiving Costs [Pipeline] sh [2022-08-29T22:36:18.424Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-08-29T22:36:18.424Z] + cut -d, -f6 [Pipeline] lock [2022-08-29T22:36:18.518Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [2022-08-29T22:36:18.523Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] did not exist. Created. [2022-08-29T22:36:18.523Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-29T22:36:19.288Z] /w/workspace/device-onvif-camera/2@tmp/durable-60835aba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-29T22:36:20.008Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-29T22:36:20.050Z] Warning: overwriting stash ‘stack-cost’ [2022-08-29T22:36:20.114Z] Stashed 1 file(s) [Pipeline] } [2022-08-29T22:36:20.129Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-29T22:36:20.216Z] $ docker stop --time=1 a838ff14215c37a13840e8b5cfa5aa4d2183d3b9f74598851d1968aa376b33d8 [2022-08-29T22:36:21.760Z] $ docker rm -f a838ff14215c37a13840e8b5cfa5aa4d2183d3b9f74598851d1968aa376b33d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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-29T22:36:24.403Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-29T22:36:24.403Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-29T22:36:24.403Z] total 16 [2022-08-29T22:36:24.403Z] drwxr-xr-x 3 root root 4096 Aug 29 22:26 . [2022-08-29T22:36:24.403Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 22:26 .. [2022-08-29T22:36:24.403Z] drwxr-xr-x 2 root root 4096 Aug 29 22:26 cost [2022-08-29T22:36:24.403Z] -rw-r--r-- 1 root root 91 Aug 29 22:26 cost.csv [2022-08-29T22:36:24.403Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-29T22:36:24.403Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-29T22:36:24.403Z] total 16 [2022-08-29T22:36:24.403Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 22:26 . [2022-08-29T22:36:24.403Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 22:26 .. [2022-08-29T22:36:24.403Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 22:26 cost [2022-08-29T22:36:24.403Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 29 22:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:24.738Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:25.639Z] ---> package-listing.sh [2022-08-29T22:36:25.639Z] ++ facter osfamily [2022-08-29T22:36:25.639Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-29T22:36:25.904Z] + OS_FAMILY=debian [2022-08-29T22:36:25.905Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-29T22:36:25.905Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-29T22:36:25.905Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-29T22:36:25.905Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-29T22:36:25.905Z] + PACKAGES=/tmp/packages_start.txt [2022-08-29T22:36:25.905Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-29T22:36:25.905Z] + PACKAGES=/tmp/packages_end.txt [2022-08-29T22:36:25.905Z] + case "${OS_FAMILY}" in [2022-08-29T22:36:25.905Z] + dpkg -l [2022-08-29T22:36:25.905Z] + grep '^ii' [2022-08-29T22:36:25.905Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-29T22:36:25.905Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-29T22:36:25.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-29T22:36:25.905Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-29T22:36:25.905Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-29T22:36:25.905Z] + 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-29T22:36:25.938Z] 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-29T22:36:26.232Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T22:36:26.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T22:36:26.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T22:36:27.069Z] prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container [2022-08-29T22:36:27.132Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-29T22:36:27.361Z] $ docker top 574cde3ce2522d21c044ee268ce4e55b52096e595b112350c36f86829de77c30 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T22:36:27.758Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-29T22:36:28.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-29T22:36:28.388Z] + ls /var/log/sa-host [2022-08-29T22:36:28.388Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T22:36:28.678Z] provisioning config files... [2022-08-29T22:36:28.696Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config155827929063957117tmp [Pipeline] { [Pipeline] echo [2022-08-29T22:36:28.733Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:29.050Z] ---> create-netrc.sh [Pipeline] } [2022-08-29T22:36:29.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:29.470Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-29T22:36:29.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:29.813Z] ---> sudo-logs.sh [2022-08-29T22:36:29.813Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-29T22:36:29.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:30.216Z] ---> job-cost.sh [2022-08-29T22:36:30.216Z] lf-activate-venv: SKIPPING [2022-08-29T22:36:30.216Z] DEBUG: total: 0.2199999988079071 [2022-08-29T22:36:30.216Z] INFO: Retrieving Stack Cost... [2022-08-29T22:36:30.786Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-29T22:36:31.046Z] INFO: Archiving Costs [Pipeline] echo [2022-08-29T22:36:31.077Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T22:36:31.392Z] ---> logs-deploy.sh [2022-08-29T22:36:31.392Z] lf-activate-venv: SKIPPING [2022-08-29T22:36:31.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/2 [2022-08-29T22:36:31.392Z] INFO: archiving workspace using pattern(s): [2022-08-29T22:36:32.334Z] Archives upload complete. [2022-08-29T22:36:32.334Z] INFO: archiving logs to Nexus