Pull request #110 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e27dca9baa08924a505fef6c64e81931b1c2a574 rather than bf81cd01d11d3c740179b83637a45b6e43e4b3fc Obtained Jenkinsfile from e27dca9baa08924a505fef6c64e81931b1c2a574 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-ssh5160708583063706799.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9565419321602681139.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-110/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-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13869926867329795140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9715761682648122515.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-110/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-110/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16695150136865601736.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20445 in /w/workspace/undry_device-onvif-camera_PR-110 [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-110 # 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 e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit bf81cd01d11d3c740179b83637a45b6e43e4b3fc Merge succeeded, producing 4be76235da09f2c89c118e25c86ca47e8f310b12 Checking out Revision 4be76235da09f2c89c118e25c86ca47e8f310b12 (PR-110) > 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/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf81cd01d11d3c740179b83637a45b6e43e4b3fc # 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 e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4be76235da09f2c89c118e25c86ca47e8f310b12 # timeout=10 Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" > git rev-list --no-walk 7147051f74aab223a43a100bca1a3774b3cd0e3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T22:47:31.038Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T22:47:31.098Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T22:47:31.111Z] ========================================================= [2022-07-18T22:47:31.111Z] EdgeX Global Pipelines Version Info [2022-07-18T22:47:31.111Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:47:31.860Z] ------------------- [2022-07-18T22:47:31.860Z] stable info: [2022-07-18T22:47:31.860Z] ------------------- [2022-07-18T22:47:31.860Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T22:47:31.860Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T22:47:31.860Z] Message: update stable to v1.0.238 [2022-07-18T22:47:32.433Z] ------------------- [2022-07-18T22:47:32.433Z] experimental info: [2022-07-18T22:47:32.433Z] ------------------- [2022-07-18T22:47:32.433Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T22:47:32.433Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T22:47:32.433Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T22:47:32.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-18T22:47:32.631Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-18T22:47:32.641Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T22:47:32.652Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T22:47:32.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T22:47:32.675Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T22:47:32.694Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T22:47:32.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T22:47:32.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T22:47:32.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T22:47:32.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T22:47:32.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-18T22:47:32.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T22:47:32.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T22:47:32.794Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T22:47:32.806Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T22:47:32.817Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T22:47:32.833Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T22:47:32.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T22:47:32.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T22:47:32.866Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T22:47:32.878Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T22:47:32.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T22:47:32.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T22:47:32.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T22:47:32.931Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T22:47:32.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T22:47:32.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo [2022-07-18T22:47:32.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo [2022-07-18T22:47:32.993Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo [2022-07-18T22:47:33.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4be76235da09f2c89c118e25c86ca47e8f310b12 [Pipeline] echo [2022-07-18T22:47:33.014Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4be7623 [Pipeline] echo [2022-07-18T22:47:33.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T22:47:33.068Z] provisioning config files... [2022-07-18T22:47:33.080Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config5601735531245544932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:47:33.380Z] ---> docker-login.sh [2022-07-18T22:47:33.380Z] nexus3.edgexfoundry.org:10001 [2022-07-18T22:47:33.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:33.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:33.902Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:33.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:33.902Z] [2022-07-18T22:47:33.902Z] Login Succeeded [2022-07-18T22:47:33.902Z] nexus3.edgexfoundry.org:10002 [2022-07-18T22:47:33.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:34.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:34.164Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:34.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:34.164Z] [2022-07-18T22:47:34.164Z] Login Succeeded [2022-07-18T22:47:34.164Z] nexus3.edgexfoundry.org:10003 [2022-07-18T22:47:34.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:34.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:34.164Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:34.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:34.164Z] [2022-07-18T22:47:34.164Z] Login Succeeded [2022-07-18T22:47:34.164Z] nexus3.edgexfoundry.org:10004 [2022-07-18T22:47:34.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:34.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:34.424Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:34.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:34.424Z] [2022-07-18T22:47:34.424Z] Login Succeeded [2022-07-18T22:47:34.424Z] docker.io [2022-07-18T22:47:34.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:34.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:34.686Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:34.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:34.686Z] [2022-07-18T22:47:34.686Z] Login Succeeded [2022-07-18T22:47:34.686Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T22:47:34.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T22:47:35.086Z] + git rev-list -1 --merges 4be76235da09f2c89c118e25c86ca47e8f310b12~1..4be76235da09f2c89c118e25c86ca47e8f310b12 [Pipeline] echo [2022-07-18T22:47:35.113Z] -----------> git rev-list -1 --merges 4be76235da09f2c89c118e25c86ca47e8f310b12~1..4be76235da09f2c89c118e25c86ca47e8f310b12 4be76235da09f2c89c118e25c86ca47e8f310b12 [2022-07-18T22:47:35.113Z] 4be76235da09f2c89c118e25c86ca47e8f310b12 [false] [Pipeline] sh [2022-07-18T22:47:35.411Z] + git log --format=format:%s -1 4be76235da09f2c89c118e25c86ca47e8f310b12 [Pipeline] echo [2022-07-18T22:47:35.427Z] ========================================================= [2022-07-18T22:47:35.427Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T22:47:35.427Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T22:47:35.764Z] + git log --format=format:%s -1 4be76235da09f2c89c118e25c86ca47e8f310b12 [Pipeline] echo [2022-07-18T22:47:35.776Z] [semverPrep] GIT_COMMIT: 4be76235da09f2c89c118e25c86ca47e8f310b12, Commit Message: Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD [Pipeline] echo [2022-07-18T22:47:35.786Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T22:47:36.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T22:47:36.182Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T22:47:36.182Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T22:47:36.182Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T22:47:36.182Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T22:47:36.182Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T22:47:36.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:47:36.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T22:47:36.630Z] [2022-07-18T22:47:36.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:47:36.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T22:47:36.949Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T22:47:36.949Z] b85a868b505f: Pulling fs layer [2022-07-18T22:47:36.949Z] e2be974225ed: Pulling fs layer [2022-07-18T22:47:36.949Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T22:47:36.949Z] 988bab9f4d93: Pulling fs layer [2022-07-18T22:47:36.949Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T22:47:36.949Z] eaf3925da568: Pulling fs layer [2022-07-18T22:47:36.949Z] bab4dde63d76: Pulling fs layer [2022-07-18T22:47:36.949Z] bde34c3a00c8: Pulling fs layer [2022-07-18T22:47:36.949Z] b352a97aabf1: Pulling fs layer [2022-07-18T22:47:36.949Z] 4872d77fe225: Pulling fs layer [2022-07-18T22:47:36.949Z] 5851b861e8e6: Pulling fs layer [2022-07-18T22:47:36.949Z] bab4dde63d76: Waiting [2022-07-18T22:47:36.949Z] bde34c3a00c8: Waiting [2022-07-18T22:47:36.949Z] b352a97aabf1: Waiting [2022-07-18T22:47:36.949Z] 4872d77fe225: Waiting [2022-07-18T22:47:36.949Z] eaf3925da568: Waiting [2022-07-18T22:47:36.949Z] 5851b861e8e6: Waiting [2022-07-18T22:47:36.949Z] 1469e6f7b9e6: Waiting [2022-07-18T22:47:36.949Z] 988bab9f4d93: Waiting [2022-07-18T22:47:36.949Z] e2be974225ed: Verifying Checksum [2022-07-18T22:47:36.949Z] e2be974225ed: Download complete [2022-07-18T22:47:36.949Z] 988bab9f4d93: Verifying Checksum [2022-07-18T22:47:36.949Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T22:47:36.949Z] 1469e6f7b9e6: Download complete [2022-07-18T22:47:36.949Z] eaf3925da568: Download complete [2022-07-18T22:47:37.222Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T22:47:37.222Z] 339a4e72a1f5: Download complete [2022-07-18T22:47:37.222Z] bde34c3a00c8: Verifying Checksum [2022-07-18T22:47:37.222Z] bde34c3a00c8: Download complete [2022-07-18T22:47:37.222Z] b352a97aabf1: Verifying Checksum [2022-07-18T22:47:37.222Z] b352a97aabf1: Download complete [2022-07-18T22:47:37.222Z] 4872d77fe225: Verifying Checksum [2022-07-18T22:47:37.222Z] 4872d77fe225: Download complete [2022-07-18T22:47:37.222Z] 5851b861e8e6: Verifying Checksum [2022-07-18T22:47:37.222Z] 5851b861e8e6: Download complete [2022-07-18T22:47:37.222Z] b85a868b505f: Verifying Checksum [2022-07-18T22:47:37.222Z] b85a868b505f: Download complete [2022-07-18T22:47:37.482Z] bab4dde63d76: Verifying Checksum [2022-07-18T22:47:37.482Z] bab4dde63d76: Download complete [2022-07-18T22:47:38.421Z] b85a868b505f: Pull complete [2022-07-18T22:47:38.681Z] e2be974225ed: Pull complete [2022-07-18T22:47:39.252Z] 339a4e72a1f5: Pull complete [2022-07-18T22:47:39.252Z] 988bab9f4d93: Pull complete [2022-07-18T22:47:39.512Z] 1469e6f7b9e6: Pull complete [2022-07-18T22:47:39.512Z] eaf3925da568: Pull complete [2022-07-18T22:47:41.421Z] bab4dde63d76: Pull complete [2022-07-18T22:47:41.421Z] bde34c3a00c8: Pull complete [2022-07-18T22:47:41.683Z] b352a97aabf1: Pull complete [2022-07-18T22:47:41.683Z] 4872d77fe225: Pull complete [2022-07-18T22:47:41.683Z] 5851b861e8e6: Pull complete [2022-07-18T22:47:41.683Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T22:47:41.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T22:47:41.683Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:47:41.777Z] prd-ubuntu20.04-docker-8c-8g-20445 does not seem to be running inside a container [2022-07-18T22:47:41.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T22:47:43.481Z] $ docker top 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 -eo pid,comm [2022-07-18T22:47:43.541Z] 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-07-18T22:47:43.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T22:47:43.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T22:47:43.578Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T22:47:43.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T22:47:43.712Z] $ docker exec 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 ssh-agent [2022-07-18T22:47:43.834Z] SSH_AUTH_SOCK=/tmp/ssh-BLNkiYEQ5dQ2/agent.34 [2022-07-18T22:47:43.834Z] SSH_AGENT_PID=40 [2022-07-18T22:47:43.840Z] Running ssh-add (command line suppressed) [2022-07-18T22:47:43.951Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_3115185012310588601.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_3115185012310588601.key) [2022-07-18T22:47:43.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T22:47:44.252Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T22:47:44.277Z] $ docker exec --env ******** --env ******** 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 ssh-agent -k [2022-07-18T22:47:44.396Z] unset SSH_AUTH_SOCK; [2022-07-18T22:47:44.396Z] unset SSH_AGENT_PID; [2022-07-18T22:47:44.396Z] echo Agent pid 40 killed; [2022-07-18T22:47:44.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T22:47:44.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T22:47:44.435Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T22:47:44.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T22:47:44.560Z] $ docker exec 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 ssh-agent [2022-07-18T22:47:44.686Z] SSH_AUTH_SOCK=/tmp/ssh-4BDpHLbsefHW/agent.74 [2022-07-18T22:47:44.686Z] SSH_AGENT_PID=81 [2022-07-18T22:47:44.690Z] Running ssh-add (command line suppressed) [2022-07-18T22:47:44.811Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_4627641313329129128.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_4627641313329129128.key) [2022-07-18T22:47:44.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T22:47:45.114Z] + git semver init [2022-07-18T22:47:45.374Z] 2022-07-18 22:47:45,307 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T22:47:45.375Z] 2022-07-18 22:47:45,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-110/.semver [2022-07-18T22:47:45.375Z] 2022-07-18 22:47:45,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-110/.semver [2022-07-18T22:47:45.375Z] 2022-07-18 22:47:45,309 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-110/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-110, universal_newlines=False, shell=None, istream=None) [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,979 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-110/.git/info/exclude [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 with force:False [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,980 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,983 [execute] INFO git cat-file --batch-check [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-110/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,990 [execute] INFO git cat-file --batch [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-110/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T22:47:46.313Z] 2022-07-18 22:47:45,995 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-18T22:47:46.313Z] 0.0.0 [Pipeline] } [2022-07-18T22:47:46.329Z] $ docker exec --env ******** --env ******** 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 ssh-agent -k [2022-07-18T22:47:46.443Z] unset SSH_AUTH_SOCK; [2022-07-18T22:47:46.443Z] unset SSH_AGENT_PID; [2022-07-18T22:47:46.443Z] echo Agent pid 81 killed; [2022-07-18T22:47:46.450Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T22:47:46.760Z] + git semver [Pipeline] } [2022-07-18T22:47:47.040Z] $ docker stop --time=1 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 [2022-07-18T22:47:48.354Z] $ docker rm -f 6dd5b2525e3c882c3636bc58d4b73e8a9c91bb2eb5b4956d251f253acb4ba397 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T22:47:48.704Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T22:47:48.945Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T22:47:48.948Z] [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-07-18T22:47:49.106Z] provisioning config files... [2022-07-18T22:47:49.115Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config3871237268485658646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:47:49.413Z] ---> docker-login.sh [2022-07-18T22:47:49.413Z] nexus3.edgexfoundry.org:10001 [2022-07-18T22:47:49.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:49.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:49.413Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:49.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:49.413Z] [2022-07-18T22:47:49.413Z] Login Succeeded [2022-07-18T22:47:49.413Z] nexus3.edgexfoundry.org:10002 [2022-07-18T22:47:49.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:49.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:49.673Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:49.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:49.673Z] [2022-07-18T22:47:49.673Z] Login Succeeded [2022-07-18T22:47:49.673Z] nexus3.edgexfoundry.org:10003 [2022-07-18T22:47:49.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:49.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:49.673Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:49.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:49.673Z] [2022-07-18T22:47:49.673Z] Login Succeeded [2022-07-18T22:47:49.673Z] nexus3.edgexfoundry.org:10004 [2022-07-18T22:47:49.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:49.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:49.933Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:49.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:49.933Z] [2022-07-18T22:47:49.933Z] Login Succeeded [2022-07-18T22:47:49.933Z] docker.io [2022-07-18T22:47:49.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:47:50.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:47:50.193Z] Configure a credential helper to remove this warning. See [2022-07-18T22:47:50.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:47:50.193Z] [2022-07-18T22:47:50.193Z] Login Succeeded [2022-07-18T22:47:50.193Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T22:47:50.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T22:47:50.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T22:47:50.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T22:47:50.293Z] ========================================================= [2022-07-18T22:47:50.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T22:47:50.293Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:47:50.617Z] + 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-07-18T22:47:50.617Z] Sending build context to Docker daemon 16.06MB [2022-07-18T22:47:50.617Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T22:47:50.617Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-18T22:47:50.879Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T22:47:50.879Z] 2408cc74d12b: Pulling fs layer [2022-07-18T22:47:50.879Z] ea60b727a1ce: Pulling fs layer [2022-07-18T22:47:50.879Z] 30c4a7721957: Pulling fs layer [2022-07-18T22:47:50.879Z] 370296b7ddb6: Pulling fs layer [2022-07-18T22:47:50.879Z] 7c6cee850709: Pulling fs layer [2022-07-18T22:47:50.879Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T22:47:50.879Z] d94ebbe4e438: Pulling fs layer [2022-07-18T22:47:50.879Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T22:47:50.879Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T22:47:50.879Z] d94ebbe4e438: Waiting [2022-07-18T22:47:50.879Z] bcfd1f05c69d: Waiting [2022-07-18T22:47:50.879Z] 39a5fcdaea64: Waiting [2022-07-18T22:47:50.879Z] 59ccb84bbe0f: Waiting [2022-07-18T22:47:50.879Z] 370296b7ddb6: Waiting [2022-07-18T22:47:50.879Z] 7c6cee850709: Waiting [2022-07-18T22:47:50.879Z] 30c4a7721957: Verifying Checksum [2022-07-18T22:47:50.879Z] 30c4a7721957: Download complete [2022-07-18T22:47:50.879Z] ea60b727a1ce: Verifying Checksum [2022-07-18T22:47:50.879Z] ea60b727a1ce: Download complete [2022-07-18T22:47:50.879Z] 7c6cee850709: Verifying Checksum [2022-07-18T22:47:50.879Z] 7c6cee850709: Download complete [2022-07-18T22:47:50.879Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T22:47:50.879Z] 39a5fcdaea64: Download complete [2022-07-18T22:47:50.879Z] 2408cc74d12b: Verifying Checksum [2022-07-18T22:47:50.879Z] 2408cc74d12b: Download complete [2022-07-18T22:47:50.879Z] d94ebbe4e438: Verifying Checksum [2022-07-18T22:47:50.879Z] d94ebbe4e438: Download complete [2022-07-18T22:47:50.879Z] 2408cc74d12b: Pull complete [2022-07-18T22:47:51.151Z] ea60b727a1ce: Pull complete [2022-07-18T22:47:51.151Z] 30c4a7721957: Pull complete [2022-07-18T22:47:51.412Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T22:47:51.412Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T22:47:51.412Z] bcfd1f05c69d: Download complete [2022-07-18T22:47:51.412Z] 370296b7ddb6: Verifying Checksum [2022-07-18T22:47:51.412Z] 370296b7ddb6: Download complete [2022-07-18T22:47:55.605Z] 370296b7ddb6: Pull complete [2022-07-18T22:47:55.605Z] 7c6cee850709: Pull complete [2022-07-18T22:47:55.605Z] 39a5fcdaea64: Pull complete [2022-07-18T22:47:55.605Z] d94ebbe4e438: Pull complete [2022-07-18T22:47:57.514Z] bcfd1f05c69d: Pull complete [2022-07-18T22:47:58.454Z] 59ccb84bbe0f: Pull complete [2022-07-18T22:47:58.454Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T22:47:58.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T22:47:58.454Z] ---> a4fb48ad2a94 [2022-07-18T22:47:58.454Z] Step 3/13 : ARG MAKE="make build" [2022-07-18T22:48:00.371Z] ---> Running in 96f427c5095d [2022-07-18T22:48:00.371Z] Removing intermediate container 96f427c5095d [2022-07-18T22:48:00.371Z] ---> d6be2af4fd3a [2022-07-18T22:48:00.371Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T22:48:00.371Z] ---> Running in c75af69a1091 [2022-07-18T22:48:00.629Z] Removing intermediate container c75af69a1091 [2022-07-18T22:48:00.629Z] ---> fa4101ed967b [2022-07-18T22:48:00.629Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T22:48:00.629Z] ---> Running in 789cc1922aac [2022-07-18T22:48:00.629Z] Removing intermediate container 789cc1922aac [2022-07-18T22:48:00.629Z] ---> 9542d02a8361 [2022-07-18T22:48:00.629Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-18T22:48:00.629Z] ---> Running in f6f6f400d742 [2022-07-18T22:48:00.890Z] Removing intermediate container f6f6f400d742 [2022-07-18T22:48:00.890Z] ---> 25668864e7f7 [2022-07-18T22:48:00.890Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T22:48:00.890Z] ---> Running in 8d02382cd5ef [2022-07-18T22:48:01.468Z] Removing intermediate container 8d02382cd5ef [2022-07-18T22:48:01.468Z] ---> 0238b14b0234 [2022-07-18T22:48:01.468Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T22:48:01.468Z] ---> Running in 9e16c2aae036 [2022-07-18T22:48:01.729Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T22:48:04.052Z] Still waiting to schedule task [2022-07-18T22:48:04.052Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T22:48:05.048Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T22:48:05.630Z] OK: 211 MiB in 51 packages [2022-07-18T22:48:05.891Z] Removing intermediate container 9e16c2aae036 [2022-07-18T22:48:05.891Z] ---> 8b4c1579c397 [2022-07-18T22:48:05.891Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-18T22:48:05.891Z] ---> Running in c06749bd975e [2022-07-18T22:48:05.891Z] Removing intermediate container c06749bd975e [2022-07-18T22:48:05.891Z] ---> a58ec213cd68 [2022-07-18T22:48:05.891Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-18T22:48:06.151Z] ---> 4403515a1a07 [2022-07-18T22:48:06.151Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T22:48:06.151Z] ---> Running in 98af0c45c225 [2022-07-18T22:48:24.268Z] Removing intermediate container 98af0c45c225 [2022-07-18T22:48:24.268Z] ---> 9ae6d60417fc [2022-07-18T22:48:24.268Z] Step 12/13 : COPY . . [2022-07-18T22:48:24.840Z] ---> 2b25d86b38cb [2022-07-18T22:48:24.840Z] Step 13/13 : RUN ${MAKE} [2022-07-18T22:48:24.840Z] ---> Running in e764ecc1d3ef [2022-07-18T22:48:25.100Z] noop [2022-07-18T22:48:25.361Z] Removing intermediate container e764ecc1d3ef [2022-07-18T22:48:25.361Z] ---> 025e89e99886 [2022-07-18T22:48:25.361Z] Successfully built 025e89e99886 [2022-07-18T22:48:25.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:48:25.679Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T22:48:25.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:48:25.761Z] prd-ubuntu20.04-docker-8c-8g-20445 does not seem to be running inside a container [2022-07-18T22:48:25.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T22:48:26.187Z] $ docker top c3f835c20539f087b275199dc4ae3df6a83e52bd6e3e9bb6ce610f0e9f02f5d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T22:48:26.546Z] + go version [2022-07-18T22:48:26.546Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T22:48:26.562Z] $ docker stop --time=1 c3f835c20539f087b275199dc4ae3df6a83e52bd6e3e9bb6ce610f0e9f02f5d6 [2022-07-18T22:48:27.852Z] $ docker rm -f c3f835c20539f087b275199dc4ae3df6a83e52bd6e3e9bb6ce610f0e9f02f5d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:48:28.264Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T22:48:28.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:48:28.381Z] prd-ubuntu20.04-docker-8c-8g-20445 does not seem to be running inside a container [2022-07-18T22:48:28.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T22:48:28.849Z] $ docker top 3d0bbb335355c1d24b706271380ea91ac4ab2ecb5a5c8b53e5f8b281f5fc74fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T22:48:29.212Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] fileExists [Pipeline] sh [2022-07-18T22:48:29.512Z] + make test [2022-07-18T22:48:29.513Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T22:48:30.081Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-18T22:48:40.061Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-18T22:48:40.061Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-07-18T22:48:40.061Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-18T22:48:43.356Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.907s coverage: 13.8% of statements [2022-07-18T22:48:49.932Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T22:48:52.470Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T22:48:52.470Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T22:48:52.470Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T22:48:53.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T22:48:53.069Z] $ docker stop --time=1 3d0bbb335355c1d24b706271380ea91ac4ab2ecb5a5c8b53e5f8b281f5fc74fa [2022-07-18T22:48:55.173Z] $ docker rm -f 3d0bbb335355c1d24b706271380ea91ac4ab2ecb5a5c8b53e5f8b281f5fc74fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T22:48:55.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T22:48:55.683Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T22:48:56.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T22:48:56.477Z] + ls -al . [2022-07-18T22:48:56.477Z] total 252 [2022-07-18T22:48:56.477Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 22:48 . [2022-07-18T22:48:56.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 22:47 .. [2022-07-18T22:48:56.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 22:48 .git [2022-07-18T22:48:56.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 22:47 .github [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 22:47 .gitignore [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 22:47 .golangci.yml [2022-07-18T22:48:56.477Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 22:47 .semver [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 22:47 Attribution.txt [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 22:47 CHANGELOG.md [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 22:47 Dockerfile [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 22:47 GOVERNANCE.md [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 22:47 Jenkinsfile [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 22:47 LICENSE [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 22:47 Makefile [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 22:47 OWNERS.md [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 22:47 README.md [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 22:47 VERSION [2022-07-18T22:48:56.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 22:47 bin [2022-07-18T22:48:56.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 22:47 cmd [2022-07-18T22:48:56.477Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 22:48 coverage.out [2022-07-18T22:48:56.477Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 22:47 doc [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 22:47 go.mod [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 22:47 go.sum [2022-07-18T22:48:56.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 22:47 internal [2022-07-18T22:48:56.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 22:47 snap [2022-07-18T22:48:56.477Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:48:56.835Z] + 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=4be76235da09f2c89c118e25c86ca47e8f310b12 --label arch=amd64 --label version=0.0.0 . [2022-07-18T22:48:56.835Z] Sending build context to Docker daemon 16.13MB [2022-07-18T22:48:56.835Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T22:48:56.835Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T22:48:56.835Z] ---> 025e89e99886 [2022-07-18T22:48:56.835Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T22:48:57.097Z] ---> Running in f621fd76c9e6 [2022-07-18T22:48:57.097Z] Removing intermediate container f621fd76c9e6 [2022-07-18T22:48:57.097Z] ---> 3c8e59f9beef [2022-07-18T22:48:57.097Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T22:48:57.097Z] ---> Running in 161cbecaeb91 [2022-07-18T22:48:57.359Z] Removing intermediate container 161cbecaeb91 [2022-07-18T22:48:57.359Z] ---> 51ce1fc80f61 [2022-07-18T22:48:57.359Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T22:48:57.359Z] ---> Running in 0b7fbaf260ce [2022-07-18T22:48:57.359Z] Removing intermediate container 0b7fbaf260ce [2022-07-18T22:48:57.359Z] ---> dbbd52999dad [2022-07-18T22:48:57.359Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-18T22:48:57.619Z] ---> Running in f3f07ec32764 [2022-07-18T22:48:57.619Z] Removing intermediate container f3f07ec32764 [2022-07-18T22:48:57.619Z] ---> e1418e8a1780 [2022-07-18T22:48:57.619Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T22:48:57.879Z] ---> Running in ac86bfb8f889 [2022-07-18T22:48:58.452Z] Removing intermediate container ac86bfb8f889 [2022-07-18T22:48:58.452Z] ---> 0344ec2f88d0 [2022-07-18T22:48:58.452Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T22:48:58.452Z] ---> Running in ca908c8f20eb [2022-07-18T22:48:58.712Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T22:48:59.655Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T22:48:59.916Z] OK: 211 MiB in 51 packages [2022-07-18T22:49:00.177Z] Removing intermediate container ca908c8f20eb [2022-07-18T22:49:00.177Z] ---> c7eebc91e286 [2022-07-18T22:49:00.177Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-18T22:49:00.177Z] ---> Running in 4cfba9f705d1 [2022-07-18T22:49:00.177Z] Removing intermediate container 4cfba9f705d1 [2022-07-18T22:49:00.177Z] ---> d65e0cf8ab0b [2022-07-18T22:49:00.177Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-18T22:49:00.437Z] ---> 972b44b2f13a [2022-07-18T22:49:00.437Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T22:49:00.437Z] ---> Running in 6b7750c8e313 [2022-07-18T22:49:01.009Z] Removing intermediate container 6b7750c8e313 [2022-07-18T22:49:01.009Z] ---> cf54e3adffa2 [2022-07-18T22:49:01.009Z] Step 12/26 : COPY . . [2022-07-18T22:49:01.579Z] ---> a08f3d82ba32 [2022-07-18T22:49:01.579Z] Step 13/26 : RUN ${MAKE} [2022-07-18T22:49:01.579Z] ---> Running in 8f0e210a5021 [2022-07-18T22:49:01.838Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-18T22:49:23.772Z] Removing intermediate container 8f0e210a5021 [2022-07-18T22:49:23.772Z] ---> fb8fd64cc4dc [2022-07-18T22:49:23.772Z] Step 14/26 : FROM alpine:3.15 [2022-07-18T22:49:23.772Z] 3.15: Pulling from library/alpine [2022-07-18T22:49:23.772Z] df9b9388f04a: Pulling fs layer [2022-07-18T22:49:23.772Z] df9b9388f04a: Verifying Checksum [2022-07-18T22:49:23.772Z] df9b9388f04a: Download complete [2022-07-18T22:49:23.772Z] df9b9388f04a: Pull complete [2022-07-18T22:49:23.772Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-18T22:49:23.772Z] Status: Downloaded newer image for alpine:3.15 [2022-07-18T22:49:23.772Z] ---> 0ac33e5f5afa [2022-07-18T22:49:23.772Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-18T22:49:23.772Z] ---> Running in 435968183f03 [2022-07-18T22:49:23.772Z] Removing intermediate container 435968183f03 [2022-07-18T22:49:23.772Z] ---> ce0055a4edbe [2022-07-18T22:49:23.772Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T22:49:23.772Z] ---> Running in 3913c662906a [2022-07-18T22:49:23.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T22:49:23.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-18T22:49:23.772Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T22:49:23.772Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-18T22:49:23.772Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T22:49:23.772Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-18T22:49:23.772Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T22:49:23.772Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T22:49:23.772Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T22:49:23.772Z] OK: 8 MiB in 20 packages [2022-07-18T22:49:23.772Z] Removing intermediate container 3913c662906a [2022-07-18T22:49:23.772Z] ---> 84b2503e60ab [2022-07-18T22:49:23.772Z] Step 17/26 : WORKDIR / [2022-07-18T22:49:23.772Z] ---> Running in 7506d4cf8179 [2022-07-18T22:49:23.772Z] Removing intermediate container 7506d4cf8179 [2022-07-18T22:49:23.772Z] ---> 3d25929995c7 [2022-07-18T22:49:23.772Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-18T22:49:24.341Z] ---> d16fb12295d1 [2022-07-18T22:49:24.341Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-18T22:49:24.341Z] ---> 362855e82257 [2022-07-18T22:49:24.341Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-18T22:49:24.603Z] ---> 6728baeb7a6f [2022-07-18T22:49:24.603Z] Step 21/26 : EXPOSE 59984 [2022-07-18T22:49:24.603Z] ---> Running in e12889a5a151 [2022-07-18T22:49:24.603Z] Removing intermediate container e12889a5a151 [2022-07-18T22:49:24.603Z] ---> 517ad6f3afa6 [2022-07-18T22:49:24.603Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-18T22:49:24.864Z] ---> Running in f0c0e70290b7 [2022-07-18T22:49:24.864Z] Removing intermediate container f0c0e70290b7 [2022-07-18T22:49:24.864Z] ---> a412b8e8c9a2 [2022-07-18T22:49:24.864Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T22:49:24.864Z] ---> Running in 3d40c34a068d [2022-07-18T22:49:24.864Z] Removing intermediate container 3d40c34a068d [2022-07-18T22:49:24.864Z] ---> 16f1580ce8c5 [2022-07-18T22:49:24.864Z] Step 24/26 : LABEL arch=amd64 [2022-07-18T22:49:25.125Z] ---> Running in ce11737ba96d [2022-07-18T22:49:25.125Z] Removing intermediate container ce11737ba96d [2022-07-18T22:49:25.125Z] ---> 4a99d4b997a2 [2022-07-18T22:49:25.125Z] Step 25/26 : LABEL git_sha=4be76235da09f2c89c118e25c86ca47e8f310b12 [2022-07-18T22:49:25.125Z] ---> Running in c09f77a96a0b [2022-07-18T22:49:25.386Z] Removing intermediate container c09f77a96a0b [2022-07-18T22:49:25.386Z] ---> dbd60d8f12a6 [2022-07-18T22:49:25.386Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T22:49:25.386Z] ---> Running in b4d55a6bc11e [2022-07-18T22:49:25.386Z] Removing intermediate container b4d55a6bc11e [2022-07-18T22:49:25.386Z] ---> 90d2c6f44bca [2022-07-18T22:49:25.386Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T22:49:25.386Z] Successfully built 90d2c6f44bca [2022-07-18T22:49:25.386Z] 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-07-18T22:49:25.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T22:49:25.817Z] [2022-07-18T22:49:25.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:49:26.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T22:49:26.129Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T22:49:26.129Z] 5eb5b503b376: Pulling fs layer [2022-07-18T22:49:26.129Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T22:49:26.129Z] ec43610c2a17: Pulling fs layer [2022-07-18T22:49:26.129Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T22:49:26.129Z] 33b1e0a273af: Pulling fs layer [2022-07-18T22:49:26.129Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T22:49:26.129Z] 2f39f015ded8: Pulling fs layer [2022-07-18T22:49:26.129Z] 33b1e0a273af: Waiting [2022-07-18T22:49:26.129Z] 5d3b04190fa2: Waiting [2022-07-18T22:49:26.129Z] 2f39f015ded8: Waiting [2022-07-18T22:49:26.129Z] 3a2ae6a8a46f: Waiting [2022-07-18T22:49:26.129Z] 5c69ac0246d0: Verifying Checksum [2022-07-18T22:49:26.129Z] 5c69ac0246d0: Download complete [2022-07-18T22:49:26.129Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T22:49:26.129Z] 3a2ae6a8a46f: Download complete [2022-07-18T22:49:26.129Z] 33b1e0a273af: Verifying Checksum [2022-07-18T22:49:26.129Z] 33b1e0a273af: Download complete [2022-07-18T22:49:26.129Z] 5d3b04190fa2: Verifying Checksum [2022-07-18T22:49:26.129Z] 5d3b04190fa2: Download complete [2022-07-18T22:49:26.391Z] ec43610c2a17: Verifying Checksum [2022-07-18T22:49:26.391Z] ec43610c2a17: Download complete [2022-07-18T22:49:26.391Z] 5eb5b503b376: Verifying Checksum [2022-07-18T22:49:26.391Z] 5eb5b503b376: Download complete [2022-07-18T22:49:26.962Z] 2f39f015ded8: Download complete [2022-07-18T22:49:27.901Z] 5eb5b503b376: Pull complete [2022-07-18T22:49:27.901Z] 5c69ac0246d0: Pull complete [2022-07-18T22:49:28.472Z] ec43610c2a17: Pull complete [2022-07-18T22:49:28.472Z] 3a2ae6a8a46f: Pull complete [2022-07-18T22:49:28.732Z] 33b1e0a273af: Pull complete [2022-07-18T22:49:28.991Z] 5d3b04190fa2: Pull complete [2022-07-18T22:49:34.269Z] 2f39f015ded8: Pull complete [2022-07-18T22:49:34.269Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T22:49:34.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T22:49:34.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:49:34.373Z] prd-ubuntu20.04-docker-8c-8g-20445 does not seem to be running inside a container [2022-07-18T22:49:34.412Z] $ 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-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@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-07-18T22:49:35.447Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20446 in /w/workspace/undry_device-onvif-camera_PR-110 [2022-07-18T22:49:36.480Z] $ docker top edbafacc7600757818016b2df6bf22f2f6095a240f14f0fe42533799b4e53a95 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-07-18T22:49:36.635Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-07-18T22:49:36.692Z] Selected Git installation does not exist. Using Default [2022-07-18T22:49:36.693Z] The recommended git tool is: NONE [2022-07-18T22:49:36.890Z] ---> job-cost.sh [2022-07-18T22:49:36.890Z] lf-activate-venv: SKIPPING [2022-07-18T22:49:36.890Z] INFO: No Stack... [2022-07-18T22:49:37.150Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T22:49:37.719Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T22:49:38.015Z] + cat /w/workspace/undry_device-onvif-camera_PR-110/archives/cost.csv [2022-07-18T22:49:38.015Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T22:49:38.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] [2022-07-18T22:49:38.040Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] did not exist. Created. [2022-07-18T22:49:38.040Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T22:49:38.341Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T22:49:38.371Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T22:49:38.378Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T22:49:38.400Z] $ docker stop --time=1 edbafacc7600757818016b2df6bf22f2f6095a240f14f0fe42533799b4e53a95 [2022-07-18T22:49:39.610Z] $ docker rm -f edbafacc7600757818016b2df6bf22f2f6095a240f14f0fe42533799b4e53a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T22:49:43.147Z] using credential edgex-jenkins-ssh [2022-07-18T22:49:43.169Z] Cloning the remote Git repository [2022-07-18T22:49:43.232Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T22:49:43.310Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-07-18T22:49:43.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T22:49:43.380Z] > git --version # timeout=10 [2022-07-18T22:49:43.411Z] > git --version # 'git version 2.25.1' [2022-07-18T22:49:43.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T22:49:43.511Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T22:49:44.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-18T22:49:44.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T22:49:44.386Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-18T22:49:44.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T22:49:44.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T22:49:44.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T22:49:45.656Z] Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit bf81cd01d11d3c740179b83637a45b6e43e4b3fc [2022-07-18T22:49:45.678Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T22:49:45.700Z] > git checkout -f bf81cd01d11d3c740179b83637a45b6e43e4b3fc # timeout=10 [2022-07-18T22:49:45.891Z] > git remote # timeout=10 [2022-07-18T22:49:45.906Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T22:49:45.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T22:49:45.931Z] > git merge e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 [2022-07-18T22:49:46.227Z] Merge succeeded, producing 36bdedd742e1c530cbdc6394d19aee75ef507d21 [2022-07-18T22:49:46.227Z] Checking out Revision 36bdedd742e1c530cbdc6394d19aee75ef507d21 (PR-110) [2022-07-18T22:49:46.211Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T22:49:46.234Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T22:49:46.254Z] > git checkout -f 36bdedd742e1c530cbdc6394d19aee75ef507d21 # timeout=10 [2022-07-18T22:49:50.426Z] Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" [2022-07-18T22:49:50.436Z] > git rev-list --no-walk 7147051f74aab223a43a100bca1a3774b3cd0e3e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T22:49:51.411Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T22:49:51.411Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T22:49:51.411Z] Dload Upload Total Spent Left Speed [2022-07-18T22:49:51.411Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-07-18T22:49:52.132Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T22:49:52.476Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T22:49:52.476Z] + sudo tee /etc/docker/daemon.new [2022-07-18T22:49:52.476Z] { [2022-07-18T22:49:52.476Z] "registry-mirrors": [ [2022-07-18T22:49:52.476Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T22:49:52.476Z] ], [2022-07-18T22:49:52.476Z] "bip": "10.250.0.254/24", [2022-07-18T22:49:52.476Z] "hosts": [ [2022-07-18T22:49:52.476Z] "tcp://0.0.0.0:5555", [2022-07-18T22:49:52.476Z] "unix:///var/run/docker.sock" [2022-07-18T22:49:52.476Z] ], [2022-07-18T22:49:52.476Z] "mtu": 1458, [2022-07-18T22:49:52.476Z] "selinux-enabled": true, [2022-07-18T22:49:52.476Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T22:49:52.476Z] } [Pipeline] sh [2022-07-18T22:49:52.824Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T22:49:53.165Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T22:50:11.667Z] provisioning config files... [2022-07-18T22:50:11.691Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config3547583278481574431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:50:12.042Z] ---> docker-login.sh [2022-07-18T22:50:12.042Z] nexus3.edgexfoundry.org:10001 [2022-07-18T22:50:12.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:50:12.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:50:12.906Z] Configure a credential helper to remove this warning. See [2022-07-18T22:50:12.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:50:12.906Z] [2022-07-18T22:50:12.906Z] Login Succeeded [2022-07-18T22:50:12.906Z] nexus3.edgexfoundry.org:10002 [2022-07-18T22:50:13.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:50:13.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:50:13.179Z] Configure a credential helper to remove this warning. See [2022-07-18T22:50:13.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:50:13.179Z] [2022-07-18T22:50:13.179Z] Login Succeeded [2022-07-18T22:50:13.179Z] nexus3.edgexfoundry.org:10003 [2022-07-18T22:50:13.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:50:13.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:50:13.727Z] Configure a credential helper to remove this warning. See [2022-07-18T22:50:13.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:50:13.727Z] [2022-07-18T22:50:13.727Z] Login Succeeded [2022-07-18T22:50:13.727Z] nexus3.edgexfoundry.org:10004 [2022-07-18T22:50:14.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:50:14.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:50:14.001Z] Configure a credential helper to remove this warning. See [2022-07-18T22:50:14.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:50:14.001Z] [2022-07-18T22:50:14.001Z] Login Succeeded [2022-07-18T22:50:14.001Z] docker.io [2022-07-18T22:50:14.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T22:50:14.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T22:50:14.884Z] Configure a credential helper to remove this warning. See [2022-07-18T22:50:14.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T22:50:14.884Z] [2022-07-18T22:50:14.884Z] Login Succeeded [2022-07-18T22:50:14.884Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T22:50:14.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T22:50:15.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T22:50:15.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T22:50:15.161Z] ========================================================= [2022-07-18T22:50:15.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T22:50:15.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:50:15.513Z] + 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-07-18T22:50:16.113Z] Sending build context to Docker daemon 13.15MB [2022-07-18T22:50:16.113Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T22:50:16.113Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-18T22:50:16.113Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T22:50:16.113Z] b3c136eddcbf: Pulling fs layer [2022-07-18T22:50:16.113Z] c0a3192eca97: Pulling fs layer [2022-07-18T22:50:16.113Z] a050256f5b6f: Pulling fs layer [2022-07-18T22:50:16.113Z] 656be50a0ddc: Pulling fs layer [2022-07-18T22:50:16.113Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T22:50:16.113Z] 46d945488cbd: Pulling fs layer [2022-07-18T22:50:16.113Z] 8a5474983e97: Pulling fs layer [2022-07-18T22:50:16.113Z] 329c88fbcd65: Pulling fs layer [2022-07-18T22:50:16.113Z] 656be50a0ddc: Waiting [2022-07-18T22:50:16.113Z] 2bbca73fdf42: Waiting [2022-07-18T22:50:16.113Z] 46d945488cbd: Waiting [2022-07-18T22:50:16.113Z] 8a5474983e97: Waiting [2022-07-18T22:50:16.113Z] 329c88fbcd65: Waiting [2022-07-18T22:50:16.400Z] a050256f5b6f: Verifying Checksum [2022-07-18T22:50:16.400Z] a050256f5b6f: Download complete [2022-07-18T22:50:16.400Z] c0a3192eca97: Download complete [2022-07-18T22:50:16.400Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T22:50:16.400Z] 2bbca73fdf42: Download complete [2022-07-18T22:50:16.400Z] 46d945488cbd: Verifying Checksum [2022-07-18T22:50:16.400Z] 46d945488cbd: Download complete [2022-07-18T22:50:16.400Z] b3c136eddcbf: Verifying Checksum [2022-07-18T22:50:16.400Z] b3c136eddcbf: Download complete [2022-07-18T22:50:17.392Z] b3c136eddcbf: Pull complete [2022-07-18T22:50:17.392Z] 329c88fbcd65: Verifying Checksum [2022-07-18T22:50:17.392Z] 329c88fbcd65: Download complete [2022-07-18T22:50:17.672Z] c0a3192eca97: Pull complete [2022-07-18T22:50:17.950Z] a050256f5b6f: Pull complete [2022-07-18T22:50:18.549Z] 8a5474983e97: Verifying Checksum [2022-07-18T22:50:18.549Z] 8a5474983e97: Download complete [2022-07-18T22:50:19.147Z] 656be50a0ddc: Verifying Checksum [2022-07-18T22:50:19.147Z] 656be50a0ddc: Download complete [2022-07-18T22:50:31.569Z] 656be50a0ddc: Pull complete [2022-07-18T22:50:31.843Z] 2bbca73fdf42: Pull complete [2022-07-18T22:50:32.118Z] 46d945488cbd: Pull complete [2022-07-18T22:50:38.841Z] 8a5474983e97: Pull complete [2022-07-18T22:50:40.283Z] 329c88fbcd65: Pull complete [2022-07-18T22:50:40.283Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T22:50:40.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T22:50:40.283Z] ---> ff4287adb874 [2022-07-18T22:50:40.283Z] Step 3/13 : ARG MAKE="make build" [2022-07-18T22:50:42.270Z] ---> Running in 0752607328d1 [2022-07-18T22:50:42.270Z] Removing intermediate container 0752607328d1 [2022-07-18T22:50:42.270Z] ---> b0e011f247c1 [2022-07-18T22:50:42.270Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T22:50:42.270Z] ---> Running in e3971e4bad6a [2022-07-18T22:50:42.555Z] Removing intermediate container e3971e4bad6a [2022-07-18T22:50:42.555Z] ---> c43c7324dcbd [2022-07-18T22:50:42.555Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T22:50:42.555Z] ---> Running in c513e151b7c2 [2022-07-18T22:50:43.156Z] Removing intermediate container c513e151b7c2 [2022-07-18T22:50:43.156Z] ---> 4660bdd8c5af [2022-07-18T22:50:43.156Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-18T22:50:43.156Z] ---> Running in 989c0415de56 [2022-07-18T22:50:43.430Z] Removing intermediate container 989c0415de56 [2022-07-18T22:50:43.430Z] ---> d9fd4b8f6d05 [2022-07-18T22:50:43.430Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T22:50:43.430Z] ---> Running in 5775e17e0ef0 [2022-07-18T22:50:46.841Z] Removing intermediate container 5775e17e0ef0 [2022-07-18T22:50:46.841Z] ---> 967719d479f2 [2022-07-18T22:50:46.841Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T22:50:46.841Z] ---> Running in f37aaa133100 [2022-07-18T22:50:47.442Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T22:50:48.421Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T22:50:49.403Z] OK: 221 MiB in 51 packages [2022-07-18T22:50:50.002Z] Removing intermediate container f37aaa133100 [2022-07-18T22:50:50.002Z] ---> 3513ab6f6606 [2022-07-18T22:50:50.002Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-18T22:50:50.002Z] ---> Running in 24e6ac0ee879 [2022-07-18T22:50:50.283Z] Removing intermediate container 24e6ac0ee879 [2022-07-18T22:50:50.283Z] ---> e2e545d446a2 [2022-07-18T22:50:50.283Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-18T22:50:50.887Z] ---> d13dd8db9d9c [2022-07-18T22:50:50.887Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T22:50:50.887Z] ---> Running in 609785b56d42 [2022-07-18T22:51:37.865Z] Removing intermediate container 609785b56d42 [2022-07-18T22:51:37.865Z] ---> 669016d24e4f [2022-07-18T22:51:37.865Z] Step 12/13 : COPY . . [2022-07-18T22:51:37.865Z] ---> 5a88f8555c13 [2022-07-18T22:51:37.865Z] Step 13/13 : RUN ${MAKE} [2022-07-18T22:51:37.865Z] ---> Running in 710839ea9026 [2022-07-18T22:51:37.865Z] noop [2022-07-18T22:51:38.139Z] Removing intermediate container 710839ea9026 [2022-07-18T22:51:38.139Z] ---> 9d67544fe1b0 [2022-07-18T22:51:38.413Z] Successfully built 9d67544fe1b0 [2022-07-18T22:51:38.413Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:51:38.772Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T22:51:38.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:51:38.999Z] prd-ubuntu20.04-docker-arm64-4c-16g-20446 does not seem to be running inside a container [2022-07-18T22:51:39.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T22:51:40.391Z] $ docker top f5b4caa1329fdfb17a6d1561a4156ed99651aa43e3ea66bd16eea59002c4ad3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T22:51:41.293Z] + go version [2022-07-18T22:51:41.293Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T22:51:41.329Z] $ docker stop --time=1 f5b4caa1329fdfb17a6d1561a4156ed99651aa43e3ea66bd16eea59002c4ad3e [2022-07-18T22:51:42.975Z] $ docker rm -f f5b4caa1329fdfb17a6d1561a4156ed99651aa43e3ea66bd16eea59002c4ad3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:51:43.561Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T22:51:43.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:51:43.789Z] prd-ubuntu20.04-docker-arm64-4c-16g-20446 does not seem to be running inside a container [2022-07-18T22:51:43.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T22:51:45.111Z] $ docker top 2f8acb8a70cc0bf335e50482ad95b92166a13663ffed092474375012255c07ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T22:51:46.009Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-07-18T22:51:46.692Z] + make test [2022-07-18T22:51:46.692Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T22:51:48.128Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-18T22:53:09.946Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-18T22:53:14.279Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements [2022-07-18T22:53:14.279Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-18T22:53:41.059Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.725s coverage: 13.8% of statements [2022-07-18T22:53:41.059Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T22:53:41.059Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T22:53:59.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T22:53:59.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T22:53:59.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T22:54:00.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T22:54:00.884Z] $ docker stop --time=1 2f8acb8a70cc0bf335e50482ad95b92166a13663ffed092474375012255c07ea [2022-07-18T22:54:02.641Z] $ docker rm -f 2f8acb8a70cc0bf335e50482ad95b92166a13663ffed092474375012255c07ea [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T22:54:03.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T22:54:03.708Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T22:54:04.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T22:54:04.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T22:54:05.234Z] + ls -al . [2022-07-18T22:54:05.234Z] total 248 [2022-07-18T22:54:05.234Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 22:54 . [2022-07-18T22:54:05.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 22:49 .. [2022-07-18T22:54:05.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 22:49 .git [2022-07-18T22:54:05.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 22:49 .github [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 22:49 .gitignore [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 22:49 .golangci.yml [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 22:49 Attribution.txt [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 22:49 CHANGELOG.md [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 22:49 Dockerfile [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 22:49 GOVERNANCE.md [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 22:49 Jenkinsfile [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 22:49 LICENSE [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 22:49 Makefile [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 22:49 OWNERS.md [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 22:49 README.md [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 22:47 VERSION [2022-07-18T22:54:05.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 22:49 bin [2022-07-18T22:54:05.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 22:49 cmd [2022-07-18T22:54:05.234Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 22:53 coverage.out [2022-07-18T22:54:05.234Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 22:49 doc [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 22:49 go.mod [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 22:49 go.sum [2022-07-18T22:54:05.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 22:49 internal [2022-07-18T22:54:05.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 22:49 snap [2022-07-18T22:54:05.234Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 22:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:54:05.606Z] + 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=36bdedd742e1c530cbdc6394d19aee75ef507d21 --label arch=arm64 --label version=0.0.0 . [2022-07-18T22:54:06.211Z] Sending build context to Docker daemon 13.22MB [2022-07-18T22:54:06.211Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T22:54:06.211Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T22:54:06.211Z] ---> 9d67544fe1b0 [2022-07-18T22:54:06.211Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T22:54:06.484Z] ---> Running in 8463124a9636 [2022-07-18T22:54:06.759Z] Removing intermediate container 8463124a9636 [2022-07-18T22:54:06.759Z] ---> 27e7b8c6766b [2022-07-18T22:54:06.759Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T22:54:06.759Z] ---> Running in 4ef58e5352d5 [2022-07-18T22:54:07.035Z] Removing intermediate container 4ef58e5352d5 [2022-07-18T22:54:07.035Z] ---> d31a740807b9 [2022-07-18T22:54:07.035Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T22:54:07.035Z] ---> Running in e0ec26eb707a [2022-07-18T22:54:07.647Z] Removing intermediate container e0ec26eb707a [2022-07-18T22:54:07.647Z] ---> 94dd31537e6e [2022-07-18T22:54:07.647Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-18T22:54:07.647Z] ---> Running in e6930ba15747 [2022-07-18T22:54:07.926Z] Removing intermediate container e6930ba15747 [2022-07-18T22:54:07.926Z] ---> 21bbe84f23ac [2022-07-18T22:54:07.926Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T22:54:07.926Z] ---> Running in bb920a8e38ea [2022-07-18T22:54:09.907Z] Removing intermediate container bb920a8e38ea [2022-07-18T22:54:09.907Z] ---> f7d3cf5dd3dc [2022-07-18T22:54:09.907Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T22:54:09.907Z] ---> Running in d1e263ea2607 [2022-07-18T22:54:10.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T22:54:11.482Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T22:54:12.455Z] OK: 221 MiB in 51 packages [2022-07-18T22:54:13.455Z] Removing intermediate container d1e263ea2607 [2022-07-18T22:54:13.455Z] ---> 9ed69fcf9496 [2022-07-18T22:54:13.455Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-18T22:54:13.455Z] ---> Running in 96cdaac709ba [2022-07-18T22:54:13.741Z] Removing intermediate container 96cdaac709ba [2022-07-18T22:54:13.741Z] ---> 37987c8384ba [2022-07-18T22:54:13.741Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-18T22:54:14.336Z] ---> 624d8f3e0a00 [2022-07-18T22:54:14.336Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T22:54:14.336Z] ---> Running in 98d184157881 [2022-07-18T22:54:16.310Z] Removing intermediate container 98d184157881 [2022-07-18T22:54:16.310Z] ---> 70a374878df1 [2022-07-18T22:54:16.310Z] Step 12/26 : COPY . . [2022-07-18T22:54:17.750Z] ---> 066d48a4fbdb [2022-07-18T22:54:17.750Z] Step 13/26 : RUN ${MAKE} [2022-07-18T22:54:18.030Z] ---> Running in 0121523660d4 [2022-07-18T22:54:19.012Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-18T22:56:25.849Z] Removing intermediate container 0121523660d4 [2022-07-18T22:56:25.849Z] ---> fa5664c844f2 [2022-07-18T22:56:25.849Z] Step 14/26 : FROM alpine:3.15 [2022-07-18T22:56:25.849Z] 3.15: Pulling from library/alpine [2022-07-18T22:56:25.849Z] 9981e73032c8: Pulling fs layer [2022-07-18T22:56:25.849Z] 9981e73032c8: Verifying Checksum [2022-07-18T22:56:25.849Z] 9981e73032c8: Download complete [2022-07-18T22:56:25.849Z] 9981e73032c8: Pull complete [2022-07-18T22:56:25.849Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-18T22:56:25.849Z] Status: Downloaded newer image for alpine:3.15 [2022-07-18T22:56:25.849Z] ---> 3fb3c9af89a9 [2022-07-18T22:56:25.849Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-18T22:56:25.849Z] ---> Running in 102f145b3d04 [2022-07-18T22:56:25.849Z] Removing intermediate container 102f145b3d04 [2022-07-18T22:56:25.849Z] ---> 7cddaa38cac2 [2022-07-18T22:56:25.849Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T22:56:25.849Z] ---> Running in 0b488a4592d6 [2022-07-18T22:56:25.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T22:56:26.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-18T22:56:27.096Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T22:56:27.096Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-18T22:56:27.096Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T22:56:27.096Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-18T22:56:27.096Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T22:56:27.096Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T22:56:27.096Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T22:56:27.096Z] OK: 8 MiB in 20 packages [2022-07-18T22:56:28.078Z] Removing intermediate container 0b488a4592d6 [2022-07-18T22:56:28.078Z] ---> 3f7d8c20831d [2022-07-18T22:56:28.078Z] Step 17/26 : WORKDIR / [2022-07-18T22:56:28.078Z] ---> Running in 5fa70435ce5f [2022-07-18T22:56:28.352Z] Removing intermediate container 5fa70435ce5f [2022-07-18T22:56:28.352Z] ---> 10a38d5653ea [2022-07-18T22:56:28.352Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-18T22:56:29.785Z] ---> bedd76392722 [2022-07-18T22:56:29.785Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-18T22:56:30.382Z] ---> db5da7206ac7 [2022-07-18T22:56:30.382Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-18T22:56:30.980Z] ---> 2c312d1b9ab9 [2022-07-18T22:56:30.980Z] Step 21/26 : EXPOSE 59984 [2022-07-18T22:56:30.980Z] ---> Running in 47dc14d3b2ef [2022-07-18T22:56:31.253Z] Removing intermediate container 47dc14d3b2ef [2022-07-18T22:56:31.253Z] ---> 9b19d449152a [2022-07-18T22:56:31.253Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-18T22:56:31.253Z] ---> Running in 61c53ffc3158 [2022-07-18T22:56:31.526Z] Removing intermediate container 61c53ffc3158 [2022-07-18T22:56:31.526Z] ---> b0c88895c971 [2022-07-18T22:56:31.526Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T22:56:31.806Z] ---> Running in 8537e831e156 [2022-07-18T22:56:32.079Z] Removing intermediate container 8537e831e156 [2022-07-18T22:56:32.079Z] ---> 4b026184f4f1 [2022-07-18T22:56:32.079Z] Step 24/26 : LABEL arch=arm64 [2022-07-18T22:56:32.079Z] ---> Running in 72dc668d885b [2022-07-18T22:56:32.354Z] Removing intermediate container 72dc668d885b [2022-07-18T22:56:32.354Z] ---> af01f95a1d1b [2022-07-18T22:56:32.354Z] Step 25/26 : LABEL git_sha=36bdedd742e1c530cbdc6394d19aee75ef507d21 [2022-07-18T22:56:32.354Z] ---> Running in 60d5bfaa4215 [2022-07-18T22:56:32.956Z] Removing intermediate container 60d5bfaa4215 [2022-07-18T22:56:32.956Z] ---> 4052e06e8600 [2022-07-18T22:56:32.956Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T22:56:32.956Z] ---> Running in 9b2fccac08bb [2022-07-18T22:56:33.230Z] Removing intermediate container 9b2fccac08bb [2022-07-18T22:56:33.230Z] ---> 63f7008498c6 [2022-07-18T22:56:33.230Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T22:56:33.230Z] Successfully built 63f7008498c6 [2022-07-18T22:56:33.230Z] 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-07-18T22:56:33.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T22:56:33.685Z] [2022-07-18T22:56:33.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:56:34.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T22:56:34.029Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T22:56:34.029Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T22:56:34.029Z] 04944245beec: Pulling fs layer [2022-07-18T22:56:34.029Z] 699f458cf7ca: Pulling fs layer [2022-07-18T22:56:34.029Z] 765212b225bb: Pulling fs layer [2022-07-18T22:56:34.029Z] f23df028b6ca: Pulling fs layer [2022-07-18T22:56:34.029Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T22:56:34.029Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T22:56:34.029Z] f23df028b6ca: Waiting [2022-07-18T22:56:34.305Z] 765212b225bb: Waiting [2022-07-18T22:56:34.305Z] d65c8cfc05b1: Waiting [2022-07-18T22:56:34.305Z] 2437ff75d9bd: Waiting [2022-07-18T22:56:34.305Z] 04944245beec: Verifying Checksum [2022-07-18T22:56:34.305Z] 04944245beec: Download complete [2022-07-18T22:56:34.305Z] 765212b225bb: Verifying Checksum [2022-07-18T22:56:34.305Z] 765212b225bb: Download complete [2022-07-18T22:56:34.305Z] f23df028b6ca: Verifying Checksum [2022-07-18T22:56:34.305Z] f23df028b6ca: Download complete [2022-07-18T22:56:34.305Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T22:56:34.305Z] d65c8cfc05b1: Download complete [2022-07-18T22:56:34.580Z] 699f458cf7ca: Verifying Checksum [2022-07-18T22:56:34.580Z] 699f458cf7ca: Download complete [2022-07-18T22:56:34.857Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T22:56:34.857Z] 8998bd30e6a1: Download complete [2022-07-18T22:56:37.478Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T22:56:37.478Z] 2437ff75d9bd: Download complete [2022-07-18T22:56:39.449Z] 8998bd30e6a1: Pull complete [2022-07-18T22:56:39.723Z] 04944245beec: Pull complete [2022-07-18T22:56:41.160Z] 699f458cf7ca: Pull complete [2022-07-18T22:56:41.433Z] 765212b225bb: Pull complete [2022-07-18T22:56:42.413Z] f23df028b6ca: Pull complete [2022-07-18T22:56:42.413Z] d65c8cfc05b1: Pull complete [2022-07-18T22:56:57.499Z] 2437ff75d9bd: Pull complete [2022-07-18T22:56:57.499Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T22:56:57.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T22:56:57.499Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:56:57.742Z] prd-ubuntu20.04-docker-arm64-4c-16g-20446 does not seem to be running inside a container [2022-07-18T22:56:57.838Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-18T22:57:00.419Z] $ docker top 9a638b3a07fd61d54f51caa8865384c394282e251d4f0af237071ad9c3f56e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:01.406Z] ---> job-cost.sh [2022-07-18T22:57:01.406Z] lf-activate-venv: SKIPPING [2022-07-18T22:57:01.406Z] INFO: No Stack... [2022-07-18T22:57:02.003Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T22:57:02.981Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T22:57:03.638Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-07-18T22:57:03.638Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T22:57:03.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] [2022-07-18T22:57:03.707Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] did not exist. Created. [2022-07-18T22:57:03.707Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T22:57:04.376Z] /w/workspace/device-onvif-camera/5@tmp/durable-6b066039/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T22:57:05.058Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T22:57:05.077Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T22:57:05.126Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T22:57:05.133Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T22:57:05.172Z] $ docker stop --time=1 9a638b3a07fd61d54f51caa8865384c394282e251d4f0af237071ad9c3f56e3c [2022-07-18T22:57:06.716Z] $ docker rm -f 9a638b3a07fd61d54f51caa8865384c394282e251d4f0af237071ad9c3f56e3c [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-07-18T22:57:07.142Z] provisioning config files... [2022-07-18T22:57:07.168Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config6702414180950928810tmp [Pipeline] { [Pipeline] sh [2022-07-18T22:57:07.502Z] + set +x [2022-07-18T22:57:07.503Z] + curl -s https://codecov.io/bash [2022-07-18T22:57:07.503Z] + bash -s -- [2022-07-18T22:57:07.503Z] [2022-07-18T22:57:07.503Z] _____ _ [2022-07-18T22:57:07.503Z] / ____| | | [2022-07-18T22:57:07.503Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T22:57:07.503Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T22:57:07.503Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T22:57:07.503Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T22:57:07.503Z] Bash-1.0.6 [2022-07-18T22:57:07.503Z] [2022-07-18T22:57:07.503Z] [2022-07-18T22:57:07.503Z] ==> git version 2.25.1 found [2022-07-18T22:57:07.503Z] ==> 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-07-18T22:57:07.503Z] Release-Date: 2020-01-08 [2022-07-18T22:57:07.503Z] 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-07-18T22:57:07.503Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T22:57:07.503Z] ==> Jenkins CI detected. [2022-07-18T22:57:07.503Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-110 [2022-07-18T22:57:07.503Z] project root: . [2022-07-18T22:57:07.503Z] --> token set from env [2022-07-18T22:57:07.503Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T22:57:07.503Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T22:57:07.503Z] ==> Python coveragepy not found [2022-07-18T22:57:07.503Z] ==> Searching for coverage reports in: [2022-07-18T22:57:07.503Z] + . [2022-07-18T22:57:07.503Z] -> Found 1 reports [2022-07-18T22:57:07.503Z] ==> Detecting git/mercurial file structure [2022-07-18T22:57:07.503Z] ==> Reading reports [2022-07-18T22:57:07.503Z] + ./coverage.out bytes=70262 [2022-07-18T22:57:07.503Z] ==> Appending adjustments [2022-07-18T22:57:07.503Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T22:57:07.763Z] + Found adjustments [2022-07-18T22:57:07.763Z] ==> Gzipping contents [2022-07-18T22:57:07.763Z] 12K /tmp/codecov.sPI4vk.gz [2022-07-18T22:57:07.763Z] ==> Uploading reports [2022-07-18T22:57:07.763Z] url: https://codecov.io [2022-07-18T22:57:07.763Z] query: branch=PR-110&commit=4be76235da09f2c89c118e25c86ca47e8f310b12&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-18T22:57:07.763Z] -> Pinging Codecov [2022-07-18T22:57:07.763Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-110&commit=4be76235da09f2c89c118e25c86ca47e8f310b12&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-18T22:57:08.022Z] -> Uploading to [2022-07-18T22:57:08.022Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/F29A59C45E3A92E06B3E522C9905F8EF/4be76235da09f2c89c118e25c86ca47e8f310b12/ca9ce0ec-2d8d-4d32-a0f7-db94499250b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T225707Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a51c3ed835b4458624ffc90d42ba300896c33cbdcb4fa5ab384e0114365c2241 [2022-07-18T22:57:08.022Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T22:57:08.022Z] Dload Upload Total Spent Left Speed [2022-07-18T22:57:08.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9514 0 0 100 9514 0 38832 --:--:-- --:--:-- --:--:-- 38832 [2022-07-18T22:57:08.283Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/4be76235da09f2c89c118e25c86ca47e8f310b12 [Pipeline] } [2022-07-18T22:57:08.291Z] 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-07-18T22:57:09.005Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-110/archives ] [2022-07-18T22:57:09.005Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-18T22:57:09.005Z] total 16 [2022-07-18T22:57:09.005Z] drwxr-xr-x 3 root root 4096 Jul 18 22:49 . [2022-07-18T22:57:09.005Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 22:49 .. [2022-07-18T22:57:09.005Z] drwxr-xr-x 2 root root 4096 Jul 18 22:49 cost [2022-07-18T22:57:09.005Z] -rw-r--r-- 1 root root 90 Jul 18 22:49 cost.csv [2022-07-18T22:57:09.005Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-18T22:57:09.005Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-18T22:57:09.005Z] total 16 [2022-07-18T22:57:09.005Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 22:49 . [2022-07-18T22:57:09.005Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 22:49 .. [2022-07-18T22:57:09.005Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 22:49 cost [2022-07-18T22:57:09.005Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 18 22:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:09.297Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:10.160Z] ---> package-listing.sh [2022-07-18T22:57:10.160Z] ++ facter osfamily [2022-07-18T22:57:10.160Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T22:57:10.420Z] + OS_FAMILY=debian [2022-07-18T22:57:10.420Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-110 [2022-07-18T22:57:10.420Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T22:57:10.420Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T22:57:10.420Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T22:57:10.420Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T22:57:10.420Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-18T22:57:10.420Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T22:57:10.420Z] + case "${OS_FAMILY}" in [2022-07-18T22:57:10.420Z] + dpkg -l [2022-07-18T22:57:10.420Z] + grep '^ii' [2022-07-18T22:57:10.420Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T22:57:10.420Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T22:57:10.420Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T22:57:10.420Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-18T22:57:10.420Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-110/archives/ [2022-07-18T22:57:10.420Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-110/archives/ [Pipeline] echo [2022-07-18T22:57:10.431Z] 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-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T22:57:10.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T22:57:11.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T22:57:11.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T22:57:11.365Z] prd-ubuntu20.04-docker-8c-8g-20445 does not seem to be running inside a container [2022-07-18T22:57:11.459Z] $ 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-110/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-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T22:57:11.695Z] $ docker top 3277dd7e2e8dc57fd8dbc7b1c78298d31aca7145690c8e1e56399aa3d13bd41b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T22:57:12.054Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T22:57:12.344Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T22:57:12.636Z] + ls /var/log/sa-host [2022-07-18T22:57:12.637Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T22:57:12.760Z] provisioning config files... [2022-07-18T22:57:12.769Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config1963193800927907146tmp [Pipeline] { [Pipeline] echo [2022-07-18T22:57:12.780Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:13.065Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T22:57:13.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:13.403Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T22:57:13.412Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:13.700Z] ---> sudo-logs.sh [2022-07-18T22:57:13.700Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T22:57:13.722Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:14.010Z] ---> job-cost.sh [2022-07-18T22:57:14.011Z] lf-activate-venv: SKIPPING [2022-07-18T22:57:14.011Z] DEBUG: total: 0.2199999988079071 [2022-07-18T22:57:14.011Z] INFO: Retrieving Stack Cost... [2022-07-18T22:57:14.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T22:57:14.842Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T22:57:14.855Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T22:57:15.140Z] ---> logs-deploy.sh [2022-07-18T22:57:15.140Z] lf-activate-venv: SKIPPING [2022-07-18T22:57:15.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-110/5 [2022-07-18T22:57:15.140Z] INFO: archiving workspace using pattern(s): [2022-07-18T22:57:16.081Z] Archives upload complete. [2022-07-18T22:57:16.081Z] INFO: archiving logs to Nexus