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 58a46bebf81eee9640e76b602e43d09af82d89e1 rather than 7be8cc13b399f8bb3052a9942ed390eea4b25552 Obtained Jenkinsfile from 58a46bebf81eee9640e76b602e43d09af82d89e1 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-ssh10211982708865003368.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-ssh12320327451486257494.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-ssh6094698729556494454.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-ssh2752617280253825898.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-ssh3889619602587572059.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-20235’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20238 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 > 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 Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 7be8cc13b399f8bb3052a9942ed390eea4b25552 Merge succeeded, producing 7be8cc13b399f8bb3052a9942ed390eea4b25552 Checking out Revision 7be8cc13b399f8bb3052a9942ed390eea4b25552 (PR-110) > git config core.sparsecheckout # timeout=10 > git checkout -f 7be8cc13b399f8bb3052a9942ed390eea4b25552 # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7be8cc13b399f8bb3052a9942ed390eea4b25552 # timeout=10 Commit message: "docs: create directory for the guides" > git rev-list --no-walk f80b700b099b83510a18d35fabcc43c208cd769b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-15T21:18:20.157Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-15T21:18:20.195Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-15T21:18:20.208Z] ========================================================= [2022-07-15T21:18:20.208Z] EdgeX Global Pipelines Version Info [2022-07-15T21:18:20.208Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:18:20.982Z] ------------------- [2022-07-15T21:18:20.982Z] stable info: [2022-07-15T21:18:20.982Z] ------------------- [2022-07-15T21:18:20.982Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T21:18:20.982Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T21:18:20.982Z] Message: update stable to v1.0.238 [2022-07-15T21:18:21.557Z] ------------------- [2022-07-15T21:18:21.557Z] experimental info: [2022-07-15T21:18:21.557Z] ------------------- [2022-07-15T21:18:21.557Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T21:18:21.557Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T21:18:21.557Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-15T21:18:21.801Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-15T21:18:21.816Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-15T21:18:21.827Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-15T21:18:21.839Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-15T21:18:21.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-15T21:18:21.860Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-15T21:18:21.871Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-15T21:18:21.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-15T21:18:21.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-15T21:18:21.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-15T21:18:21.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-15T21:18:21.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-15T21:18:21.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-15T21:18:21.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-15T21:18:21.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T21:18:21.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T21:18:21.976Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T21:18:21.984Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T21:18:21.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-15T21:18:22.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-15T21:18:22.008Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-15T21:18:22.018Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-15T21:18:22.033Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-15T21:18:22.047Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-15T21:18:22.057Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-15T21:18:22.068Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-15T21:18:22.080Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-15T21:18:22.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo [2022-07-15T21:18:22.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo [2022-07-15T21:18:22.116Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo [2022-07-15T21:18:22.130Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7be8cc13b399f8bb3052a9942ed390eea4b25552 [Pipeline] echo [2022-07-15T21:18:22.140Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7be8cc1 [Pipeline] echo [2022-07-15T21:18:22.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T21:18:22.189Z] provisioning config files... [2022-07-15T21:18:22.207Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config4729275706945432393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:18:22.517Z] ---> docker-login.sh [2022-07-15T21:18:22.517Z] nexus3.edgexfoundry.org:10001 [2022-07-15T21:18:22.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:22.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:22.779Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:22.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:22.779Z] [2022-07-15T21:18:22.779Z] Login Succeeded [2022-07-15T21:18:22.779Z] nexus3.edgexfoundry.org:10002 [2022-07-15T21:18:23.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:23.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:23.040Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:23.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:23.040Z] [2022-07-15T21:18:23.040Z] Login Succeeded [2022-07-15T21:18:23.040Z] nexus3.edgexfoundry.org:10003 [2022-07-15T21:18:23.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:23.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:23.301Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:23.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:23.301Z] [2022-07-15T21:18:23.301Z] Login Succeeded [2022-07-15T21:18:23.301Z] nexus3.edgexfoundry.org:10004 [2022-07-15T21:18:23.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:23.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:23.301Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:23.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:23.301Z] [2022-07-15T21:18:23.301Z] Login Succeeded [2022-07-15T21:18:23.301Z] docker.io [2022-07-15T21:18:23.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:23.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:23.825Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:23.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:23.825Z] [2022-07-15T21:18:23.825Z] Login Succeeded [2022-07-15T21:18:23.825Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T21:18:23.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-15T21:18:24.225Z] + git rev-list -1 --merges 7be8cc13b399f8bb3052a9942ed390eea4b25552~1..7be8cc13b399f8bb3052a9942ed390eea4b25552 [Pipeline] echo [2022-07-15T21:18:24.263Z] -----------> git rev-list -1 --merges 7be8cc13b399f8bb3052a9942ed390eea4b25552~1..7be8cc13b399f8bb3052a9942ed390eea4b25552 7be8cc13b399f8bb3052a9942ed390eea4b25552 [false] [Pipeline] sh [2022-07-15T21:18:24.561Z] + git log --format=format:%s -1 7be8cc13b399f8bb3052a9942ed390eea4b25552 [Pipeline] echo [2022-07-15T21:18:24.579Z] ========================================================= [2022-07-15T21:18:24.580Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-15T21:18:24.580Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T21:18:24.933Z] + git log --format=format:%s -1 7be8cc13b399f8bb3052a9942ed390eea4b25552 [Pipeline] echo [2022-07-15T21:18:24.947Z] [semverPrep] GIT_COMMIT: 7be8cc13b399f8bb3052a9942ed390eea4b25552, Commit Message: docs: create directory for the guides [Pipeline] echo [2022-07-15T21:18:24.959Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-15T21:18:25.347Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-15T21:18:25.347Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-15T21:18:25.347Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-15T21:18:25.347Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-15T21:18:25.347Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-15T21:18:25.347Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-15T21:18:25.347Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:18:25.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T21:18:25.712Z] [2022-07-15T21:18:25.712Z] 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-15T21:18:26.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T21:18:26.023Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-15T21:18:26.023Z] b85a868b505f: Pulling fs layer [2022-07-15T21:18:26.023Z] e2be974225ed: Pulling fs layer [2022-07-15T21:18:26.023Z] 339a4e72a1f5: Pulling fs layer [2022-07-15T21:18:26.023Z] 988bab9f4d93: Pulling fs layer [2022-07-15T21:18:26.023Z] 1469e6f7b9e6: Pulling fs layer [2022-07-15T21:18:26.023Z] eaf3925da568: Pulling fs layer [2022-07-15T21:18:26.023Z] bab4dde63d76: Pulling fs layer [2022-07-15T21:18:26.023Z] bde34c3a00c8: Pulling fs layer [2022-07-15T21:18:26.023Z] b352a97aabf1: Pulling fs layer [2022-07-15T21:18:26.023Z] 4872d77fe225: Pulling fs layer [2022-07-15T21:18:26.023Z] 5851b861e8e6: Pulling fs layer [2022-07-15T21:18:26.023Z] 1469e6f7b9e6: Waiting [2022-07-15T21:18:26.023Z] eaf3925da568: Waiting [2022-07-15T21:18:26.023Z] 988bab9f4d93: Waiting [2022-07-15T21:18:26.023Z] bab4dde63d76: Waiting [2022-07-15T21:18:26.023Z] 5851b861e8e6: Waiting [2022-07-15T21:18:26.023Z] b352a97aabf1: Waiting [2022-07-15T21:18:26.023Z] bde34c3a00c8: Waiting [2022-07-15T21:18:26.023Z] 4872d77fe225: Waiting [2022-07-15T21:18:26.023Z] e2be974225ed: Download complete [2022-07-15T21:18:26.023Z] 988bab9f4d93: Verifying Checksum [2022-07-15T21:18:26.023Z] 988bab9f4d93: Download complete [2022-07-15T21:18:26.023Z] 339a4e72a1f5: Verifying Checksum [2022-07-15T21:18:26.023Z] 339a4e72a1f5: Download complete [2022-07-15T21:18:26.283Z] eaf3925da568: Verifying Checksum [2022-07-15T21:18:26.283Z] eaf3925da568: Download complete [2022-07-15T21:18:26.283Z] 1469e6f7b9e6: Download complete [2022-07-15T21:18:26.283Z] bde34c3a00c8: Download complete [2022-07-15T21:18:26.283Z] b352a97aabf1: Download complete [2022-07-15T21:18:26.283Z] 4872d77fe225: Verifying Checksum [2022-07-15T21:18:26.283Z] 4872d77fe225: Download complete [2022-07-15T21:18:26.283Z] 5851b861e8e6: Verifying Checksum [2022-07-15T21:18:26.283Z] 5851b861e8e6: Download complete [2022-07-15T21:18:26.283Z] b85a868b505f: Verifying Checksum [2022-07-15T21:18:26.283Z] b85a868b505f: Download complete [2022-07-15T21:18:26.552Z] bab4dde63d76: Verifying Checksum [2022-07-15T21:18:26.552Z] bab4dde63d76: Download complete [2022-07-15T21:18:27.937Z] b85a868b505f: Pull complete [2022-07-15T21:18:27.937Z] e2be974225ed: Pull complete [2022-07-15T21:18:28.508Z] 339a4e72a1f5: Pull complete [2022-07-15T21:18:28.508Z] 988bab9f4d93: Pull complete [2022-07-15T21:18:28.769Z] 1469e6f7b9e6: Pull complete [2022-07-15T21:18:28.769Z] eaf3925da568: Pull complete [2022-07-15T21:18:31.316Z] bab4dde63d76: Pull complete [2022-07-15T21:18:31.316Z] bde34c3a00c8: Pull complete [2022-07-15T21:18:31.316Z] b352a97aabf1: Pull complete [2022-07-15T21:18:31.316Z] 4872d77fe225: Pull complete [2022-07-15T21:18:31.316Z] 5851b861e8e6: Pull complete [2022-07-15T21:18:31.316Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-15T21:18:31.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T21:18:31.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:18:31.431Z] prd-ubuntu20.04-docker-8c-8g-20238 does not seem to be running inside a container [2022-07-15T21:18:31.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-15T21:18:32.972Z] $ docker top a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 -eo pid,comm [2022-07-15T21:18:33.044Z] 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-15T21:18:33.044Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-15T21:18:33.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T21:18:33.082Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T21:18:33.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T21:18:33.243Z] $ docker exec a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 ssh-agent [2022-07-15T21:18:33.369Z] SSH_AUTH_SOCK=/tmp/ssh-Rc0gWKhClAek/agent.33 [2022-07-15T21:18:33.369Z] SSH_AGENT_PID=39 [2022-07-15T21:18:33.376Z] Running ssh-add (command line suppressed) [2022-07-15T21:18:33.514Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_7833470498889822297.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_7833470498889822297.key) [2022-07-15T21:18:33.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T21:18:33.818Z] + git tag --points-at HEAD [Pipeline] } [2022-07-15T21:18:33.835Z] $ docker exec --env ******** --env ******** a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 ssh-agent -k [2022-07-15T21:18:33.966Z] unset SSH_AUTH_SOCK; [2022-07-15T21:18:33.966Z] unset SSH_AGENT_PID; [2022-07-15T21:18:33.966Z] echo Agent pid 39 killed; [2022-07-15T21:18:33.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-15T21:18:33.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T21:18:33.996Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T21:18:34.138Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T21:18:34.145Z] $ docker exec a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 ssh-agent [2022-07-15T21:18:34.287Z] SSH_AUTH_SOCK=/tmp/ssh-0ijtbHpnBaRp/agent.73 [2022-07-15T21:18:34.287Z] SSH_AGENT_PID=79 [2022-07-15T21:18:34.294Z] Running ssh-add (command line suppressed) [2022-07-15T21:18:34.425Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_1074607339718777506.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_1074607339718777506.key) [2022-07-15T21:18:34.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T21:18:34.730Z] + git semver init [2022-07-15T21:18:34.990Z] 2022-07-15 21:18:34,934 [run_init] DEBUG init version:0.0.0 force:False [2022-07-15T21:18:34.990Z] 2022-07-15 21:18:34,935 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-110/.semver [2022-07-15T21:18:34.990Z] 2022-07-15 21:18:34,936 [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-15T21:18:34.990Z] 2022-07-15 21:18:34,936 [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-15T21:18:35.934Z] 2022-07-15 21:18:35,615 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-110/.git/info/exclude [2022-07-15T21:18:35.934Z] 2022-07-15 21:18:35,616 [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-15T21:18:35.934Z] 2022-07-15 21:18:35,616 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-15T21:18:35.934Z] 2022-07-15 21:18:35,620 [execute] INFO git cat-file --batch-check [2022-07-15T21:18:35.934Z] 2022-07-15 21:18:35,621 [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-15T21:18:35.934Z] 2022-07-15 21:18:35,626 [execute] INFO git cat-file --batch [2022-07-15T21:18:35.934Z] 2022-07-15 21:18:35,626 [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-15T21:18:35.934Z] 2022-07-15 21:18:35,630 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-15T21:18:35.934Z] 0.0.0 [Pipeline] } [2022-07-15T21:18:35.951Z] $ docker exec --env ******** --env ******** a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 ssh-agent -k [2022-07-15T21:18:36.050Z] unset SSH_AUTH_SOCK; [2022-07-15T21:18:36.050Z] unset SSH_AGENT_PID; [2022-07-15T21:18:36.050Z] echo Agent pid 79 killed; [2022-07-15T21:18:36.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-15T21:18:36.371Z] + git semver [Pipeline] } [2022-07-15T21:18:36.653Z] $ docker stop --time=1 a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 [2022-07-15T21:18:37.985Z] $ docker rm -f a2b8e2a690826eee02b9c5fdbd530a6fd7ed1565a926af8cc7fe5f3a2d5a46a6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T21:18:38.335Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-15T21:18:38.581Z] Stashed 1 file(s) [Pipeline] echo [2022-07-15T21:18:38.584Z] [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-15T21:18:38.714Z] provisioning config files... [2022-07-15T21:18:38.725Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config984229857935045989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:18:39.023Z] ---> docker-login.sh [2022-07-15T21:18:39.023Z] nexus3.edgexfoundry.org:10001 [2022-07-15T21:18:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:39.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:39.023Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:39.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:39.023Z] [2022-07-15T21:18:39.023Z] Login Succeeded [2022-07-15T21:18:39.023Z] nexus3.edgexfoundry.org:10002 [2022-07-15T21:18:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:39.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:39.284Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:39.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:39.284Z] [2022-07-15T21:18:39.284Z] Login Succeeded [2022-07-15T21:18:39.284Z] nexus3.edgexfoundry.org:10003 [2022-07-15T21:18:39.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:39.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:39.284Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:39.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:39.284Z] [2022-07-15T21:18:39.284Z] Login Succeeded [2022-07-15T21:18:39.284Z] nexus3.edgexfoundry.org:10004 [2022-07-15T21:18:39.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:39.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:39.546Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:39.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:39.546Z] [2022-07-15T21:18:39.546Z] Login Succeeded [2022-07-15T21:18:39.546Z] docker.io [2022-07-15T21:18:39.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:18:39.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:18:39.807Z] Configure a credential helper to remove this warning. See [2022-07-15T21:18:39.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:18:39.807Z] [2022-07-15T21:18:39.807Z] Login Succeeded [2022-07-15T21:18:39.807Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T21:18:39.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T21:18:39.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T21:18:39.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T21:18:39.908Z] ========================================================= [2022-07-15T21:18:39.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-15T21:18:39.908Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:18:40.234Z] + 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-15T21:18:40.234Z] Sending build context to Docker daemon 16.04MB [2022-07-15T21:18:40.234Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T21:18:40.234Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-15T21:18:40.495Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-15T21:18:40.495Z] 2408cc74d12b: Pulling fs layer [2022-07-15T21:18:40.495Z] ea60b727a1ce: Pulling fs layer [2022-07-15T21:18:40.495Z] 30c4a7721957: Pulling fs layer [2022-07-15T21:18:40.495Z] 370296b7ddb6: Pulling fs layer [2022-07-15T21:18:40.495Z] 7c6cee850709: Pulling fs layer [2022-07-15T21:18:40.495Z] 39a5fcdaea64: Pulling fs layer [2022-07-15T21:18:40.495Z] d94ebbe4e438: Pulling fs layer [2022-07-15T21:18:40.495Z] bcfd1f05c69d: Pulling fs layer [2022-07-15T21:18:40.495Z] 59ccb84bbe0f: Pulling fs layer [2022-07-15T21:18:40.495Z] 370296b7ddb6: Waiting [2022-07-15T21:18:40.495Z] 7c6cee850709: Waiting [2022-07-15T21:18:40.495Z] 39a5fcdaea64: Waiting [2022-07-15T21:18:40.495Z] d94ebbe4e438: Waiting [2022-07-15T21:18:40.495Z] bcfd1f05c69d: Waiting [2022-07-15T21:18:40.495Z] 30c4a7721957: Verifying Checksum [2022-07-15T21:18:40.495Z] 30c4a7721957: Download complete [2022-07-15T21:18:40.495Z] ea60b727a1ce: Verifying Checksum [2022-07-15T21:18:40.495Z] ea60b727a1ce: Download complete [2022-07-15T21:18:40.495Z] 7c6cee850709: Download complete [2022-07-15T21:18:40.495Z] 39a5fcdaea64: Verifying Checksum [2022-07-15T21:18:40.495Z] 39a5fcdaea64: Download complete [2022-07-15T21:18:40.495Z] 2408cc74d12b: Verifying Checksum [2022-07-15T21:18:40.495Z] 2408cc74d12b: Download complete [2022-07-15T21:18:40.495Z] d94ebbe4e438: Verifying Checksum [2022-07-15T21:18:40.495Z] d94ebbe4e438: Download complete [2022-07-15T21:18:40.757Z] 2408cc74d12b: Pull complete [2022-07-15T21:18:40.757Z] ea60b727a1ce: Pull complete [2022-07-15T21:18:40.757Z] 30c4a7721957: Pull complete [2022-07-15T21:18:41.018Z] 59ccb84bbe0f: Verifying Checksum [2022-07-15T21:18:41.018Z] 59ccb84bbe0f: Download complete [2022-07-15T21:18:41.277Z] bcfd1f05c69d: Download complete [2022-07-15T21:18:41.277Z] 370296b7ddb6: Verifying Checksum [2022-07-15T21:18:41.277Z] 370296b7ddb6: Download complete [2022-07-15T21:18:46.560Z] 370296b7ddb6: Pull complete [2022-07-15T21:18:46.560Z] 7c6cee850709: Pull complete [2022-07-15T21:18:46.560Z] 39a5fcdaea64: Pull complete [2022-07-15T21:18:46.560Z] d94ebbe4e438: Pull complete [2022-07-15T21:18:48.471Z] bcfd1f05c69d: Pull complete [2022-07-15T21:18:49.060Z] 59ccb84bbe0f: Pull complete [2022-07-15T21:18:49.060Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-15T21:18:49.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-15T21:18:49.060Z] ---> a4fb48ad2a94 [2022-07-15T21:18:49.060Z] Step 3/13 : ARG MAKE="make build" [2022-07-15T21:18:50.986Z] ---> Running in 4de25b4acf16 [2022-07-15T21:18:50.986Z] Removing intermediate container 4de25b4acf16 [2022-07-15T21:18:50.986Z] ---> 6db981904716 [2022-07-15T21:18:50.986Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T21:18:50.986Z] ---> Running in d17d6ea7b4e1 [2022-07-15T21:18:50.986Z] Removing intermediate container d17d6ea7b4e1 [2022-07-15T21:18:50.986Z] ---> 6527700baf21 [2022-07-15T21:18:50.986Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T21:18:50.986Z] ---> Running in 51159c5fca85 [2022-07-15T21:18:50.986Z] Removing intermediate container 51159c5fca85 [2022-07-15T21:18:50.986Z] ---> 2399017fddfa [2022-07-15T21:18:50.986Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-15T21:18:51.248Z] ---> Running in 1d7831e51879 [2022-07-15T21:18:51.248Z] Removing intermediate container 1d7831e51879 [2022-07-15T21:18:51.248Z] ---> 25956fba41f8 [2022-07-15T21:18:51.249Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T21:18:51.249Z] ---> Running in ad05d693ec33 [2022-07-15T21:18:51.822Z] Removing intermediate container ad05d693ec33 [2022-07-15T21:18:51.822Z] ---> e9d4b306585b [2022-07-15T21:18:51.822Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T21:18:51.822Z] ---> Running in 1b0d2d34c290 [2022-07-15T21:18:52.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T21:18:53.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T21:18:53.609Z] OK: 211 MiB in 51 packages [2022-07-15T21:18:53.679Z] Still waiting to schedule task [2022-07-15T21:18:53.680Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20236’ is offline [2022-07-15T21:18:53.869Z] Removing intermediate container 1b0d2d34c290 [2022-07-15T21:18:53.869Z] ---> 03b2d9002174 [2022-07-15T21:18:53.869Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-15T21:18:53.869Z] ---> Running in 21d75af20657 [2022-07-15T21:18:54.131Z] Removing intermediate container 21d75af20657 [2022-07-15T21:18:54.131Z] ---> f096c567567c [2022-07-15T21:18:54.131Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-15T21:18:54.131Z] ---> 4bb84f09d70a [2022-07-15T21:18:54.131Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T21:18:54.131Z] ---> Running in b94029fddb4c [2022-07-15T21:19:09.074Z] Removing intermediate container b94029fddb4c [2022-07-15T21:19:09.074Z] ---> 02f6b6d96c8f [2022-07-15T21:19:09.074Z] Step 12/13 : COPY . . [2022-07-15T21:19:10.022Z] ---> 3e20e4bed3e0 [2022-07-15T21:19:10.022Z] Step 13/13 : RUN ${MAKE} [2022-07-15T21:19:10.022Z] ---> Running in 7fd7971137fa [2022-07-15T21:19:10.283Z] noop [2022-07-15T21:19:10.545Z] Removing intermediate container 7fd7971137fa [2022-07-15T21:19:10.545Z] ---> 674dfe6be2ca [2022-07-15T21:19:10.545Z] Successfully built 674dfe6be2ca [2022-07-15T21:19:10.545Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:19:10.869Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T21:19:10.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:19:10.962Z] prd-ubuntu20.04-docker-8c-8g-20238 does not seem to be running inside a container [2022-07-15T21:19:11.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-15T21:19:11.416Z] $ docker top e0bb8448abf84f6f8106e63da8504c03d30b6dd3e65ce4fae7a34a4064b3b06c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T21:19:11.778Z] + go version [2022-07-15T21:19:11.779Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-15T21:19:11.795Z] $ docker stop --time=1 e0bb8448abf84f6f8106e63da8504c03d30b6dd3e65ce4fae7a34a4064b3b06c [2022-07-15T21:19:13.114Z] $ docker rm -f e0bb8448abf84f6f8106e63da8504c03d30b6dd3e65ce4fae7a34a4064b3b06c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:19:13.533Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T21:19:13.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:19:13.659Z] prd-ubuntu20.04-docker-8c-8g-20238 does not seem to be running inside a container [2022-07-15T21:19:13.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-15T21:19:14.128Z] $ docker top 6d81b87eeb03df7676a0bb279386f7c077e6455e5e58c0e5f7e9f939bd3adbd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T21:19:14.490Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] fileExists [Pipeline] sh [2022-07-15T21:19:14.791Z] + make test [2022-07-15T21:19:14.791Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-15T21:19:15.050Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-15T21:19:27.293Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-15T21:19:27.293Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-07-15T21:19:27.293Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-15T21:19:30.597Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.648s coverage: 13.8% of statements [2022-07-15T21:19:37.174Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-15T21:19:41.380Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T21:19:41.380Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T21:19:41.380Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T21:19:41.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T21:19:41.414Z] $ docker stop --time=1 6d81b87eeb03df7676a0bb279386f7c077e6455e5e58c0e5f7e9f939bd3adbd9 [2022-07-15T21:19:43.301Z] $ docker rm -f 6d81b87eeb03df7676a0bb279386f7c077e6455e5e58c0e5f7e9f939bd3adbd9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T21:19:43.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T21:19:43.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-15T21:19:44.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T21:19:44.631Z] + ls -al . [2022-07-15T21:19:44.631Z] total 252 [2022-07-15T21:19:44.631Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 21:19 . [2022-07-15T21:19:44.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 21:18 .. [2022-07-15T21:19:44.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 21:19 .git [2022-07-15T21:19:44.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 21:18 .github [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 15 21:18 .gitignore [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 21:18 .golangci.yml [2022-07-15T21:19:44.631Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 21:18 .semver [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 15 21:18 Attribution.txt [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 15 21:18 CHANGELOG.md [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 15 21:18 Dockerfile [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 21:18 GOVERNANCE.md [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 15 21:18 Jenkinsfile [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 21:18 LICENSE [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 15 21:18 Makefile [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 21:18 OWNERS.md [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 15 21:18 README.md [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 21:18 VERSION [2022-07-15T21:19:44.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 21:18 bin [2022-07-15T21:19:44.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 21:18 cmd [2022-07-15T21:19:44.631Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 15 21:19 coverage.out [2022-07-15T21:19:44.631Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 21:18 doc [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 15 21:18 go.mod [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 15 21:18 go.sum [2022-07-15T21:19:44.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 21:18 internal [2022-07-15T21:19:44.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 21:18 snap [2022-07-15T21:19:44.631Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 21:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:19:45.025Z] + 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=7be8cc13b399f8bb3052a9942ed390eea4b25552 --label arch=amd64 --label version=0.0.0 . [2022-07-15T21:19:45.025Z] Sending build context to Docker daemon 16.11MB [2022-07-15T21:19:45.025Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T21:19:45.025Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-15T21:19:45.025Z] ---> 674dfe6be2ca [2022-07-15T21:19:45.025Z] Step 3/26 : ARG MAKE="make build" [2022-07-15T21:19:45.285Z] ---> Running in 9c2021506f12 [2022-07-15T21:19:45.285Z] Removing intermediate container 9c2021506f12 [2022-07-15T21:19:45.285Z] ---> ebeacb18a823 [2022-07-15T21:19:45.285Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T21:19:45.285Z] ---> Running in 4b1122d4479c [2022-07-15T21:19:45.546Z] Removing intermediate container 4b1122d4479c [2022-07-15T21:19:45.546Z] ---> 51a95c980222 [2022-07-15T21:19:45.546Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T21:19:45.546Z] ---> Running in 08468e1f427e [2022-07-15T21:19:45.546Z] Removing intermediate container 08468e1f427e [2022-07-15T21:19:45.546Z] ---> 747c43abc79e [2022-07-15T21:19:45.546Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-15T21:19:45.546Z] ---> Running in 70c2fe753006 [2022-07-15T21:19:45.806Z] Removing intermediate container 70c2fe753006 [2022-07-15T21:19:45.806Z] ---> 68f26465efdd [2022-07-15T21:19:45.806Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T21:19:45.806Z] ---> Running in fe7db3ad12fb [2022-07-15T21:19:46.376Z] Removing intermediate container fe7db3ad12fb [2022-07-15T21:19:46.376Z] ---> 0e7698e78ed0 [2022-07-15T21:19:46.376Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T21:19:46.376Z] ---> Running in a3583c9a4ea5 [2022-07-15T21:19:46.636Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T21:19:47.579Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T21:19:47.841Z] OK: 211 MiB in 51 packages [2022-07-15T21:19:48.105Z] Removing intermediate container a3583c9a4ea5 [2022-07-15T21:19:48.105Z] ---> 70d3ef0ad83d [2022-07-15T21:19:48.105Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-15T21:19:48.367Z] ---> Running in 70206616b7d0 [2022-07-15T21:19:48.367Z] Removing intermediate container 70206616b7d0 [2022-07-15T21:19:48.367Z] ---> 153d9deab46a [2022-07-15T21:19:48.367Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-15T21:19:48.627Z] ---> 4ee0e5d2e96f [2022-07-15T21:19:48.627Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T21:19:48.627Z] ---> Running in 876308c46d63 [2022-07-15T21:19:49.198Z] Removing intermediate container 876308c46d63 [2022-07-15T21:19:49.198Z] ---> 708b00f9daca [2022-07-15T21:19:49.198Z] Step 12/26 : COPY . . [2022-07-15T21:19:49.769Z] ---> 896e822275d7 [2022-07-15T21:19:49.769Z] Step 13/26 : RUN ${MAKE} [2022-07-15T21:19:49.769Z] ---> Running in 0cb0c9845924 [2022-07-15T21:19:50.029Z] 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-15T21:20:11.986Z] Removing intermediate container 0cb0c9845924 [2022-07-15T21:20:11.986Z] ---> dd5336659cd0 [2022-07-15T21:20:11.986Z] Step 14/26 : FROM alpine:3.15 [2022-07-15T21:20:11.986Z] 3.15: Pulling from library/alpine [2022-07-15T21:20:11.986Z] df9b9388f04a: Pulling fs layer [2022-07-15T21:20:12.248Z] df9b9388f04a: Verifying Checksum [2022-07-15T21:20:12.248Z] df9b9388f04a: Download complete [2022-07-15T21:20:12.248Z] df9b9388f04a: Pull complete [2022-07-15T21:20:12.248Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-15T21:20:12.248Z] Status: Downloaded newer image for alpine:3.15 [2022-07-15T21:20:12.248Z] ---> 0ac33e5f5afa [2022-07-15T21:20:12.248Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-15T21:20:12.509Z] ---> Running in 3b271962617c [2022-07-15T21:20:12.509Z] Removing intermediate container 3b271962617c [2022-07-15T21:20:12.509Z] ---> 87d64f85b9af [2022-07-15T21:20:12.509Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-15T21:20:12.509Z] ---> Running in 809cde24c4c4 [2022-07-15T21:20:12.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-15T21:20:13.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-15T21:20:13.970Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-15T21:20:13.970Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-15T21:20:13.970Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-15T21:20:13.970Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-15T21:20:13.970Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-15T21:20:13.970Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-15T21:20:13.970Z] Executing busybox-1.34.1-r5.trigger [2022-07-15T21:20:13.970Z] OK: 8 MiB in 20 packages [2022-07-15T21:20:14.550Z] Removing intermediate container 809cde24c4c4 [2022-07-15T21:20:14.550Z] ---> ddd858098234 [2022-07-15T21:20:14.550Z] Step 17/26 : WORKDIR / [2022-07-15T21:20:14.550Z] ---> Running in c7bc6297db82 [2022-07-15T21:20:14.550Z] Removing intermediate container c7bc6297db82 [2022-07-15T21:20:14.550Z] ---> b6ef4cbe511e [2022-07-15T21:20:14.550Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-15T21:20:15.120Z] ---> 6a7c00c37036 [2022-07-15T21:20:15.120Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-15T21:20:15.380Z] ---> 8beafac5055b [2022-07-15T21:20:15.380Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-15T21:20:15.641Z] ---> 23e4a1d4e19a [2022-07-15T21:20:15.641Z] Step 21/26 : EXPOSE 59984 [2022-07-15T21:20:15.641Z] ---> Running in 8f17ff5b7346 [2022-07-15T21:20:15.641Z] Removing intermediate container 8f17ff5b7346 [2022-07-15T21:20:15.641Z] ---> 71ea01d69e0c [2022-07-15T21:20:15.641Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-15T21:20:15.641Z] ---> Running in e8b2870a9926 [2022-07-15T21:20:15.901Z] Removing intermediate container e8b2870a9926 [2022-07-15T21:20:15.901Z] ---> cbc12ef5801d [2022-07-15T21:20:15.901Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T21:20:15.901Z] ---> Running in b92438c4bf84 [2022-07-15T21:20:15.901Z] Removing intermediate container b92438c4bf84 [2022-07-15T21:20:15.901Z] ---> 3cf8246aa42c [2022-07-15T21:20:15.901Z] Step 24/26 : LABEL arch=amd64 [2022-07-15T21:20:15.901Z] ---> Running in 2c45bdd0e98f [2022-07-15T21:20:16.162Z] Removing intermediate container 2c45bdd0e98f [2022-07-15T21:20:16.162Z] ---> e93be81f1015 [2022-07-15T21:20:16.162Z] Step 25/26 : LABEL git_sha=7be8cc13b399f8bb3052a9942ed390eea4b25552 [2022-07-15T21:20:16.162Z] ---> Running in f4490db68ef4 [2022-07-15T21:20:16.162Z] Removing intermediate container f4490db68ef4 [2022-07-15T21:20:16.162Z] ---> 34199de8da64 [2022-07-15T21:20:16.162Z] Step 26/26 : LABEL version=0.0.0 [2022-07-15T21:20:16.162Z] ---> Running in 0d7442512a37 [2022-07-15T21:20:16.423Z] Removing intermediate container 0d7442512a37 [2022-07-15T21:20:16.423Z] ---> 3d4e4aad9764 [2022-07-15T21:20:16.423Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T21:20:16.423Z] Successfully built 3d4e4aad9764 [2022-07-15T21:20:16.423Z] 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-15T21:20:16.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T21:20:16.877Z] [2022-07-15T21:20:16.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:20:17.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T21:20:17.183Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-15T21:20:17.183Z] 5eb5b503b376: Pulling fs layer [2022-07-15T21:20:17.183Z] 5c69ac0246d0: Pulling fs layer [2022-07-15T21:20:17.183Z] ec43610c2a17: Pulling fs layer [2022-07-15T21:20:17.183Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-15T21:20:17.183Z] 3a2ae6a8a46f: Waiting [2022-07-15T21:20:17.183Z] 33b1e0a273af: Pulling fs layer [2022-07-15T21:20:17.183Z] 5d3b04190fa2: Pulling fs layer [2022-07-15T21:20:17.183Z] 2f39f015ded8: Pulling fs layer [2022-07-15T21:20:17.183Z] 5d3b04190fa2: Waiting [2022-07-15T21:20:17.183Z] 33b1e0a273af: Waiting [2022-07-15T21:20:17.183Z] 2f39f015ded8: Waiting [2022-07-15T21:20:17.183Z] 5c69ac0246d0: Download complete [2022-07-15T21:20:17.183Z] 3a2ae6a8a46f: Download complete [2022-07-15T21:20:17.183Z] 33b1e0a273af: Verifying Checksum [2022-07-15T21:20:17.183Z] 33b1e0a273af: Download complete [2022-07-15T21:20:17.183Z] 5d3b04190fa2: Verifying Checksum [2022-07-15T21:20:17.183Z] 5d3b04190fa2: Download complete [2022-07-15T21:20:17.183Z] ec43610c2a17: Verifying Checksum [2022-07-15T21:20:17.183Z] ec43610c2a17: Download complete [2022-07-15T21:20:17.444Z] 5eb5b503b376: Verifying Checksum [2022-07-15T21:20:17.444Z] 5eb5b503b376: Download complete [2022-07-15T21:20:18.013Z] 2f39f015ded8: Download complete [2022-07-15T21:20:18.953Z] 5eb5b503b376: Pull complete [2022-07-15T21:20:18.953Z] 5c69ac0246d0: Pull complete [2022-07-15T21:20:19.522Z] ec43610c2a17: Pull complete [2022-07-15T21:20:19.522Z] 3a2ae6a8a46f: Pull complete [2022-07-15T21:20:19.781Z] 33b1e0a273af: Pull complete [2022-07-15T21:20:19.781Z] 5d3b04190fa2: Pull complete [2022-07-15T21:20:25.060Z] 2f39f015ded8: Pull complete [2022-07-15T21:20:25.060Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-15T21:20:25.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T21:20:25.060Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:20:25.159Z] prd-ubuntu20.04-docker-8c-8g-20238 does not seem to be running inside a container [2022-07-15T21:20:25.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-15T21:20:27.297Z] $ docker top a0c131c3633fd1fecaa6a73bdca7d19e130a1a141e2f1b03a2c19273598ddd4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:20:27.715Z] ---> job-cost.sh [2022-07-15T21:20:27.715Z] lf-activate-venv: SKIPPING [2022-07-15T21:20:27.715Z] INFO: No Stack... [2022-07-15T21:20:27.975Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T21:20:28.545Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T21:20:28.714Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20239 in /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] { [Pipeline] ws [2022-07-15T21:20:28.726Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-07-15T21:20:28.812Z] Selected Git installation does not exist. Using Default [2022-07-15T21:20:28.812Z] The recommended git tool is: NONE [2022-07-15T21:20:28.838Z] + cat /w/workspace/undry_device-onvif-camera_PR-110/archives/cost.csv [2022-07-15T21:20:28.838Z] + cut -d, -f6 [Pipeline] lock [2022-07-15T21:20:28.851Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] [2022-07-15T21:20:28.857Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] did not exist. Created. [2022-07-15T21:20:28.857Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T21:20:29.166Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-15T21:20:29.199Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T21:20:29.206Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T21:20:29.230Z] $ docker stop --time=1 a0c131c3633fd1fecaa6a73bdca7d19e130a1a141e2f1b03a2c19273598ddd4c [2022-07-15T21:20:30.457Z] $ docker rm -f a0c131c3633fd1fecaa6a73bdca7d19e130a1a141e2f1b03a2c19273598ddd4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-15T21:20:35.498Z] using credential edgex-jenkins-ssh [2022-07-15T21:20:35.524Z] Cloning the remote Git repository [2022-07-15T21:20:35.589Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T21:20:35.663Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-07-15T21:20:35.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T21:20:35.810Z] > git --version # timeout=10 [2022-07-15T21:20:35.861Z] > git --version # 'git version 2.25.1' [2022-07-15T21:20:35.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T21:20:36.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T21:20:36.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-15T21:20:36.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T21:20:36.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-15T21:20:37.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T21:20:37.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T21:20:37.019Z] > 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-15T21:20:38.123Z] Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 7be8cc13b399f8bb3052a9942ed390eea4b25552 [2022-07-15T21:20:38.451Z] Merge succeeded, producing 7be8cc13b399f8bb3052a9942ed390eea4b25552 [2022-07-15T21:20:38.451Z] Checking out Revision 7be8cc13b399f8bb3052a9942ed390eea4b25552 (PR-110) [2022-07-15T21:20:38.140Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T21:20:38.157Z] > git checkout -f 7be8cc13b399f8bb3052a9942ed390eea4b25552 # timeout=10 [2022-07-15T21:20:38.350Z] > git remote # timeout=10 [2022-07-15T21:20:38.366Z] > git config --get remote.origin.url # timeout=10 [2022-07-15T21:20:38.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T21:20:38.410Z] > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 [2022-07-15T21:20:38.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-15T21:20:38.458Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T21:20:38.482Z] > git checkout -f 7be8cc13b399f8bb3052a9942ed390eea4b25552 # timeout=10 [2022-07-15T21:20:42.750Z] Commit message: "docs: create directory for the guides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T21:20:43.606Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-15T21:20:43.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T21:20:43.607Z] Dload Upload Total Spent Left Speed [2022-07-15T21:20:43.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99451 0 --:--:-- --:--:-- --:--:-- 99451 [Pipeline] sh [2022-07-15T21:20:44.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-15T21:20:44.726Z] + sudo tee /etc/docker/daemon.new [2022-07-15T21:20:44.726Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-15T21:20:44.726Z] { [2022-07-15T21:20:44.726Z] "registry-mirrors": [ [2022-07-15T21:20:44.726Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-15T21:20:44.726Z] ], [2022-07-15T21:20:44.726Z] "bip": "10.250.0.254/24", [2022-07-15T21:20:44.726Z] "hosts": [ [2022-07-15T21:20:44.726Z] "tcp://0.0.0.0:5555", [2022-07-15T21:20:44.726Z] "unix:///var/run/docker.sock" [2022-07-15T21:20:44.726Z] ], [2022-07-15T21:20:44.727Z] "mtu": 1458, [2022-07-15T21:20:44.727Z] "selinux-enabled": true, [2022-07-15T21:20:44.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-15T21:20:44.727Z] } [Pipeline] sh [2022-07-15T21:20:45.079Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-15T21:20:45.419Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T21:21:03.747Z] provisioning config files... [2022-07-15T21:21:03.768Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config3333330819363752451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:21:04.116Z] ---> docker-login.sh [2022-07-15T21:21:04.116Z] nexus3.edgexfoundry.org:10001 [2022-07-15T21:21:04.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:21:04.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:21:04.979Z] Configure a credential helper to remove this warning. See [2022-07-15T21:21:04.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:21:04.979Z] [2022-07-15T21:21:04.979Z] Login Succeeded [2022-07-15T21:21:04.979Z] nexus3.edgexfoundry.org:10002 [2022-07-15T21:21:05.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:21:05.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:21:05.250Z] Configure a credential helper to remove this warning. See [2022-07-15T21:21:05.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:21:05.250Z] [2022-07-15T21:21:05.250Z] Login Succeeded [2022-07-15T21:21:05.250Z] nexus3.edgexfoundry.org:10003 [2022-07-15T21:21:05.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:21:05.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:21:05.793Z] Configure a credential helper to remove this warning. See [2022-07-15T21:21:05.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:21:05.793Z] [2022-07-15T21:21:05.793Z] Login Succeeded [2022-07-15T21:21:05.793Z] nexus3.edgexfoundry.org:10004 [2022-07-15T21:21:06.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:21:06.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:21:06.068Z] Configure a credential helper to remove this warning. See [2022-07-15T21:21:06.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:21:06.068Z] [2022-07-15T21:21:06.068Z] Login Succeeded [2022-07-15T21:21:06.068Z] docker.io [2022-07-15T21:21:06.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T21:21:06.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T21:21:06.933Z] Configure a credential helper to remove this warning. See [2022-07-15T21:21:06.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T21:21:06.933Z] [2022-07-15T21:21:06.933Z] Login Succeeded [2022-07-15T21:21:06.933Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T21:21:06.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T21:21:07.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T21:21:07.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T21:21:07.439Z] ========================================================= [2022-07-15T21:21:07.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-15T21:21:07.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:21:07.816Z] + 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-15T21:21:08.425Z] Sending build context to Docker daemon 13.1MB [2022-07-15T21:21:08.425Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T21:21:08.425Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-15T21:21:08.425Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-15T21:21:08.425Z] b3c136eddcbf: Pulling fs layer [2022-07-15T21:21:08.425Z] c0a3192eca97: Pulling fs layer [2022-07-15T21:21:08.425Z] a050256f5b6f: Pulling fs layer [2022-07-15T21:21:08.425Z] 656be50a0ddc: Pulling fs layer [2022-07-15T21:21:08.425Z] 2bbca73fdf42: Pulling fs layer [2022-07-15T21:21:08.425Z] 46d945488cbd: Pulling fs layer [2022-07-15T21:21:08.425Z] 8a5474983e97: Pulling fs layer [2022-07-15T21:21:08.425Z] 329c88fbcd65: Pulling fs layer [2022-07-15T21:21:08.425Z] 656be50a0ddc: Waiting [2022-07-15T21:21:08.425Z] 46d945488cbd: Waiting [2022-07-15T21:21:08.425Z] 2bbca73fdf42: Waiting [2022-07-15T21:21:08.425Z] 8a5474983e97: Waiting [2022-07-15T21:21:08.425Z] 329c88fbcd65: Waiting [2022-07-15T21:21:08.425Z] a050256f5b6f: Verifying Checksum [2022-07-15T21:21:08.425Z] a050256f5b6f: Download complete [2022-07-15T21:21:08.425Z] c0a3192eca97: Verifying Checksum [2022-07-15T21:21:08.425Z] c0a3192eca97: Download complete [2022-07-15T21:21:08.711Z] 2bbca73fdf42: Verifying Checksum [2022-07-15T21:21:08.711Z] 2bbca73fdf42: Download complete [2022-07-15T21:21:08.711Z] 46d945488cbd: Verifying Checksum [2022-07-15T21:21:08.711Z] 46d945488cbd: Download complete [2022-07-15T21:21:08.711Z] b3c136eddcbf: Verifying Checksum [2022-07-15T21:21:09.332Z] b3c136eddcbf: Pull complete [2022-07-15T21:21:09.615Z] 329c88fbcd65: Verifying Checksum [2022-07-15T21:21:09.615Z] 329c88fbcd65: Download complete [2022-07-15T21:21:09.895Z] c0a3192eca97: Pull complete [2022-07-15T21:21:10.501Z] a050256f5b6f: Pull complete [2022-07-15T21:21:10.773Z] 8a5474983e97: Verifying Checksum [2022-07-15T21:21:10.773Z] 8a5474983e97: Download complete [2022-07-15T21:21:11.368Z] 656be50a0ddc: Verifying Checksum [2022-07-15T21:21:11.368Z] 656be50a0ddc: Download complete [2022-07-15T21:21:26.452Z] 656be50a0ddc: Pull complete [2022-07-15T21:21:26.452Z] 2bbca73fdf42: Pull complete [2022-07-15T21:21:26.452Z] 46d945488cbd: Pull complete [2022-07-15T21:21:30.763Z] 8a5474983e97: Pull complete [2022-07-15T21:21:32.745Z] 329c88fbcd65: Pull complete [2022-07-15T21:21:32.745Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-15T21:21:32.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-15T21:21:32.745Z] ---> ff4287adb874 [2022-07-15T21:21:32.745Z] Step 3/13 : ARG MAKE="make build" [2022-07-15T21:21:34.724Z] ---> Running in 975fc0601cf4 [2022-07-15T21:21:35.008Z] Removing intermediate container 975fc0601cf4 [2022-07-15T21:21:35.008Z] ---> 693b781d4928 [2022-07-15T21:21:35.008Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T21:21:35.008Z] ---> Running in 968c0fe63ad7 [2022-07-15T21:21:35.280Z] Removing intermediate container 968c0fe63ad7 [2022-07-15T21:21:35.280Z] ---> 5d8cb8153cce [2022-07-15T21:21:35.280Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T21:21:35.280Z] ---> Running in 380e8ce5958b [2022-07-15T21:21:35.560Z] Removing intermediate container 380e8ce5958b [2022-07-15T21:21:35.560Z] ---> 264f70e894ce [2022-07-15T21:21:35.560Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-15T21:21:35.832Z] ---> Running in 3238a5818f6b [2022-07-15T21:21:36.113Z] Removing intermediate container 3238a5818f6b [2022-07-15T21:21:36.113Z] ---> af7a36771445 [2022-07-15T21:21:36.113Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T21:21:36.113Z] ---> Running in 4bed45f4d7a2 [2022-07-15T21:21:38.744Z] Removing intermediate container 4bed45f4d7a2 [2022-07-15T21:21:38.744Z] ---> d8b0182d1b07 [2022-07-15T21:21:38.744Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T21:21:38.744Z] ---> Running in 9350dcd7f8f0 [2022-07-15T21:21:39.738Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T21:21:40.721Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T21:21:41.701Z] OK: 221 MiB in 51 packages [2022-07-15T21:21:42.298Z] Removing intermediate container 9350dcd7f8f0 [2022-07-15T21:21:42.298Z] ---> 794ed2425a00 [2022-07-15T21:21:42.298Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-15T21:21:42.298Z] ---> Running in 634ee36b6b2d [2022-07-15T21:21:42.573Z] Removing intermediate container 634ee36b6b2d [2022-07-15T21:21:42.573Z] ---> 3b23f68a89d7 [2022-07-15T21:21:42.573Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-15T21:21:43.172Z] ---> 8d6541dc854b [2022-07-15T21:21:43.172Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T21:21:43.172Z] ---> Running in 84f68dac58da [2022-07-15T21:22:30.170Z] Removing intermediate container 84f68dac58da [2022-07-15T21:22:30.170Z] ---> 6d88db84faf9 [2022-07-15T21:22:30.170Z] Step 12/13 : COPY . . [2022-07-15T21:22:30.170Z] ---> f4fd83c739b1 [2022-07-15T21:22:30.170Z] Step 13/13 : RUN ${MAKE} [2022-07-15T21:22:30.170Z] ---> Running in 8d8012cda001 [2022-07-15T21:22:30.775Z] noop [2022-07-15T21:22:31.370Z] Removing intermediate container 8d8012cda001 [2022-07-15T21:22:31.370Z] ---> f28039722817 [2022-07-15T21:22:31.370Z] Successfully built f28039722817 [2022-07-15T21:22:31.370Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:22:31.740Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T21:22:31.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:22:32.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-20239 does not seem to be running inside a container [2022-07-15T21:22:32.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-15T21:22:33.362Z] $ docker top e61f0b54121e9bc62afaf354f3c9a9a4ccd0065f9e9331d07a8e97cb7c9a0f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T21:22:34.276Z] + go version [2022-07-15T21:22:34.276Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-15T21:22:34.300Z] $ docker stop --time=1 e61f0b54121e9bc62afaf354f3c9a9a4ccd0065f9e9331d07a8e97cb7c9a0f78 [2022-07-15T21:22:35.949Z] $ docker rm -f e61f0b54121e9bc62afaf354f3c9a9a4ccd0065f9e9331d07a8e97cb7c9a0f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:22:36.551Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T21:22:36.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:22:36.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-20239 does not seem to be running inside a container [2022-07-15T21:22:36.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-15T21:22:38.152Z] $ docker top a638e3ea44f89884bf057f3f9188d58508102438bbf63759a87430c7533fe301 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T21:22:39.042Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-07-15T21:22:39.711Z] + make test [2022-07-15T21:22:39.711Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-15T21:22:41.701Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-15T21:24:03.548Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-15T21:24:07.872Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 7.0% of statements [2022-07-15T21:24:07.872Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-15T21:24:34.640Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.371s coverage: 13.8% of statements [2022-07-15T21:24:34.640Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-15T21:24:34.640Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-15T21:24:56.843Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T21:24:56.843Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T21:24:56.843Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T21:24:57.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T21:24:57.151Z] $ docker stop --time=1 a638e3ea44f89884bf057f3f9188d58508102438bbf63759a87430c7533fe301 [2022-07-15T21:24:58.959Z] $ docker rm -f a638e3ea44f89884bf057f3f9188d58508102438bbf63759a87430c7533fe301 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T21:24:59.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T21:24:59.982Z] Warning: overwriting stash ‘coverage-report’ [2022-07-15T21:25:00.540Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T21:25:00.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T21:25:01.283Z] + ls -al . [2022-07-15T21:25:01.283Z] total 248 [2022-07-15T21:25:01.283Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 15 21:24 . [2022-07-15T21:25:01.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 21:20 .. [2022-07-15T21:25:01.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 21:20 .git [2022-07-15T21:25:01.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 21:20 .github [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 15 21:20 .gitignore [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 21:20 .golangci.yml [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 15 21:20 Attribution.txt [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 15 21:20 CHANGELOG.md [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 15 21:20 Dockerfile [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 21:20 GOVERNANCE.md [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 15 21:20 Jenkinsfile [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 21:20 LICENSE [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 15 21:20 Makefile [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 21:20 OWNERS.md [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 15 21:20 README.md [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 21:18 VERSION [2022-07-15T21:25:01.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 21:20 bin [2022-07-15T21:25:01.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 21:20 cmd [2022-07-15T21:25:01.283Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 15 21:24 coverage.out [2022-07-15T21:25:01.283Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 21:20 doc [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 15 21:20 go.mod [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 15 21:20 go.sum [2022-07-15T21:25:01.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 21:20 internal [2022-07-15T21:25:01.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 21:20 snap [2022-07-15T21:25:01.283Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 21:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:25:01.651Z] + 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=7be8cc13b399f8bb3052a9942ed390eea4b25552 --label arch=arm64 --label version=0.0.0 . [2022-07-15T21:25:02.245Z] Sending build context to Docker daemon 13.17MB [2022-07-15T21:25:02.245Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T21:25:02.245Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-15T21:25:02.245Z] ---> f28039722817 [2022-07-15T21:25:02.245Z] Step 3/26 : ARG MAKE="make build" [2022-07-15T21:25:02.245Z] ---> Running in e113b6c1eeb6 [2022-07-15T21:25:02.519Z] Removing intermediate container e113b6c1eeb6 [2022-07-15T21:25:02.519Z] ---> 5ca3977d0fe6 [2022-07-15T21:25:02.519Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T21:25:02.790Z] ---> Running in a2d435c78a86 [2022-07-15T21:25:03.063Z] Removing intermediate container a2d435c78a86 [2022-07-15T21:25:03.063Z] ---> bb5920fbcf05 [2022-07-15T21:25:03.063Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T21:25:03.063Z] ---> Running in 87ce2a93a8f3 [2022-07-15T21:25:03.337Z] Removing intermediate container 87ce2a93a8f3 [2022-07-15T21:25:03.337Z] ---> d5bd1755464e [2022-07-15T21:25:03.337Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-15T21:25:03.616Z] ---> Running in d5388591f8bc [2022-07-15T21:25:03.889Z] Removing intermediate container d5388591f8bc [2022-07-15T21:25:03.889Z] ---> 77692a1155d5 [2022-07-15T21:25:03.889Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T21:25:03.889Z] ---> Running in e39343d39849 [2022-07-15T21:25:05.333Z] Removing intermediate container e39343d39849 [2022-07-15T21:25:05.333Z] ---> e5b01569a6df [2022-07-15T21:25:05.333Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T21:25:05.608Z] ---> Running in 4a29e769ddbe [2022-07-15T21:25:06.595Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T21:25:07.576Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T21:25:08.176Z] OK: 221 MiB in 51 packages [2022-07-15T21:25:09.161Z] Removing intermediate container 4a29e769ddbe [2022-07-15T21:25:09.161Z] ---> c8cf14a041e7 [2022-07-15T21:25:09.161Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-15T21:25:09.161Z] ---> Running in 86d310e7a7f8 [2022-07-15T21:25:09.437Z] Removing intermediate container 86d310e7a7f8 [2022-07-15T21:25:09.437Z] ---> af3cbea51610 [2022-07-15T21:25:09.437Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-15T21:25:10.040Z] ---> 396b326da614 [2022-07-15T21:25:10.040Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T21:25:10.040Z] ---> Running in bb126bc9e080 [2022-07-15T21:25:12.022Z] Removing intermediate container bb126bc9e080 [2022-07-15T21:25:12.022Z] ---> a80bd65f7f21 [2022-07-15T21:25:12.022Z] Step 12/26 : COPY . . [2022-07-15T21:25:13.463Z] ---> 2a032242793e [2022-07-15T21:25:13.463Z] Step 13/26 : RUN ${MAKE} [2022-07-15T21:25:13.463Z] ---> Running in 98ff1359112d [2022-07-15T21:25:14.446Z] 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-15T21:27:21.352Z] Removing intermediate container 98ff1359112d [2022-07-15T21:27:21.352Z] ---> d13c32edd7f2 [2022-07-15T21:27:21.352Z] Step 14/26 : FROM alpine:3.15 [2022-07-15T21:27:21.352Z] 3.15: Pulling from library/alpine [2022-07-15T21:27:21.352Z] 9981e73032c8: Pulling fs layer [2022-07-15T21:27:21.352Z] 9981e73032c8: Verifying Checksum [2022-07-15T21:27:21.352Z] 9981e73032c8: Download complete [2022-07-15T21:27:21.352Z] 9981e73032c8: Pull complete [2022-07-15T21:27:21.352Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-15T21:27:21.352Z] Status: Downloaded newer image for alpine:3.15 [2022-07-15T21:27:21.352Z] ---> 3fb3c9af89a9 [2022-07-15T21:27:21.352Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-15T21:27:21.352Z] ---> Running in 4ad49e305263 [2022-07-15T21:27:21.352Z] Removing intermediate container 4ad49e305263 [2022-07-15T21:27:21.352Z] ---> 9afeab8c1e3d [2022-07-15T21:27:21.352Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-15T21:27:21.352Z] ---> Running in 4330950df370 [2022-07-15T21:27:21.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-15T21:27:21.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-15T21:27:22.604Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-15T21:27:22.604Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-15T21:27:22.604Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-15T21:27:22.604Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-15T21:27:22.604Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-15T21:27:22.604Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-15T21:27:22.604Z] Executing busybox-1.34.1-r5.trigger [2022-07-15T21:27:22.604Z] OK: 8 MiB in 20 packages [2022-07-15T21:27:23.587Z] Removing intermediate container 4330950df370 [2022-07-15T21:27:23.587Z] ---> 02328024954a [2022-07-15T21:27:23.587Z] Step 17/26 : WORKDIR / [2022-07-15T21:27:23.587Z] ---> Running in aeb976fdbb2b [2022-07-15T21:27:23.868Z] Removing intermediate container aeb976fdbb2b [2022-07-15T21:27:23.868Z] ---> 7052c5f025ae [2022-07-15T21:27:23.868Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-15T21:27:25.305Z] ---> 4f501a50fdc5 [2022-07-15T21:27:25.305Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-15T21:27:25.903Z] ---> 574e58cd4cbb [2022-07-15T21:27:25.903Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-15T21:27:26.502Z] ---> 72eb528a0466 [2022-07-15T21:27:26.502Z] Step 21/26 : EXPOSE 59984 [2022-07-15T21:27:26.502Z] ---> Running in 6720ea349af0 [2022-07-15T21:27:26.776Z] Removing intermediate container 6720ea349af0 [2022-07-15T21:27:26.776Z] ---> 764be6642f33 [2022-07-15T21:27:26.776Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-15T21:27:26.776Z] ---> Running in be6715700a18 [2022-07-15T21:27:27.049Z] Removing intermediate container be6715700a18 [2022-07-15T21:27:27.049Z] ---> f5b88b1d006f [2022-07-15T21:27:27.049Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T21:27:27.049Z] ---> Running in f0f47a56f7b0 [2022-07-15T21:27:27.334Z] Removing intermediate container f0f47a56f7b0 [2022-07-15T21:27:27.334Z] ---> efe866e1ae7c [2022-07-15T21:27:27.334Z] Step 24/26 : LABEL arch=arm64 [2022-07-15T21:27:27.607Z] ---> Running in 598e76faa02a [2022-07-15T21:27:27.881Z] Removing intermediate container 598e76faa02a [2022-07-15T21:27:27.881Z] ---> 268a76f69a48 [2022-07-15T21:27:27.881Z] Step 25/26 : LABEL git_sha=7be8cc13b399f8bb3052a9942ed390eea4b25552 [2022-07-15T21:27:27.881Z] ---> Running in 8ff1cf76b570 [2022-07-15T21:27:28.155Z] Removing intermediate container 8ff1cf76b570 [2022-07-15T21:27:28.155Z] ---> 114cdfecd1c9 [2022-07-15T21:27:28.155Z] Step 26/26 : LABEL version=0.0.0 [2022-07-15T21:27:28.155Z] ---> Running in 75245797bc1d [2022-07-15T21:27:28.430Z] Removing intermediate container 75245797bc1d [2022-07-15T21:27:28.430Z] ---> 3b4ead8003fc [2022-07-15T21:27:28.430Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T21:27:28.430Z] Successfully built 3b4ead8003fc [2022-07-15T21:27:28.430Z] 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-15T21:27:28.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T21:27:28.909Z] [2022-07-15T21:27:28.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:27:29.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T21:27:29.351Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-15T21:27:29.351Z] 8998bd30e6a1: Pulling fs layer [2022-07-15T21:27:29.352Z] 04944245beec: Pulling fs layer [2022-07-15T21:27:29.352Z] 699f458cf7ca: Pulling fs layer [2022-07-15T21:27:29.352Z] 765212b225bb: Pulling fs layer [2022-07-15T21:27:29.352Z] f23df028b6ca: Pulling fs layer [2022-07-15T21:27:29.352Z] 765212b225bb: Waiting [2022-07-15T21:27:29.352Z] d65c8cfc05b1: Pulling fs layer [2022-07-15T21:27:29.352Z] 2437ff75d9bd: Pulling fs layer [2022-07-15T21:27:29.352Z] f23df028b6ca: Waiting [2022-07-15T21:27:29.352Z] d65c8cfc05b1: Waiting [2022-07-15T21:27:29.352Z] 2437ff75d9bd: Waiting [2022-07-15T21:27:29.352Z] 04944245beec: Verifying Checksum [2022-07-15T21:27:29.352Z] 04944245beec: Download complete [2022-07-15T21:27:29.626Z] 765212b225bb: Verifying Checksum [2022-07-15T21:27:29.626Z] 765212b225bb: Download complete [2022-07-15T21:27:29.626Z] f23df028b6ca: Verifying Checksum [2022-07-15T21:27:29.626Z] f23df028b6ca: Download complete [2022-07-15T21:27:29.626Z] d65c8cfc05b1: Verifying Checksum [2022-07-15T21:27:29.626Z] d65c8cfc05b1: Download complete [2022-07-15T21:27:29.626Z] 699f458cf7ca: Verifying Checksum [2022-07-15T21:27:29.626Z] 699f458cf7ca: Download complete [2022-07-15T21:27:30.226Z] 8998bd30e6a1: Verifying Checksum [2022-07-15T21:27:30.226Z] 8998bd30e6a1: Download complete [2022-07-15T21:27:32.212Z] 2437ff75d9bd: Verifying Checksum [2022-07-15T21:27:32.212Z] 2437ff75d9bd: Download complete [2022-07-15T21:27:34.843Z] 8998bd30e6a1: Pull complete [2022-07-15T21:27:34.843Z] 04944245beec: Pull complete [2022-07-15T21:27:36.290Z] 699f458cf7ca: Pull complete [2022-07-15T21:27:36.564Z] 765212b225bb: Pull complete [2022-07-15T21:27:37.551Z] f23df028b6ca: Pull complete [2022-07-15T21:27:37.825Z] d65c8cfc05b1: Pull complete [2022-07-15T21:27:52.928Z] 2437ff75d9bd: Pull complete [2022-07-15T21:27:52.928Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-15T21:27:52.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T21:27:52.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:27:53.197Z] prd-ubuntu20.04-docker-arm64-4c-16g-20239 does not seem to be running inside a container [2022-07-15T21:27:53.286Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-15T21:27:55.744Z] $ docker top e71fbf2f02dd4dbf94dcdf7d59d6341e9d2288abb4c4bce04dbdb99b1f9760ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:27:56.956Z] ---> job-cost.sh [2022-07-15T21:27:56.956Z] lf-activate-venv: SKIPPING [2022-07-15T21:27:56.956Z] INFO: No Stack... [2022-07-15T21:27:57.227Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-15T21:27:58.659Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T21:27:59.324Z] + cut -d, -f6 [2022-07-15T21:27:59.325Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-07-15T21:27:59.356Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] [2022-07-15T21:27:59.363Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] did not exist. Created. [2022-07-15T21:27:59.363Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T21:28:00.048Z] /w/workspace/device-onvif-camera/3@tmp/durable-a2b523aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-15T21:28:00.727Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-15T21:28:00.757Z] Warning: overwriting stash ‘stack-cost’ [2022-07-15T21:28:00.821Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T21:28:00.828Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T21:28:00.847Z] $ docker stop --time=1 e71fbf2f02dd4dbf94dcdf7d59d6341e9d2288abb4c4bce04dbdb99b1f9760ef [2022-07-15T21:28:02.371Z] $ docker rm -f e71fbf2f02dd4dbf94dcdf7d59d6341e9d2288abb4c4bce04dbdb99b1f9760ef [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-15T21:28:02.851Z] provisioning config files... [2022-07-15T21:28:02.861Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config2183131765090843757tmp [Pipeline] { [Pipeline] sh [2022-07-15T21:28:03.153Z] + set +x [2022-07-15T21:28:03.153Z] + curl -s https://codecov.io/bash [2022-07-15T21:28:03.153Z] + bash -s -- [2022-07-15T21:28:03.153Z] [2022-07-15T21:28:03.153Z] _____ _ [2022-07-15T21:28:03.153Z] / ____| | | [2022-07-15T21:28:03.153Z] | | ___ __| | ___ ___ _____ __ [2022-07-15T21:28:03.153Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-15T21:28:03.153Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-15T21:28:03.153Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-15T21:28:03.153Z] Bash-1.0.6 [2022-07-15T21:28:03.153Z] [2022-07-15T21:28:03.153Z] [2022-07-15T21:28:03.153Z] ==> git version 2.25.1 found [2022-07-15T21:28:03.153Z] ==> 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-15T21:28:03.153Z] Release-Date: 2020-01-08 [2022-07-15T21:28:03.153Z] 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-15T21:28:03.153Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-15T21:28:03.153Z] ==> Jenkins CI detected. [2022-07-15T21:28:03.153Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-110 [2022-07-15T21:28:03.153Z] project root: . [2022-07-15T21:28:03.153Z] --> token set from env [2022-07-15T21:28:03.153Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-15T21:28:03.153Z] ==> Running gcov in . (disable via -X gcov) [2022-07-15T21:28:03.153Z] ==> Python coveragepy not found [2022-07-15T21:28:03.153Z] ==> Searching for coverage reports in: [2022-07-15T21:28:03.153Z] + . [2022-07-15T21:28:03.153Z] -> Found 1 reports [2022-07-15T21:28:03.153Z] ==> Detecting git/mercurial file structure [2022-07-15T21:28:03.153Z] ==> Reading reports [2022-07-15T21:28:03.153Z] + ./coverage.out bytes=70262 [2022-07-15T21:28:03.153Z] ==> Appending adjustments [2022-07-15T21:28:03.153Z] https://docs.codecov.io/docs/fixing-reports [2022-07-15T21:28:03.413Z] + Found adjustments [2022-07-15T21:28:03.413Z] ==> Gzipping contents [2022-07-15T21:28:03.413Z] 12K /tmp/codecov.kfI1Sp.gz [2022-07-15T21:28:03.413Z] ==> Uploading reports [2022-07-15T21:28:03.413Z] url: https://codecov.io [2022-07-15T21:28:03.413Z] query: branch=PR-110&commit=7be8cc13b399f8bb3052a9942ed390eea4b25552&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-15T21:28:03.413Z] -> Pinging Codecov [2022-07-15T21:28:03.413Z] 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=7be8cc13b399f8bb3052a9942ed390eea4b25552&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-15T21:28:03.683Z] -> Uploading to [2022-07-15T21:28:03.683Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-15/F29A59C45E3A92E06B3E522C9905F8EF/7be8cc13b399f8bb3052a9942ed390eea4b25552/24308672-6f5e-474a-aae4-147a0954b0ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220715T212803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67c4d31e6bd7ada69136e0218b011b861034148e826b0461f9822f357c106658 [2022-07-15T21:28:03.683Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T21:28:03.683Z] Dload Upload Total Spent Left Speed [2022-07-15T21:28:03.943Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9516 0 0 100 9516 0 37761 --:--:-- --:--:-- --:--:-- 37612 100 9516 0 0 100 9516 0 37761 --:--:-- --:--:-- --:--:-- 37612 [2022-07-15T21:28:03.943Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7be8cc13b399f8bb3052a9942ed390eea4b25552 [Pipeline] } [2022-07-15T21:28:03.950Z] 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-15T21:28:04.654Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-110/archives ] [2022-07-15T21:28:04.654Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-15T21:28:04.654Z] total 16 [2022-07-15T21:28:04.654Z] drwxr-xr-x 3 root root 4096 Jul 15 21:20 . [2022-07-15T21:28:04.654Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 21:20 .. [2022-07-15T21:28:04.654Z] drwxr-xr-x 2 root root 4096 Jul 15 21:20 cost [2022-07-15T21:28:04.654Z] -rw-r--r-- 1 root root 90 Jul 15 21:20 cost.csv [2022-07-15T21:28:04.654Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-15T21:28:04.654Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-15T21:28:04.654Z] total 16 [2022-07-15T21:28:04.654Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 21:20 . [2022-07-15T21:28:04.654Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 21:20 .. [2022-07-15T21:28:04.654Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 21:20 cost [2022-07-15T21:28:04.654Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 15 21:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:04.945Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:05.808Z] ---> package-listing.sh [2022-07-15T21:28:05.808Z] ++ facter osfamily [2022-07-15T21:28:05.808Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-15T21:28:06.068Z] + OS_FAMILY=debian [2022-07-15T21:28:06.068Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-110 [2022-07-15T21:28:06.068Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-15T21:28:06.068Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-15T21:28:06.068Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-15T21:28:06.068Z] + PACKAGES=/tmp/packages_start.txt [2022-07-15T21:28:06.068Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-15T21:28:06.068Z] + PACKAGES=/tmp/packages_end.txt [2022-07-15T21:28:06.068Z] + case "${OS_FAMILY}" in [2022-07-15T21:28:06.068Z] + dpkg -l [2022-07-15T21:28:06.068Z] + grep '^ii' [2022-07-15T21:28:06.068Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-15T21:28:06.068Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-15T21:28:06.068Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-15T21:28:06.068Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-15T21:28:06.068Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-110/archives/ [2022-07-15T21:28:06.068Z] + 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-15T21:28:06.078Z] 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-15T21:28:06.354Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:28:06.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T21:28:06.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:28:07.013Z] prd-ubuntu20.04-docker-8c-8g-20238 does not seem to be running inside a container [2022-07-15T21:28:07.059Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-15T21:28:07.293Z] $ docker top 336167e48d3fe9b7aa32d64fbbd138176dc0b01d53f80ac597f64020ed50e899 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T21:28:07.666Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-15T21:28:07.955Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-15T21:28:08.243Z] + ls /var/log/sa-host [2022-07-15T21:28:08.243Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T21:28:08.366Z] provisioning config files... [2022-07-15T21:28:08.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config7022576050659013810tmp [Pipeline] { [Pipeline] echo [2022-07-15T21:28:08.389Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:08.672Z] ---> create-netrc.sh [Pipeline] } [2022-07-15T21:28:08.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:09.019Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-15T21:28:09.029Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:09.317Z] ---> sudo-logs.sh [2022-07-15T21:28:09.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-15T21:28:09.346Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:09.635Z] ---> job-cost.sh [2022-07-15T21:28:09.635Z] lf-activate-venv: SKIPPING [2022-07-15T21:28:09.635Z] DEBUG: total: 0.2199999988079071 [2022-07-15T21:28:09.635Z] INFO: Retrieving Stack Cost... [2022-07-15T21:28:10.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T21:28:11.208Z] INFO: Archiving Costs [Pipeline] echo [2022-07-15T21:28:11.220Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:28:11.511Z] ---> logs-deploy.sh [2022-07-15T21:28:11.511Z] lf-activate-venv: SKIPPING [2022-07-15T21:28:11.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-110/3 [2022-07-15T21:28:11.511Z] INFO: archiving workspace using pattern(s): [2022-07-15T21:28:12.453Z] Archives upload complete. [2022-07-15T21:28:12.714Z] INFO: archiving logs to Nexus