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 6719ed562042677aabb59520c3ed62a7e4c023b5 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-ssh14586104824016679107.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-ssh8567274842881553123.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-ssh6392385859113877126.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-ssh10612750079333404483.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-ssh3664874581004966407.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 ‘prd-ubuntu20.04-docker-8c-8g-20513’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20517 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 6719ed562042677aabb59520c3ed62a7e4c023b5 Merge succeeded, producing 79fd7b758fdd2616632a816539021f72141f271d Checking out Revision 79fd7b758fdd2616632a816539021f72141f271d (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 6719ed562042677aabb59520c3ed62a7e4c023b5 # 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 79fd7b758fdd2616632a816539021f72141f271d # timeout=10 Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 2f4bf01e24587bbb2eeff1425d327897eff17620 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-19T20:07:20.165Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-19T20:07:20.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-19T20:07:20.236Z] ========================================================= [2022-07-19T20:07:20.236Z] EdgeX Global Pipelines Version Info [2022-07-19T20:07:20.236Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:07:20.973Z] ------------------- [2022-07-19T20:07:20.973Z] stable info: [2022-07-19T20:07:20.973Z] ------------------- [2022-07-19T20:07:20.973Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T20:07:20.973Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T20:07:20.973Z] Message: update stable to v1.0.238 [2022-07-19T20:07:21.544Z] ------------------- [2022-07-19T20:07:21.544Z] experimental info: [2022-07-19T20:07:21.544Z] ------------------- [2022-07-19T20:07:21.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T20:07:21.544Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T20:07:21.544Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-19T20:07:21.728Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-19T20:07:21.739Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-19T20:07:21.750Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-19T20:07:21.760Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-19T20:07:21.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-19T20:07:21.784Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-19T20:07:21.796Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-19T20:07:21.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-19T20:07:21.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-19T20:07:21.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-19T20:07:21.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-19T20:07:21.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-19T20:07:21.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-19T20:07:21.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-19T20:07:21.901Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T20:07:21.915Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T20:07:21.924Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T20:07:21.935Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T20:07:21.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-19T20:07:21.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-19T20:07:21.970Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-19T20:07:21.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-19T20:07:21.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-19T20:07:22.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-19T20:07:22.015Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-19T20:07:22.028Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-19T20:07:22.045Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-19T20:07:22.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo [2022-07-19T20:07:22.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo [2022-07-19T20:07:22.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo [2022-07-19T20:07:22.093Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79fd7b758fdd2616632a816539021f72141f271d [Pipeline] echo [2022-07-19T20:07:22.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79fd7b7 [Pipeline] echo [2022-07-19T20:07:22.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T20:07:22.157Z] provisioning config files... [2022-07-19T20:07:22.172Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config9164523586743368329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:07:22.475Z] ---> docker-login.sh [2022-07-19T20:07:22.475Z] nexus3.edgexfoundry.org:10001 [2022-07-19T20:07:22.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:22.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:22.737Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:22.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:22.737Z] [2022-07-19T20:07:22.737Z] Login Succeeded [2022-07-19T20:07:22.737Z] nexus3.edgexfoundry.org:10002 [2022-07-19T20:07:22.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:22.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:22.998Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:22.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:22.998Z] [2022-07-19T20:07:22.998Z] Login Succeeded [2022-07-19T20:07:22.998Z] nexus3.edgexfoundry.org:10003 [2022-07-19T20:07:22.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:23.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:23.259Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:23.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:23.259Z] [2022-07-19T20:07:23.259Z] Login Succeeded [2022-07-19T20:07:23.259Z] nexus3.edgexfoundry.org:10004 [2022-07-19T20:07:23.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:23.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:23.259Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:23.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:23.259Z] [2022-07-19T20:07:23.259Z] Login Succeeded [2022-07-19T20:07:23.259Z] docker.io [2022-07-19T20:07:23.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:23.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:23.783Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:23.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:23.783Z] [2022-07-19T20:07:23.783Z] Login Succeeded [2022-07-19T20:07:23.783Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T20:07:23.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-19T20:07:24.166Z] + git rev-list -1 --merges 79fd7b758fdd2616632a816539021f72141f271d~1..79fd7b758fdd2616632a816539021f72141f271d [Pipeline] echo [2022-07-19T20:07:24.276Z] -----------> git rev-list -1 --merges 79fd7b758fdd2616632a816539021f72141f271d~1..79fd7b758fdd2616632a816539021f72141f271d 79fd7b758fdd2616632a816539021f72141f271d [2022-07-19T20:07:24.276Z] 79fd7b758fdd2616632a816539021f72141f271d [false] [Pipeline] sh [2022-07-19T20:07:24.572Z] + git log --format=format:%s -1 79fd7b758fdd2616632a816539021f72141f271d [Pipeline] echo [2022-07-19T20:07:24.588Z] ========================================================= [2022-07-19T20:07:24.588Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-19T20:07:24.588Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T20:07:24.924Z] + git log --format=format:%s -1 79fd7b758fdd2616632a816539021f72141f271d [Pipeline] echo [2022-07-19T20:07:24.938Z] [semverPrep] GIT_COMMIT: 79fd7b758fdd2616632a816539021f72141f271d, Commit Message: Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD [Pipeline] echo [2022-07-19T20:07:24.947Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-19T20:07:25.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T20:07:25.291Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-19T20:07:25.291Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-19T20:07:25.291Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-19T20:07:25.291Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-19T20:07:25.291Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-19T20:07:25.291Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:07:25.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T20:07:25.659Z] [2022-07-19T20:07:25.659Z] 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-19T20:07:25.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T20:07:25.967Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-19T20:07:25.967Z] b85a868b505f: Pulling fs layer [2022-07-19T20:07:25.967Z] e2be974225ed: Pulling fs layer [2022-07-19T20:07:25.967Z] 339a4e72a1f5: Pulling fs layer [2022-07-19T20:07:25.967Z] 988bab9f4d93: Pulling fs layer [2022-07-19T20:07:25.967Z] 1469e6f7b9e6: Pulling fs layer [2022-07-19T20:07:25.967Z] 988bab9f4d93: Waiting [2022-07-19T20:07:25.967Z] eaf3925da568: Pulling fs layer [2022-07-19T20:07:25.967Z] 1469e6f7b9e6: Waiting [2022-07-19T20:07:25.967Z] bab4dde63d76: Pulling fs layer [2022-07-19T20:07:25.967Z] bde34c3a00c8: Pulling fs layer [2022-07-19T20:07:25.967Z] bab4dde63d76: Waiting [2022-07-19T20:07:25.967Z] eaf3925da568: Waiting [2022-07-19T20:07:25.967Z] b352a97aabf1: Pulling fs layer [2022-07-19T20:07:25.967Z] b352a97aabf1: Waiting [2022-07-19T20:07:25.967Z] 4872d77fe225: Pulling fs layer [2022-07-19T20:07:25.967Z] 5851b861e8e6: Pulling fs layer [2022-07-19T20:07:25.967Z] 5851b861e8e6: Waiting [2022-07-19T20:07:25.967Z] 4872d77fe225: Waiting [2022-07-19T20:07:25.967Z] e2be974225ed: Download complete [2022-07-19T20:07:25.967Z] 988bab9f4d93: Verifying Checksum [2022-07-19T20:07:25.967Z] 988bab9f4d93: Download complete [2022-07-19T20:07:26.227Z] 1469e6f7b9e6: Verifying Checksum [2022-07-19T20:07:26.227Z] 1469e6f7b9e6: Download complete [2022-07-19T20:07:26.227Z] 339a4e72a1f5: Verifying Checksum [2022-07-19T20:07:26.227Z] 339a4e72a1f5: Download complete [2022-07-19T20:07:26.227Z] eaf3925da568: Download complete [2022-07-19T20:07:26.227Z] bde34c3a00c8: Verifying Checksum [2022-07-19T20:07:26.227Z] bde34c3a00c8: Download complete [2022-07-19T20:07:26.227Z] b352a97aabf1: Download complete [2022-07-19T20:07:26.227Z] 4872d77fe225: Download complete [2022-07-19T20:07:26.227Z] 5851b861e8e6: Verifying Checksum [2022-07-19T20:07:26.227Z] 5851b861e8e6: Download complete [2022-07-19T20:07:26.227Z] b85a868b505f: Verifying Checksum [2022-07-19T20:07:26.227Z] b85a868b505f: Download complete [2022-07-19T20:07:26.487Z] bab4dde63d76: Verifying Checksum [2022-07-19T20:07:26.487Z] bab4dde63d76: Download complete [2022-07-19T20:07:27.869Z] b85a868b505f: Pull complete [2022-07-19T20:07:27.869Z] e2be974225ed: Pull complete [2022-07-19T20:07:28.443Z] 339a4e72a1f5: Pull complete [2022-07-19T20:07:28.443Z] 988bab9f4d93: Pull complete [2022-07-19T20:07:28.704Z] 1469e6f7b9e6: Pull complete [2022-07-19T20:07:28.964Z] eaf3925da568: Pull complete [2022-07-19T20:07:30.878Z] bab4dde63d76: Pull complete [2022-07-19T20:07:30.878Z] bde34c3a00c8: Pull complete [2022-07-19T20:07:31.140Z] b352a97aabf1: Pull complete [2022-07-19T20:07:31.140Z] 4872d77fe225: Pull complete [2022-07-19T20:07:31.402Z] 5851b861e8e6: Pull complete [2022-07-19T20:07:31.402Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-19T20:07:31.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T20:07:31.402Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:07:31.507Z] prd-ubuntu20.04-docker-8c-8g-20517 does not seem to be running inside a container [2022-07-19T20:07:31.538Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T20:07:32.978Z] $ docker top 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 -eo pid,comm [2022-07-19T20:07:33.062Z] 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-19T20:07:33.062Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T20:07:33.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T20:07:33.100Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T20:07:33.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T20:07:33.227Z] $ docker exec 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 ssh-agent [2022-07-19T20:07:33.374Z] SSH_AUTH_SOCK=/tmp/ssh-OYuu15Op6BHE/agent.32 [2022-07-19T20:07:33.374Z] SSH_AGENT_PID=38 [2022-07-19T20:07:33.381Z] Running ssh-add (command line suppressed) [2022-07-19T20:07:33.496Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_4571076813918161824.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_4571076813918161824.key) [2022-07-19T20:07:33.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T20:07:33.811Z] + git tag --points-at HEAD [Pipeline] } [2022-07-19T20:07:33.820Z] $ docker exec --env ******** --env ******** 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 ssh-agent -k [2022-07-19T20:07:33.937Z] unset SSH_AUTH_SOCK; [2022-07-19T20:07:33.938Z] unset SSH_AGENT_PID; [2022-07-19T20:07:33.938Z] echo Agent pid 38 killed; [2022-07-19T20:07:33.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-19T20:07:33.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T20:07:33.978Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T20:07:34.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T20:07:34.111Z] $ docker exec 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 ssh-agent [2022-07-19T20:07:34.252Z] SSH_AUTH_SOCK=/tmp/ssh-rFlhBwRqI92E/agent.72 [2022-07-19T20:07:34.252Z] SSH_AGENT_PID=78 [2022-07-19T20:07:34.259Z] Running ssh-add (command line suppressed) [2022-07-19T20:07:34.399Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_4323992793786837714.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_4323992793786837714.key) [2022-07-19T20:07:34.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T20:07:34.717Z] + git semver init [2022-07-19T20:07:34.978Z] 2022-07-19 20:07:34,920 [run_init] DEBUG init version:0.0.0 force:False [2022-07-19T20:07:34.978Z] 2022-07-19 20:07:34,921 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-110/.semver [2022-07-19T20:07:34.978Z] 2022-07-19 20:07:34,921 [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-19T20:07:34.978Z] 2022-07-19 20:07:34,922 [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-19T20:07:35.927Z] 2022-07-19 20:07:35,596 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-110/.git/info/exclude [2022-07-19T20:07:35.927Z] 2022-07-19 20:07:35,597 [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-19T20:07:35.927Z] 2022-07-19 20:07:35,597 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-19T20:07:35.927Z] 2022-07-19 20:07:35,601 [execute] INFO git cat-file --batch-check [2022-07-19T20:07:35.927Z] 2022-07-19 20:07:35,601 [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-19T20:07:35.927Z] 2022-07-19 20:07:35,607 [execute] INFO git cat-file --batch [2022-07-19T20:07:35.927Z] 2022-07-19 20:07:35,607 [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-19T20:07:35.927Z] 2022-07-19 20:07:35,612 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-19T20:07:35.927Z] 0.0.0 [Pipeline] } [2022-07-19T20:07:35.932Z] $ docker exec --env ******** --env ******** 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 ssh-agent -k [2022-07-19T20:07:36.056Z] unset SSH_AUTH_SOCK; [2022-07-19T20:07:36.058Z] unset SSH_AGENT_PID; [2022-07-19T20:07:36.058Z] echo Agent pid 78 killed; [2022-07-19T20:07:36.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T20:07:36.385Z] + git semver [Pipeline] } [2022-07-19T20:07:36.651Z] $ docker stop --time=1 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 [2022-07-19T20:07:37.990Z] $ docker rm -f 43765989edf197abba0e1af4a44bf67b61dee670ba0b497b649c43eb45ca5b28 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T20:07:38.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-19T20:07:38.619Z] Stashed 1 file(s) [Pipeline] echo [2022-07-19T20:07:38.621Z] [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-19T20:07:38.780Z] provisioning config files... [2022-07-19T20:07:38.790Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config3626975469977833894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:07:39.091Z] ---> docker-login.sh [2022-07-19T20:07:39.091Z] nexus3.edgexfoundry.org:10001 [2022-07-19T20:07:39.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:39.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:39.091Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:39.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:39.091Z] [2022-07-19T20:07:39.091Z] Login Succeeded [2022-07-19T20:07:39.091Z] nexus3.edgexfoundry.org:10002 [2022-07-19T20:07:39.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:39.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:39.353Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:39.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:39.353Z] [2022-07-19T20:07:39.353Z] Login Succeeded [2022-07-19T20:07:39.353Z] nexus3.edgexfoundry.org:10003 [2022-07-19T20:07:39.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:39.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:39.353Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:39.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:39.353Z] [2022-07-19T20:07:39.353Z] Login Succeeded [2022-07-19T20:07:39.353Z] nexus3.edgexfoundry.org:10004 [2022-07-19T20:07:39.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:39.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:39.614Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:39.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:39.614Z] [2022-07-19T20:07:39.614Z] Login Succeeded [2022-07-19T20:07:39.614Z] docker.io [2022-07-19T20:07:39.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:07:39.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:07:39.875Z] Configure a credential helper to remove this warning. See [2022-07-19T20:07:39.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:07:39.875Z] [2022-07-19T20:07:39.875Z] Login Succeeded [2022-07-19T20:07:39.875Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T20:07:39.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T20:07:39.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T20:07:39.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T20:07:39.979Z] ========================================================= [2022-07-19T20:07:39.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-19T20:07:39.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:07:40.298Z] + 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-19T20:07:40.298Z] Sending build context to Docker daemon 16.03MB [2022-07-19T20:07:40.298Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T20:07:40.298Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T20:07:40.575Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-19T20:07:40.575Z] 2408cc74d12b: Pulling fs layer [2022-07-19T20:07:40.575Z] ea60b727a1ce: Pulling fs layer [2022-07-19T20:07:40.575Z] 30c4a7721957: Pulling fs layer [2022-07-19T20:07:40.575Z] 370296b7ddb6: Pulling fs layer [2022-07-19T20:07:40.575Z] 7c6cee850709: Pulling fs layer [2022-07-19T20:07:40.575Z] 370296b7ddb6: Waiting [2022-07-19T20:07:40.575Z] 39a5fcdaea64: Pulling fs layer [2022-07-19T20:07:40.575Z] d94ebbe4e438: Pulling fs layer [2022-07-19T20:07:40.575Z] bcfd1f05c69d: Pulling fs layer [2022-07-19T20:07:40.575Z] 59ccb84bbe0f: Pulling fs layer [2022-07-19T20:07:40.575Z] 7c6cee850709: Waiting [2022-07-19T20:07:40.575Z] 39a5fcdaea64: Waiting [2022-07-19T20:07:40.575Z] d94ebbe4e438: Waiting [2022-07-19T20:07:40.575Z] 59ccb84bbe0f: Waiting [2022-07-19T20:07:40.575Z] bcfd1f05c69d: Waiting [2022-07-19T20:07:40.575Z] 30c4a7721957: Verifying Checksum [2022-07-19T20:07:40.575Z] 30c4a7721957: Download complete [2022-07-19T20:07:40.575Z] ea60b727a1ce: Download complete [2022-07-19T20:07:40.575Z] 7c6cee850709: Verifying Checksum [2022-07-19T20:07:40.575Z] 7c6cee850709: Download complete [2022-07-19T20:07:40.575Z] 39a5fcdaea64: Verifying Checksum [2022-07-19T20:07:40.575Z] 39a5fcdaea64: Download complete [2022-07-19T20:07:40.575Z] 2408cc74d12b: Download complete [2022-07-19T20:07:40.575Z] d94ebbe4e438: Download complete [2022-07-19T20:07:40.841Z] 2408cc74d12b: Pull complete [2022-07-19T20:07:40.841Z] ea60b727a1ce: Pull complete [2022-07-19T20:07:40.841Z] 30c4a7721957: Pull complete [2022-07-19T20:07:40.841Z] 59ccb84bbe0f: Verifying Checksum [2022-07-19T20:07:40.841Z] 59ccb84bbe0f: Download complete [2022-07-19T20:07:41.103Z] bcfd1f05c69d: Verifying Checksum [2022-07-19T20:07:41.103Z] bcfd1f05c69d: Download complete [2022-07-19T20:07:41.364Z] 370296b7ddb6: Download complete [2022-07-19T20:07:45.565Z] 370296b7ddb6: Pull complete [2022-07-19T20:07:45.829Z] 7c6cee850709: Pull complete [2022-07-19T20:07:45.829Z] 39a5fcdaea64: Pull complete [2022-07-19T20:07:45.829Z] d94ebbe4e438: Pull complete [2022-07-19T20:07:48.369Z] bcfd1f05c69d: Pull complete [2022-07-19T20:07:48.943Z] 59ccb84bbe0f: Pull complete [2022-07-19T20:07:48.943Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-19T20:07:48.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-19T20:07:48.943Z] ---> a4fb48ad2a94 [2022-07-19T20:07:48.943Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T20:07:50.883Z] ---> Running in c3c3510f1bf7 [2022-07-19T20:07:50.883Z] Removing intermediate container c3c3510f1bf7 [2022-07-19T20:07:50.883Z] ---> 4cfc88f3a8d3 [2022-07-19T20:07:50.883Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T20:07:50.883Z] ---> Running in 3e2fcc6a48f8 [2022-07-19T20:07:50.883Z] Removing intermediate container 3e2fcc6a48f8 [2022-07-19T20:07:50.883Z] ---> 7036e21a166f [2022-07-19T20:07:50.883Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T20:07:50.883Z] ---> Running in 38fd70133704 [2022-07-19T20:07:50.883Z] Removing intermediate container 38fd70133704 [2022-07-19T20:07:50.883Z] ---> fdb39ebd179e [2022-07-19T20:07:50.883Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T20:07:50.883Z] ---> Running in 13514459d4f1 [2022-07-19T20:07:51.146Z] Removing intermediate container 13514459d4f1 [2022-07-19T20:07:51.146Z] ---> 4c13bae58658 [2022-07-19T20:07:51.146Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T20:07:51.146Z] ---> Running in d5d89c5cf489 [2022-07-19T20:07:51.718Z] Removing intermediate container d5d89c5cf489 [2022-07-19T20:07:51.718Z] ---> 535074d692b5 [2022-07-19T20:07:51.718Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T20:07:51.718Z] ---> Running in 71289747990d [2022-07-19T20:07:51.980Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T20:07:52.925Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T20:07:53.187Z] OK: 211 MiB in 51 packages [2022-07-19T20:07:53.447Z] Removing intermediate container 71289747990d [2022-07-19T20:07:53.447Z] ---> 925cb24b6d5a [2022-07-19T20:07:53.447Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T20:07:53.447Z] ---> Running in e9a7fd1e149d [2022-07-19T20:07:53.709Z] Removing intermediate container e9a7fd1e149d [2022-07-19T20:07:53.709Z] ---> 713592e958bd [2022-07-19T20:07:53.709Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T20:07:53.709Z] ---> bfc4d0f1949f [2022-07-19T20:07:53.709Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T20:07:53.733Z] Still waiting to schedule task [2022-07-19T20:07:53.733Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20514’ is offline [2022-07-19T20:07:53.973Z] ---> Running in a5e6b995b35b [2022-07-19T20:08:12.107Z] Removing intermediate container a5e6b995b35b [2022-07-19T20:08:12.107Z] ---> ddb461ed407b [2022-07-19T20:08:12.107Z] Step 12/13 : COPY . . [2022-07-19T20:08:12.107Z] ---> c16b04609bc3 [2022-07-19T20:08:12.107Z] Step 13/13 : RUN ${MAKE} [2022-07-19T20:08:12.107Z] ---> Running in 6d670d85e902 [2022-07-19T20:08:12.107Z] noop [2022-07-19T20:08:12.107Z] Removing intermediate container 6d670d85e902 [2022-07-19T20:08:12.107Z] ---> 97631d902882 [2022-07-19T20:08:12.107Z] Successfully built 97631d902882 [2022-07-19T20:08:12.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:08:12.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T20:08:12.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:08:12.518Z] prd-ubuntu20.04-docker-8c-8g-20517 does not seem to be running inside a container [2022-07-19T20:08:12.579Z] $ 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 ******** ci-base-image-x86_64 cat [2022-07-19T20:08:12.995Z] $ docker top 24849e57b39d0a23cd781c0ba37ee178698a24515010eaaaf22ba6de43e86898 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T20:08:13.350Z] + go version [2022-07-19T20:08:13.350Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-19T20:08:13.370Z] $ docker stop --time=1 24849e57b39d0a23cd781c0ba37ee178698a24515010eaaaf22ba6de43e86898 [2022-07-19T20:08:14.673Z] $ docker rm -f 24849e57b39d0a23cd781c0ba37ee178698a24515010eaaaf22ba6de43e86898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:08:15.095Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T20:08:15.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:08:15.186Z] prd-ubuntu20.04-docker-8c-8g-20517 does not seem to be running inside a container [2022-07-19T20:08:15.235Z] $ 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 ******** ci-base-image-x86_64 cat [2022-07-19T20:08:15.623Z] $ docker top e64b59061250c27f9759897466a06f1ffa79581dfce2832f3065d987ebb19903 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T20:08:16.066Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] fileExists [Pipeline] sh [2022-07-19T20:08:16.365Z] + make test [2022-07-19T20:08:16.365Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T20:08:16.624Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T20:08:28.843Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T20:08:28.843Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements [2022-07-19T20:08:28.843Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T20:08:32.137Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.523s coverage: 13.8% of statements [2022-07-19T20:08:40.266Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T20:08:42.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T20:08:42.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T20:08:42.807Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T20:08:43.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T20:08:43.788Z] $ docker stop --time=1 e64b59061250c27f9759897466a06f1ffa79581dfce2832f3065d987ebb19903 [2022-07-19T20:08:45.657Z] $ docker rm -f e64b59061250c27f9759897466a06f1ffa79581dfce2832f3065d987ebb19903 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T20:08:46.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T20:08:46.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-19T20:08:46.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T20:08:46.946Z] + ls -al . [2022-07-19T20:08:46.947Z] total 228 [2022-07-19T20:08:46.947Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 20:08 . [2022-07-19T20:08:46.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:07 .. [2022-07-19T20:08:46.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 20:08 .git [2022-07-19T20:08:46.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:07 .github [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 20:07 .gitignore [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 20:07 .golangci.yml [2022-07-19T20:08:46.947Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 20:07 .semver [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 20:07 Attribution.txt [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 20:07 CHANGELOG.md [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 20:07 Dockerfile [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 20:07 GOVERNANCE.md [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 20:07 Jenkinsfile [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 20:07 LICENSE [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 20:07 Makefile [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 20:07 OWNERS.md [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 19 20:07 README.md [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:07 VERSION [2022-07-19T20:08:46.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:07 bin [2022-07-19T20:08:46.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:07 cmd [2022-07-19T20:08:46.947Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 20:08 coverage.out [2022-07-19T20:08:46.947Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 20:07 doc [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 20:07 go.mod [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 20:07 go.sum [2022-07-19T20:08:46.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:07 internal [2022-07-19T20:08:46.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:07 snap [2022-07-19T20:08:46.947Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 20:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:08:47.258Z] + 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=79fd7b758fdd2616632a816539021f72141f271d --label arch=amd64 --label version=0.0.0 . [2022-07-19T20:08:47.258Z] Sending build context to Docker daemon 16.1MB [2022-07-19T20:08:47.258Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T20:08:47.258Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T20:08:47.258Z] ---> 97631d902882 [2022-07-19T20:08:47.258Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T20:08:47.518Z] ---> Running in 02dace02d076 [2022-07-19T20:08:47.518Z] Removing intermediate container 02dace02d076 [2022-07-19T20:08:47.518Z] ---> a53faa6107ef [2022-07-19T20:08:47.518Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T20:08:47.518Z] ---> Running in 0be7f73011c1 [2022-07-19T20:08:47.779Z] Removing intermediate container 0be7f73011c1 [2022-07-19T20:08:47.779Z] ---> b4d29a814939 [2022-07-19T20:08:47.779Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T20:08:47.779Z] ---> Running in 1d65d68b7d5a [2022-07-19T20:08:47.779Z] Removing intermediate container 1d65d68b7d5a [2022-07-19T20:08:47.779Z] ---> 9605fa8b336e [2022-07-19T20:08:47.779Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T20:08:47.779Z] ---> Running in 5afa8b3efb4c [2022-07-19T20:08:48.039Z] Removing intermediate container 5afa8b3efb4c [2022-07-19T20:08:48.039Z] ---> 545fe5bfd8cc [2022-07-19T20:08:48.039Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T20:08:48.039Z] ---> Running in 2f8c0dde5b94 [2022-07-19T20:08:48.987Z] Removing intermediate container 2f8c0dde5b94 [2022-07-19T20:08:48.987Z] ---> 7fcfb93f79ce [2022-07-19T20:08:48.987Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T20:08:48.987Z] ---> Running in ecd4b5d53654 [2022-07-19T20:08:49.558Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T20:08:50.941Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T20:08:52.324Z] OK: 211 MiB in 51 packages [2022-07-19T20:08:52.586Z] Removing intermediate container ecd4b5d53654 [2022-07-19T20:08:52.586Z] ---> 1317a3ceaf1a [2022-07-19T20:08:52.586Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T20:08:52.586Z] ---> Running in 0362dee5f9a6 [2022-07-19T20:08:52.846Z] Removing intermediate container 0362dee5f9a6 [2022-07-19T20:08:52.846Z] ---> 1bec8d8fa984 [2022-07-19T20:08:52.846Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T20:08:52.846Z] ---> 829cebc681fd [2022-07-19T20:08:52.846Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T20:08:52.846Z] ---> Running in e210a088e620 [2022-07-19T20:08:53.786Z] Removing intermediate container e210a088e620 [2022-07-19T20:08:53.786Z] ---> 225ac4cfb55b [2022-07-19T20:08:53.786Z] Step 12/26 : COPY . . [2022-07-19T20:08:54.356Z] ---> 3190d4b1744c [2022-07-19T20:08:54.356Z] Step 13/26 : RUN ${MAKE} [2022-07-19T20:08:54.356Z] ---> Running in e4f1df40a040 [2022-07-19T20:08:54.620Z] 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-19T20:09:16.629Z] Removing intermediate container e4f1df40a040 [2022-07-19T20:09:16.629Z] ---> e67512ec651e [2022-07-19T20:09:16.629Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T20:09:16.888Z] 3.15: Pulling from library/alpine [2022-07-19T20:09:16.888Z] df9b9388f04a: Pulling fs layer [2022-07-19T20:09:17.149Z] df9b9388f04a: Verifying Checksum [2022-07-19T20:09:17.149Z] df9b9388f04a: Download complete [2022-07-19T20:09:17.409Z] df9b9388f04a: Pull complete [2022-07-19T20:09:17.409Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-19T20:09:17.409Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T20:09:17.409Z] ---> 0ac33e5f5afa [2022-07-19T20:09:17.409Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T20:09:17.409Z] ---> Running in 76b3e68dce8d [2022-07-19T20:09:17.409Z] Removing intermediate container 76b3e68dce8d [2022-07-19T20:09:17.409Z] ---> eb880bf5f192 [2022-07-19T20:09:17.409Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T20:09:17.409Z] ---> Running in fe924f1e9f3b [2022-07-19T20:09:17.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-19T20:09:17.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-19T20:09:17.980Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T20:09:17.980Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T20:09:17.980Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T20:09:17.980Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T20:09:18.241Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T20:09:18.241Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T20:09:18.241Z] Executing busybox-1.34.1-r5.trigger [2022-07-19T20:09:18.241Z] OK: 8 MiB in 20 packages [2022-07-19T20:09:18.503Z] Removing intermediate container fe924f1e9f3b [2022-07-19T20:09:18.503Z] ---> 4a3312b3b699 [2022-07-19T20:09:18.503Z] Step 17/26 : WORKDIR / [2022-07-19T20:09:18.503Z] ---> Running in 481a5f2ed4bf [2022-07-19T20:09:18.762Z] Removing intermediate container 481a5f2ed4bf [2022-07-19T20:09:18.762Z] ---> b5e453ddedaa [2022-07-19T20:09:18.762Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T20:09:19.331Z] ---> c2d786955c56 [2022-07-19T20:09:19.331Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T20:09:19.331Z] ---> 5a0e7875e35b [2022-07-19T20:09:19.331Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T20:09:19.591Z] ---> 269753958d0e [2022-07-19T20:09:19.591Z] Step 21/26 : EXPOSE 59984 [2022-07-19T20:09:19.591Z] ---> Running in 512d3a8a8d4b [2022-07-19T20:09:19.851Z] Removing intermediate container 512d3a8a8d4b [2022-07-19T20:09:19.851Z] ---> fcf2163c3783 [2022-07-19T20:09:19.851Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T20:09:19.851Z] ---> Running in 2713c15dc577 [2022-07-19T20:09:19.851Z] Removing intermediate container 2713c15dc577 [2022-07-19T20:09:19.851Z] ---> 61627ca74631 [2022-07-19T20:09:19.851Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T20:09:19.851Z] ---> Running in e6677528e187 [2022-07-19T20:09:20.111Z] Removing intermediate container e6677528e187 [2022-07-19T20:09:20.111Z] ---> b929b7a93ff4 [2022-07-19T20:09:20.111Z] Step 24/26 : LABEL arch=amd64 [2022-07-19T20:09:20.111Z] ---> Running in 513cdf381863 [2022-07-19T20:09:20.111Z] Removing intermediate container 513cdf381863 [2022-07-19T20:09:20.111Z] ---> 649a8967ccbc [2022-07-19T20:09:20.111Z] Step 25/26 : LABEL git_sha=79fd7b758fdd2616632a816539021f72141f271d [2022-07-19T20:09:20.111Z] ---> Running in 1a59aaeb8f04 [2022-07-19T20:09:20.371Z] Removing intermediate container 1a59aaeb8f04 [2022-07-19T20:09:20.371Z] ---> ef82aac020f3 [2022-07-19T20:09:20.371Z] Step 26/26 : LABEL version=0.0.0 [2022-07-19T20:09:20.371Z] ---> Running in 9e7245f5eb7c [2022-07-19T20:09:20.371Z] Removing intermediate container 9e7245f5eb7c [2022-07-19T20:09:20.371Z] ---> 8d06daa8efb1 [2022-07-19T20:09:20.371Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T20:09:20.371Z] Successfully built 8d06daa8efb1 [2022-07-19T20:09:20.371Z] 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-19T20:09:21.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T20:09:21.080Z] [2022-07-19T20:09:21.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:09:21.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T20:09:21.387Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-19T20:09:21.387Z] 5eb5b503b376: Pulling fs layer [2022-07-19T20:09:21.387Z] 5c69ac0246d0: Pulling fs layer [2022-07-19T20:09:21.387Z] ec43610c2a17: Pulling fs layer [2022-07-19T20:09:21.387Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-19T20:09:21.387Z] 33b1e0a273af: Pulling fs layer [2022-07-19T20:09:21.387Z] 5d3b04190fa2: Pulling fs layer [2022-07-19T20:09:21.387Z] 2f39f015ded8: Pulling fs layer [2022-07-19T20:09:21.387Z] 5d3b04190fa2: Waiting [2022-07-19T20:09:21.387Z] 2f39f015ded8: Waiting [2022-07-19T20:09:21.387Z] 3a2ae6a8a46f: Waiting [2022-07-19T20:09:21.387Z] 5c69ac0246d0: Download complete [2022-07-19T20:09:21.387Z] 3a2ae6a8a46f: Download complete [2022-07-19T20:09:21.652Z] 33b1e0a273af: Verifying Checksum [2022-07-19T20:09:21.652Z] 33b1e0a273af: Download complete [2022-07-19T20:09:21.652Z] 5d3b04190fa2: Download complete [2022-07-19T20:09:21.652Z] ec43610c2a17: Download complete [2022-07-19T20:09:21.652Z] 5eb5b503b376: Verifying Checksum [2022-07-19T20:09:21.652Z] 5eb5b503b376: Download complete [2022-07-19T20:09:22.591Z] 2f39f015ded8: Download complete [2022-07-19T20:09:23.159Z] 5eb5b503b376: Pull complete [2022-07-19T20:09:23.418Z] 5c69ac0246d0: Pull complete [2022-07-19T20:09:23.679Z] ec43610c2a17: Pull complete [2022-07-19T20:09:23.937Z] 3a2ae6a8a46f: Pull complete [2022-07-19T20:09:24.196Z] 33b1e0a273af: Pull complete [2022-07-19T20:09:24.196Z] 5d3b04190fa2: Pull complete [2022-07-19T20:09:29.476Z] 2f39f015ded8: Pull complete [2022-07-19T20:09:29.476Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-19T20:09:29.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T20:09:29.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:09:29.579Z] prd-ubuntu20.04-docker-8c-8g-20517 does not seem to be running inside a container [2022-07-19T20:09:29.628Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T20:09:31.488Z] $ docker top 4932e2aba4d82a4cda9c4b77d6b4c0cc8ffbb52a1986f12f448c76019a676c4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:09:32.000Z] ---> job-cost.sh [2022-07-19T20:09:32.000Z] lf-activate-venv: SKIPPING [2022-07-19T20:09:32.000Z] INFO: No Stack... [2022-07-19T20:09:32.304Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T20:09:32.564Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T20:09:32.854Z] + cat /w/workspace/undry_device-onvif-camera_PR-110/archives/cost.csv [2022-07-19T20:09:32.854Z] + cut -d, -f6 [Pipeline] lock [2022-07-19T20:09:32.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] [2022-07-19T20:09:32.874Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] did not exist. Created. [2022-07-19T20:09:32.874Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T20:09:33.177Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-19T20:09:33.209Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T20:09:33.217Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T20:09:33.248Z] $ docker stop --time=1 4932e2aba4d82a4cda9c4b77d6b4c0cc8ffbb52a1986f12f448c76019a676c4e [2022-07-19T20:09:34.437Z] $ docker rm -f 4932e2aba4d82a4cda9c4b77d6b4c0cc8ffbb52a1986f12f448c76019a676c4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-19T20:10:34.230Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20519 in /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] { [Pipeline] ws [2022-07-19T20:10:34.241Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-07-19T20:10:34.298Z] Selected Git installation does not exist. Using Default [2022-07-19T20:10:34.298Z] The recommended git tool is: NONE [2022-07-19T20:10:41.336Z] using credential edgex-jenkins-ssh [2022-07-19T20:10:41.356Z] Cloning the remote Git repository [2022-07-19T20:10:41.418Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T20:10:41.500Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-07-19T20:10:41.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T20:10:41.673Z] > git --version # timeout=10 [2022-07-19T20:10:41.730Z] > git --version # 'git version 2.25.1' [2022-07-19T20:10:41.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T20:10:41.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T20:10:42.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T20:10:42.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T20:10:42.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T20:10:42.806Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T20:10:42.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T20:10:42.821Z] > 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-19T20:10:43.949Z] Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit 6719ed562042677aabb59520c3ed62a7e4c023b5 [2022-07-19T20:10:44.690Z] Merge succeeded, producing c4d5a7fdc1ff5711adb1dc67b32da98ce929b1bf [2022-07-19T20:10:44.690Z] Checking out Revision c4d5a7fdc1ff5711adb1dc67b32da98ce929b1bf (PR-110) [2022-07-19T20:10:43.973Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T20:10:43.993Z] > git checkout -f 6719ed562042677aabb59520c3ed62a7e4c023b5 # timeout=10 [2022-07-19T20:10:44.213Z] > git remote # timeout=10 [2022-07-19T20:10:44.233Z] > git config --get remote.origin.url # timeout=10 [2022-07-19T20:10:44.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T20:10:44.259Z] > git merge e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 [2022-07-19T20:10:44.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-19T20:10:44.700Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T20:10:44.747Z] > git checkout -f c4d5a7fdc1ff5711adb1dc67b32da98ce929b1bf # timeout=10 [2022-07-19T20:10:49.174Z] Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" [2022-07-19T20:10:49.202Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T20:10:49.187Z] > git rev-list --no-walk 2f4bf01e24587bbb2eeff1425d327897eff17620 # timeout=10 [2022-07-19T20:10:50.038Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-19T20:10:50.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T20:10:50.038Z] Dload Upload Total Spent Left Speed [2022-07-19T20:10:50.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 174k 0 --:--:-- --:--:-- --:--:-- 174k [Pipeline] sh [2022-07-19T20:10:50.765Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-19T20:10:51.111Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-19T20:10:51.111Z] + sudo tee /etc/docker/daemon.new [2022-07-19T20:10:51.111Z] { [2022-07-19T20:10:51.111Z] "registry-mirrors": [ [2022-07-19T20:10:51.111Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-19T20:10:51.111Z] ], [2022-07-19T20:10:51.111Z] "bip": "10.250.0.254/24", [2022-07-19T20:10:51.111Z] "hosts": [ [2022-07-19T20:10:51.111Z] "tcp://0.0.0.0:5555", [2022-07-19T20:10:51.111Z] "unix:///var/run/docker.sock" [2022-07-19T20:10:51.111Z] ], [2022-07-19T20:10:51.111Z] "mtu": 1458, [2022-07-19T20:10:51.111Z] "selinux-enabled": true, [2022-07-19T20:10:51.111Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-19T20:10:51.111Z] } [Pipeline] sh [2022-07-19T20:10:51.464Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-19T20:10:51.811Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T20:11:10.180Z] provisioning config files... [2022-07-19T20:11:10.207Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config3831781825536455042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:11:10.801Z] ---> docker-login.sh [2022-07-19T20:11:10.801Z] nexus3.edgexfoundry.org:10001 [2022-07-19T20:11:11.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:11:11.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:11:11.680Z] Configure a credential helper to remove this warning. See [2022-07-19T20:11:11.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:11:11.680Z] [2022-07-19T20:11:11.680Z] Login Succeeded [2022-07-19T20:11:11.954Z] nexus3.edgexfoundry.org:10002 [2022-07-19T20:11:12.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:11:12.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:11:12.235Z] Configure a credential helper to remove this warning. See [2022-07-19T20:11:12.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:11:12.235Z] [2022-07-19T20:11:12.235Z] Login Succeeded [2022-07-19T20:11:12.235Z] nexus3.edgexfoundry.org:10003 [2022-07-19T20:11:12.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:11:12.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:11:12.839Z] Configure a credential helper to remove this warning. See [2022-07-19T20:11:12.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:11:12.839Z] [2022-07-19T20:11:12.839Z] Login Succeeded [2022-07-19T20:11:12.839Z] nexus3.edgexfoundry.org:10004 [2022-07-19T20:11:13.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:11:13.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:11:13.111Z] Configure a credential helper to remove this warning. See [2022-07-19T20:11:13.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:11:13.111Z] [2022-07-19T20:11:13.111Z] Login Succeeded [2022-07-19T20:11:13.385Z] docker.io [2022-07-19T20:11:13.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T20:11:13.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T20:11:13.932Z] Configure a credential helper to remove this warning. See [2022-07-19T20:11:13.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T20:11:13.932Z] [2022-07-19T20:11:13.932Z] Login Succeeded [2022-07-19T20:11:13.932Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T20:11:13.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T20:11:14.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T20:11:14.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T20:11:14.267Z] ========================================================= [2022-07-19T20:11:14.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-19T20:11:14.267Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:11:14.630Z] + 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-19T20:11:15.224Z] Sending build context to Docker daemon 13.12MB [2022-07-19T20:11:15.224Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T20:11:15.224Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T20:11:15.497Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-19T20:11:15.497Z] b3c136eddcbf: Pulling fs layer [2022-07-19T20:11:15.497Z] c0a3192eca97: Pulling fs layer [2022-07-19T20:11:15.497Z] a050256f5b6f: Pulling fs layer [2022-07-19T20:11:15.497Z] 656be50a0ddc: Pulling fs layer [2022-07-19T20:11:15.497Z] 2bbca73fdf42: Pulling fs layer [2022-07-19T20:11:15.497Z] 46d945488cbd: Pulling fs layer [2022-07-19T20:11:15.497Z] 8a5474983e97: Pulling fs layer [2022-07-19T20:11:15.497Z] 329c88fbcd65: Pulling fs layer [2022-07-19T20:11:15.497Z] 656be50a0ddc: Waiting [2022-07-19T20:11:15.497Z] 2bbca73fdf42: Waiting [2022-07-19T20:11:15.497Z] 46d945488cbd: Waiting [2022-07-19T20:11:15.497Z] 8a5474983e97: Waiting [2022-07-19T20:11:15.497Z] 329c88fbcd65: Waiting [2022-07-19T20:11:15.497Z] a050256f5b6f: Verifying Checksum [2022-07-19T20:11:15.497Z] a050256f5b6f: Download complete [2022-07-19T20:11:15.497Z] c0a3192eca97: Verifying Checksum [2022-07-19T20:11:15.497Z] c0a3192eca97: Download complete [2022-07-19T20:11:15.497Z] 2bbca73fdf42: Download complete [2022-07-19T20:11:15.497Z] 46d945488cbd: Verifying Checksum [2022-07-19T20:11:15.497Z] 46d945488cbd: Download complete [2022-07-19T20:11:15.497Z] b3c136eddcbf: Verifying Checksum [2022-07-19T20:11:16.941Z] b3c136eddcbf: Pull complete [2022-07-19T20:11:16.941Z] 329c88fbcd65: Verifying Checksum [2022-07-19T20:11:16.941Z] 329c88fbcd65: Download complete [2022-07-19T20:11:17.225Z] c0a3192eca97: Pull complete [2022-07-19T20:11:17.502Z] a050256f5b6f: Pull complete [2022-07-19T20:11:17.776Z] 8a5474983e97: Verifying Checksum [2022-07-19T20:11:17.777Z] 8a5474983e97: Download complete [2022-07-19T20:11:18.766Z] 656be50a0ddc: Verifying Checksum [2022-07-19T20:11:18.766Z] 656be50a0ddc: Download complete [2022-07-19T20:11:33.858Z] 656be50a0ddc: Pull complete [2022-07-19T20:11:33.858Z] 2bbca73fdf42: Pull complete [2022-07-19T20:11:33.858Z] 46d945488cbd: Pull complete [2022-07-19T20:11:39.297Z] 8a5474983e97: Pull complete [2022-07-19T20:11:41.308Z] 329c88fbcd65: Pull complete [2022-07-19T20:11:41.308Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-19T20:11:41.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-19T20:11:41.308Z] ---> ff4287adb874 [2022-07-19T20:11:41.308Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T20:11:41.921Z] ---> Running in e05bb4676e1e [2022-07-19T20:11:42.924Z] Removing intermediate container e05bb4676e1e [2022-07-19T20:11:42.924Z] ---> 4546f5eb6c41 [2022-07-19T20:11:42.924Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T20:11:42.924Z] ---> Running in 76788cae40fb [2022-07-19T20:11:43.202Z] Removing intermediate container 76788cae40fb [2022-07-19T20:11:43.202Z] ---> 6c9e4a85919d [2022-07-19T20:11:43.202Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T20:11:43.202Z] ---> Running in 7df7e95f8d57 [2022-07-19T20:11:43.808Z] Removing intermediate container 7df7e95f8d57 [2022-07-19T20:11:43.808Z] ---> 87d3a76969bf [2022-07-19T20:11:43.808Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T20:11:43.808Z] ---> Running in 36b02cc65404 [2022-07-19T20:11:44.084Z] Removing intermediate container 36b02cc65404 [2022-07-19T20:11:44.084Z] ---> 5196c3b9d2c5 [2022-07-19T20:11:44.084Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T20:11:44.084Z] ---> Running in b9501b39478d [2022-07-19T20:11:46.073Z] Removing intermediate container b9501b39478d [2022-07-19T20:11:46.073Z] ---> 72ccb4022645 [2022-07-19T20:11:46.073Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T20:11:46.073Z] ---> Running in 4af294777944 [2022-07-19T20:11:47.053Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T20:11:47.647Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T20:11:48.630Z] OK: 221 MiB in 51 packages [2022-07-19T20:11:49.623Z] Removing intermediate container 4af294777944 [2022-07-19T20:11:49.623Z] ---> cd3fedd945a0 [2022-07-19T20:11:49.623Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T20:11:49.623Z] ---> Running in 457dfb630512 [2022-07-19T20:11:49.902Z] Removing intermediate container 457dfb630512 [2022-07-19T20:11:49.902Z] ---> 2e5f1db04a25 [2022-07-19T20:11:49.902Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T20:11:50.501Z] ---> 53156011cd1f [2022-07-19T20:11:50.501Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T20:11:50.501Z] ---> Running in 04d59d4bbf9b [2022-07-19T20:12:37.487Z] Removing intermediate container 04d59d4bbf9b [2022-07-19T20:12:37.487Z] ---> eab6b0eb67ae [2022-07-19T20:12:37.487Z] Step 12/13 : COPY . . [2022-07-19T20:12:38.476Z] ---> 27ea9d48c51f [2022-07-19T20:12:38.476Z] Step 13/13 : RUN ${MAKE} [2022-07-19T20:12:38.757Z] ---> Running in 3478f56747dc [2022-07-19T20:12:39.747Z] noop [2022-07-19T20:12:40.357Z] Removing intermediate container 3478f56747dc [2022-07-19T20:12:40.357Z] ---> e15386b8d170 [2022-07-19T20:12:40.357Z] Successfully built e15386b8d170 [2022-07-19T20:12:40.357Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:12:40.747Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T20:12:40.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:12:41.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-20519 does not seem to be running inside a container [2022-07-19T20:12:41.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T20:12:42.453Z] $ docker top 54dda8522d635383cb3d790aa802e0bf8b99fea85151838f69f5410958b75c96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T20:12:43.389Z] + go version [2022-07-19T20:12:43.389Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-19T20:12:43.422Z] $ docker stop --time=1 54dda8522d635383cb3d790aa802e0bf8b99fea85151838f69f5410958b75c96 [2022-07-19T20:12:45.106Z] $ docker rm -f 54dda8522d635383cb3d790aa802e0bf8b99fea85151838f69f5410958b75c96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:12:45.730Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T20:12:45.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:12:45.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-20519 does not seem to be running inside a container [2022-07-19T20:12:46.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T20:12:47.428Z] $ docker top f97ad809493cad1eeb17d2495079f999da1db47ecda81522b5faefaf5cf86b9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T20:12:48.352Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh [2022-07-19T20:12:49.043Z] + make test [2022-07-19T20:12:49.043Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T20:12:51.032Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T20:14:27.939Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T20:14:27.939Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.088s coverage: 7.0% of statements [2022-07-19T20:14:27.939Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T20:14:40.339Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.478s coverage: 13.8% of statements [2022-07-19T20:14:40.614Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-19T20:14:40.614Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T20:15:02.824Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T20:15:02.824Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T20:15:02.824Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T20:15:05.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T20:15:05.482Z] $ docker stop --time=1 f97ad809493cad1eeb17d2495079f999da1db47ecda81522b5faefaf5cf86b9b [2022-07-19T20:15:07.257Z] $ docker rm -f f97ad809493cad1eeb17d2495079f999da1db47ecda81522b5faefaf5cf86b9b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T20:15:08.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T20:15:08.301Z] Warning: overwriting stash ‘coverage-report’ [2022-07-19T20:15:08.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T20:15:09.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T20:15:09.625Z] + ls -al . [2022-07-19T20:15:09.625Z] total 224 [2022-07-19T20:15:09.625Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 20:15 . [2022-07-19T20:15:09.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:10 .. [2022-07-19T20:15:09.625Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 20:10 .git [2022-07-19T20:15:09.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:10 .github [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 20:10 .gitignore [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 20:10 .golangci.yml [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 20:10 Attribution.txt [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 20:10 CHANGELOG.md [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 20:10 Dockerfile [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 20:10 GOVERNANCE.md [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 20:10 Jenkinsfile [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 20:10 LICENSE [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 20:10 Makefile [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 20:10 OWNERS.md [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 19 20:10 README.md [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:07 VERSION [2022-07-19T20:15:09.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:10 bin [2022-07-19T20:15:09.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:10 cmd [2022-07-19T20:15:09.625Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 20:14 coverage.out [2022-07-19T20:15:09.625Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 20:10 doc [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 20:10 go.mod [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 20:10 go.sum [2022-07-19T20:15:09.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:10 internal [2022-07-19T20:15:09.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:10 snap [2022-07-19T20:15:09.625Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:15:09.977Z] + 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=c4d5a7fdc1ff5711adb1dc67b32da98ce929b1bf --label arch=arm64 --label version=0.0.0 . [2022-07-19T20:15:10.569Z] Sending build context to Docker daemon 13.2MB [2022-07-19T20:15:10.569Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T20:15:10.569Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T20:15:10.569Z] ---> e15386b8d170 [2022-07-19T20:15:10.569Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T20:15:10.840Z] ---> Running in ee0a1693355d [2022-07-19T20:15:11.113Z] Removing intermediate container ee0a1693355d [2022-07-19T20:15:11.113Z] ---> 68f23277af24 [2022-07-19T20:15:11.113Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T20:15:11.113Z] ---> Running in 3758aa596f65 [2022-07-19T20:15:11.387Z] Removing intermediate container 3758aa596f65 [2022-07-19T20:15:11.388Z] ---> 1a42fe885b85 [2022-07-19T20:15:11.388Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T20:15:11.659Z] ---> Running in c7ecec146b99 [2022-07-19T20:15:11.932Z] Removing intermediate container c7ecec146b99 [2022-07-19T20:15:11.932Z] ---> 3046c8053a82 [2022-07-19T20:15:11.932Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T20:15:11.932Z] ---> Running in 5d889ff9f84e [2022-07-19T20:15:12.217Z] Removing intermediate container 5d889ff9f84e [2022-07-19T20:15:12.217Z] ---> 861254bd3d18 [2022-07-19T20:15:12.217Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T20:15:12.217Z] ---> Running in 2471d3d33821 [2022-07-19T20:15:14.194Z] Removing intermediate container 2471d3d33821 [2022-07-19T20:15:14.194Z] ---> 65637988d0eb [2022-07-19T20:15:14.194Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T20:15:14.194Z] ---> Running in b0a497422bae [2022-07-19T20:15:15.169Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T20:15:16.145Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T20:15:16.742Z] OK: 221 MiB in 51 packages [2022-07-19T20:15:17.730Z] Removing intermediate container b0a497422bae [2022-07-19T20:15:17.730Z] ---> 3502f3a2aa26 [2022-07-19T20:15:17.730Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T20:15:17.730Z] ---> Running in d07d18ac0d52 [2022-07-19T20:15:18.008Z] Removing intermediate container d07d18ac0d52 [2022-07-19T20:15:18.008Z] ---> f45e084fd791 [2022-07-19T20:15:18.008Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T20:15:18.609Z] ---> 8c56c5ac5054 [2022-07-19T20:15:18.609Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T20:15:18.892Z] ---> Running in 8b19b939ebb9 [2022-07-19T20:15:20.868Z] Removing intermediate container 8b19b939ebb9 [2022-07-19T20:15:20.868Z] ---> 3305dd5e5920 [2022-07-19T20:15:20.868Z] Step 12/26 : COPY . . [2022-07-19T20:15:22.307Z] ---> fc598be697e8 [2022-07-19T20:15:22.307Z] Step 13/26 : RUN ${MAKE} [2022-07-19T20:15:22.307Z] ---> Running in 91fd936f38df [2022-07-19T20:15:23.289Z] 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-19T20:17:45.650Z] Removing intermediate container 91fd936f38df [2022-07-19T20:17:45.650Z] ---> 687e53b2965d [2022-07-19T20:17:45.650Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T20:17:45.650Z] 3.15: Pulling from library/alpine [2022-07-19T20:17:45.650Z] 9981e73032c8: Pulling fs layer [2022-07-19T20:17:45.650Z] 9981e73032c8: Verifying Checksum [2022-07-19T20:17:45.650Z] 9981e73032c8: Pull complete [2022-07-19T20:17:45.650Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-19T20:17:45.650Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T20:17:45.650Z] ---> 3fb3c9af89a9 [2022-07-19T20:17:45.650Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T20:17:45.650Z] ---> Running in 4d926c509222 [2022-07-19T20:17:45.650Z] Removing intermediate container 4d926c509222 [2022-07-19T20:17:45.650Z] ---> 76ce10bc597a [2022-07-19T20:17:45.650Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T20:17:45.650Z] ---> Running in 31c54b6da138 [2022-07-19T20:17:45.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-19T20:17:45.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-19T20:17:45.650Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T20:17:45.650Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T20:17:45.650Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T20:17:45.650Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T20:17:45.650Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T20:17:45.650Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T20:17:45.650Z] Executing busybox-1.34.1-r5.trigger [2022-07-19T20:17:45.650Z] OK: 8 MiB in 20 packages [2022-07-19T20:17:45.650Z] Removing intermediate container 31c54b6da138 [2022-07-19T20:17:45.650Z] ---> a343f383af8f [2022-07-19T20:17:45.650Z] Step 17/26 : WORKDIR / [2022-07-19T20:17:45.650Z] ---> Running in 84c787bcaf9d [2022-07-19T20:17:45.650Z] Removing intermediate container 84c787bcaf9d [2022-07-19T20:17:45.650Z] ---> ccb2c29548d0 [2022-07-19T20:17:45.650Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T20:17:45.650Z] ---> a365d1da0920 [2022-07-19T20:17:45.650Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T20:17:45.650Z] ---> 5214bb556cbc [2022-07-19T20:17:45.650Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T20:17:45.650Z] ---> c4ee3ffd2f71 [2022-07-19T20:17:45.650Z] Step 21/26 : EXPOSE 59984 [2022-07-19T20:17:45.650Z] ---> Running in 53309c512fab [2022-07-19T20:17:45.650Z] Removing intermediate container 53309c512fab [2022-07-19T20:17:45.650Z] ---> 115fc03ef3d1 [2022-07-19T20:17:45.650Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T20:17:45.650Z] ---> Running in 5137bd10ae67 [2022-07-19T20:17:45.650Z] Removing intermediate container 5137bd10ae67 [2022-07-19T20:17:45.650Z] ---> d08cf8a5bbb8 [2022-07-19T20:17:45.650Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T20:17:45.650Z] ---> Running in f85df21a7c49 [2022-07-19T20:17:45.650Z] Removing intermediate container f85df21a7c49 [2022-07-19T20:17:45.650Z] ---> 92d6e8084fa3 [2022-07-19T20:17:45.650Z] Step 24/26 : LABEL arch=arm64 [2022-07-19T20:17:45.650Z] ---> Running in c77d95636f52 [2022-07-19T20:17:45.650Z] Removing intermediate container c77d95636f52 [2022-07-19T20:17:45.650Z] ---> ab6d87c66d51 [2022-07-19T20:17:45.650Z] Step 25/26 : LABEL git_sha=c4d5a7fdc1ff5711adb1dc67b32da98ce929b1bf [2022-07-19T20:17:45.650Z] ---> Running in 3f3db7dac890 [2022-07-19T20:17:45.650Z] Removing intermediate container 3f3db7dac890 [2022-07-19T20:17:45.650Z] ---> f2c724ed34bf [2022-07-19T20:17:45.650Z] Step 26/26 : LABEL version=0.0.0 [2022-07-19T20:17:45.650Z] ---> Running in 136ee9fd8948 [2022-07-19T20:17:45.650Z] Removing intermediate container 136ee9fd8948 [2022-07-19T20:17:45.650Z] ---> 27d5c8c7b3e5 [2022-07-19T20:17:45.650Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T20:17:45.650Z] Successfully built 27d5c8c7b3e5 [2022-07-19T20:17:45.650Z] 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-19T20:17:46.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T20:17:46.118Z] [2022-07-19T20:17:46.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:17:46.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T20:17:46.746Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-19T20:17:46.746Z] 8998bd30e6a1: Pulling fs layer [2022-07-19T20:17:46.746Z] 04944245beec: Pulling fs layer [2022-07-19T20:17:46.746Z] 699f458cf7ca: Pulling fs layer [2022-07-19T20:17:46.746Z] 765212b225bb: Pulling fs layer [2022-07-19T20:17:46.746Z] f23df028b6ca: Pulling fs layer [2022-07-19T20:17:46.746Z] d65c8cfc05b1: Pulling fs layer [2022-07-19T20:17:46.746Z] 2437ff75d9bd: Pulling fs layer [2022-07-19T20:17:46.746Z] f23df028b6ca: Waiting [2022-07-19T20:17:46.746Z] d65c8cfc05b1: Waiting [2022-07-19T20:17:46.746Z] 2437ff75d9bd: Waiting [2022-07-19T20:17:46.746Z] 765212b225bb: Waiting [2022-07-19T20:17:46.746Z] 04944245beec: Verifying Checksum [2022-07-19T20:17:46.746Z] 04944245beec: Download complete [2022-07-19T20:17:46.746Z] 765212b225bb: Verifying Checksum [2022-07-19T20:17:46.746Z] 765212b225bb: Download complete [2022-07-19T20:17:46.746Z] f23df028b6ca: Verifying Checksum [2022-07-19T20:17:46.746Z] f23df028b6ca: Download complete [2022-07-19T20:17:46.746Z] d65c8cfc05b1: Verifying Checksum [2022-07-19T20:17:46.746Z] d65c8cfc05b1: Download complete [2022-07-19T20:17:47.029Z] 699f458cf7ca: Verifying Checksum [2022-07-19T20:17:47.029Z] 699f458cf7ca: Download complete [2022-07-19T20:17:47.306Z] 8998bd30e6a1: Verifying Checksum [2022-07-19T20:17:47.306Z] 8998bd30e6a1: Download complete [2022-07-19T20:17:49.935Z] 2437ff75d9bd: Verifying Checksum [2022-07-19T20:17:49.935Z] 2437ff75d9bd: Download complete [2022-07-19T20:17:51.917Z] 8998bd30e6a1: Pull complete [2022-07-19T20:17:52.190Z] 04944245beec: Pull complete [2022-07-19T20:17:53.630Z] 699f458cf7ca: Pull complete [2022-07-19T20:17:53.902Z] 765212b225bb: Pull complete [2022-07-19T20:17:54.885Z] f23df028b6ca: Pull complete [2022-07-19T20:17:54.885Z] d65c8cfc05b1: Pull complete [2022-07-19T20:18:09.998Z] 2437ff75d9bd: Pull complete [2022-07-19T20:18:09.998Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-19T20:18:09.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T20:18:09.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:18:10.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-20519 does not seem to be running inside a container [2022-07-19T20:18:10.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-19T20:18:12.946Z] $ docker top 323ad7ecbe1eccf2d06ffc252b11afa401064c41178c02f893d7670979d63dbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:13.848Z] ---> job-cost.sh [2022-07-19T20:18:13.849Z] lf-activate-venv: SKIPPING [2022-07-19T20:18:13.849Z] INFO: No Stack... [2022-07-19T20:18:14.445Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-19T20:18:15.423Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T20:18:16.084Z] + + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [2022-07-19T20:18:16.084Z] cut -d, -f6 [Pipeline] lock [2022-07-19T20:18:16.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] [2022-07-19T20:18:16.157Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] did not exist. Created. [2022-07-19T20:18:16.157Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T20:18:16.838Z] /w/workspace/device-onvif-camera/9@tmp/durable-4d006e0f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-19T20:18:17.515Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-19T20:18:17.536Z] Warning: overwriting stash ‘stack-cost’ [2022-07-19T20:18:17.585Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T20:18:17.595Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T20:18:17.621Z] $ docker stop --time=1 323ad7ecbe1eccf2d06ffc252b11afa401064c41178c02f893d7670979d63dbb [2022-07-19T20:18:19.120Z] $ docker rm -f 323ad7ecbe1eccf2d06ffc252b11afa401064c41178c02f893d7670979d63dbb [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-19T20:18:19.538Z] provisioning config files... [2022-07-19T20:18:19.546Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config3918699906367353737tmp [Pipeline] { [Pipeline] sh [2022-07-19T20:18:19.842Z] + set +x [2022-07-19T20:18:19.842Z] + curl -s https://codecov.io/bash [2022-07-19T20:18:19.842Z] + bash -s -- [2022-07-19T20:18:19.842Z] [2022-07-19T20:18:19.842Z] _____ _ [2022-07-19T20:18:19.842Z] / ____| | | [2022-07-19T20:18:19.842Z] | | ___ __| | ___ ___ _____ __ [2022-07-19T20:18:19.842Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-19T20:18:19.842Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-19T20:18:19.842Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-19T20:18:19.842Z] Bash-1.0.6 [2022-07-19T20:18:19.842Z] [2022-07-19T20:18:19.842Z] [2022-07-19T20:18:19.842Z] ==> git version 2.25.1 found [2022-07-19T20:18:19.842Z] ==> 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-19T20:18:19.842Z] Release-Date: 2020-01-08 [2022-07-19T20:18:19.842Z] 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-19T20:18:19.842Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-19T20:18:19.843Z] ==> Jenkins CI detected. [2022-07-19T20:18:19.843Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-110 [2022-07-19T20:18:19.843Z] project root: . [2022-07-19T20:18:19.843Z] --> token set from env [2022-07-19T20:18:19.843Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-19T20:18:19.843Z] ==> Running gcov in . (disable via -X gcov) [2022-07-19T20:18:19.843Z] ==> Python coveragepy not found [2022-07-19T20:18:19.843Z] ==> Searching for coverage reports in: [2022-07-19T20:18:19.843Z] + . [2022-07-19T20:18:19.843Z] -> Found 1 reports [2022-07-19T20:18:19.843Z] ==> Detecting git/mercurial file structure [2022-07-19T20:18:19.843Z] ==> Reading reports [2022-07-19T20:18:19.843Z] + ./coverage.out bytes=70262 [2022-07-19T20:18:19.843Z] ==> Appending adjustments [2022-07-19T20:18:19.843Z] https://docs.codecov.io/docs/fixing-reports [2022-07-19T20:18:20.103Z] + Found adjustments [2022-07-19T20:18:20.103Z] ==> Gzipping contents [2022-07-19T20:18:20.103Z] 12K /tmp/codecov.3ufLYy.gz [2022-07-19T20:18:20.103Z] ==> Uploading reports [2022-07-19T20:18:20.103Z] url: https://codecov.io [2022-07-19T20:18:20.103Z] query: branch=PR-110&commit=79fd7b758fdd2616632a816539021f72141f271d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-19T20:18:20.103Z] -> Pinging Codecov [2022-07-19T20:18:20.103Z] 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=79fd7b758fdd2616632a816539021f72141f271d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-19T20:18:20.363Z] -> Uploading to [2022-07-19T20:18:20.364Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-19/F29A59C45E3A92E06B3E522C9905F8EF/79fd7b758fdd2616632a816539021f72141f271d/7c3ccc63-2e03-4774-afca-7b6c36c3f66b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T201820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=073c53cef68301e8ae49a4dc4da735acc1a9ae4b0e4cfb0e255cc0d558dfdc50 [2022-07-19T20:18:20.364Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T20:18:20.364Z] Dload Upload Total Spent Left Speed [2022-07-19T20:18:20.625Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9556 0 0 100 9556 0 47073 --:--:-- --:--:-- --:--:-- 46843 100 9556 0 0 100 9556 0 45075 --:--:-- --:--:-- --:--:-- 44863 [2022-07-19T20:18:20.625Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/79fd7b758fdd2616632a816539021f72141f271d [Pipeline] } [2022-07-19T20:18:20.634Z] 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-19T20:18:21.264Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-110/archives ] [2022-07-19T20:18:21.264Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-19T20:18:21.264Z] total 16 [2022-07-19T20:18:21.264Z] drwxr-xr-x 3 root root 4096 Jul 19 20:09 . [2022-07-19T20:18:21.264Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 20:09 .. [2022-07-19T20:18:21.264Z] drwxr-xr-x 2 root root 4096 Jul 19 20:09 cost [2022-07-19T20:18:21.264Z] -rw-r--r-- 1 root root 90 Jul 19 20:09 cost.csv [2022-07-19T20:18:21.264Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-19T20:18:21.264Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-19T20:18:21.264Z] total 16 [2022-07-19T20:18:21.264Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 20:09 . [2022-07-19T20:18:21.264Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 20:09 .. [2022-07-19T20:18:21.264Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 20:09 cost [2022-07-19T20:18:21.264Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 19 20:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:21.551Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:22.410Z] ---> package-listing.sh [2022-07-19T20:18:22.410Z] ++ facter osfamily [2022-07-19T20:18:22.410Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-19T20:18:22.670Z] + OS_FAMILY=debian [2022-07-19T20:18:22.670Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-110 [2022-07-19T20:18:22.670Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-19T20:18:22.670Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-19T20:18:22.670Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-19T20:18:22.670Z] + PACKAGES=/tmp/packages_start.txt [2022-07-19T20:18:22.670Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-19T20:18:22.670Z] + PACKAGES=/tmp/packages_end.txt [2022-07-19T20:18:22.670Z] + case "${OS_FAMILY}" in [2022-07-19T20:18:22.670Z] + dpkg -l [2022-07-19T20:18:22.670Z] + grep '^ii' [2022-07-19T20:18:22.670Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-19T20:18:22.670Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-19T20:18:22.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-19T20:18:22.670Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-19T20:18:22.670Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-110/archives/ [2022-07-19T20:18:22.670Z] + 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-19T20:18:22.681Z] 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-19T20:18:22.959Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T20:18:23.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T20:18:23.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T20:18:23.634Z] prd-ubuntu20.04-docker-8c-8g-20517 does not seem to be running inside a container [2022-07-19T20:18:23.682Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T20:18:23.907Z] $ docker top f1e0165506edd133289a00a9bf351cbd01bc784991eb1b2bc922def97770a0f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T20:18:24.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-19T20:18:24.571Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-19T20:18:24.860Z] + ls /var/log/sa-host [2022-07-19T20:18:24.860Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T20:18:24.926Z] provisioning config files... [2022-07-19T20:18:24.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config5010031021168099579tmp [Pipeline] { [Pipeline] echo [2022-07-19T20:18:24.947Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:25.234Z] ---> create-netrc.sh [Pipeline] } [2022-07-19T20:18:25.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:25.572Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-19T20:18:25.582Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:25.870Z] ---> sudo-logs.sh [2022-07-19T20:18:25.871Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-19T20:18:25.894Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:26.180Z] ---> job-cost.sh [2022-07-19T20:18:26.180Z] lf-activate-venv: SKIPPING [2022-07-19T20:18:26.180Z] DEBUG: total: 0.2199999988079071 [2022-07-19T20:18:26.180Z] INFO: Retrieving Stack Cost... [2022-07-19T20:18:26.750Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T20:18:27.012Z] INFO: Archiving Costs [Pipeline] echo [2022-07-19T20:18:27.024Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T20:18:27.309Z] ---> logs-deploy.sh [2022-07-19T20:18:27.309Z] lf-activate-venv: SKIPPING [2022-07-19T20:18:27.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-110/9 [2022-07-19T20:18:27.309Z] INFO: archiving workspace using pattern(s): [2022-07-19T20:18:28.249Z] Archives upload complete. [2022-07-19T20:18:28.249Z] INFO: archiving logs to Nexus