Pull request #124 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than 28b4b90632443e9aaf3823903ea125f36a9c4252 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh7354547667620178192.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13946209064290657099.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-124/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-124/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12264837560214711888.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh13019283725160161845.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-124/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-124/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17713636127799398145.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22234 in /w/workspace/undry_device-onvif-camera_PR-124 [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-124 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 28b4b90632443e9aaf3823903ea125f36a9c4252 Merge succeeded, producing 0f6dfa264ee3accaca6e357daf21dd516d1141f5 Checking out Revision 0f6dfa264ee3accaca6e357daf21dd516d1141f5 (PR-124) > 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/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 28b4b90632443e9aaf3823903ea125f36a9c4252 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f6dfa264ee3accaca6e357daf21dd516d1141f5 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2fe509be12b62d1e18a1593104818c092c2f2e92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T16:50:49.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T16:50:49.650Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T16:50:49.664Z] ========================================================= [2022-08-09T16:50:49.664Z] EdgeX Global Pipelines Version Info [2022-08-09T16:50:49.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-09T16:50:50.433Z] ------------------- [2022-08-09T16:50:50.433Z] stable info: [2022-08-09T16:50:50.433Z] ------------------- [2022-08-09T16:50:50.433Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T16:50:50.433Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T16:50:50.433Z] Message: update stable to v1.0.238 [2022-08-09T16:50:51.008Z] ------------------- [2022-08-09T16:50:51.008Z] experimental info: [2022-08-09T16:50:51.008Z] ------------------- [2022-08-09T16:50:51.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T16:50:51.008Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T16:50:51.008Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T16:50:51.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-09T16:50:51.258Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-09T16:50:51.270Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T16:50:51.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T16:50:51.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T16:50:51.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T16:50:51.328Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T16:50:51.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T16:50:51.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T16:50:51.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T16:50:51.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T16:50:51.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-09T16:50:51.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T16:50:51.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T16:50:51.463Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T16:50:51.474Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T16:50:51.491Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T16:50:51.505Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T16:50:51.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T16:50:51.530Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T16:50:51.544Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T16:50:51.555Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T16:50:51.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T16:50:51.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T16:50:51.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T16:50:51.624Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T16:50:51.634Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T16:50:51.643Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2022-08-09T16:50:51.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2022-08-09T16:50:51.660Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2022-08-09T16:50:51.668Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f6dfa264ee3accaca6e357daf21dd516d1141f5 [Pipeline] echo [2022-08-09T16:50:51.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f6dfa2 [Pipeline] echo [2022-08-09T16:50:51.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T16:50:51.749Z] provisioning config files... [2022-08-09T16:50:51.764Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config4745537070230500054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T16:50:52.070Z] ---> docker-login.sh [2022-08-09T16:50:52.070Z] nexus3.edgexfoundry.org:10001 [2022-08-09T16:50:52.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:50:52.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:50:52.331Z] Configure a credential helper to remove this warning. See [2022-08-09T16:50:52.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:50:52.331Z] [2022-08-09T16:50:52.331Z] Login Succeeded [2022-08-09T16:50:52.331Z] nexus3.edgexfoundry.org:10002 [2022-08-09T16:50:52.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:50:52.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:50:52.590Z] Configure a credential helper to remove this warning. See [2022-08-09T16:50:52.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:50:52.590Z] [2022-08-09T16:50:52.590Z] Login Succeeded [2022-08-09T16:50:52.590Z] nexus3.edgexfoundry.org:10003 [2022-08-09T16:50:52.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:50:52.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:50:52.590Z] Configure a credential helper to remove this warning. See [2022-08-09T16:50:52.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:50:52.590Z] [2022-08-09T16:50:52.590Z] Login Succeeded [2022-08-09T16:50:52.590Z] nexus3.edgexfoundry.org:10004 [2022-08-09T16:50:52.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:50:52.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:50:52.852Z] Configure a credential helper to remove this warning. See [2022-08-09T16:50:52.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:50:52.852Z] [2022-08-09T16:50:52.852Z] Login Succeeded [2022-08-09T16:50:52.852Z] docker.io [2022-08-09T16:50:52.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:50:53.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:50:53.113Z] Configure a credential helper to remove this warning. See [2022-08-09T16:50:53.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:50:53.113Z] [2022-08-09T16:50:53.113Z] Login Succeeded [2022-08-09T16:50:53.113Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T16:50:53.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T16:50:53.519Z] + git rev-list -1 --merges 0f6dfa264ee3accaca6e357daf21dd516d1141f5~1..0f6dfa264ee3accaca6e357daf21dd516d1141f5 [Pipeline] echo [2022-08-09T16:50:53.548Z] -----------> git rev-list -1 --merges 0f6dfa264ee3accaca6e357daf21dd516d1141f5~1..0f6dfa264ee3accaca6e357daf21dd516d1141f5 0f6dfa264ee3accaca6e357daf21dd516d1141f5 [2022-08-09T16:50:53.548Z] 0f6dfa264ee3accaca6e357daf21dd516d1141f5 [false] [Pipeline] sh [2022-08-09T16:50:53.840Z] + git log --format=format:%s -1 0f6dfa264ee3accaca6e357daf21dd516d1141f5 [Pipeline] echo [2022-08-09T16:50:53.858Z] ========================================================= [2022-08-09T16:50:53.858Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T16:50:53.858Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T16:50:54.207Z] + git log --format=format:%s -1 0f6dfa264ee3accaca6e357daf21dd516d1141f5 [Pipeline] echo [2022-08-09T16:50:54.219Z] [semverPrep] GIT_COMMIT: 0f6dfa264ee3accaca6e357daf21dd516d1141f5, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo [2022-08-09T16:50:54.228Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T16:50:54.599Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T16:50:54.599Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T16:50:54.599Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T16:50:54.599Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T16:50:54.599Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-09T16:50:54.599Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-09T16:50:54.599Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:50:55.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T16:50:55.034Z] [2022-08-09T16:50:55.034Z] 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-09T16:50:55.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T16:50:55.346Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T16:50:55.346Z] b85a868b505f: Pulling fs layer [2022-08-09T16:50:55.346Z] e2be974225ed: Pulling fs layer [2022-08-09T16:50:55.346Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T16:50:55.346Z] 988bab9f4d93: Pulling fs layer [2022-08-09T16:50:55.346Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T16:50:55.346Z] eaf3925da568: Pulling fs layer [2022-08-09T16:50:55.346Z] bab4dde63d76: Pulling fs layer [2022-08-09T16:50:55.346Z] bde34c3a00c8: Pulling fs layer [2022-08-09T16:50:55.346Z] b352a97aabf1: Pulling fs layer [2022-08-09T16:50:55.346Z] 4872d77fe225: Pulling fs layer [2022-08-09T16:50:55.346Z] 5851b861e8e6: Pulling fs layer [2022-08-09T16:50:55.346Z] bde34c3a00c8: Waiting [2022-08-09T16:50:55.346Z] bab4dde63d76: Waiting [2022-08-09T16:50:55.346Z] b352a97aabf1: Waiting [2022-08-09T16:50:55.346Z] eaf3925da568: Waiting [2022-08-09T16:50:55.346Z] 4872d77fe225: Waiting [2022-08-09T16:50:55.346Z] 1469e6f7b9e6: Waiting [2022-08-09T16:50:55.346Z] 5851b861e8e6: Waiting [2022-08-09T16:50:55.346Z] e2be974225ed: Verifying Checksum [2022-08-09T16:50:55.346Z] e2be974225ed: Download complete [2022-08-09T16:50:55.346Z] 988bab9f4d93: Verifying Checksum [2022-08-09T16:50:55.346Z] 988bab9f4d93: Download complete [2022-08-09T16:50:55.606Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T16:50:55.606Z] 1469e6f7b9e6: Download complete [2022-08-09T16:50:55.606Z] eaf3925da568: Verifying Checksum [2022-08-09T16:50:55.606Z] eaf3925da568: Download complete [2022-08-09T16:50:55.606Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T16:50:55.606Z] 339a4e72a1f5: Download complete [2022-08-09T16:50:55.606Z] bde34c3a00c8: Download complete [2022-08-09T16:50:55.606Z] b352a97aabf1: Verifying Checksum [2022-08-09T16:50:55.606Z] b352a97aabf1: Download complete [2022-08-09T16:50:55.606Z] 4872d77fe225: Download complete [2022-08-09T16:50:55.606Z] 5851b861e8e6: Download complete [2022-08-09T16:50:55.606Z] b85a868b505f: Verifying Checksum [2022-08-09T16:50:55.606Z] b85a868b505f: Download complete [2022-08-09T16:50:55.866Z] bab4dde63d76: Verifying Checksum [2022-08-09T16:50:55.866Z] bab4dde63d76: Download complete [2022-08-09T16:50:56.803Z] b85a868b505f: Pull complete [2022-08-09T16:50:57.063Z] e2be974225ed: Pull complete [2022-08-09T16:50:57.633Z] 339a4e72a1f5: Pull complete [2022-08-09T16:50:57.633Z] 988bab9f4d93: Pull complete [2022-08-09T16:50:57.894Z] 1469e6f7b9e6: Pull complete [2022-08-09T16:50:57.894Z] eaf3925da568: Pull complete [2022-08-09T16:50:59.807Z] bab4dde63d76: Pull complete [2022-08-09T16:50:59.807Z] bde34c3a00c8: Pull complete [2022-08-09T16:50:59.807Z] b352a97aabf1: Pull complete [2022-08-09T16:50:59.807Z] 4872d77fe225: Pull complete [2022-08-09T16:50:59.807Z] 5851b861e8e6: Pull complete [2022-08-09T16:50:59.807Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T16:50:59.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T16:50:59.807Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T16:50:59.912Z] prd-ubuntu20.04-docker-8c-8g-22234 does not seem to be running inside a container [2022-08-09T16:50:59.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-09T16:51:03.525Z] $ docker top 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 -eo pid,comm [2022-08-09T16:51:03.581Z] 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-09T16:51:03.582Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T16:51:03.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T16:51:03.624Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T16:51:03.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T16:51:03.757Z] $ docker exec 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 ssh-agent [2022-08-09T16:51:03.892Z] SSH_AUTH_SOCK=/tmp/ssh-wT4LQCTUpQF4/agent.33 [2022-08-09T16:51:03.892Z] SSH_AGENT_PID=39 [2022-08-09T16:51:03.897Z] Running ssh-add (command line suppressed) [2022-08-09T16:51:04.015Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_4397964422447402681.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_4397964422447402681.key) [2022-08-09T16:51:04.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T16:51:04.313Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T16:51:04.337Z] $ docker exec --env ******** --env ******** 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 ssh-agent -k [2022-08-09T16:51:04.442Z] unset SSH_AUTH_SOCK; [2022-08-09T16:51:04.442Z] unset SSH_AGENT_PID; [2022-08-09T16:51:04.443Z] echo Agent pid 39 killed; [2022-08-09T16:51:04.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T16:51:04.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T16:51:04.474Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T16:51:04.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T16:51:04.592Z] $ docker exec 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 ssh-agent [2022-08-09T16:51:04.710Z] SSH_AUTH_SOCK=/tmp/ssh-jcRjW2pbptOt/agent.73 [2022-08-09T16:51:04.710Z] SSH_AGENT_PID=79 [2022-08-09T16:51:04.715Z] Running ssh-add (command line suppressed) [2022-08-09T16:51:04.828Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_4569976701986837573.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_4569976701986837573.key) [2022-08-09T16:51:04.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T16:51:05.126Z] + git semver init [2022-08-09T16:51:05.386Z] 2022-08-09 16:51:05,373 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T16:51:05.386Z] 2022-08-09 16:51:05,374 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-124/.semver [2022-08-09T16:51:05.386Z] 2022-08-09 16:51:05,374 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-124/.semver [2022-08-09T16:51:05.386Z] 2022-08-09 16:51:05,374 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-124/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-124, universal_newlines=False, shell=None, istream=None) [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,180 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-124/.git/info/exclude [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 with force:False [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,181 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,184 [execute] INFO git cat-file --batch-check [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,193 [execute] INFO git cat-file --batch [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T16:51:06.330Z] 2022-08-09 16:51:06,199 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 [2022-08-09T16:51:06.330Z] 0.0.0 [Pipeline] } [2022-08-09T16:51:06.347Z] $ docker exec --env ******** --env ******** 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 ssh-agent -k [2022-08-09T16:51:06.478Z] unset SSH_AUTH_SOCK; [2022-08-09T16:51:06.479Z] unset SSH_AGENT_PID; [2022-08-09T16:51:06.479Z] echo Agent pid 79 killed; [2022-08-09T16:51:06.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T16:51:06.796Z] + git semver [Pipeline] } [2022-08-09T16:51:07.075Z] $ docker stop --time=1 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 [2022-08-09T16:51:08.369Z] $ docker rm -f 95b708f22b09a23e9d55eb89d3aee66dafb8e566f370c62cbf225128682916a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T16:51:08.724Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T16:51:08.966Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T16:51:08.969Z] [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-09T16:51:09.122Z] provisioning config files... [2022-08-09T16:51:09.131Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config4567505074942518334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T16:51:09.432Z] ---> docker-login.sh [2022-08-09T16:51:09.432Z] nexus3.edgexfoundry.org:10001 [2022-08-09T16:51:09.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:51:09.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:51:09.432Z] Configure a credential helper to remove this warning. See [2022-08-09T16:51:09.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:51:09.432Z] [2022-08-09T16:51:09.432Z] Login Succeeded [2022-08-09T16:51:09.432Z] nexus3.edgexfoundry.org:10002 [2022-08-09T16:51:09.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:51:09.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:51:09.432Z] Configure a credential helper to remove this warning. See [2022-08-09T16:51:09.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:51:09.432Z] [2022-08-09T16:51:09.432Z] Login Succeeded [2022-08-09T16:51:09.432Z] nexus3.edgexfoundry.org:10003 [2022-08-09T16:51:09.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:51:09.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:51:09.697Z] Configure a credential helper to remove this warning. See [2022-08-09T16:51:09.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:51:09.697Z] [2022-08-09T16:51:09.697Z] Login Succeeded [2022-08-09T16:51:09.697Z] nexus3.edgexfoundry.org:10004 [2022-08-09T16:51:09.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:51:09.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:51:09.697Z] Configure a credential helper to remove this warning. See [2022-08-09T16:51:09.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:51:09.697Z] [2022-08-09T16:51:09.697Z] Login Succeeded [2022-08-09T16:51:09.697Z] docker.io [2022-08-09T16:51:09.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:51:10.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:51:10.218Z] Configure a credential helper to remove this warning. See [2022-08-09T16:51:10.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:51:10.218Z] [2022-08-09T16:51:10.218Z] Login Succeeded [2022-08-09T16:51:10.218Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T16:51:10.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T16:51:10.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T16:51:10.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T16:51:10.326Z] ========================================================= [2022-08-09T16:51:10.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T16:51:10.326Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:51:10.660Z] + 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-09T16:51:10.660Z] Sending build context to Docker daemon 20.24MB [2022-08-09T16:51:10.660Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T16:51:10.660Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T16:51:10.924Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T16:51:10.924Z] 2408cc74d12b: Pulling fs layer [2022-08-09T16:51:10.924Z] ea60b727a1ce: Pulling fs layer [2022-08-09T16:51:10.924Z] 30c4a7721957: Pulling fs layer [2022-08-09T16:51:10.924Z] 370296b7ddb6: Pulling fs layer [2022-08-09T16:51:10.924Z] 7c6cee850709: Pulling fs layer [2022-08-09T16:51:10.924Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T16:51:10.924Z] d94ebbe4e438: Pulling fs layer [2022-08-09T16:51:10.924Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T16:51:10.924Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T16:51:10.924Z] 370296b7ddb6: Waiting [2022-08-09T16:51:10.924Z] 7c6cee850709: Waiting [2022-08-09T16:51:10.924Z] 59ccb84bbe0f: Waiting [2022-08-09T16:51:10.924Z] bcfd1f05c69d: Waiting [2022-08-09T16:51:10.924Z] 39a5fcdaea64: Waiting [2022-08-09T16:51:10.924Z] d94ebbe4e438: Waiting [2022-08-09T16:51:10.924Z] 30c4a7721957: Verifying Checksum [2022-08-09T16:51:10.924Z] 30c4a7721957: Download complete [2022-08-09T16:51:10.924Z] ea60b727a1ce: Download complete [2022-08-09T16:51:10.924Z] 7c6cee850709: Verifying Checksum [2022-08-09T16:51:10.924Z] 7c6cee850709: Download complete [2022-08-09T16:51:10.924Z] 39a5fcdaea64: Verifying Checksum [2022-08-09T16:51:10.924Z] 39a5fcdaea64: Download complete [2022-08-09T16:51:10.924Z] 2408cc74d12b: Verifying Checksum [2022-08-09T16:51:10.924Z] 2408cc74d12b: Download complete [2022-08-09T16:51:10.924Z] d94ebbe4e438: Download complete [2022-08-09T16:51:10.924Z] 2408cc74d12b: Pull complete [2022-08-09T16:51:11.192Z] ea60b727a1ce: Pull complete [2022-08-09T16:51:11.192Z] 30c4a7721957: Pull complete [2022-08-09T16:51:11.455Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T16:51:11.455Z] 59ccb84bbe0f: Download complete [2022-08-09T16:51:11.455Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T16:51:11.455Z] bcfd1f05c69d: Download complete [2022-08-09T16:51:11.717Z] 370296b7ddb6: Verifying Checksum [2022-08-09T16:51:11.717Z] 370296b7ddb6: Download complete [2022-08-09T16:51:15.911Z] 370296b7ddb6: Pull complete [2022-08-09T16:51:15.911Z] 7c6cee850709: Pull complete [2022-08-09T16:51:15.911Z] 39a5fcdaea64: Pull complete [2022-08-09T16:51:15.911Z] d94ebbe4e438: Pull complete [2022-08-09T16:51:17.823Z] bcfd1f05c69d: Pull complete [2022-08-09T16:51:18.393Z] 59ccb84bbe0f: Pull complete [2022-08-09T16:51:18.393Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T16:51:18.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T16:51:18.393Z] ---> a4fb48ad2a94 [2022-08-09T16:51:18.393Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T16:51:24.093Z] Still waiting to schedule task [2022-08-09T16:51:24.093Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-09T16:51:26.578Z] ---> Running in 8d2b43ae16ac [2022-08-09T16:51:26.578Z] Removing intermediate container 8d2b43ae16ac [2022-08-09T16:51:26.578Z] ---> 04d401a863fa [2022-08-09T16:51:26.578Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T16:51:26.578Z] ---> Running in 3269f6fe69bf [2022-08-09T16:51:26.578Z] Removing intermediate container 3269f6fe69bf [2022-08-09T16:51:26.578Z] ---> 1dd63f752ebc [2022-08-09T16:51:26.578Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T16:51:26.578Z] ---> Running in bc1a2e58c9c9 [2022-08-09T16:51:26.578Z] Removing intermediate container bc1a2e58c9c9 [2022-08-09T16:51:26.578Z] ---> fdccdde9957c [2022-08-09T16:51:26.578Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T16:51:26.578Z] ---> Running in d2cbaca151ef [2022-08-09T16:51:26.578Z] Removing intermediate container d2cbaca151ef [2022-08-09T16:51:26.578Z] ---> f10c85f1e2e2 [2022-08-09T16:51:26.578Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T16:51:26.578Z] ---> Running in f1a34d4157f9 [2022-08-09T16:51:27.149Z] Removing intermediate container f1a34d4157f9 [2022-08-09T16:51:27.149Z] ---> b3195491ce16 [2022-08-09T16:51:27.149Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T16:51:27.149Z] ---> Running in 632e29d076af [2022-08-09T16:51:27.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T16:51:28.352Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T16:51:28.612Z] OK: 211 MiB in 51 packages [2022-08-09T16:51:28.872Z] Removing intermediate container 632e29d076af [2022-08-09T16:51:28.872Z] ---> 9359d8466229 [2022-08-09T16:51:28.872Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T16:51:28.872Z] ---> Running in a102177b8cde [2022-08-09T16:51:29.131Z] Removing intermediate container a102177b8cde [2022-08-09T16:51:29.131Z] ---> 9e9afbaa3154 [2022-08-09T16:51:29.131Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T16:51:29.131Z] ---> 2528ec014aac [2022-08-09T16:51:29.131Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T16:51:29.131Z] ---> Running in f5bb8cf80c28 [2022-08-09T16:51:55.863Z] Removing intermediate container f5bb8cf80c28 [2022-08-09T16:51:55.863Z] ---> 29dab8c827b2 [2022-08-09T16:51:55.863Z] Step 12/13 : COPY . . [2022-08-09T16:51:55.863Z] ---> 9de678ba3d9f [2022-08-09T16:51:55.863Z] Step 13/13 : RUN ${MAKE} [2022-08-09T16:51:55.863Z] ---> Running in bdc77b051d34 [2022-08-09T16:51:55.863Z] noop [2022-08-09T16:51:55.863Z] Removing intermediate container bdc77b051d34 [2022-08-09T16:51:55.863Z] ---> 8d9805d08806 [2022-08-09T16:51:55.863Z] Successfully built 8d9805d08806 [2022-08-09T16:51:55.863Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:51:56.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T16:51:56.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T16:51:56.271Z] prd-ubuntu20.04-docker-8c-8g-22234 does not seem to be running inside a container [2022-08-09T16:51:57.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T16:51:57.770Z] $ docker top 5f43de9899aeb3bc5e13f25f07843c2b06f3e87f8e9139562761b25d5c234c70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T16:51:58.123Z] + go version [2022-08-09T16:51:58.123Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T16:51:58.138Z] $ docker stop --time=1 5f43de9899aeb3bc5e13f25f07843c2b06f3e87f8e9139562761b25d5c234c70 [2022-08-09T16:51:59.405Z] $ docker rm -f 5f43de9899aeb3bc5e13f25f07843c2b06f3e87f8e9139562761b25d5c234c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:51:59.830Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T16:51:59.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T16:51:59.919Z] prd-ubuntu20.04-docker-8c-8g-22234 does not seem to be running inside a container [2022-08-09T16:51:59.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T16:52:00.339Z] $ docker top b6d73f985bd5dd31d0deefd0ea7e3cc063d9fdac90b727a1865e2c01c58a457d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T16:52:00.692Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] fileExists [Pipeline] sh [2022-08-09T16:52:00.992Z] + make test [2022-08-09T16:52:00.993Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T16:52:01.251Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T16:52:11.229Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T16:52:11.229Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.025s coverage: 10.6% of statements [2022-08-09T16:52:11.229Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T16:52:14.516Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.208s coverage: 13.8% of statements [2022-08-09T16:52:21.095Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T16:52:23.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T16:52:23.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T16:52:23.641Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T16:52:24.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T16:52:24.244Z] $ docker stop --time=1 b6d73f985bd5dd31d0deefd0ea7e3cc063d9fdac90b727a1865e2c01c58a457d [2022-08-09T16:52:28.082Z] $ docker rm -f b6d73f985bd5dd31d0deefd0ea7e3cc063d9fdac90b727a1865e2c01c58a457d [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T16:52:28.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T16:52:28.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T16:52:29.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T16:52:29.419Z] + ls -al . [2022-08-09T16:52:29.419Z] total 232 [2022-08-09T16:52:29.419Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 16:52 . [2022-08-09T16:52:29.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 16:50 .. [2022-08-09T16:52:29.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 16:52 .git [2022-08-09T16:52:29.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 16:50 .github [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 16:50 .gitignore [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 16:50 .golangci.yml [2022-08-09T16:52:29.419Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 16:51 .semver [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 16:50 Attribution.txt [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 16:50 CHANGELOG.md [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 16:50 Dockerfile [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 16:50 GOVERNANCE.md [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 16:50 Jenkinsfile [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 16:50 LICENSE [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 2615 Aug 9 16:50 Makefile [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 16:50 OWNERS.md [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 16:50 README.md [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 16:51 VERSION [2022-08-09T16:52:29.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 16:50 bin [2022-08-09T16:52:29.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 16:50 cmd [2022-08-09T16:52:29.419Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 16:52 coverage.out [2022-08-09T16:52:29.419Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 16:50 doc [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 16:50 go.mod [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 16:50 go.sum [2022-08-09T16:52:29.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 16:50 internal [2022-08-09T16:52:29.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 16:50 snap [2022-08-09T16:52:29.419Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 16:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:52:30.067Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0f6dfa264ee3accaca6e357daf21dd516d1141f5 --label arch=amd64 --label version=0.0.0 . [2022-08-09T16:52:30.067Z] Sending build context to Docker daemon 20.32MB [2022-08-09T16:52:30.067Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T16:52:30.067Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T16:52:30.067Z] ---> 8d9805d08806 [2022-08-09T16:52:30.067Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T16:52:30.328Z] ---> Running in 3ed1f288ba69 [2022-08-09T16:52:30.328Z] Removing intermediate container 3ed1f288ba69 [2022-08-09T16:52:30.328Z] ---> 93df59a0f7c7 [2022-08-09T16:52:30.328Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T16:52:30.328Z] ---> Running in 184eed465365 [2022-08-09T16:52:30.328Z] Removing intermediate container 184eed465365 [2022-08-09T16:52:30.328Z] ---> 87d919c56ce8 [2022-08-09T16:52:30.328Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T16:52:30.328Z] ---> Running in 822ffa960d09 [2022-08-09T16:52:30.587Z] Removing intermediate container 822ffa960d09 [2022-08-09T16:52:30.587Z] ---> ac55d09e87e3 [2022-08-09T16:52:30.587Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T16:52:30.587Z] ---> Running in cc4fcfb40480 [2022-08-09T16:52:30.587Z] Removing intermediate container cc4fcfb40480 [2022-08-09T16:52:30.587Z] ---> 10c5fec94ebe [2022-08-09T16:52:30.587Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T16:52:30.587Z] ---> Running in 1d83032061f3 [2022-08-09T16:52:31.157Z] Removing intermediate container 1d83032061f3 [2022-08-09T16:52:31.157Z] ---> 5385791c41ee [2022-08-09T16:52:31.157Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T16:52:31.416Z] ---> Running in 31c8296324ca [2022-08-09T16:52:31.676Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T16:52:32.620Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T16:52:32.880Z] OK: 211 MiB in 51 packages [2022-08-09T16:52:33.451Z] Removing intermediate container 31c8296324ca [2022-08-09T16:52:33.451Z] ---> 0b251550d5b6 [2022-08-09T16:52:33.451Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T16:52:33.451Z] ---> Running in ddad7f6915a0 [2022-08-09T16:52:33.451Z] Removing intermediate container ddad7f6915a0 [2022-08-09T16:52:33.451Z] ---> 2de98635dfd8 [2022-08-09T16:52:33.451Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T16:52:33.451Z] ---> f5dc5d7b9a22 [2022-08-09T16:52:33.451Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T16:52:33.451Z] ---> Running in 7bbfce581357 [2022-08-09T16:52:34.387Z] Removing intermediate container 7bbfce581357 [2022-08-09T16:52:34.387Z] ---> 78cb3ad052c9 [2022-08-09T16:52:34.387Z] Step 12/26 : COPY . . [2022-08-09T16:52:35.326Z] ---> bb7222de3fde [2022-08-09T16:52:35.326Z] Step 13/26 : RUN ${MAKE} [2022-08-09T16:52:35.326Z] ---> Running in 251e317284a4 [2022-08-09T16:52:35.585Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T16:53:02.175Z] Removing intermediate container 251e317284a4 [2022-08-09T16:53:02.175Z] ---> e5d5487b5410 [2022-08-09T16:53:02.175Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T16:53:02.175Z] 3.15: Pulling from library/alpine [2022-08-09T16:53:02.175Z] ab6db1bc80d0: Pulling fs layer [2022-08-09T16:53:02.175Z] ab6db1bc80d0: Download complete [2022-08-09T16:53:02.175Z] ab6db1bc80d0: Pull complete [2022-08-09T16:53:02.175Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-09T16:53:02.175Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T16:53:02.175Z] ---> 2720e26172a0 [2022-08-09T16:53:02.175Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T16:53:02.175Z] ---> Running in 75761d6d7bcc [2022-08-09T16:53:02.175Z] Removing intermediate container 75761d6d7bcc [2022-08-09T16:53:02.175Z] ---> 0ec65f487d9b [2022-08-09T16:53:02.175Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T16:53:02.175Z] ---> Running in fc0132c51442 [2022-08-09T16:53:02.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-09T16:53:02.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-09T16:53:02.175Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T16:53:02.175Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T16:53:02.175Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T16:53:02.175Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T16:53:02.175Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T16:53:02.175Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T16:53:02.175Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T16:53:02.175Z] OK: 8 MiB in 20 packages [2022-08-09T16:53:02.175Z] Removing intermediate container fc0132c51442 [2022-08-09T16:53:02.175Z] ---> 84f0047a3cc4 [2022-08-09T16:53:02.175Z] Step 17/26 : WORKDIR / [2022-08-09T16:53:02.175Z] ---> Running in 253b16d5cfa4 [2022-08-09T16:53:02.175Z] Removing intermediate container 253b16d5cfa4 [2022-08-09T16:53:02.175Z] ---> 813075c546a1 [2022-08-09T16:53:02.175Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T16:53:02.436Z] ---> 2b82f76f0e47 [2022-08-09T16:53:02.436Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T16:53:02.436Z] ---> cb6a162c8200 [2022-08-09T16:53:02.436Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T16:53:02.436Z] ---> 050b40c84b9e [2022-08-09T16:53:02.436Z] Step 21/26 : EXPOSE 59984 [2022-08-09T16:53:02.696Z] ---> Running in 31a6a5203ee7 [2022-08-09T16:53:02.697Z] Removing intermediate container 31a6a5203ee7 [2022-08-09T16:53:02.697Z] ---> ebc30086dee9 [2022-08-09T16:53:02.697Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T16:53:02.697Z] ---> Running in 194b9ab3b6f0 [2022-08-09T16:53:02.697Z] Removing intermediate container 194b9ab3b6f0 [2022-08-09T16:53:02.697Z] ---> fa0467038cf9 [2022-08-09T16:53:02.697Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T16:53:02.697Z] ---> Running in e69c9bc756fe [2022-08-09T16:53:02.956Z] Removing intermediate container e69c9bc756fe [2022-08-09T16:53:02.956Z] ---> 987871c53dbf [2022-08-09T16:53:02.956Z] Step 24/26 : LABEL arch=amd64 [2022-08-09T16:53:02.956Z] ---> Running in c45eb38b0cea [2022-08-09T16:53:02.956Z] Removing intermediate container c45eb38b0cea [2022-08-09T16:53:02.956Z] ---> 62b3cf163fce [2022-08-09T16:53:02.956Z] Step 25/26 : LABEL git_sha=0f6dfa264ee3accaca6e357daf21dd516d1141f5 [2022-08-09T16:53:02.956Z] ---> Running in 1b378c86e635 [2022-08-09T16:53:02.956Z] Removing intermediate container 1b378c86e635 [2022-08-09T16:53:02.956Z] ---> cffab87a6d95 [2022-08-09T16:53:02.956Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T16:53:02.956Z] ---> Running in b95609e4d350 [2022-08-09T16:53:03.216Z] Removing intermediate container b95609e4d350 [2022-08-09T16:53:03.216Z] ---> 2f4fc641b93e [2022-08-09T16:53:03.216Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T16:53:03.216Z] Successfully built 2f4fc641b93e [2022-08-09T16:53:03.216Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:53:03.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T16:53:03.662Z] [2022-08-09T16:53:03.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:53:03.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T16:53:03.969Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T16:53:03.969Z] 5eb5b503b376: Pulling fs layer [2022-08-09T16:53:03.969Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T16:53:03.969Z] ec43610c2a17: Pulling fs layer [2022-08-09T16:53:03.969Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T16:53:03.969Z] 33b1e0a273af: Pulling fs layer [2022-08-09T16:53:03.969Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T16:53:03.969Z] 2f39f015ded8: Pulling fs layer [2022-08-09T16:53:03.969Z] 3a2ae6a8a46f: Waiting [2022-08-09T16:53:03.969Z] 33b1e0a273af: Waiting [2022-08-09T16:53:03.969Z] 5d3b04190fa2: Waiting [2022-08-09T16:53:03.969Z] 2f39f015ded8: Waiting [2022-08-09T16:53:03.969Z] 5c69ac0246d0: Verifying Checksum [2022-08-09T16:53:03.969Z] 5c69ac0246d0: Download complete [2022-08-09T16:53:03.969Z] 3a2ae6a8a46f: Download complete [2022-08-09T16:53:04.230Z] 33b1e0a273af: Verifying Checksum [2022-08-09T16:53:04.230Z] 33b1e0a273af: Download complete [2022-08-09T16:53:04.230Z] 5d3b04190fa2: Verifying Checksum [2022-08-09T16:53:04.230Z] 5d3b04190fa2: Download complete [2022-08-09T16:53:04.230Z] ec43610c2a17: Verifying Checksum [2022-08-09T16:53:04.230Z] ec43610c2a17: Download complete [2022-08-09T16:53:04.230Z] 5eb5b503b376: Download complete [2022-08-09T16:53:04.801Z] 2f39f015ded8: Download complete [2022-08-09T16:53:05.369Z] 5eb5b503b376: Pull complete [2022-08-09T16:53:05.629Z] 5c69ac0246d0: Pull complete [2022-08-09T16:53:06.199Z] ec43610c2a17: Pull complete [2022-08-09T16:53:06.199Z] 3a2ae6a8a46f: Pull complete [2022-08-09T16:53:06.199Z] 33b1e0a273af: Pull complete [2022-08-09T16:53:06.458Z] 5d3b04190fa2: Pull complete [2022-08-09T16:53:10.648Z] 2f39f015ded8: Pull complete [2022-08-09T16:53:10.648Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T16:53:10.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T16:53:10.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T16:53:10.745Z] prd-ubuntu20.04-docker-8c-8g-22234 does not seem to be running inside a container [2022-08-09T16:53:10.786Z] $ 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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T16:53:14.786Z] $ docker top ce445e9af05224980cdeac3592239402935d891b84807aa92a34a90aeb171891 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T16:53:15.249Z] ---> job-cost.sh [2022-08-09T16:53:15.249Z] lf-activate-venv: SKIPPING [2022-08-09T16:53:15.249Z] INFO: No Stack... [2022-08-09T16:53:15.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T16:53:16.085Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T16:53:16.377Z] + cat /w/workspace/undry_device-onvif-camera_PR-124/archives/cost.csv [2022-08-09T16:53:16.377Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T16:53:16.393Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] [2022-08-09T16:53:16.403Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] did not exist. Created. [2022-08-09T16:53:16.403Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T16:53:16.710Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-09T16:53:16.731Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T16:53:16.737Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T16:53:16.760Z] $ docker stop --time=1 ce445e9af05224980cdeac3592239402935d891b84807aa92a34a90aeb171891 [2022-08-09T16:53:17.956Z] $ docker rm -f ce445e9af05224980cdeac3592239402935d891b84807aa92a34a90aeb171891 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-09T16:55:48.222Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22235 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] ws [2022-08-09T16:55:48.234Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-08-09T16:55:48.272Z] Selected Git installation does not exist. Using Default [2022-08-09T16:55:48.272Z] The recommended git tool is: NONE [2022-08-09T16:55:55.617Z] using credential edgex-jenkins-ssh [2022-08-09T16:55:55.640Z] Cloning the remote Git repository [2022-08-09T16:55:55.718Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T16:55:55.810Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-08-09T16:55:55.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T16:55:55.918Z] > git --version # timeout=10 [2022-08-09T16:55:55.943Z] > git --version # 'git version 2.25.1' [2022-08-09T16:55:55.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T16:55:56.035Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T16:55:57.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T16:55:57.272Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T16:55:57.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T16:55:57.359Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T16:55:57.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T16:55:57.380Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T16:55:57.928Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 28b4b90632443e9aaf3823903ea125f36a9c4252 [2022-08-09T16:55:58.655Z] Merge succeeded, producing 54d74bf199cac6dae47c557ff27c0563d3bad930 [2022-08-09T16:55:58.655Z] Checking out Revision 54d74bf199cac6dae47c557ff27c0563d3bad930 (PR-124) [2022-08-09T16:55:57.951Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T16:55:57.974Z] > git checkout -f 28b4b90632443e9aaf3823903ea125f36a9c4252 # timeout=10 [2022-08-09T16:55:58.202Z] > git remote # timeout=10 [2022-08-09T16:55:58.222Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T16:55:58.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T16:55:58.256Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-09T16:55:58.642Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T16:55:58.667Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T16:55:58.680Z] > git checkout -f 54d74bf199cac6dae47c557ff27c0563d3bad930 # timeout=10 [2022-08-09T16:56:03.216Z] Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" [2022-08-09T16:56:03.246Z] First time build. Skipping changelog. [2022-08-09T16:56:03.231Z] > git rev-list --no-walk 2fe509be12b62d1e18a1593104818c092c2f2e92 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T16:56:04.319Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T16:56:04.319Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T16:56:04.319Z] Dload Upload Total Spent Left Speed [2022-08-09T16:56:04.319Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 81668 0 --:--:-- --:--:-- --:--:-- 82213 [Pipeline] sh [2022-08-09T16:56:05.072Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T16:56:05.476Z] + sudo+ tee /etc/docker/daemon.newsudo [2022-08-09T16:56:05.476Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-09T16:56:05.476Z] { [2022-08-09T16:56:05.476Z] "registry-mirrors": [ [2022-08-09T16:56:05.476Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T16:56:05.476Z] ], [2022-08-09T16:56:05.476Z] "bip": "10.250.0.254/24", [2022-08-09T16:56:05.476Z] "hosts": [ [2022-08-09T16:56:05.476Z] "tcp://0.0.0.0:5555", [2022-08-09T16:56:05.476Z] "unix:///var/run/docker.sock" [2022-08-09T16:56:05.476Z] ], [2022-08-09T16:56:05.476Z] "mtu": 1458, [2022-08-09T16:56:05.476Z] "selinux-enabled": true, [2022-08-09T16:56:05.476Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T16:56:05.476Z] } [Pipeline] sh [2022-08-09T16:56:05.839Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-09T16:56:06.194Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T16:56:24.556Z] provisioning config files... [2022-08-09T16:56:24.582Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config7996322401941386545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T16:56:24.947Z] ---> docker-login.sh [2022-08-09T16:56:24.947Z] nexus3.edgexfoundry.org:10001 [2022-08-09T16:56:25.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:56:25.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:56:25.815Z] Configure a credential helper to remove this warning. See [2022-08-09T16:56:25.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:56:25.815Z] [2022-08-09T16:56:25.815Z] Login Succeeded [2022-08-09T16:56:25.815Z] nexus3.edgexfoundry.org:10002 [2022-08-09T16:56:26.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:56:26.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:56:26.359Z] Configure a credential helper to remove this warning. See [2022-08-09T16:56:26.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:56:26.359Z] [2022-08-09T16:56:26.359Z] Login Succeeded [2022-08-09T16:56:26.359Z] nexus3.edgexfoundry.org:10003 [2022-08-09T16:56:26.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:56:26.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:56:26.907Z] Configure a credential helper to remove this warning. See [2022-08-09T16:56:26.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:56:26.907Z] [2022-08-09T16:56:26.907Z] Login Succeeded [2022-08-09T16:56:26.907Z] nexus3.edgexfoundry.org:10004 [2022-08-09T16:56:27.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:56:27.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:56:27.179Z] Configure a credential helper to remove this warning. See [2022-08-09T16:56:27.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:56:27.179Z] [2022-08-09T16:56:27.179Z] Login Succeeded [2022-08-09T16:56:27.451Z] docker.io [2022-08-09T16:56:27.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T16:56:27.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T16:56:27.997Z] Configure a credential helper to remove this warning. See [2022-08-09T16:56:27.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T16:56:27.997Z] [2022-08-09T16:56:27.997Z] Login Succeeded [2022-08-09T16:56:27.997Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T16:56:28.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T16:56:28.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T16:56:28.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T16:56:28.693Z] ========================================================= [2022-08-09T16:56:28.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T16:56:28.693Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:56:29.153Z] + 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-09T16:56:29.757Z] Sending build context to Docker daemon 13.87MB [2022-08-09T16:56:29.757Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T16:56:29.757Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T16:56:30.041Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T16:56:30.041Z] b3c136eddcbf: Pulling fs layer [2022-08-09T16:56:30.041Z] c0a3192eca97: Pulling fs layer [2022-08-09T16:56:30.041Z] a050256f5b6f: Pulling fs layer [2022-08-09T16:56:30.041Z] 656be50a0ddc: Pulling fs layer [2022-08-09T16:56:30.041Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T16:56:30.041Z] 46d945488cbd: Pulling fs layer [2022-08-09T16:56:30.041Z] 8a5474983e97: Pulling fs layer [2022-08-09T16:56:30.041Z] 329c88fbcd65: Pulling fs layer [2022-08-09T16:56:30.041Z] 46d945488cbd: Waiting [2022-08-09T16:56:30.041Z] 656be50a0ddc: Waiting [2022-08-09T16:56:30.041Z] 2bbca73fdf42: Waiting [2022-08-09T16:56:30.042Z] 329c88fbcd65: Waiting [2022-08-09T16:56:30.042Z] 8a5474983e97: Waiting [2022-08-09T16:56:30.042Z] a050256f5b6f: Download complete [2022-08-09T16:56:30.042Z] c0a3192eca97: Verifying Checksum [2022-08-09T16:56:30.042Z] c0a3192eca97: Download complete [2022-08-09T16:56:30.042Z] 2bbca73fdf42: Download complete [2022-08-09T16:56:30.042Z] 46d945488cbd: Verifying Checksum [2022-08-09T16:56:30.042Z] 46d945488cbd: Download complete [2022-08-09T16:56:30.042Z] b3c136eddcbf: Download complete [2022-08-09T16:56:31.034Z] b3c136eddcbf: Pull complete [2022-08-09T16:56:31.315Z] 329c88fbcd65: Verifying Checksum [2022-08-09T16:56:31.315Z] 329c88fbcd65: Download complete [2022-08-09T16:56:31.921Z] c0a3192eca97: Pull complete [2022-08-09T16:56:32.205Z] a050256f5b6f: Pull complete [2022-08-09T16:56:32.482Z] 8a5474983e97: Download complete [2022-08-09T16:56:33.471Z] 656be50a0ddc: Verifying Checksum [2022-08-09T16:56:33.471Z] 656be50a0ddc: Download complete [2022-08-09T16:56:48.566Z] 656be50a0ddc: Pull complete [2022-08-09T16:56:48.566Z] 2bbca73fdf42: Pull complete [2022-08-09T16:56:48.566Z] 46d945488cbd: Pull complete [2022-08-09T16:56:54.004Z] 8a5474983e97: Pull complete [2022-08-09T16:56:56.642Z] 329c88fbcd65: Pull complete [2022-08-09T16:56:56.642Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T16:56:56.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T16:56:56.642Z] ---> ff4287adb874 [2022-08-09T16:56:56.642Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T16:56:58.628Z] ---> Running in 9fb678ecea1b [2022-08-09T16:56:58.628Z] Removing intermediate container 9fb678ecea1b [2022-08-09T16:56:58.628Z] ---> 492b5dfcca1b [2022-08-09T16:56:58.628Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T16:56:58.628Z] ---> Running in 8862fd61b156 [2022-08-09T16:56:58.904Z] Removing intermediate container 8862fd61b156 [2022-08-09T16:56:58.904Z] ---> 3bd98177317c [2022-08-09T16:56:58.904Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T16:56:59.187Z] ---> Running in 9c81b36a5fd5 [2022-08-09T16:56:59.460Z] Removing intermediate container 9c81b36a5fd5 [2022-08-09T16:56:59.461Z] ---> 9737a24c4a52 [2022-08-09T16:56:59.461Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T16:56:59.461Z] ---> Running in 938a7065b5f9 [2022-08-09T16:56:59.739Z] Removing intermediate container 938a7065b5f9 [2022-08-09T16:56:59.739Z] ---> 33c3ca81c6c5 [2022-08-09T16:56:59.739Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T16:56:59.739Z] ---> Running in b380b593fcfe [2022-08-09T16:57:01.719Z] Removing intermediate container b380b593fcfe [2022-08-09T16:57:01.719Z] ---> 2bdb8cf4028d [2022-08-09T16:57:01.719Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T16:57:01.719Z] ---> Running in 611bed94e3e6 [2022-08-09T16:57:02.705Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T16:57:03.691Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T16:57:04.671Z] OK: 221 MiB in 51 packages [2022-08-09T16:57:05.657Z] Removing intermediate container 611bed94e3e6 [2022-08-09T16:57:05.657Z] ---> 2530b2438d54 [2022-08-09T16:57:05.657Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T16:57:05.657Z] ---> Running in d8680225c4e3 [2022-08-09T16:57:05.929Z] Removing intermediate container d8680225c4e3 [2022-08-09T16:57:05.929Z] ---> 8fe7b37fe164 [2022-08-09T16:57:05.929Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T16:57:06.533Z] ---> 7153b5b46e6b [2022-08-09T16:57:06.533Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T16:57:06.533Z] ---> Running in 807f38aeb45d [2022-08-09T16:57:53.532Z] Removing intermediate container 807f38aeb45d [2022-08-09T16:57:53.532Z] ---> 67c1c4f40f5e [2022-08-09T16:57:53.532Z] Step 12/13 : COPY . . [2022-08-09T16:57:54.971Z] ---> f748bd16b332 [2022-08-09T16:57:54.971Z] Step 13/13 : RUN ${MAKE} [2022-08-09T16:57:54.971Z] ---> Running in 4228a13afe64 [2022-08-09T16:57:55.959Z] noop [2022-08-09T16:57:56.948Z] Removing intermediate container 4228a13afe64 [2022-08-09T16:57:56.948Z] ---> 209b8fbf3c36 [2022-08-09T16:57:56.948Z] Successfully built 209b8fbf3c36 [2022-08-09T16:57:56.948Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:57:57.345Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T16:57:57.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T16:57:57.626Z] prd-ubuntu20.04-docker-arm64-4c-16g-22235 does not seem to be running inside a container [2022-08-09T16:57:57.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T16:57:59.153Z] $ docker top 6cf8723d467df26dc6674c4a165f7a9f2a63473b254a98c25efd222e7dac3a3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T16:58:00.096Z] + go version [2022-08-09T16:58:00.096Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T16:58:00.129Z] $ docker stop --time=1 6cf8723d467df26dc6674c4a165f7a9f2a63473b254a98c25efd222e7dac3a3a [2022-08-09T16:58:01.814Z] $ docker rm -f 6cf8723d467df26dc6674c4a165f7a9f2a63473b254a98c25efd222e7dac3a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T16:58:02.434Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T16:58:02.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T16:58:02.709Z] prd-ubuntu20.04-docker-arm64-4c-16g-22235 does not seem to be running inside a container [2022-08-09T16:58:02.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T16:58:04.114Z] $ docker top 94af3a3b5650bd0db60e489f41249a5d704199e8d33f20bed4dcf047fb25a290 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T16:58:05.049Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-08-09T16:58:05.729Z] + make test [2022-08-09T16:58:05.729Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T16:58:07.717Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T16:59:44.636Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T16:59:48.075Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.138s coverage: 10.6% of statements [2022-08-09T16:59:48.075Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T17:00:10.260Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.279s coverage: 13.8% of statements [2022-08-09T17:00:10.260Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-09T17:00:10.260Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T17:00:37.254Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T17:00:37.254Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T17:00:37.254Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T17:00:38.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T17:00:38.285Z] $ docker stop --time=1 94af3a3b5650bd0db60e489f41249a5d704199e8d33f20bed4dcf047fb25a290 [2022-08-09T17:00:40.157Z] $ docker rm -f 94af3a3b5650bd0db60e489f41249a5d704199e8d33f20bed4dcf047fb25a290 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T17:00:41.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T17:00:41.265Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T17:00:41.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T17:00:42.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T17:00:42.664Z] + ls -al . [2022-08-09T17:00:42.665Z] total 228 [2022-08-09T17:00:42.665Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 17:00 . [2022-08-09T17:00:42.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 16:55 .. [2022-08-09T17:00:42.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 16:56 .git [2022-08-09T17:00:42.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 16:55 .github [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 16:55 .gitignore [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 16:55 .golangci.yml [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 16:55 Attribution.txt [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 16:55 CHANGELOG.md [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 16:55 Dockerfile [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 16:55 GOVERNANCE.md [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 16:55 Jenkinsfile [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 16:55 LICENSE [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 2615 Aug 9 16:55 Makefile [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 16:55 OWNERS.md [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 16:55 README.md [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 16:51 VERSION [2022-08-09T17:00:42.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 16:55 bin [2022-08-09T17:00:42.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 16:55 cmd [2022-08-09T17:00:42.665Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 17:00 coverage.out [2022-08-09T17:00:42.665Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 16:55 doc [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 16:55 go.mod [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 16:55 go.sum [2022-08-09T17:00:42.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 16:55 internal [2022-08-09T17:00:42.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 16:55 snap [2022-08-09T17:00:42.665Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 16:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T17:00:43.027Z] + 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=54d74bf199cac6dae47c557ff27c0563d3bad930 --label arch=arm64 --label version=0.0.0 . [2022-08-09T17:00:43.624Z] Sending build context to Docker daemon 13.95MB [2022-08-09T17:00:43.624Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T17:00:43.624Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T17:00:43.624Z] ---> 209b8fbf3c36 [2022-08-09T17:00:43.624Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T17:00:43.899Z] ---> Running in 78113eba925c [2022-08-09T17:00:44.175Z] Removing intermediate container 78113eba925c [2022-08-09T17:00:44.175Z] ---> dc6c3a6e334f [2022-08-09T17:00:44.175Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T17:00:44.175Z] ---> Running in 3adb97302f44 [2022-08-09T17:00:44.452Z] Removing intermediate container 3adb97302f44 [2022-08-09T17:00:44.452Z] ---> 33b159894974 [2022-08-09T17:00:44.452Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T17:00:44.727Z] ---> Running in b24bec107a11 [2022-08-09T17:00:44.999Z] Removing intermediate container b24bec107a11 [2022-08-09T17:00:44.999Z] ---> 67042db33ad3 [2022-08-09T17:00:44.999Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T17:00:44.999Z] ---> Running in cfed109f2f06 [2022-08-09T17:00:45.275Z] Removing intermediate container cfed109f2f06 [2022-08-09T17:00:45.275Z] ---> 18aac079517d [2022-08-09T17:00:45.275Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T17:00:45.561Z] ---> Running in 09dae553c7c6 [2022-08-09T17:00:47.542Z] Removing intermediate container 09dae553c7c6 [2022-08-09T17:00:47.542Z] ---> dd4bb0d73192 [2022-08-09T17:00:47.542Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T17:00:47.542Z] ---> Running in 12f73d4c89aa [2022-08-09T17:00:48.518Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T17:00:49.499Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T17:00:50.472Z] OK: 221 MiB in 51 packages [2022-08-09T17:00:51.066Z] Removing intermediate container 12f73d4c89aa [2022-08-09T17:00:51.066Z] ---> f8b6f87e4552 [2022-08-09T17:00:51.066Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T17:00:51.340Z] ---> Running in 0833d87dbe0d [2022-08-09T17:00:51.612Z] Removing intermediate container 0833d87dbe0d [2022-08-09T17:00:51.612Z] ---> 4a0b4aebf164 [2022-08-09T17:00:51.612Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T17:00:52.206Z] ---> d6c0a92f52fd [2022-08-09T17:00:52.206Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T17:00:52.206Z] ---> Running in c44924f8d8f7 [2022-08-09T17:00:54.181Z] Removing intermediate container c44924f8d8f7 [2022-08-09T17:00:54.181Z] ---> 2700542a8a79 [2022-08-09T17:00:54.181Z] Step 12/26 : COPY . . [2022-08-09T17:00:55.615Z] ---> 7696ba0f2def [2022-08-09T17:00:55.615Z] Step 13/26 : RUN ${MAKE} [2022-08-09T17:00:55.889Z] ---> Running in 08ba95c3fa98 [2022-08-09T17:00:56.864Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T17:03:18.727Z] Removing intermediate container 08ba95c3fa98 [2022-08-09T17:03:18.727Z] ---> 8cb0160b7d4d [2022-08-09T17:03:18.727Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T17:03:18.727Z] 3.15: Pulling from library/alpine [2022-08-09T17:03:18.727Z] e0295fd11fe2: Pulling fs layer [2022-08-09T17:03:18.727Z] e0295fd11fe2: Verifying Checksum [2022-08-09T17:03:18.727Z] e0295fd11fe2: Download complete [2022-08-09T17:03:18.727Z] e0295fd11fe2: Pull complete [2022-08-09T17:03:18.727Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-09T17:03:18.727Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T17:03:18.727Z] ---> 60f2846fe774 [2022-08-09T17:03:18.727Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T17:03:18.727Z] ---> Running in 47c89cd19d2b [2022-08-09T17:03:18.727Z] Removing intermediate container 47c89cd19d2b [2022-08-09T17:03:18.727Z] ---> b827a5ad2583 [2022-08-09T17:03:18.727Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T17:03:18.727Z] ---> Running in 6c61e76ee92d [2022-08-09T17:03:19.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-09T17:03:19.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-09T17:03:20.965Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T17:03:20.965Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T17:03:20.965Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T17:03:20.965Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T17:03:21.239Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T17:03:21.239Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T17:03:21.239Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T17:03:21.239Z] OK: 8 MiB in 20 packages [2022-08-09T17:03:22.217Z] Removing intermediate container 6c61e76ee92d [2022-08-09T17:03:22.217Z] ---> c9d208de8add [2022-08-09T17:03:22.217Z] Step 17/26 : WORKDIR / [2022-08-09T17:03:22.217Z] ---> Running in 8d5b689942ed [2022-08-09T17:03:22.491Z] Removing intermediate container 8d5b689942ed [2022-08-09T17:03:22.491Z] ---> 225bb071ef11 [2022-08-09T17:03:22.491Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T17:03:23.928Z] ---> 9673f47e9b1c [2022-08-09T17:03:23.928Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T17:03:24.528Z] ---> a0d7161f43a1 [2022-08-09T17:03:24.528Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T17:03:25.126Z] ---> 219567737fbb [2022-08-09T17:03:25.126Z] Step 21/26 : EXPOSE 59984 [2022-08-09T17:03:25.126Z] ---> Running in fb9f59145b53 [2022-08-09T17:03:25.409Z] Removing intermediate container fb9f59145b53 [2022-08-09T17:03:25.409Z] ---> a6b6cc43585e [2022-08-09T17:03:25.409Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T17:03:25.409Z] ---> Running in 7ee13842e7ca [2022-08-09T17:03:26.003Z] Removing intermediate container 7ee13842e7ca [2022-08-09T17:03:26.003Z] ---> a5d5478c323c [2022-08-09T17:03:26.003Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T17:03:26.003Z] ---> Running in efecd6ac07b1 [2022-08-09T17:03:26.275Z] Removing intermediate container efecd6ac07b1 [2022-08-09T17:03:26.275Z] ---> 82d3239390c9 [2022-08-09T17:03:26.275Z] Step 24/26 : LABEL arch=arm64 [2022-08-09T17:03:26.275Z] ---> Running in 66d0bf412e03 [2022-08-09T17:03:26.546Z] Removing intermediate container 66d0bf412e03 [2022-08-09T17:03:26.546Z] ---> f675a1d255a5 [2022-08-09T17:03:26.546Z] Step 25/26 : LABEL git_sha=54d74bf199cac6dae47c557ff27c0563d3bad930 [2022-08-09T17:03:26.837Z] ---> Running in 837b7fbbf9be [2022-08-09T17:03:27.111Z] Removing intermediate container 837b7fbbf9be [2022-08-09T17:03:27.111Z] ---> 25d41f83c1d9 [2022-08-09T17:03:27.111Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T17:03:27.111Z] ---> Running in bb35554efd01 [2022-08-09T17:03:27.385Z] Removing intermediate container bb35554efd01 [2022-08-09T17:03:27.385Z] ---> 72158090b7ac [2022-08-09T17:03:27.385Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T17:03:27.659Z] Successfully built 72158090b7ac [2022-08-09T17:03:27.659Z] 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-09T17:03:28.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T17:03:28.124Z] [2022-08-09T17:03:28.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T17:03:28.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T17:03:28.756Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T17:03:28.756Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T17:03:28.756Z] 04944245beec: Pulling fs layer [2022-08-09T17:03:28.756Z] 699f458cf7ca: Pulling fs layer [2022-08-09T17:03:28.756Z] 765212b225bb: Pulling fs layer [2022-08-09T17:03:28.756Z] f23df028b6ca: Pulling fs layer [2022-08-09T17:03:28.756Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T17:03:28.756Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T17:03:28.756Z] 765212b225bb: Waiting [2022-08-09T17:03:28.756Z] f23df028b6ca: Waiting [2022-08-09T17:03:28.756Z] d65c8cfc05b1: Waiting [2022-08-09T17:03:28.756Z] 2437ff75d9bd: Waiting [2022-08-09T17:03:28.756Z] 04944245beec: Verifying Checksum [2022-08-09T17:03:28.756Z] 04944245beec: Download complete [2022-08-09T17:03:28.756Z] 765212b225bb: Verifying Checksum [2022-08-09T17:03:28.756Z] 765212b225bb: Download complete [2022-08-09T17:03:28.756Z] f23df028b6ca: Download complete [2022-08-09T17:03:28.756Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T17:03:28.756Z] d65c8cfc05b1: Download complete [2022-08-09T17:03:29.032Z] 699f458cf7ca: Verifying Checksum [2022-08-09T17:03:29.032Z] 699f458cf7ca: Download complete [2022-08-09T17:03:29.306Z] 8998bd30e6a1: Verifying Checksum [2022-08-09T17:03:29.306Z] 8998bd30e6a1: Download complete [2022-08-09T17:03:31.946Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T17:03:31.946Z] 2437ff75d9bd: Download complete [2022-08-09T17:03:33.928Z] 8998bd30e6a1: Pull complete [2022-08-09T17:03:34.204Z] 04944245beec: Pull complete [2022-08-09T17:03:35.640Z] 699f458cf7ca: Pull complete [2022-08-09T17:03:36.238Z] 765212b225bb: Pull complete [2022-08-09T17:03:36.842Z] f23df028b6ca: Pull complete [2022-08-09T17:03:37.132Z] d65c8cfc05b1: Pull complete [2022-08-09T17:03:55.601Z] 2437ff75d9bd: Pull complete [2022-08-09T17:03:55.601Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T17:03:55.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T17:03:55.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T17:03:55.865Z] prd-ubuntu20.04-docker-arm64-4c-16g-22235 does not seem to be running inside a container [2022-08-09T17:03:55.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-09T17:03:58.923Z] $ docker top 8b221b6e05b4c60e755f51aa258b3daa76b89e1bbb73cbb98781f567f2cd4c5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:03:59.876Z] ---> job-cost.sh [2022-08-09T17:03:59.876Z] lf-activate-venv: SKIPPING [2022-08-09T17:03:59.876Z] INFO: No Stack... [2022-08-09T17:04:00.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T17:04:01.451Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T17:04:02.119Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-08-09T17:04:02.119Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T17:04:02.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] [2022-08-09T17:04:02.196Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] did not exist. Created. [2022-08-09T17:04:02.196Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T17:04:02.883Z] /w/workspace/device-onvif-camera/6@tmp/durable-20a0d96d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T17:04:03.567Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T17:04:03.587Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T17:04:03.651Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T17:04:03.657Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T17:04:03.686Z] $ docker stop --time=1 8b221b6e05b4c60e755f51aa258b3daa76b89e1bbb73cbb98781f567f2cd4c5e [2022-08-09T17:04:05.275Z] $ docker rm -f 8b221b6e05b4c60e755f51aa258b3daa76b89e1bbb73cbb98781f567f2cd4c5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-09T17:04:05.800Z] provisioning config files... [2022-08-09T17:04:05.809Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config2245085574414884133tmp [Pipeline] { [Pipeline] sh [2022-08-09T17:04:06.109Z] + set +x [2022-08-09T17:04:06.109Z] + curl -s https://codecov.io/bash [2022-08-09T17:04:06.109Z] + bash -s -- [2022-08-09T17:04:06.109Z] [2022-08-09T17:04:06.109Z] _____ _ [2022-08-09T17:04:06.109Z] / ____| | | [2022-08-09T17:04:06.109Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T17:04:06.109Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T17:04:06.109Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T17:04:06.109Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T17:04:06.109Z] Bash-1.0.6 [2022-08-09T17:04:06.109Z] [2022-08-09T17:04:06.109Z] [2022-08-09T17:04:06.109Z] ==> git version 2.25.1 found [2022-08-09T17:04:06.109Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-09T17:04:06.109Z] Release-Date: 2020-01-08 [2022-08-09T17:04:06.109Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-09T17:04:06.109Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T17:04:06.109Z] ==> Jenkins CI detected. [2022-08-09T17:04:06.109Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-124 [2022-08-09T17:04:06.109Z] project root: . [2022-08-09T17:04:06.109Z] --> token set from env [2022-08-09T17:04:06.109Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T17:04:06.109Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T17:04:06.109Z] ==> Python coveragepy not found [2022-08-09T17:04:06.109Z] ==> Searching for coverage reports in: [2022-08-09T17:04:06.109Z] + . [2022-08-09T17:04:06.109Z] -> Found 1 reports [2022-08-09T17:04:06.109Z] ==> Detecting git/mercurial file structure [2022-08-09T17:04:06.109Z] ==> Reading reports [2022-08-09T17:04:06.109Z] + ./coverage.out bytes=76856 [2022-08-09T17:04:06.109Z] ==> Appending adjustments [2022-08-09T17:04:06.109Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T17:04:06.371Z] + Found adjustments [2022-08-09T17:04:06.371Z] ==> Gzipping contents [2022-08-09T17:04:06.371Z] 12K /tmp/codecov.xnX7qq.gz [2022-08-09T17:04:06.371Z] ==> Uploading reports [2022-08-09T17:04:06.371Z] url: https://codecov.io [2022-08-09T17:04:06.371Z] query: branch=PR-124&commit=0f6dfa264ee3accaca6e357daf21dd516d1141f5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= [2022-08-09T17:04:06.371Z] -> Pinging Codecov [2022-08-09T17:04:06.371Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-124&commit=0f6dfa264ee3accaca6e357daf21dd516d1141f5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= [2022-08-09T17:04:06.634Z] -> Uploading to [2022-08-09T17:04:06.634Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/F29A59C45E3A92E06B3E522C9905F8EF/0f6dfa264ee3accaca6e357daf21dd516d1141f5/865dc0ac-e2b6-4571-9456-5cfff000182b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T170406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=196b659f6286191df6c32921a45e189d439129a4b6332685af602b31de844327 [2022-08-09T17:04:06.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T17:04:06.634Z] Dload Upload Total Spent Left Speed [2022-08-09T17:04:06.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10442 0 0 100 10442 0 45598 --:--:-- --:--:-- --:--:-- 45598 [2022-08-09T17:04:06.896Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/0f6dfa264ee3accaca6e357daf21dd516d1141f5 [Pipeline] } [2022-08-09T17:04:06.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-09T17:04:07.635Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-124/archives ] [2022-08-09T17:04:07.635Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T17:04:07.635Z] total 16 [2022-08-09T17:04:07.635Z] drwxr-xr-x 3 root root 4096 Aug 9 16:53 . [2022-08-09T17:04:07.635Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 16:53 .. [2022-08-09T17:04:07.635Z] drwxr-xr-x 2 root root 4096 Aug 9 16:53 cost [2022-08-09T17:04:07.635Z] -rw-r--r-- 1 root root 91 Aug 9 16:53 cost.csv [2022-08-09T17:04:07.635Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T17:04:07.635Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T17:04:07.636Z] total 16 [2022-08-09T17:04:07.636Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 16:53 . [2022-08-09T17:04:07.636Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 16:53 .. [2022-08-09T17:04:07.636Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 16:53 cost [2022-08-09T17:04:07.636Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 9 16:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:07.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:08.806Z] ---> package-listing.sh [2022-08-09T17:04:08.806Z] ++ facter osfamily [2022-08-09T17:04:08.806Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T17:04:09.068Z] + OS_FAMILY=debian [2022-08-09T17:04:09.068Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-124 [2022-08-09T17:04:09.068Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T17:04:09.068Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T17:04:09.068Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T17:04:09.068Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T17:04:09.068Z] + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' [2022-08-09T17:04:09.068Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T17:04:09.068Z] + case "${OS_FAMILY}" in [2022-08-09T17:04:09.068Z] + dpkg -l [2022-08-09T17:04:09.068Z] + grep '^ii' [2022-08-09T17:04:09.068Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T17:04:09.068Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T17:04:09.068Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T17:04:09.068Z] + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' [2022-08-09T17:04:09.068Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-124/archives/ [2022-08-09T17:04:09.068Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-124/archives/ [Pipeline] echo [2022-08-09T17:04:09.081Z] 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-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T17:04:09.365Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T17:04:09.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T17:04:09.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T17:04:10.024Z] prd-ubuntu20.04-docker-8c-8g-22234 does not seem to be running inside a container [2022-08-09T17:04:10.071Z] $ 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-124/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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T17:04:10.291Z] $ docker top 40eee329fe61b1856717614252f9347f405230a5a4d2631e43ad7283ddcb0306 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T17:04:10.659Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T17:04:10.954Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T17:04:11.243Z] + ls /var/log/sa-host [2022-08-09T17:04:11.243Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T17:04:11.393Z] provisioning config files... [2022-08-09T17:04:11.402Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config7452473401816829576tmp [Pipeline] { [Pipeline] echo [2022-08-09T17:04:11.418Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:11.705Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T17:04:11.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:12.048Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T17:04:12.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:12.346Z] ---> sudo-logs.sh [2022-08-09T17:04:12.346Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T17:04:12.373Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:12.660Z] ---> job-cost.sh [2022-08-09T17:04:12.660Z] lf-activate-venv: SKIPPING [2022-08-09T17:04:12.660Z] DEBUG: total: 0.2199999988079071 [2022-08-09T17:04:12.660Z] INFO: Retrieving Stack Cost... [2022-08-09T17:04:13.230Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T17:04:13.799Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T17:04:13.810Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T17:04:14.096Z] ---> logs-deploy.sh [2022-08-09T17:04:14.096Z] lf-activate-venv: SKIPPING [2022-08-09T17:04:14.096Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-124/6 [2022-08-09T17:04:14.096Z] INFO: archiving workspace using pattern(s): [2022-08-09T17:04:15.039Z] Archives upload complete. [2022-08-09T17:04:15.039Z] INFO: archiving logs to Nexus