Branch indexing 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh9638514573829068393.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12267496876094066291.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13561508953033003217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5901765006025678749.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17798541294107210340.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24184 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 88983c57e46bdf5c46b3367ef093301ccd0e2948 Checking out Revision 88983c57e46bdf5c46b3367ef093301ccd0e2948 (PR-125) > 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88983c57e46bdf5c46b3367ef093301ccd0e2948 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 7e50c2b2a17ae957d4e1a57042cff06a641d544d # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T10:10:30.376Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T10:10:30.444Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T10:10:30.464Z] ========================================================= [2022-08-31T10:10:30.464Z] EdgeX Global Pipelines Version Info [2022-08-31T10:10:30.464Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:10:31.219Z] ------------------- [2022-08-31T10:10:31.219Z] stable info: [2022-08-31T10:10:31.219Z] ------------------- [2022-08-31T10:10:31.219Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T10:10:31.220Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T10:10:31.220Z] Message: update stable to v1.0.239 [2022-08-31T10:10:31.805Z] ------------------- [2022-08-31T10:10:31.805Z] experimental info: [2022-08-31T10:10:31.805Z] ------------------- [2022-08-31T10:10:31.805Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T10:10:31.805Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T10:10:31.805Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T10:10:32.008Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-31T10:10:32.026Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-31T10:10:32.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T10:10:32.053Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T10:10:32.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T10:10:32.075Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T10:10:32.085Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T10:10:32.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T10:10:32.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T10:10:32.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T10:10:32.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T10:10:32.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-31T10:10:32.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T10:10:32.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T10:10:32.164Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T10:10:32.177Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T10:10:32.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T10:10:32.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T10:10:32.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T10:10:32.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T10:10:32.256Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-31T10:10:32.276Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-31T10:10:32.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T10:10:32.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T10:10:32.336Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T10:10:32.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T10:10:32.367Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T10:10:32.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-31T10:10:32.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-31T10:10:32.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-31T10:10:32.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88983c57e46bdf5c46b3367ef093301ccd0e2948 [Pipeline] echo [2022-08-31T10:10:32.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88983c5 [Pipeline] echo [2022-08-31T10:10:32.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T10:10:32.503Z] provisioning config files... [2022-08-31T10:10:32.516Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6823476091857197029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:10:32.830Z] ---> docker-login.sh [2022-08-31T10:10:32.830Z] nexus3.edgexfoundry.org:10001 [2022-08-31T10:10:33.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:33.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:33.092Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:33.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:33.092Z] [2022-08-31T10:10:33.092Z] Login Succeeded [2022-08-31T10:10:33.377Z] nexus3.edgexfoundry.org:10002 [2022-08-31T10:10:33.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:33.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:33.377Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:33.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:33.377Z] [2022-08-31T10:10:33.377Z] Login Succeeded [2022-08-31T10:10:33.377Z] nexus3.edgexfoundry.org:10003 [2022-08-31T10:10:33.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:33.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:33.637Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:33.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:33.637Z] [2022-08-31T10:10:33.637Z] Login Succeeded [2022-08-31T10:10:33.637Z] nexus3.edgexfoundry.org:10004 [2022-08-31T10:10:33.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:33.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:33.637Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:33.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:33.637Z] [2022-08-31T10:10:33.637Z] Login Succeeded [2022-08-31T10:10:33.637Z] docker.io [2022-08-31T10:10:33.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:34.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:34.211Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:34.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:34.211Z] [2022-08-31T10:10:34.211Z] Login Succeeded [2022-08-31T10:10:34.211Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T10:10:34.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T10:10:34.627Z] + git rev-list -1 --merges 88983c57e46bdf5c46b3367ef093301ccd0e2948~1..88983c57e46bdf5c46b3367ef093301ccd0e2948 [Pipeline] echo [2022-08-31T10:10:34.702Z] -----------> git rev-list -1 --merges 88983c57e46bdf5c46b3367ef093301ccd0e2948~1..88983c57e46bdf5c46b3367ef093301ccd0e2948 88983c57e46bdf5c46b3367ef093301ccd0e2948 [2022-08-31T10:10:34.702Z] 88983c57e46bdf5c46b3367ef093301ccd0e2948 [false] [Pipeline] sh [2022-08-31T10:10:34.997Z] + git log --format=format:%s -1 88983c57e46bdf5c46b3367ef093301ccd0e2948 [Pipeline] echo [2022-08-31T10:10:35.014Z] ========================================================= [2022-08-31T10:10:35.014Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T10:10:35.014Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T10:10:35.362Z] + git log --format=format:%s -1 88983c57e46bdf5c46b3367ef093301ccd0e2948 [Pipeline] echo [2022-08-31T10:10:35.375Z] [semverPrep] GIT_COMMIT: 88983c57e46bdf5c46b3367ef093301ccd0e2948, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-31T10:10:35.387Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T10:10:35.765Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T10:10:35.765Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T10:10:35.765Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T10:10:35.765Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T10:10:35.765Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T10:10:35.765Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T10:10:35.766Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:10:36.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T10:10:36.203Z] [2022-08-31T10:10:36.203Z] 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-31T10:10:36.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T10:10:36.512Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T10:10:36.512Z] b85a868b505f: Pulling fs layer [2022-08-31T10:10:36.512Z] e2be974225ed: Pulling fs layer [2022-08-31T10:10:36.512Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T10:10:36.512Z] 988bab9f4d93: Pulling fs layer [2022-08-31T10:10:36.512Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T10:10:36.512Z] eaf3925da568: Pulling fs layer [2022-08-31T10:10:36.512Z] bab4dde63d76: Pulling fs layer [2022-08-31T10:10:36.512Z] bde34c3a00c8: Pulling fs layer [2022-08-31T10:10:36.512Z] b352a97aabf1: Pulling fs layer [2022-08-31T10:10:36.512Z] 4872d77fe225: Pulling fs layer [2022-08-31T10:10:36.512Z] 5851b861e8e6: Pulling fs layer [2022-08-31T10:10:36.512Z] 988bab9f4d93: Waiting [2022-08-31T10:10:36.512Z] 1469e6f7b9e6: Waiting [2022-08-31T10:10:36.512Z] eaf3925da568: Waiting [2022-08-31T10:10:36.512Z] bab4dde63d76: Waiting [2022-08-31T10:10:36.512Z] bde34c3a00c8: Waiting [2022-08-31T10:10:36.512Z] 5851b861e8e6: Waiting [2022-08-31T10:10:36.512Z] b352a97aabf1: Waiting [2022-08-31T10:10:36.512Z] 4872d77fe225: Waiting [2022-08-31T10:10:36.512Z] e2be974225ed: Verifying Checksum [2022-08-31T10:10:36.512Z] 988bab9f4d93: Verifying Checksum [2022-08-31T10:10:36.512Z] 988bab9f4d93: Download complete [2022-08-31T10:10:36.775Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T10:10:36.775Z] 1469e6f7b9e6: Download complete [2022-08-31T10:10:36.775Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T10:10:36.775Z] 339a4e72a1f5: Download complete [2022-08-31T10:10:36.775Z] eaf3925da568: Download complete [2022-08-31T10:10:36.775Z] bde34c3a00c8: Download complete [2022-08-31T10:10:36.775Z] b352a97aabf1: Download complete [2022-08-31T10:10:36.775Z] 4872d77fe225: Verifying Checksum [2022-08-31T10:10:36.775Z] 4872d77fe225: Download complete [2022-08-31T10:10:36.775Z] 5851b861e8e6: Download complete [2022-08-31T10:10:36.775Z] b85a868b505f: Verifying Checksum [2022-08-31T10:10:36.775Z] b85a868b505f: Download complete [2022-08-31T10:10:37.036Z] bab4dde63d76: Verifying Checksum [2022-08-31T10:10:37.036Z] bab4dde63d76: Download complete [2022-08-31T10:10:37.983Z] b85a868b505f: Pull complete [2022-08-31T10:10:38.243Z] e2be974225ed: Pull complete [2022-08-31T10:10:38.815Z] 339a4e72a1f5: Pull complete [2022-08-31T10:10:38.815Z] 988bab9f4d93: Pull complete [2022-08-31T10:10:39.076Z] 1469e6f7b9e6: Pull complete [2022-08-31T10:10:39.076Z] eaf3925da568: Pull complete [2022-08-31T10:10:40.991Z] bab4dde63d76: Pull complete [2022-08-31T10:10:40.991Z] bde34c3a00c8: Pull complete [2022-08-31T10:10:40.991Z] b352a97aabf1: Pull complete [2022-08-31T10:10:40.991Z] 4872d77fe225: Pull complete [2022-08-31T10:10:41.251Z] 5851b861e8e6: Pull complete [2022-08-31T10:10:41.251Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T10:10:41.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T10:10:41.251Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:10:41.349Z] prd-ubuntu20.04-docker-8c-8g-24184 does not seem to be running inside a container [2022-08-31T10:10:41.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-31T10:10:42.637Z] $ docker top fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 -eo pid,comm [2022-08-31T10:10:42.695Z] 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-31T10:10:42.695Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T10:10:42.729Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T10:10:42.729Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T10:10:42.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T10:10:42.855Z] $ docker exec fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 ssh-agent [2022-08-31T10:10:42.996Z] SSH_AUTH_SOCK=/tmp/ssh-5u7MXPwLNpjY/agent.32 [2022-08-31T10:10:42.996Z] SSH_AGENT_PID=38 [2022-08-31T10:10:43.003Z] Running ssh-add (command line suppressed) [2022-08-31T10:10:43.121Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5439246206492791722.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5439246206492791722.key) [2022-08-31T10:10:43.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T10:10:43.429Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T10:10:43.452Z] $ docker exec --env ******** --env ******** fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 ssh-agent -k [2022-08-31T10:10:43.556Z] unset SSH_AUTH_SOCK; [2022-08-31T10:10:43.559Z] unset SSH_AGENT_PID; [2022-08-31T10:10:43.559Z] echo Agent pid 38 killed; [2022-08-31T10:10:43.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T10:10:43.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T10:10:43.587Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T10:10:43.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T10:10:43.727Z] $ docker exec fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 ssh-agent [2022-08-31T10:10:43.846Z] SSH_AUTH_SOCK=/tmp/ssh-JvwIaTMRNshS/agent.74 [2022-08-31T10:10:43.846Z] SSH_AGENT_PID=80 [2022-08-31T10:10:43.851Z] Running ssh-add (command line suppressed) [2022-08-31T10:10:43.991Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8226420141957894341.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8226420141957894341.key) [2022-08-31T10:10:44.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T10:10:44.296Z] + git semver init [2022-08-31T10:10:44.557Z] 2022-08-31 10:10:44,499 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T10:10:44.557Z] 2022-08-31 10:10:44,500 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-31T10:10:44.557Z] 2022-08-31 10:10:44,500 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-31T10:10:44.557Z] 2022-08-31 10:10:44,501 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,304 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,304 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,304 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,306 [execute] INFO git cat-file --batch-check [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,311 [execute] INFO git cat-file --batch [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T10:10:45.504Z] 2022-08-31 10:10:45,316 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-31T10:10:45.504Z] 0.0.0 [Pipeline] } [2022-08-31T10:10:45.522Z] $ docker exec --env ******** --env ******** fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 ssh-agent -k [2022-08-31T10:10:45.636Z] unset SSH_AUTH_SOCK; [2022-08-31T10:10:45.637Z] unset SSH_AGENT_PID; [2022-08-31T10:10:45.637Z] echo Agent pid 80 killed; [2022-08-31T10:10:45.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T10:10:45.951Z] + git semver [Pipeline] } [2022-08-31T10:10:46.238Z] $ docker stop --time=1 fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 [2022-08-31T10:10:47.571Z] $ docker rm -f fa3d00be55f1598d744e570a7954976b587e1fc910572d0a09c55b0b9f28ff11 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T10:10:47.930Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T10:10:48.191Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T10:10:48.194Z] [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-31T10:10:48.372Z] provisioning config files... [2022-08-31T10:10:48.384Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1195093563020931605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:10:48.685Z] ---> docker-login.sh [2022-08-31T10:10:48.685Z] nexus3.edgexfoundry.org:10001 [2022-08-31T10:10:48.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:48.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:48.685Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:48.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:48.685Z] [2022-08-31T10:10:48.685Z] Login Succeeded [2022-08-31T10:10:48.685Z] nexus3.edgexfoundry.org:10002 [2022-08-31T10:10:48.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:48.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:48.948Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:48.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:48.948Z] [2022-08-31T10:10:48.948Z] Login Succeeded [2022-08-31T10:10:48.948Z] nexus3.edgexfoundry.org:10003 [2022-08-31T10:10:48.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:48.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:48.948Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:48.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:48.948Z] [2022-08-31T10:10:48.948Z] Login Succeeded [2022-08-31T10:10:48.948Z] nexus3.edgexfoundry.org:10004 [2022-08-31T10:10:48.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:49.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:49.209Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:49.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:49.209Z] [2022-08-31T10:10:49.209Z] Login Succeeded [2022-08-31T10:10:49.209Z] docker.io [2022-08-31T10:10:49.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:49.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:49.470Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:49.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:49.470Z] [2022-08-31T10:10:49.470Z] Login Succeeded [2022-08-31T10:10:49.470Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T10:10:49.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T10:10:49.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:10:49.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:10:49.566Z] ========================================================= [2022-08-31T10:10:49.566Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T10:10:49.566Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:10:49.895Z] + 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-31T10:10:49.895Z] Sending build context to Docker daemon 20.57MB [2022-08-31T10:10:49.895Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:10:49.895Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T10:10:50.158Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T10:10:50.158Z] 2408cc74d12b: Pulling fs layer [2022-08-31T10:10:50.158Z] ea60b727a1ce: Pulling fs layer [2022-08-31T10:10:50.158Z] 30c4a7721957: Pulling fs layer [2022-08-31T10:10:50.158Z] 370296b7ddb6: Pulling fs layer [2022-08-31T10:10:50.158Z] 7c6cee850709: Pulling fs layer [2022-08-31T10:10:50.158Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T10:10:50.158Z] d94ebbe4e438: Pulling fs layer [2022-08-31T10:10:50.158Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T10:10:50.158Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T10:10:50.158Z] 39a5fcdaea64: Waiting [2022-08-31T10:10:50.158Z] d94ebbe4e438: Waiting [2022-08-31T10:10:50.158Z] bcfd1f05c69d: Waiting [2022-08-31T10:10:50.158Z] 370296b7ddb6: Waiting [2022-08-31T10:10:50.158Z] 7c6cee850709: Waiting [2022-08-31T10:10:50.158Z] 59ccb84bbe0f: Waiting [2022-08-31T10:10:50.158Z] 30c4a7721957: Download complete [2022-08-31T10:10:50.158Z] ea60b727a1ce: Verifying Checksum [2022-08-31T10:10:50.158Z] ea60b727a1ce: Download complete [2022-08-31T10:10:50.158Z] 7c6cee850709: Download complete [2022-08-31T10:10:50.158Z] 39a5fcdaea64: Verifying Checksum [2022-08-31T10:10:50.158Z] 39a5fcdaea64: Download complete [2022-08-31T10:10:50.158Z] 2408cc74d12b: Verifying Checksum [2022-08-31T10:10:50.158Z] 2408cc74d12b: Download complete [2022-08-31T10:10:50.158Z] d94ebbe4e438: Verifying Checksum [2022-08-31T10:10:50.158Z] d94ebbe4e438: Download complete [2022-08-31T10:10:50.436Z] 2408cc74d12b: Pull complete [2022-08-31T10:10:50.436Z] ea60b727a1ce: Pull complete [2022-08-31T10:10:50.436Z] 30c4a7721957: Pull complete [2022-08-31T10:10:50.706Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T10:10:50.706Z] 59ccb84bbe0f: Download complete [2022-08-31T10:10:50.971Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T10:10:50.971Z] bcfd1f05c69d: Download complete [2022-08-31T10:10:50.971Z] 370296b7ddb6: Verifying Checksum [2022-08-31T10:10:50.971Z] 370296b7ddb6: Download complete [2022-08-31T10:10:55.168Z] 370296b7ddb6: Pull complete [2022-08-31T10:10:55.168Z] 7c6cee850709: Pull complete [2022-08-31T10:10:55.168Z] 39a5fcdaea64: Pull complete [2022-08-31T10:10:55.168Z] d94ebbe4e438: Pull complete [2022-08-31T10:10:57.079Z] bcfd1f05c69d: Pull complete [2022-08-31T10:10:57.650Z] 59ccb84bbe0f: Pull complete [2022-08-31T10:10:57.650Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T10:10:57.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T10:10:57.650Z] ---> a4fb48ad2a94 [2022-08-31T10:10:57.650Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T10:10:59.038Z] ---> Running in 7fd69bbbb15e [2022-08-31T10:10:59.038Z] Removing intermediate container 7fd69bbbb15e [2022-08-31T10:10:59.038Z] ---> 62ebc084e131 [2022-08-31T10:10:59.038Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:10:59.300Z] ---> Running in b585405d0ec6 [2022-08-31T10:10:59.300Z] Removing intermediate container b585405d0ec6 [2022-08-31T10:10:59.300Z] ---> ad7fe96edf32 [2022-08-31T10:10:59.300Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:10:59.300Z] ---> Running in 803660246a3d [2022-08-31T10:10:59.300Z] Removing intermediate container 803660246a3d [2022-08-31T10:10:59.300Z] ---> c711414a6aa5 [2022-08-31T10:10:59.300Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:10:59.300Z] ---> Running in dd39028c00cb [2022-08-31T10:10:59.561Z] Removing intermediate container dd39028c00cb [2022-08-31T10:10:59.561Z] ---> 4c8225120dc6 [2022-08-31T10:10:59.561Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:10:59.561Z] ---> Running in 50e2d3ff826d [2022-08-31T10:11:00.136Z] Removing intermediate container 50e2d3ff826d [2022-08-31T10:11:00.136Z] ---> 041d520f8e82 [2022-08-31T10:11:00.136Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:11:00.136Z] ---> Running in ae103aedbde5 [2022-08-31T10:11:00.405Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T10:11:01.349Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T10:11:01.609Z] OK: 211 MiB in 51 packages [2022-08-31T10:11:01.869Z] Removing intermediate container ae103aedbde5 [2022-08-31T10:11:01.869Z] ---> 5c4eb5a93a37 [2022-08-31T10:11:01.869Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T10:11:01.869Z] ---> Running in f63cc45b3ede [2022-08-31T10:11:02.130Z] Removing intermediate container f63cc45b3ede [2022-08-31T10:11:02.130Z] ---> 5603db99a448 [2022-08-31T10:11:02.130Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T10:11:02.130Z] ---> 49efc8c13b28 [2022-08-31T10:11:02.130Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:11:02.130Z] ---> Running in 8f1460012d66 [2022-08-31T10:11:03.312Z] Still waiting to schedule task [2022-08-31T10:11:03.312Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-31T10:11:24.120Z] Removing intermediate container 8f1460012d66 [2022-08-31T10:11:24.120Z] ---> d5c78bb9094f [2022-08-31T10:11:24.120Z] Step 12/13 : COPY . . [2022-08-31T10:11:24.120Z] ---> c3010443ef79 [2022-08-31T10:11:24.120Z] Step 13/13 : RUN ${MAKE} [2022-08-31T10:11:24.120Z] ---> Running in 68980d083643 [2022-08-31T10:11:24.120Z] noop [2022-08-31T10:11:24.120Z] Removing intermediate container 68980d083643 [2022-08-31T10:11:24.120Z] ---> 0ed35254b066 [2022-08-31T10:11:24.120Z] Successfully built 0ed35254b066 [2022-08-31T10:11:24.120Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:24.448Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T10:11:24.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:11:24.529Z] prd-ubuntu20.04-docker-8c-8g-24184 does not seem to be running inside a container [2022-08-31T10:11:24.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T10:11:24.966Z] $ docker top d94bdf9f7c56f34576c01e1b27028c3c239cd647a5eaf2d192d1e47412a350fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:11:25.316Z] + go version [2022-08-31T10:11:25.316Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T10:11:25.338Z] $ docker stop --time=1 d94bdf9f7c56f34576c01e1b27028c3c239cd647a5eaf2d192d1e47412a350fc [2022-08-31T10:11:26.672Z] $ docker rm -f d94bdf9f7c56f34576c01e1b27028c3c239cd647a5eaf2d192d1e47412a350fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:27.145Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T10:11:27.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:11:27.229Z] prd-ubuntu20.04-docker-8c-8g-24184 does not seem to be running inside a container [2022-08-31T10:11:27.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T10:11:27.676Z] $ docker top b1d6ba2d3567572e3320bc374f7033934ce76a2c0127c55a8a9e0cb3ab3d492c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:11:28.036Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-31T10:11:28.341Z] + make test [2022-08-31T10:11:28.341Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T10:11:28.601Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T10:11:38.588Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T10:11:39.525Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.025s coverage: 10.5% of statements [2022-08-31T10:11:39.525Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T10:11:42.819Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.433s coverage: 13.8% of statements [2022-08-31T10:11:49.393Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-31T10:11:49.393Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T10:11:52.687Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T10:11:52.687Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T10:11:52.687Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T10:11:52.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T10:11:52.720Z] $ docker stop --time=1 b1d6ba2d3567572e3320bc374f7033934ce76a2c0127c55a8a9e0cb3ab3d492c [2022-08-31T10:11:54.416Z] $ docker rm -f b1d6ba2d3567572e3320bc374f7033934ce76a2c0127c55a8a9e0cb3ab3d492c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T10:11:54.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T10:11:54.924Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T10:11:55.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T10:11:55.745Z] + ls -al . [2022-08-31T10:11:55.745Z] total 232 [2022-08-31T10:11:55.745Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 10:11 . [2022-08-31T10:11:55.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:10 .. [2022-08-31T10:11:55.745Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 10:11 .git [2022-08-31T10:11:55.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:10 .github [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 10:10 .gitignore [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 10:10 .golangci.yml [2022-08-31T10:11:55.745Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 10:10 .semver [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 10:10 Attribution.txt [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 10:10 CHANGELOG.md [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 31 10:10 Dockerfile [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 10:10 GOVERNANCE.md [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 10:10 Jenkinsfile [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 10:10 LICENSE [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 10:10 Makefile [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 10:10 OWNERS.md [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 10:10 README.md [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 10:10 VERSION [2022-08-31T10:11:55.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 10:10 bin [2022-08-31T10:11:55.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:10 cmd [2022-08-31T10:11:55.745Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 31 10:11 coverage.out [2022-08-31T10:11:55.745Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 10:10 doc [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 10:10 go.mod [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 10:10 go.sum [2022-08-31T10:11:55.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:10 internal [2022-08-31T10:11:55.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:10 snap [2022-08-31T10:11:55.745Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:56.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=88983c57e46bdf5c46b3367ef093301ccd0e2948 --label arch=amd64 --label version=0.0.0 . [2022-08-31T10:11:56.067Z] Sending build context to Docker daemon 20.65MB [2022-08-31T10:11:56.067Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:11:56.067Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-31T10:11:56.067Z] ---> 0ed35254b066 [2022-08-31T10:11:56.067Z] Step 3/27 : ARG MAKE="make build" [2022-08-31T10:11:56.332Z] ---> Running in 002edcc2f172 [2022-08-31T10:11:56.332Z] Removing intermediate container 002edcc2f172 [2022-08-31T10:11:56.332Z] ---> b0e87776a14f [2022-08-31T10:11:56.332Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:11:56.332Z] ---> Running in 60517479448b [2022-08-31T10:11:56.332Z] Removing intermediate container 60517479448b [2022-08-31T10:11:56.332Z] ---> 887b1b3f9d87 [2022-08-31T10:11:56.332Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:11:56.332Z] ---> Running in 85c63e941125 [2022-08-31T10:11:56.591Z] Removing intermediate container 85c63e941125 [2022-08-31T10:11:56.592Z] ---> 30e93259587f [2022-08-31T10:11:56.592Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:11:56.592Z] ---> Running in 2b11e91df8de [2022-08-31T10:11:56.592Z] Removing intermediate container 2b11e91df8de [2022-08-31T10:11:56.592Z] ---> 458f2b7905d2 [2022-08-31T10:11:56.592Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:11:56.592Z] ---> Running in 7905e490da8c [2022-08-31T10:11:57.536Z] Removing intermediate container 7905e490da8c [2022-08-31T10:11:57.536Z] ---> 1e5f47a764b2 [2022-08-31T10:11:57.536Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:11:57.536Z] ---> Running in 1a9f3fac4075 [2022-08-31T10:11:57.796Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T10:11:58.369Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T10:11:58.942Z] OK: 211 MiB in 51 packages [2022-08-31T10:11:59.202Z] Removing intermediate container 1a9f3fac4075 [2022-08-31T10:11:59.202Z] ---> bbdc17abd9d1 [2022-08-31T10:11:59.202Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-31T10:11:59.202Z] ---> Running in 22019e6af701 [2022-08-31T10:11:59.202Z] Removing intermediate container 22019e6af701 [2022-08-31T10:11:59.202Z] ---> bceb0063fd04 [2022-08-31T10:11:59.202Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-31T10:11:59.462Z] ---> 6e9a10ce5904 [2022-08-31T10:11:59.462Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:11:59.462Z] ---> Running in 2ec927255543 [2022-08-31T10:12:00.033Z] Removing intermediate container 2ec927255543 [2022-08-31T10:12:00.033Z] ---> 17df1643e303 [2022-08-31T10:12:00.033Z] Step 12/27 : COPY . . [2022-08-31T10:12:00.604Z] ---> 942257184c86 [2022-08-31T10:12:00.604Z] Step 13/27 : RUN ${MAKE} [2022-08-31T10:12:00.604Z] ---> Running in 29de813115bb [2022-08-31T10:12:00.865Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T10:12:22.813Z] Removing intermediate container 29de813115bb [2022-08-31T10:12:22.813Z] ---> 47b63b5d67e2 [2022-08-31T10:12:22.813Z] Step 14/27 : FROM alpine:3.16 [2022-08-31T10:12:22.813Z] 3.16: Pulling from library/alpine [2022-08-31T10:12:22.813Z] 213ec9aee27d: Pulling fs layer [2022-08-31T10:12:22.813Z] 213ec9aee27d: Verifying Checksum [2022-08-31T10:12:22.813Z] 213ec9aee27d: Download complete [2022-08-31T10:12:22.813Z] 213ec9aee27d: Pull complete [2022-08-31T10:12:22.813Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T10:12:22.813Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T10:12:22.813Z] ---> 9c6f07244728 [2022-08-31T10:12:22.813Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T10:12:22.813Z] ---> Running in 320dc261b34c [2022-08-31T10:12:22.813Z] Removing intermediate container 320dc261b34c [2022-08-31T10:12:22.813Z] ---> f9841953fbc4 [2022-08-31T10:12:22.813Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-31T10:12:22.813Z] ---> Running in 153d66c19ccb [2022-08-31T10:12:22.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T10:12:22.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T10:12:22.813Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-31T10:12:22.813Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-31T10:12:22.813Z] (3/21) Installing readline (8.1.2-r0) [2022-08-31T10:12:22.813Z] (4/21) Installing bash (5.1.16-r2) [2022-08-31T10:12:22.813Z] Executing bash-5.1.16-r2.post-install [2022-08-31T10:12:22.813Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-31T10:12:22.813Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-31T10:12:22.813Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-31T10:12:22.813Z] (8/21) Installing libcurl (7.83.1-r3) [2022-08-31T10:12:22.813Z] (9/21) Installing curl (7.83.1-r3) [2022-08-31T10:12:22.813Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-31T10:12:22.813Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-31T10:12:22.813Z] (12/21) Installing jq (1.6-r1) [2022-08-31T10:12:22.813Z] (13/21) Installing popt (1.18-r0) [2022-08-31T10:12:22.813Z] (14/21) Installing pcre (8.45-r2) [2022-08-31T10:12:22.813Z] (15/21) Installing slang (2.3.2-r0) [2022-08-31T10:12:22.813Z] (16/21) Installing newt (0.52.21-r2) [2022-08-31T10:12:22.813Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T10:12:22.813Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-31T10:12:22.813Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T10:12:22.813Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-31T10:12:22.813Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-31T10:12:22.813Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T10:12:22.813Z] Executing ca-certificates-20220614-r0.trigger [2022-08-31T10:12:22.813Z] OK: 17 MiB in 35 packages [2022-08-31T10:12:22.813Z] Removing intermediate container 153d66c19ccb [2022-08-31T10:12:22.813Z] ---> d1419b6bd27b [2022-08-31T10:12:22.813Z] Step 17/27 : WORKDIR / [2022-08-31T10:12:22.813Z] ---> Running in 73404ca8eb42 [2022-08-31T10:12:22.813Z] Removing intermediate container 73404ca8eb42 [2022-08-31T10:12:22.813Z] ---> 8ab8e6ef59c4 [2022-08-31T10:12:22.813Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T10:12:22.813Z] ---> ad049ba160b5 [2022-08-31T10:12:22.813Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T10:12:23.073Z] ---> 068a3aba1eb3 [2022-08-31T10:12:23.073Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T10:12:23.073Z] ---> d144c9fd23a2 [2022-08-31T10:12:23.073Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-31T10:12:23.334Z] ---> eb86f750d4fa [2022-08-31T10:12:23.334Z] Step 22/27 : EXPOSE 59984 [2022-08-31T10:12:23.334Z] ---> Running in 91f1ca551866 [2022-08-31T10:12:23.334Z] Removing intermediate container 91f1ca551866 [2022-08-31T10:12:23.334Z] ---> b12c2db598f7 [2022-08-31T10:12:23.334Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T10:12:23.334Z] ---> Running in 2aba8d79ef80 [2022-08-31T10:12:23.594Z] Removing intermediate container 2aba8d79ef80 [2022-08-31T10:12:23.594Z] ---> 1cc6cc33fcb2 [2022-08-31T10:12:23.594Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T10:12:23.594Z] ---> Running in 7d192e52a027 [2022-08-31T10:12:23.594Z] Removing intermediate container 7d192e52a027 [2022-08-31T10:12:23.594Z] ---> a56b6da28155 [2022-08-31T10:12:23.594Z] Step 25/27 : LABEL arch=amd64 [2022-08-31T10:12:23.594Z] ---> Running in 2d76d6b4f78f [2022-08-31T10:12:23.856Z] Removing intermediate container 2d76d6b4f78f [2022-08-31T10:12:23.856Z] ---> 95f4ac785063 [2022-08-31T10:12:23.856Z] Step 26/27 : LABEL git_sha=88983c57e46bdf5c46b3367ef093301ccd0e2948 [2022-08-31T10:12:23.856Z] ---> Running in 6fd9641c09c3 [2022-08-31T10:12:23.856Z] Removing intermediate container 6fd9641c09c3 [2022-08-31T10:12:23.856Z] ---> 80334bc1e09e [2022-08-31T10:12:23.856Z] Step 27/27 : LABEL version=0.0.0 [2022-08-31T10:12:23.856Z] ---> Running in 7a44b432489b [2022-08-31T10:12:24.116Z] Removing intermediate container 7a44b432489b [2022-08-31T10:12:24.116Z] ---> 7bff8dd719d2 [2022-08-31T10:12:24.116Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T10:12:24.116Z] Successfully built 7bff8dd719d2 [2022-08-31T10:12:24.116Z] 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-31T10:12:24.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:12:24.549Z] [2022-08-31T10:12:24.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:12:24.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:12:24.861Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T10:12:24.861Z] 5eb5b503b376: Pulling fs layer [2022-08-31T10:12:24.861Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T10:12:24.861Z] ec43610c2a17: Pulling fs layer [2022-08-31T10:12:24.861Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T10:12:24.861Z] 33b1e0a273af: Pulling fs layer [2022-08-31T10:12:24.861Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T10:12:24.861Z] 2f39f015ded8: Pulling fs layer [2022-08-31T10:12:24.861Z] 5d3b04190fa2: Waiting [2022-08-31T10:12:24.861Z] 33b1e0a273af: Waiting [2022-08-31T10:12:24.861Z] 2f39f015ded8: Waiting [2022-08-31T10:12:24.861Z] 3a2ae6a8a46f: Waiting [2022-08-31T10:12:24.861Z] 5c69ac0246d0: Verifying Checksum [2022-08-31T10:12:24.861Z] 5c69ac0246d0: Download complete [2022-08-31T10:12:24.861Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T10:12:24.861Z] 3a2ae6a8a46f: Download complete [2022-08-31T10:12:24.861Z] 33b1e0a273af: Verifying Checksum [2022-08-31T10:12:24.861Z] 33b1e0a273af: Download complete [2022-08-31T10:12:25.120Z] 5d3b04190fa2: Verifying Checksum [2022-08-31T10:12:25.120Z] 5d3b04190fa2: Download complete [2022-08-31T10:12:25.120Z] ec43610c2a17: Download complete [2022-08-31T10:12:25.120Z] 5eb5b503b376: Verifying Checksum [2022-08-31T10:12:25.120Z] 5eb5b503b376: Download complete [2022-08-31T10:12:25.689Z] 2f39f015ded8: Download complete [2022-08-31T10:12:26.258Z] 5eb5b503b376: Pull complete [2022-08-31T10:12:26.518Z] 5c69ac0246d0: Pull complete [2022-08-31T10:12:26.778Z] ec43610c2a17: Pull complete [2022-08-31T10:12:26.778Z] 3a2ae6a8a46f: Pull complete [2022-08-31T10:12:27.039Z] 33b1e0a273af: Pull complete [2022-08-31T10:12:27.039Z] 5d3b04190fa2: Pull complete [2022-08-31T10:12:31.238Z] 2f39f015ded8: Pull complete [2022-08-31T10:12:31.238Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T10:12:31.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:12:31.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:12:31.330Z] prd-ubuntu20.04-docker-8c-8g-24184 does not seem to be running inside a container [2022-08-31T10:12:31.375Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T10:12:32.817Z] $ docker top ea875362080db081a1a4f3484965d29ffdbfb55e1ff1b476e6e00534d6161ded -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:12:33.238Z] ---> job-cost.sh [2022-08-31T10:12:33.238Z] lf-activate-venv: SKIPPING [2022-08-31T10:12:33.238Z] INFO: No Stack... [2022-08-31T10:12:33.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T10:12:34.065Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T10:12:34.357Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-31T10:12:34.357Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T10:12:34.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] [2022-08-31T10:12:34.375Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] did not exist. Created. [2022-08-31T10:12:34.375Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T10:12:34.681Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T10:12:34.709Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T10:12:34.718Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T10:12:34.744Z] $ docker stop --time=1 ea875362080db081a1a4f3484965d29ffdbfb55e1ff1b476e6e00534d6161ded [2022-08-31T10:12:35.906Z] $ docker rm -f ea875362080db081a1a4f3484965d29ffdbfb55e1ff1b476e6e00534d6161ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T10:12:36.303Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24186 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-31T10:12:36.317Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-08-31T10:12:36.358Z] Selected Git installation does not exist. Using Default [2022-08-31T10:12:36.358Z] The recommended git tool is: NONE [2022-08-31T10:12:43.431Z] using credential edgex-jenkins-ssh [2022-08-31T10:12:43.455Z] Cloning the remote Git repository [2022-08-31T10:12:43.511Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T10:12:43.604Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-08-31T10:12:43.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T10:12:43.770Z] > git --version # timeout=10 [2022-08-31T10:12:43.804Z] > git --version # 'git version 2.25.1' [2022-08-31T10:12:43.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T10:12:43.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T10:12:45.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T10:12:45.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T10:12:45.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T10:12:45.300Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T10:12:45.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T10:12:45.313Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T10:12:45.819Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-31T10:12:46.246Z] Merge succeeded, producing 697cfda0239d6a06779e86322c9919e176a6c344 [2022-08-31T10:12:46.247Z] Checking out Revision 697cfda0239d6a06779e86322c9919e176a6c344 (PR-125) [2022-08-31T10:12:45.838Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T10:12:45.854Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-31T10:12:46.082Z] > git remote # timeout=10 [2022-08-31T10:12:46.100Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T10:12:46.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T10:12:46.130Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-31T10:12:46.224Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T10:12:46.254Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T10:12:46.266Z] > git checkout -f 697cfda0239d6a06779e86322c9919e176a6c344 # timeout=10 [2022-08-31T10:12:50.489Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-31T10:12:50.514Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T10:12:51.346Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T10:12:51.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T10:12:51.346Z] Dload Upload Total Spent Left Speed [2022-08-31T10:12:51.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k [2022-08-31T10:12:50.497Z] > git rev-list --no-walk 7e50c2b2a17ae957d4e1a57042cff06a641d544d # timeout=10 [Pipeline] sh [2022-08-31T10:12:52.071Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T10:12:52.418Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T10:12:52.418Z] + sudo tee /etc/docker/daemon.new [2022-08-31T10:12:52.418Z] { [2022-08-31T10:12:52.418Z] "registry-mirrors": [ [2022-08-31T10:12:52.418Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T10:12:52.418Z] ], [2022-08-31T10:12:52.418Z] "bip": "10.250.0.254/24", [2022-08-31T10:12:52.418Z] "hosts": [ [2022-08-31T10:12:52.418Z] "tcp://0.0.0.0:5555", [2022-08-31T10:12:52.418Z] "unix:///var/run/docker.sock" [2022-08-31T10:12:52.418Z] ], [2022-08-31T10:12:52.418Z] "mtu": 1458, [2022-08-31T10:12:52.418Z] "selinux-enabled": true, [2022-08-31T10:12:52.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T10:12:52.418Z] } [Pipeline] sh [2022-08-31T10:12:52.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T10:12:53.102Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T10:13:11.462Z] provisioning config files... [2022-08-31T10:13:11.486Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config967127141575933193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:13:11.843Z] ---> docker-login.sh [2022-08-31T10:13:11.843Z] nexus3.edgexfoundry.org:10001 [2022-08-31T10:13:12.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:13:12.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:13:12.717Z] Configure a credential helper to remove this warning. See [2022-08-31T10:13:12.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:13:12.717Z] [2022-08-31T10:13:12.717Z] Login Succeeded [2022-08-31T10:13:12.717Z] nexus3.edgexfoundry.org:10002 [2022-08-31T10:13:12.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:13:13.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:13:13.270Z] Configure a credential helper to remove this warning. See [2022-08-31T10:13:13.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:13:13.270Z] [2022-08-31T10:13:13.270Z] Login Succeeded [2022-08-31T10:13:13.270Z] nexus3.edgexfoundry.org:10003 [2022-08-31T10:13:13.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:13:13.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:13:13.823Z] Configure a credential helper to remove this warning. See [2022-08-31T10:13:13.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:13:13.823Z] [2022-08-31T10:13:13.823Z] Login Succeeded [2022-08-31T10:13:13.823Z] nexus3.edgexfoundry.org:10004 [2022-08-31T10:13:14.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:13:14.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:13:14.374Z] Configure a credential helper to remove this warning. See [2022-08-31T10:13:14.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:13:14.374Z] [2022-08-31T10:13:14.374Z] Login Succeeded [2022-08-31T10:13:14.374Z] docker.io [2022-08-31T10:13:14.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:13:14.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:13:14.921Z] Configure a credential helper to remove this warning. See [2022-08-31T10:13:14.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:13:14.921Z] [2022-08-31T10:13:14.921Z] Login Succeeded [2022-08-31T10:13:14.921Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T10:13:14.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T10:13:15.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:13:15.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:13:15.609Z] ========================================================= [2022-08-31T10:13:15.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T10:13:15.609Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:13:16.001Z] + 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-31T10:13:16.606Z] Sending build context to Docker daemon 14.08MB [2022-08-31T10:13:16.606Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:13:16.606Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T10:13:16.888Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T10:13:16.888Z] b3c136eddcbf: Pulling fs layer [2022-08-31T10:13:16.888Z] c0a3192eca97: Pulling fs layer [2022-08-31T10:13:16.888Z] a050256f5b6f: Pulling fs layer [2022-08-31T10:13:16.888Z] 656be50a0ddc: Pulling fs layer [2022-08-31T10:13:16.888Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T10:13:16.888Z] 46d945488cbd: Pulling fs layer [2022-08-31T10:13:16.888Z] 8a5474983e97: Pulling fs layer [2022-08-31T10:13:16.888Z] 329c88fbcd65: Pulling fs layer [2022-08-31T10:13:16.888Z] 656be50a0ddc: Waiting [2022-08-31T10:13:16.888Z] 2bbca73fdf42: Waiting [2022-08-31T10:13:16.888Z] 46d945488cbd: Waiting [2022-08-31T10:13:16.888Z] 8a5474983e97: Waiting [2022-08-31T10:13:16.888Z] 329c88fbcd65: Waiting [2022-08-31T10:13:16.888Z] a050256f5b6f: Verifying Checksum [2022-08-31T10:13:16.888Z] a050256f5b6f: Download complete [2022-08-31T10:13:16.888Z] c0a3192eca97: Download complete [2022-08-31T10:13:16.888Z] 2bbca73fdf42: Verifying Checksum [2022-08-31T10:13:16.888Z] b3c136eddcbf: Download complete [2022-08-31T10:13:16.888Z] 46d945488cbd: Verifying Checksum [2022-08-31T10:13:16.888Z] 46d945488cbd: Download complete [2022-08-31T10:13:17.891Z] b3c136eddcbf: Pull complete [2022-08-31T10:13:18.176Z] 329c88fbcd65: Verifying Checksum [2022-08-31T10:13:18.176Z] 329c88fbcd65: Download complete [2022-08-31T10:13:18.454Z] c0a3192eca97: Pull complete [2022-08-31T10:13:18.729Z] a050256f5b6f: Pull complete [2022-08-31T10:13:19.331Z] 8a5474983e97: Verifying Checksum [2022-08-31T10:13:19.331Z] 8a5474983e97: Download complete [2022-08-31T10:13:19.928Z] 656be50a0ddc: Verifying Checksum [2022-08-31T10:13:19.928Z] 656be50a0ddc: Download complete [2022-08-31T10:13:32.362Z] 656be50a0ddc: Pull complete [2022-08-31T10:13:32.640Z] 2bbca73fdf42: Pull complete [2022-08-31T10:13:32.916Z] 46d945488cbd: Pull complete [2022-08-31T10:13:39.677Z] 8a5474983e97: Pull complete [2022-08-31T10:13:41.119Z] 329c88fbcd65: Pull complete [2022-08-31T10:13:41.119Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T10:13:41.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T10:13:41.119Z] ---> ff4287adb874 [2022-08-31T10:13:41.119Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T10:13:43.097Z] ---> Running in fe6634ce812f [2022-08-31T10:13:43.097Z] Removing intermediate container fe6634ce812f [2022-08-31T10:13:43.097Z] ---> 2bad525b63d0 [2022-08-31T10:13:43.097Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:13:43.097Z] ---> Running in a759ce6ceaf7 [2022-08-31T10:13:43.373Z] Removing intermediate container a759ce6ceaf7 [2022-08-31T10:13:43.373Z] ---> 4c7d4338d214 [2022-08-31T10:13:43.373Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:13:43.661Z] ---> Running in 3101f4518b43 [2022-08-31T10:13:43.937Z] Removing intermediate container 3101f4518b43 [2022-08-31T10:13:43.937Z] ---> df14853afbaa [2022-08-31T10:13:43.937Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:13:43.937Z] ---> Running in e16f23456892 [2022-08-31T10:13:44.213Z] Removing intermediate container e16f23456892 [2022-08-31T10:13:44.214Z] ---> 921dc7dbf1f0 [2022-08-31T10:13:44.214Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:13:44.214Z] ---> Running in c9f45ad6a78f [2022-08-31T10:13:47.666Z] Removing intermediate container c9f45ad6a78f [2022-08-31T10:13:47.666Z] ---> 512ab6ef80a3 [2022-08-31T10:13:47.666Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:13:47.666Z] ---> Running in f7199853e3d1 [2022-08-31T10:13:48.648Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T10:13:49.627Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T10:13:50.617Z] OK: 221 MiB in 51 packages [2022-08-31T10:13:51.226Z] Removing intermediate container f7199853e3d1 [2022-08-31T10:13:51.226Z] ---> 45798bf9b2ba [2022-08-31T10:13:51.226Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T10:13:51.226Z] ---> Running in 2fd8ea3d7b7a [2022-08-31T10:13:51.832Z] Removing intermediate container 2fd8ea3d7b7a [2022-08-31T10:13:51.832Z] ---> 1ceb06a386d0 [2022-08-31T10:13:51.832Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T10:13:52.442Z] ---> 3c76d2fbe980 [2022-08-31T10:13:52.442Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:13:52.442Z] ---> Running in 8ebfa3f49045 [2022-08-31T10:14:49.031Z] Removing intermediate container 8ebfa3f49045 [2022-08-31T10:14:49.031Z] ---> 5f3eafaadeba [2022-08-31T10:14:49.031Z] Step 12/13 : COPY . . [2022-08-31T10:14:49.031Z] ---> ea0088a36689 [2022-08-31T10:14:49.031Z] Step 13/13 : RUN ${MAKE} [2022-08-31T10:14:49.031Z] ---> Running in d472d673161e [2022-08-31T10:14:49.031Z] noop [2022-08-31T10:14:49.031Z] Removing intermediate container d472d673161e [2022-08-31T10:14:49.031Z] ---> 259d71d25727 [2022-08-31T10:14:49.031Z] Successfully built 259d71d25727 [2022-08-31T10:14:49.031Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:14:49.410Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T10:14:49.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:14:49.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-24186 does not seem to be running inside a container [2022-08-31T10:14:49.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T10:14:51.152Z] $ docker top 4d4a378176e9ebfb821e455fd10a99757a99f2e142082a1948382b0c872d5723 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:14:52.106Z] + go version [2022-08-31T10:14:52.106Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T10:14:52.131Z] $ docker stop --time=1 4d4a378176e9ebfb821e455fd10a99757a99f2e142082a1948382b0c872d5723 [2022-08-31T10:14:53.859Z] $ docker rm -f 4d4a378176e9ebfb821e455fd10a99757a99f2e142082a1948382b0c872d5723 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:14:54.497Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T10:14:54.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:14:54.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-24186 does not seem to be running inside a container [2022-08-31T10:14:54.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T10:14:56.263Z] $ docker top 7b87ee5870fe6add51b2fa59a84a702f0bdef8bdfae621a8385771d35ad1b07e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:14:57.205Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh [2022-08-31T10:14:57.884Z] + make test [2022-08-31T10:14:57.884Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T10:14:59.876Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T10:16:36.791Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T10:16:36.791Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.129s coverage: 10.5% of statements [2022-08-31T10:16:36.791Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T10:16:58.980Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.056s coverage: 13.8% of statements [2022-08-31T10:16:58.980Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T10:16:58.980Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T10:17:21.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T10:17:21.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T10:17:21.222Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T10:17:21.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T10:17:21.259Z] $ docker stop --time=1 7b87ee5870fe6add51b2fa59a84a702f0bdef8bdfae621a8385771d35ad1b07e [2022-08-31T10:17:23.079Z] $ docker rm -f 7b87ee5870fe6add51b2fa59a84a702f0bdef8bdfae621a8385771d35ad1b07e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T10:17:24.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T10:17:24.167Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T10:17:24.745Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T10:17:25.160Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T10:17:25.497Z] + ls -al . [2022-08-31T10:17:25.497Z] total 228 [2022-08-31T10:17:25.498Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 10:14 . [2022-08-31T10:17:25.498Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:12 .. [2022-08-31T10:17:25.498Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 10:12 .git [2022-08-31T10:17:25.498Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:12 .github [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 10:12 .gitignore [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 10:12 .golangci.yml [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 10:12 Attribution.txt [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 10:12 CHANGELOG.md [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 31 10:12 Dockerfile [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 10:12 GOVERNANCE.md [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 10:12 Jenkinsfile [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 10:12 LICENSE [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 10:12 Makefile [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 10:12 OWNERS.md [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 10:12 README.md [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 10:10 VERSION [2022-08-31T10:17:25.498Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 10:12 bin [2022-08-31T10:17:25.498Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:12 cmd [2022-08-31T10:17:25.498Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 31 10:16 coverage.out [2022-08-31T10:17:25.498Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 10:12 doc [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 10:12 go.mod [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 10:12 go.sum [2022-08-31T10:17:25.498Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:12 internal [2022-08-31T10:17:25.498Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:12 snap [2022-08-31T10:17:25.498Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:17:25.860Z] + 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=697cfda0239d6a06779e86322c9919e176a6c344 --label arch=arm64 --label version=0.0.0 . [2022-08-31T10:17:26.462Z] Sending build context to Docker daemon 14.16MB [2022-08-31T10:17:26.462Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:17:26.462Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-31T10:17:26.462Z] ---> 259d71d25727 [2022-08-31T10:17:26.462Z] Step 3/27 : ARG MAKE="make build" [2022-08-31T10:17:26.739Z] ---> Running in 8592b1acb67a [2022-08-31T10:17:27.017Z] Removing intermediate container 8592b1acb67a [2022-08-31T10:17:27.017Z] ---> b0e3b9e15896 [2022-08-31T10:17:27.017Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:17:27.017Z] ---> Running in d125bff32df3 [2022-08-31T10:17:27.294Z] Removing intermediate container d125bff32df3 [2022-08-31T10:17:27.294Z] ---> e7c7b5fe789f [2022-08-31T10:17:27.294Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:17:27.294Z] ---> Running in 0608f3781bc6 [2022-08-31T10:17:27.899Z] Removing intermediate container 0608f3781bc6 [2022-08-31T10:17:27.899Z] ---> 5fa8d9cabb0d [2022-08-31T10:17:27.899Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:17:27.899Z] ---> Running in d32c6a841ba6 [2022-08-31T10:17:28.175Z] Removing intermediate container d32c6a841ba6 [2022-08-31T10:17:28.175Z] ---> e311cb5c0838 [2022-08-31T10:17:28.175Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:17:28.175Z] ---> Running in d0d779c59295 [2022-08-31T10:17:30.159Z] Removing intermediate container d0d779c59295 [2022-08-31T10:17:30.159Z] ---> 1dced19fda30 [2022-08-31T10:17:30.159Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:17:30.159Z] ---> Running in 6b4aeff1eb49 [2022-08-31T10:17:31.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T10:17:32.133Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T10:17:33.127Z] OK: 221 MiB in 51 packages [2022-08-31T10:17:33.740Z] Removing intermediate container 6b4aeff1eb49 [2022-08-31T10:17:33.740Z] ---> f989ebee09da [2022-08-31T10:17:33.740Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-31T10:17:34.015Z] ---> Running in f74a68bc1988 [2022-08-31T10:17:34.291Z] Removing intermediate container f74a68bc1988 [2022-08-31T10:17:34.291Z] ---> 81714d4567fb [2022-08-31T10:17:34.291Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-31T10:17:34.894Z] ---> 0b39f7445aae [2022-08-31T10:17:34.894Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:17:34.894Z] ---> Running in ae40285bf512 [2022-08-31T10:17:36.883Z] Removing intermediate container ae40285bf512 [2022-08-31T10:17:36.883Z] ---> 0289ebe9b995 [2022-08-31T10:17:36.883Z] Step 12/27 : COPY . . [2022-08-31T10:17:38.877Z] ---> b3a03d192fa0 [2022-08-31T10:17:38.877Z] Step 13/27 : RUN ${MAKE} [2022-08-31T10:17:38.877Z] ---> Running in 65c6a629f8f8 [2022-08-31T10:17:39.870Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T10:20:01.802Z] Removing intermediate container 65c6a629f8f8 [2022-08-31T10:20:01.802Z] ---> 73172f143441 [2022-08-31T10:20:01.802Z] Step 14/27 : FROM alpine:3.16 [2022-08-31T10:20:01.802Z] 3.16: Pulling from library/alpine [2022-08-31T10:20:01.802Z] 9b18e9b68314: Pulling fs layer [2022-08-31T10:20:01.802Z] 9b18e9b68314: Verifying Checksum [2022-08-31T10:20:01.802Z] 9b18e9b68314: Download complete [2022-08-31T10:20:01.802Z] 9b18e9b68314: Pull complete [2022-08-31T10:20:01.802Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T10:20:01.802Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T10:20:01.802Z] ---> a6215f271958 [2022-08-31T10:20:01.802Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T10:20:01.802Z] ---> Running in b84f8567598e [2022-08-31T10:20:01.802Z] Removing intermediate container b84f8567598e [2022-08-31T10:20:01.802Z] ---> bf7a9373d5fc [2022-08-31T10:20:01.802Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-31T10:20:01.802Z] ---> Running in 0348979d7ee0 [2022-08-31T10:20:01.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T10:20:01.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T10:20:02.084Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-31T10:20:02.084Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-31T10:20:02.084Z] (3/21) Installing readline (8.1.2-r0) [2022-08-31T10:20:02.084Z] (4/21) Installing bash (5.1.16-r2) [2022-08-31T10:20:02.362Z] Executing bash-5.1.16-r2.post-install [2022-08-31T10:20:02.362Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-31T10:20:02.362Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-31T10:20:02.362Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-31T10:20:02.362Z] (8/21) Installing libcurl (7.83.1-r3) [2022-08-31T10:20:02.362Z] (9/21) Installing curl (7.83.1-r3) [2022-08-31T10:20:02.362Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-31T10:20:02.362Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-31T10:20:02.362Z] (12/21) Installing jq (1.6-r1) [2022-08-31T10:20:02.362Z] (13/21) Installing popt (1.18-r0) [2022-08-31T10:20:02.639Z] (14/21) Installing pcre (8.45-r2) [2022-08-31T10:20:02.639Z] (15/21) Installing slang (2.3.2-r0) [2022-08-31T10:20:02.639Z] (16/21) Installing newt (0.52.21-r2) [2022-08-31T10:20:02.639Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T10:20:02.639Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-31T10:20:02.639Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T10:20:02.639Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-31T10:20:02.639Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-31T10:20:02.639Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T10:20:02.639Z] Executing ca-certificates-20220614-r0.trigger [2022-08-31T10:20:02.916Z] OK: 16 MiB in 35 packages [2022-08-31T10:20:04.900Z] Removing intermediate container 0348979d7ee0 [2022-08-31T10:20:04.900Z] ---> b0e4a900edf4 [2022-08-31T10:20:04.900Z] Step 17/27 : WORKDIR / [2022-08-31T10:20:04.900Z] ---> Running in 6422f61e0d42 [2022-08-31T10:20:04.900Z] Removing intermediate container 6422f61e0d42 [2022-08-31T10:20:04.900Z] ---> f3a33e18d243 [2022-08-31T10:20:04.900Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T10:20:06.343Z] ---> c02449b751fc [2022-08-31T10:20:06.343Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T10:20:06.943Z] ---> a065b156bacb [2022-08-31T10:20:06.943Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T10:20:07.542Z] ---> b4d5da5538ad [2022-08-31T10:20:07.542Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-31T10:20:08.142Z] ---> e7bc3e8a595c [2022-08-31T10:20:08.142Z] Step 22/27 : EXPOSE 59984 [2022-08-31T10:20:08.142Z] ---> Running in f3d9fba5b686 [2022-08-31T10:20:08.418Z] Removing intermediate container f3d9fba5b686 [2022-08-31T10:20:08.418Z] ---> 7f4c1fbbec0b [2022-08-31T10:20:08.418Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T10:20:08.418Z] ---> Running in 175c11f616a4 [2022-08-31T10:20:08.697Z] Removing intermediate container 175c11f616a4 [2022-08-31T10:20:08.697Z] ---> 3595d28f591a [2022-08-31T10:20:08.697Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T10:20:08.697Z] ---> Running in bfc74a581765 [2022-08-31T10:20:09.296Z] Removing intermediate container bfc74a581765 [2022-08-31T10:20:09.296Z] ---> cf76d9dabf6e [2022-08-31T10:20:09.296Z] Step 25/27 : LABEL arch=arm64 [2022-08-31T10:20:09.296Z] ---> Running in d1814c577885 [2022-08-31T10:20:09.573Z] Removing intermediate container d1814c577885 [2022-08-31T10:20:09.573Z] ---> 5432e3261bab [2022-08-31T10:20:09.573Z] Step 26/27 : LABEL git_sha=697cfda0239d6a06779e86322c9919e176a6c344 [2022-08-31T10:20:09.573Z] ---> Running in 78233db604a4 [2022-08-31T10:20:09.854Z] Removing intermediate container 78233db604a4 [2022-08-31T10:20:09.854Z] ---> a6b48bad6d23 [2022-08-31T10:20:09.854Z] Step 27/27 : LABEL version=0.0.0 [2022-08-31T10:20:09.854Z] ---> Running in 8f686ef18080 [2022-08-31T10:20:10.455Z] Removing intermediate container 8f686ef18080 [2022-08-31T10:20:10.455Z] ---> ec1095e1be7d [2022-08-31T10:20:10.455Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T10:20:10.455Z] Successfully built ec1095e1be7d [2022-08-31T10:20:10.455Z] 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-31T10:20:10.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T10:20:10.924Z] [2022-08-31T10:20:10.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:20:11.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T10:20:11.560Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T10:20:11.560Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T10:20:11.560Z] 04944245beec: Pulling fs layer [2022-08-31T10:20:11.560Z] 699f458cf7ca: Pulling fs layer [2022-08-31T10:20:11.560Z] 765212b225bb: Pulling fs layer [2022-08-31T10:20:11.560Z] f23df028b6ca: Pulling fs layer [2022-08-31T10:20:11.560Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T10:20:11.560Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T10:20:11.560Z] 765212b225bb: Waiting [2022-08-31T10:20:11.560Z] f23df028b6ca: Waiting [2022-08-31T10:20:11.560Z] d65c8cfc05b1: Waiting [2022-08-31T10:20:11.560Z] 2437ff75d9bd: Waiting [2022-08-31T10:20:11.560Z] 04944245beec: Verifying Checksum [2022-08-31T10:20:11.560Z] 04944245beec: Download complete [2022-08-31T10:20:11.560Z] 765212b225bb: Verifying Checksum [2022-08-31T10:20:11.560Z] 765212b225bb: Download complete [2022-08-31T10:20:11.560Z] f23df028b6ca: Verifying Checksum [2022-08-31T10:20:11.838Z] f23df028b6ca: Download complete [2022-08-31T10:20:11.839Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T10:20:11.839Z] d65c8cfc05b1: Download complete [2022-08-31T10:20:11.839Z] 699f458cf7ca: Verifying Checksum [2022-08-31T10:20:11.839Z] 699f458cf7ca: Download complete [2022-08-31T10:20:12.113Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T10:20:12.113Z] 8998bd30e6a1: Download complete [2022-08-31T10:20:14.739Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T10:20:14.739Z] 2437ff75d9bd: Download complete [2022-08-31T10:20:16.726Z] 8998bd30e6a1: Pull complete [2022-08-31T10:20:16.726Z] 04944245beec: Pull complete [2022-08-31T10:20:18.174Z] 699f458cf7ca: Pull complete [2022-08-31T10:20:18.448Z] 765212b225bb: Pull complete [2022-08-31T10:20:19.429Z] f23df028b6ca: Pull complete [2022-08-31T10:20:19.429Z] d65c8cfc05b1: Pull complete [2022-08-31T10:20:34.535Z] 2437ff75d9bd: Pull complete [2022-08-31T10:20:34.535Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T10:20:34.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T10:20:34.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:20:34.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-24186 does not seem to be running inside a container [2022-08-31T10:20:34.886Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T10:20:37.663Z] $ docker top 3dbd68ab07137510b15042b1f0aceea47960159b740dc074d5736d36cf4edf26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:38.606Z] ---> job-cost.sh [2022-08-31T10:20:38.606Z] lf-activate-venv: SKIPPING [2022-08-31T10:20:38.606Z] INFO: No Stack... [2022-08-31T10:20:39.201Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T10:20:40.181Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T10:20:40.864Z] + + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [2022-08-31T10:20:40.864Z] cut -d, -f6 [Pipeline] lock [2022-08-31T10:20:40.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] [2022-08-31T10:20:40.940Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] did not exist. Created. [2022-08-31T10:20:40.940Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T10:20:41.634Z] /w/workspace/device-onvif-camera/9@tmp/durable-d426b9ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T10:20:42.339Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T10:20:42.366Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T10:20:42.430Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T10:20:42.440Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T10:20:42.462Z] $ docker stop --time=1 3dbd68ab07137510b15042b1f0aceea47960159b740dc074d5736d36cf4edf26 [2022-08-31T10:20:44.003Z] $ docker rm -f 3dbd68ab07137510b15042b1f0aceea47960159b740dc074d5736d36cf4edf26 [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-31T10:20:44.535Z] provisioning config files... [2022-08-31T10:20:44.545Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5357408839659835802tmp [Pipeline] { [Pipeline] sh [2022-08-31T10:20:44.844Z] + set +x [2022-08-31T10:20:44.845Z] + curl -s https://codecov.io/bash [2022-08-31T10:20:44.845Z] + bash -s -- [2022-08-31T10:20:44.845Z] [2022-08-31T10:20:44.845Z] _____ _ [2022-08-31T10:20:44.845Z] / ____| | | [2022-08-31T10:20:44.845Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T10:20:44.845Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T10:20:44.845Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T10:20:44.845Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T10:20:44.845Z] Bash-1.0.6 [2022-08-31T10:20:44.845Z] [2022-08-31T10:20:44.845Z] [2022-08-31T10:20:44.845Z] ==> git version 2.25.1 found [2022-08-31T10:20:44.845Z] ==> 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-31T10:20:44.845Z] Release-Date: 2020-01-08 [2022-08-31T10:20:44.845Z] 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-31T10:20:44.845Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T10:20:44.845Z] ==> Jenkins CI detected. [2022-08-31T10:20:44.845Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-31T10:20:44.845Z] project root: . [2022-08-31T10:20:44.845Z] --> token set from env [2022-08-31T10:20:44.845Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T10:20:44.845Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T10:20:44.845Z] ==> Python coveragepy not found [2022-08-31T10:20:44.845Z] ==> Searching for coverage reports in: [2022-08-31T10:20:44.845Z] + . [2022-08-31T10:20:44.845Z] -> Found 1 reports [2022-08-31T10:20:44.845Z] ==> Detecting git/mercurial file structure [2022-08-31T10:20:44.845Z] ==> Reading reports [2022-08-31T10:20:45.106Z] + ./coverage.out bytes=77822 [2022-08-31T10:20:45.106Z] ==> Appending adjustments [2022-08-31T10:20:45.106Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T10:20:45.106Z] + Found adjustments [2022-08-31T10:20:45.106Z] ==> Gzipping contents [2022-08-31T10:20:45.106Z] 12K /tmp/codecov.VBRwNj.gz [2022-08-31T10:20:45.106Z] ==> Uploading reports [2022-08-31T10:20:45.106Z] url: https://codecov.io [2022-08-31T10:20:45.106Z] query: branch=PR-125&commit=88983c57e46bdf5c46b3367ef093301ccd0e2948&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-31T10:20:45.106Z] -> Pinging Codecov [2022-08-31T10:20:45.106Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=88983c57e46bdf5c46b3367ef093301ccd0e2948&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-31T10:20:46.050Z] -> Uploading to [2022-08-31T10:20:46.050Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-31/F29A59C45E3A92E06B3E522C9905F8EF/88983c57e46bdf5c46b3367ef093301ccd0e2948/e7c452c4-281e-46d8-9139-1ffae1b1f0dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T102045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cd6d357dade85ec8e438bae723b5453be7e30bf87e34170c181f109ff5e9aef [2022-08-31T10:20:46.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T10:20:46.050Z] Dload Upload Total Spent Left Speed [2022-08-31T10:20:46.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10477 0 0 100 10477 0 43115 --:--:-- --:--:-- --:--:-- 43115 [2022-08-31T10:20:46.312Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/88983c57e46bdf5c46b3367ef093301ccd0e2948 [Pipeline] } [2022-08-31T10:20:46.320Z] 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-31T10:20:47.111Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-31T10:20:47.111Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-31T10:20:47.111Z] total 16 [2022-08-31T10:20:47.111Z] drwxr-xr-x 3 root root 4096 Aug 31 10:12 . [2022-08-31T10:20:47.111Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 10:12 .. [2022-08-31T10:20:47.111Z] drwxr-xr-x 2 root root 4096 Aug 31 10:12 cost [2022-08-31T10:20:47.111Z] -rw-r--r-- 1 root root 91 Aug 31 10:12 cost.csv [2022-08-31T10:20:47.111Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-31T10:20:47.111Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-31T10:20:47.111Z] total 16 [2022-08-31T10:20:47.111Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 10:12 . [2022-08-31T10:20:47.111Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 10:12 .. [2022-08-31T10:20:47.111Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 10:12 cost [2022-08-31T10:20:47.111Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 31 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:47.408Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:48.276Z] ---> package-listing.sh [2022-08-31T10:20:48.276Z] ++ facter osfamily [2022-08-31T10:20:48.276Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T10:20:48.537Z] + OS_FAMILY=debian [2022-08-31T10:20:48.537Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-31T10:20:48.537Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T10:20:48.537Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T10:20:48.537Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T10:20:48.537Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T10:20:48.537Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-31T10:20:48.537Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T10:20:48.537Z] + case "${OS_FAMILY}" in [2022-08-31T10:20:48.537Z] + dpkg -l [2022-08-31T10:20:48.537Z] + grep '^ii' [2022-08-31T10:20:48.537Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T10:20:48.537Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T10:20:48.537Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T10:20:48.537Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-31T10:20:48.537Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-31T10:20:48.537Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-31T10:20:48.548Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T10:20:48.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:20:49.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:20:49.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:20:49.500Z] prd-ubuntu20.04-docker-8c-8g-24184 does not seem to be running inside a container [2022-08-31T10:20:49.539Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-31T10:20:49.774Z] $ docker top 970ff9473deb7047b03e8fe530aa753de904f28dd8dd7b458df07bed9f713017 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:20:50.142Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T10:20:50.433Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T10:20:50.725Z] + ls /var/log/sa-host [2022-08-31T10:20:50.725Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T10:20:50.879Z] provisioning config files... [2022-08-31T10:20:50.890Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3476319575665033044tmp [Pipeline] { [Pipeline] echo [2022-08-31T10:20:50.907Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:51.197Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T10:20:51.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:51.547Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T10:20:51.558Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:51.847Z] ---> sudo-logs.sh [2022-08-31T10:20:51.847Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T10:20:51.887Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:52.176Z] ---> job-cost.sh [2022-08-31T10:20:52.176Z] lf-activate-venv: SKIPPING [2022-08-31T10:20:52.176Z] DEBUG: total: 0.2199999988079071 [2022-08-31T10:20:52.176Z] INFO: Retrieving Stack Cost... [2022-08-31T10:20:52.438Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T10:20:53.010Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T10:20:53.024Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:20:53.309Z] ---> logs-deploy.sh [2022-08-31T10:20:53.309Z] lf-activate-venv: SKIPPING [2022-08-31T10:20:53.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/9 [2022-08-31T10:20:53.309Z] INFO: archiving workspace using pattern(s): [2022-08-31T10:20:54.256Z] Archives upload complete. [2022-08-31T10:20:54.256Z] INFO: archiving logs to Nexus