Pull request #279 opened 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 MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 1d4496e484e92718294efcbde8e31a4846590544+30f142b3199bb88c04d4c4f9cf7ab115e72bb90a (2ae1c28aff54ebaaa65ded0ef544701a3ea3a087) 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-ssh3976496856807111423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17241411842739236326.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16242958172418393584.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2417861162694433560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13897323979223336102.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16483748855211451425.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4847 in /w/workspace/undry_device-onvif-camera_PR-279 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-279 # 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 Merging remotes/origin/main commit 30f142b3199bb88c04d4c4f9cf7ab115e72bb90a into PR head commit 1d4496e484e92718294efcbde8e31a4846590544 Merge succeeded, producing 1d4496e484e92718294efcbde8e31a4846590544 Checking out Revision 1d4496e484e92718294efcbde8e31a4846590544 (PR-279) > 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/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d4496e484e92718294efcbde8e31a4846590544 # 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 30f142b3199bb88c04d4c4f9cf7ab115e72bb90a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d4496e484e92718294efcbde8e31a4846590544 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T12:39:01.663Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T12:39:01.821Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T12:39:01.910Z] ========================================================= [2023-03-21T12:39:01.910Z] EdgeX Global Pipelines Version Info [2023-03-21T12:39:01.910Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:39:02.650Z] ------------------- [2023-03-21T12:39:02.650Z] stable info: [2023-03-21T12:39:02.650Z] ------------------- [2023-03-21T12:39:02.650Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T12:39:02.650Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T12:39:02.650Z] Message: update stable to v1.0.245 [2023-03-21T12:39:03.220Z] ------------------- [2023-03-21T12:39:03.220Z] experimental info: [2023-03-21T12:39:03.220Z] ------------------- [2023-03-21T12:39:03.220Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T12:39:03.220Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T12:39:03.220Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T12:39:03.511Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-21T12:39:03.554Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-21T12:39:03.594Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T12:39:03.633Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T12:39:03.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T12:39:03.720Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T12:39:03.765Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T12:39:03.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T12:39:03.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T12:39:03.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T12:39:03.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T12:39:03.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-21T12:39:04.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T12:39:04.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T12:39:04.103Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T12:39:04.140Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T12:39:04.186Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T12:39:04.228Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T12:39:04.264Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T12:39:04.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T12:39:04.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T12:39:04.369Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-21T12:39:04.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T12:39:04.443Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T12:39:04.478Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T12:39:04.517Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T12:39:04.557Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T12:39:04.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo [2023-03-21T12:39:04.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo [2023-03-21T12:39:04.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo [2023-03-21T12:39:04.712Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d4496e484e92718294efcbde8e31a4846590544 [Pipeline] echo [2023-03-21T12:39:04.757Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d4496e [Pipeline] echo [2023-03-21T12:39:04.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T12:39:04.907Z] provisioning config files... [2023-03-21T12:39:04.922Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-279@tmp/config4327386802774585585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:39:05.259Z] ---> docker-login.sh [2023-03-21T12:39:05.259Z] nexus3.edgexfoundry.org:10001 [2023-03-21T12:39:05.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:05.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:05.519Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:05.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:05.519Z] [2023-03-21T12:39:05.519Z] Login Succeeded [2023-03-21T12:39:05.519Z] nexus3.edgexfoundry.org:10002 [2023-03-21T12:39:05.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:05.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:05.519Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:05.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:05.519Z] [2023-03-21T12:39:05.519Z] Login Succeeded [2023-03-21T12:39:05.519Z] nexus3.edgexfoundry.org:10003 [2023-03-21T12:39:05.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:05.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:05.782Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:05.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:05.782Z] [2023-03-21T12:39:05.782Z] Login Succeeded [2023-03-21T12:39:05.782Z] nexus3.edgexfoundry.org:10004 [2023-03-21T12:39:05.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:05.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:05.782Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:05.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:05.782Z] [2023-03-21T12:39:05.782Z] Login Succeeded [2023-03-21T12:39:05.782Z] docker.io [2023-03-21T12:39:06.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:06.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:06.042Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:06.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:06.042Z] [2023-03-21T12:39:06.042Z] Login Succeeded [2023-03-21T12:39:06.042Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T12:39:06.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T12:39:06.665Z] + git rev-list -1 --merges 1d4496e484e92718294efcbde8e31a4846590544~1..1d4496e484e92718294efcbde8e31a4846590544 [Pipeline] echo [2023-03-21T12:39:06.726Z] -----------> git rev-list -1 --merges 1d4496e484e92718294efcbde8e31a4846590544~1..1d4496e484e92718294efcbde8e31a4846590544 1d4496e484e92718294efcbde8e31a4846590544 [false] [Pipeline] sh [2023-03-21T12:39:07.040Z] + git log --format=format:%s -1 1d4496e484e92718294efcbde8e31a4846590544 [Pipeline] echo [2023-03-21T12:39:07.075Z] ========================================================= [2023-03-21T12:39:07.075Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T12:39:07.075Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T12:39:07.508Z] + git log --format=format:%s -1 1d4496e484e92718294efcbde8e31a4846590544 [Pipeline] echo [2023-03-21T12:39:07.540Z] [semverPrep] GIT_COMMIT: 1d4496e484e92718294efcbde8e31a4846590544, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-21T12:39:07.571Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T12:39:07.952Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T12:39:07.952Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T12:39:07.952Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T12:39:07.952Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T12:39:07.952Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T12:39:07.952Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T12:39:07.952Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:39:08.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T12:39:08.431Z] [2023-03-21T12:39:08.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:39:08.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T12:39:08.812Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T12:39:08.812Z] b85a868b505f: Pulling fs layer [2023-03-21T12:39:08.812Z] e2be974225ed: Pulling fs layer [2023-03-21T12:39:08.812Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T12:39:08.812Z] 988bab9f4d93: Pulling fs layer [2023-03-21T12:39:08.812Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T12:39:08.812Z] eaf3925da568: Pulling fs layer [2023-03-21T12:39:08.812Z] bab4dde63d76: Pulling fs layer [2023-03-21T12:39:08.812Z] bde34c3a00c8: Pulling fs layer [2023-03-21T12:39:08.812Z] b352a97aabf1: Pulling fs layer [2023-03-21T12:39:08.812Z] 4872d77fe225: Pulling fs layer [2023-03-21T12:39:08.812Z] 5851b861e8e6: Pulling fs layer [2023-03-21T12:39:08.812Z] bab4dde63d76: Waiting [2023-03-21T12:39:08.812Z] bde34c3a00c8: Waiting [2023-03-21T12:39:08.812Z] b352a97aabf1: Waiting [2023-03-21T12:39:08.812Z] 4872d77fe225: Waiting [2023-03-21T12:39:08.812Z] 5851b861e8e6: Waiting [2023-03-21T12:39:08.812Z] 988bab9f4d93: Waiting [2023-03-21T12:39:08.812Z] 1469e6f7b9e6: Waiting [2023-03-21T12:39:08.812Z] e2be974225ed: Verifying Checksum [2023-03-21T12:39:08.812Z] e2be974225ed: Download complete [2023-03-21T12:39:08.812Z] 988bab9f4d93: Verifying Checksum [2023-03-21T12:39:08.812Z] 988bab9f4d93: Download complete [2023-03-21T12:39:09.073Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T12:39:09.073Z] 1469e6f7b9e6: Download complete [2023-03-21T12:39:09.073Z] eaf3925da568: Download complete [2023-03-21T12:39:09.073Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T12:39:09.073Z] 339a4e72a1f5: Download complete [2023-03-21T12:39:09.073Z] bde34c3a00c8: Download complete [2023-03-21T12:39:09.073Z] b352a97aabf1: Verifying Checksum [2023-03-21T12:39:09.073Z] b352a97aabf1: Download complete [2023-03-21T12:39:09.073Z] 4872d77fe225: Download complete [2023-03-21T12:39:09.073Z] 5851b861e8e6: Verifying Checksum [2023-03-21T12:39:09.073Z] 5851b861e8e6: Download complete [2023-03-21T12:39:09.073Z] b85a868b505f: Verifying Checksum [2023-03-21T12:39:09.073Z] b85a868b505f: Download complete [2023-03-21T12:39:09.332Z] bab4dde63d76: Verifying Checksum [2023-03-21T12:39:09.332Z] bab4dde63d76: Download complete [2023-03-21T12:39:10.714Z] b85a868b505f: Pull complete [2023-03-21T12:39:10.714Z] e2be974225ed: Pull complete [2023-03-21T12:39:10.974Z] 339a4e72a1f5: Pull complete [2023-03-21T12:39:11.234Z] 988bab9f4d93: Pull complete [2023-03-21T12:39:11.494Z] 1469e6f7b9e6: Pull complete [2023-03-21T12:39:11.494Z] eaf3925da568: Pull complete [2023-03-21T12:39:13.401Z] bab4dde63d76: Pull complete [2023-03-21T12:39:13.401Z] bde34c3a00c8: Pull complete [2023-03-21T12:39:13.401Z] b352a97aabf1: Pull complete [2023-03-21T12:39:13.661Z] 4872d77fe225: Pull complete [2023-03-21T12:39:13.661Z] 5851b861e8e6: Pull complete [2023-03-21T12:39:13.661Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T12:39:13.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T12:39:13.661Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:39:13.884Z] prd-ubuntu20.04-docker-8c-8g-4847 does not seem to be running inside a container [2023-03-21T12:39:13.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-279 -v /w/workspace/undry_device-onvif-camera_PR-279:/w/workspace/undry_device-onvif-camera_PR-279:rw,z -v /w/workspace/undry_device-onvif-camera_PR-279@tmp:/w/workspace/undry_device-onvif-camera_PR-279@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T12:39:15.298Z] $ docker top 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba -eo pid,comm [2023-03-21T12:39:15.368Z] 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). [2023-03-21T12:39:15.368Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T12:39:15.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T12:39:15.492Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T12:39:15.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T12:39:15.600Z] $ docker exec 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba ssh-agent [2023-03-21T12:39:15.724Z] SSH_AUTH_SOCK=/tmp/ssh-k4jD5aa2CIyt/agent.32 [2023-03-21T12:39:15.724Z] SSH_AGENT_PID=38 [2023-03-21T12:39:15.731Z] Running ssh-add (command line suppressed) [2023-03-21T12:39:15.826Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-279@tmp/private_key_2469204291530316135.key (/w/workspace/undry_device-onvif-camera_PR-279@tmp/private_key_2469204291530316135.key) [2023-03-21T12:39:15.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T12:39:16.184Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T12:39:16.198Z] $ docker exec --env ******** --env ******** 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba ssh-agent -k [2023-03-21T12:39:16.302Z] unset SSH_AUTH_SOCK; [2023-03-21T12:39:16.303Z] unset SSH_AGENT_PID; [2023-03-21T12:39:16.303Z] echo Agent pid 38 killed; [2023-03-21T12:39:16.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T12:39:16.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T12:39:16.408Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T12:39:16.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T12:39:16.516Z] $ docker exec 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba ssh-agent [2023-03-21T12:39:16.635Z] SSH_AUTH_SOCK=/tmp/ssh-8xn2UedmORVu/agent.70 [2023-03-21T12:39:16.635Z] SSH_AGENT_PID=76 [2023-03-21T12:39:16.640Z] Running ssh-add (command line suppressed) [2023-03-21T12:39:16.737Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-279@tmp/private_key_14537729193923229601.key (/w/workspace/undry_device-onvif-camera_PR-279@tmp/private_key_14537729193923229601.key) [2023-03-21T12:39:16.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T12:39:17.090Z] + git semver init [2023-03-21T12:39:17.349Z] 2023-03-21 12:39:17,300 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T12:39:17.350Z] 2023-03-21 12:39:17,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-279/.semver [2023-03-21T12:39:17.350Z] 2023-03-21 12:39:17,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-279/.semver [2023-03-21T12:39:17.350Z] 2023-03-21 12:39:17,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-279/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-279, universal_newlines=False, shell=None, istream=None) [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,194 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-279/.git/info/exclude [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,195 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-279/.semver/PR-279 with force:False [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,195 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-279/.semver/PR-279 [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,199 [execute] INFO git cat-file --batch-check [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,207 [execute] INFO git cat-file --batch [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T12:39:18.289Z] 2023-03-21 12:39:18,213 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-279/.semver/PR-279 [2023-03-21T12:39:18.289Z] 0.0.0 [Pipeline] } [2023-03-21T12:39:18.310Z] $ docker exec --env ******** --env ******** 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba ssh-agent -k [2023-03-21T12:39:18.413Z] unset SSH_AUTH_SOCK; [2023-03-21T12:39:18.414Z] unset SSH_AGENT_PID; [2023-03-21T12:39:18.414Z] echo Agent pid 76 killed; [2023-03-21T12:39:18.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T12:39:18.845Z] + git semver [Pipeline] } [2023-03-21T12:39:19.122Z] $ docker stop --time=1 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba [2023-03-21T12:39:20.465Z] $ docker rm -f --volumes 977b9460e94b6bfd6226cfe9417ad3703ec78763efd84e21ff449e69c4287cba [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T12:39:20.888Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T12:39:21.158Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T12:39:21.177Z] [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 [2023-03-21T12:39:21.863Z] provisioning config files... [2023-03-21T12:39:21.875Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-279@tmp/config12662144116569739936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:39:22.224Z] ---> docker-login.sh [2023-03-21T12:39:22.224Z] nexus3.edgexfoundry.org:10001 [2023-03-21T12:39:22.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:22.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:22.224Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:22.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:22.224Z] [2023-03-21T12:39:22.224Z] Login Succeeded [2023-03-21T12:39:22.224Z] nexus3.edgexfoundry.org:10002 [2023-03-21T12:39:22.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:22.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:22.224Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:22.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:22.224Z] [2023-03-21T12:39:22.224Z] Login Succeeded [2023-03-21T12:39:22.224Z] nexus3.edgexfoundry.org:10003 [2023-03-21T12:39:22.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:22.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:22.484Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:22.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:22.484Z] [2023-03-21T12:39:22.484Z] Login Succeeded [2023-03-21T12:39:22.484Z] nexus3.edgexfoundry.org:10004 [2023-03-21T12:39:22.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:22.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:22.484Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:22.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:22.484Z] [2023-03-21T12:39:22.484Z] Login Succeeded [2023-03-21T12:39:22.484Z] docker.io [2023-03-21T12:39:22.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:39:22.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:39:22.742Z] Configure a credential helper to remove this warning. See [2023-03-21T12:39:22.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:39:22.742Z] [2023-03-21T12:39:22.742Z] Login Succeeded [2023-03-21T12:39:22.742Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T12:39:22.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T12:39:22.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:39:23.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:39:23.041Z] ========================================================= [2023-03-21T12:39:23.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T12:39:23.041Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:39:23.516Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T12:39:23.516Z] Sending build context to Docker daemon 26.97MB [2023-03-21T12:39:23.516Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:39:23.516Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T12:39:23.775Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T12:39:23.775Z] 63b65145d645: Pulling fs layer [2023-03-21T12:39:23.775Z] a2d21d5440eb: Pulling fs layer [2023-03-21T12:39:23.775Z] 935e6c44a52c: Pulling fs layer [2023-03-21T12:39:23.775Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T12:39:23.775Z] 30dea6a524f1: Pulling fs layer [2023-03-21T12:39:23.775Z] a2aff8979fd8: Pulling fs layer [2023-03-21T12:39:23.775Z] 6808be2612f2: Pulling fs layer [2023-03-21T12:39:23.775Z] f25807f1079a: Pulling fs layer [2023-03-21T12:39:23.775Z] a2aff8979fd8: Waiting [2023-03-21T12:39:23.775Z] 6808be2612f2: Waiting [2023-03-21T12:39:23.775Z] f25807f1079a: Waiting [2023-03-21T12:39:23.775Z] 94cc34f8dd06: Waiting [2023-03-21T12:39:23.775Z] 30dea6a524f1: Waiting [2023-03-21T12:39:23.775Z] a2d21d5440eb: Verifying Checksum [2023-03-21T12:39:23.775Z] a2d21d5440eb: Download complete [2023-03-21T12:39:23.775Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T12:39:23.775Z] 94cc34f8dd06: Download complete [2023-03-21T12:39:23.775Z] 30dea6a524f1: Download complete [2023-03-21T12:39:23.775Z] 63b65145d645: Verifying Checksum [2023-03-21T12:39:23.775Z] 63b65145d645: Download complete [2023-03-21T12:39:23.775Z] a2aff8979fd8: Verifying Checksum [2023-03-21T12:39:23.775Z] a2aff8979fd8: Download complete [2023-03-21T12:39:24.040Z] 63b65145d645: Pull complete [2023-03-21T12:39:24.040Z] a2d21d5440eb: Pull complete [2023-03-21T12:39:24.301Z] f25807f1079a: Verifying Checksum [2023-03-21T12:39:24.301Z] f25807f1079a: Download complete [2023-03-21T12:39:24.560Z] 935e6c44a52c: Verifying Checksum [2023-03-21T12:39:24.560Z] 935e6c44a52c: Download complete [2023-03-21T12:39:24.818Z] 6808be2612f2: Verifying Checksum [2023-03-21T12:39:24.818Z] 6808be2612f2: Download complete [2023-03-21T12:39:28.116Z] 935e6c44a52c: Pull complete [2023-03-21T12:39:28.116Z] 94cc34f8dd06: Pull complete [2023-03-21T12:39:28.374Z] 30dea6a524f1: Pull complete [2023-03-21T12:39:28.374Z] a2aff8979fd8: Pull complete [2023-03-21T12:39:30.905Z] 6808be2612f2: Pull complete [2023-03-21T12:39:31.471Z] f25807f1079a: Pull complete [2023-03-21T12:39:31.731Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T12:39:31.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T12:39:31.731Z] ---> 3b553350e43f [2023-03-21T12:39:31.731Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:39:33.109Z] ---> Running in ce451863ecf1 [2023-03-21T12:39:33.109Z] Removing intermediate container ce451863ecf1 [2023-03-21T12:39:33.109Z] ---> 909afa35f457 [2023-03-21T12:39:33.109Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:39:33.367Z] ---> Running in 8bdb7a5efc00 [2023-03-21T12:39:33.367Z] Removing intermediate container 8bdb7a5efc00 [2023-03-21T12:39:33.367Z] ---> cd03c0e85bd3 [2023-03-21T12:39:33.367Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-21T12:39:33.367Z] ---> Running in 35418354076c [2023-03-21T12:39:33.627Z] Removing intermediate container 35418354076c [2023-03-21T12:39:33.627Z] ---> 5e1c0beb0047 [2023-03-21T12:39:33.627Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:39:33.627Z] ---> Running in bfcc9a7b43d3 [2023-03-21T12:39:33.627Z] Removing intermediate container bfcc9a7b43d3 [2023-03-21T12:39:33.627Z] ---> 266e4506cfa8 [2023-03-21T12:39:33.627Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T12:39:33.627Z] ---> Running in 93eeecdbadde [2023-03-21T12:39:33.887Z] Removing intermediate container 93eeecdbadde [2023-03-21T12:39:33.887Z] ---> 60bfe277ed9a [2023-03-21T12:39:33.887Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:39:33.887Z] ---> Running in ab9b6e10f416 [2023-03-21T12:39:34.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T12:39:34.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T12:39:34.406Z] OK: 265 MiB in 53 packages [2023-03-21T12:39:34.973Z] Removing intermediate container ab9b6e10f416 [2023-03-21T12:39:34.973Z] ---> 9a04ebd6d580 [2023-03-21T12:39:34.973Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T12:39:34.973Z] ---> Running in 41b6b013b056 [2023-03-21T12:39:34.973Z] Removing intermediate container 41b6b013b056 [2023-03-21T12:39:34.973Z] ---> 3549cb798d0a [2023-03-21T12:39:34.973Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T12:39:35.232Z] ---> ac9f01e06b9f [2023-03-21T12:39:35.232Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:39:35.232Z] ---> Running in 76498f19c6c2 [2023-03-21T12:39:36.626Z] Still waiting to schedule task [2023-03-21T12:39:36.626Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-21T12:40:01.798Z] Removing intermediate container 76498f19c6c2 [2023-03-21T12:40:01.798Z] ---> 42d0f9f8d33d [2023-03-21T12:40:01.798Z] Step 12/13 : COPY . . [2023-03-21T12:40:01.798Z] ---> 200bf0063656 [2023-03-21T12:40:01.798Z] Step 13/13 : RUN ${MAKE} [2023-03-21T12:40:01.798Z] ---> Running in 22e4de5c699e [2023-03-21T12:40:01.798Z] noop [2023-03-21T12:40:01.798Z] Removing intermediate container 22e4de5c699e [2023-03-21T12:40:01.798Z] ---> 89d84a2ef679 [2023-03-21T12:40:01.798Z] Successfully built 89d84a2ef679 [2023-03-21T12:40:01.798Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:40:02.263Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T12:40:02.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:40:02.415Z] prd-ubuntu20.04-docker-8c-8g-4847 does not seem to be running inside a container [2023-03-21T12:40:02.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-279 -v /w/workspace/undry_device-onvif-camera_PR-279:/w/workspace/undry_device-onvif-camera_PR-279:rw,z -v /w/workspace/undry_device-onvif-camera_PR-279@tmp:/w/workspace/undry_device-onvif-camera_PR-279@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 ******** ci-base-image-x86_64 cat [2023-03-21T12:40:02.812Z] $ docker top eb5b426dcb5fbc21ef250d70c33914bc5840569bcdc025e23ee48c1acaec78b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:40:03.201Z] + go version [2023-03-21T12:40:03.201Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T12:40:03.242Z] $ docker stop --time=1 eb5b426dcb5fbc21ef250d70c33914bc5840569bcdc025e23ee48c1acaec78b9 [2023-03-21T12:40:04.540Z] $ docker rm -f --volumes eb5b426dcb5fbc21ef250d70c33914bc5840569bcdc025e23ee48c1acaec78b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:40:05.253Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T12:40:05.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:40:05.402Z] prd-ubuntu20.04-docker-8c-8g-4847 does not seem to be running inside a container [2023-03-21T12:40:05.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-279 -v /w/workspace/undry_device-onvif-camera_PR-279:/w/workspace/undry_device-onvif-camera_PR-279:rw,z -v /w/workspace/undry_device-onvif-camera_PR-279@tmp:/w/workspace/undry_device-onvif-camera_PR-279@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 ******** ci-base-image-x86_64 cat [2023-03-21T12:40:05.799Z] $ docker top b2f985e1d1f4a0ede0f57f7b7a6d628b9754848daf26410eda47fd39928d9b44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:40:06.191Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-279 [Pipeline] fileExists [Pipeline] sh [2023-03-21T12:40:06.543Z] + make test [2023-03-21T12:40:06.544Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T12:40:11.807Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T12:40:21.778Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T12:40:21.778Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T12:40:23.682Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.7% of statements [2023-03-21T12:40:23.682Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.085s coverage: 86.5% of statements [2023-03-21T12:40:30.244Z] go vet ./... [2023-03-21T12:40:34.430Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T12:40:34.430Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T12:40:34.430Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T12:40:34.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T12:40:34.505Z] $ docker stop --time=1 b2f985e1d1f4a0ede0f57f7b7a6d628b9754848daf26410eda47fd39928d9b44 [2023-03-21T12:40:36.682Z] $ docker rm -f --volumes b2f985e1d1f4a0ede0f57f7b7a6d628b9754848daf26410eda47fd39928d9b44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T12:40:37.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T12:40:37.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T12:40:37.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T12:40:38.215Z] + ls -al . [2023-03-21T12:40:38.215Z] total 236 [2023-03-21T12:40:38.215Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 12:40 . [2023-03-21T12:40:38.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:38 .. [2023-03-21T12:40:38.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:39 .git [2023-03-21T12:40:38.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:38 .github [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 12:38 .gitignore [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 12:38 .golangci.yml [2023-03-21T12:40:38.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:39 .semver [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 21 12:38 Attribution.txt [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 12:38 CHANGELOG.md [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 21 12:38 Dockerfile [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 12:38 GOVERNANCE.md [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 21 12:38 Jenkinsfile [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 12:38 LICENSE [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 21 12:38 Makefile [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 12:38 OWNERS.md [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 6250 Mar 21 12:38 README.md [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:39 VERSION [2023-03-21T12:40:38.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:38 bin [2023-03-21T12:40:38.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:38 cmd [2023-03-21T12:40:38.215Z] -rw-r--r-- 1 jenkins jenkins 78487 Mar 21 12:40 coverage.out [2023-03-21T12:40:38.215Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 12:38 doc [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 21 12:38 go.mod [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 21 12:38 go.sum [2023-03-21T12:40:38.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:38 internal [2023-03-21T12:40:38.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:38 snap [2023-03-21T12:40:38.215Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 12:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:40:38.610Z] + 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=1d4496e484e92718294efcbde8e31a4846590544 --label arch=amd64 --label version=0.0.0 . [2023-03-21T12:40:38.610Z] Sending build context to Docker daemon 27.05MB [2023-03-21T12:40:38.610Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:40:38.610Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T12:40:38.610Z] ---> 89d84a2ef679 [2023-03-21T12:40:38.610Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:40:38.872Z] ---> Running in ea3e5a3bdd03 [2023-03-21T12:40:38.872Z] Removing intermediate container ea3e5a3bdd03 [2023-03-21T12:40:38.872Z] ---> 4d96958c208a [2023-03-21T12:40:38.872Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:40:38.872Z] ---> Running in 31dda6b12370 [2023-03-21T12:40:39.134Z] Removing intermediate container 31dda6b12370 [2023-03-21T12:40:39.134Z] ---> 4fc75cf0953b [2023-03-21T12:40:39.134Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-21T12:40:39.134Z] ---> Running in e40dea3f343a [2023-03-21T12:40:39.134Z] Removing intermediate container e40dea3f343a [2023-03-21T12:40:39.134Z] ---> ef235b970981 [2023-03-21T12:40:39.134Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:40:39.134Z] ---> Running in 3f2fd451812c [2023-03-21T12:40:39.395Z] Removing intermediate container 3f2fd451812c [2023-03-21T12:40:39.395Z] ---> dd0227276fdd [2023-03-21T12:40:39.395Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T12:40:39.395Z] ---> Running in 4e6c2dfc0728 [2023-03-21T12:40:39.395Z] Removing intermediate container 4e6c2dfc0728 [2023-03-21T12:40:39.395Z] ---> 1c68b48709d4 [2023-03-21T12:40:39.395Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:40:39.395Z] ---> Running in b6fc27e1cfb5 [2023-03-21T12:40:39.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T12:40:39.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T12:40:39.911Z] OK: 265 MiB in 53 packages [2023-03-21T12:40:40.169Z] Removing intermediate container b6fc27e1cfb5 [2023-03-21T12:40:40.169Z] ---> 16c3d94b5dd5 [2023-03-21T12:40:40.169Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T12:40:40.429Z] ---> Running in 6f44eec78f84 [2023-03-21T12:40:40.429Z] Removing intermediate container 6f44eec78f84 [2023-03-21T12:40:40.429Z] ---> 16dd452f5819 [2023-03-21T12:40:40.429Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T12:40:40.691Z] ---> f37a08e69c32 [2023-03-21T12:40:40.691Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:40:40.691Z] ---> Running in 2d55f16a931b [2023-03-21T12:40:41.626Z] Removing intermediate container 2d55f16a931b [2023-03-21T12:40:41.626Z] ---> 0d7756ab0daf [2023-03-21T12:40:41.626Z] Step 12/26 : COPY . . [2023-03-21T12:40:42.199Z] ---> e7def9aea44c [2023-03-21T12:40:42.199Z] Step 13/26 : RUN ${MAKE} [2023-03-21T12:40:42.199Z] ---> Running in 6162809c6609 [2023-03-21T12:40:42.460Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-21T12:41:00.562Z] Removing intermediate container 6162809c6609 [2023-03-21T12:41:00.562Z] ---> 12437a22ca8b [2023-03-21T12:41:00.562Z] Step 14/26 : FROM alpine:3.17 [2023-03-21T12:41:00.562Z] 3.17: Pulling from library/alpine [2023-03-21T12:41:00.562Z] 63b65145d645: Already exists [2023-03-21T12:41:00.562Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T12:41:00.562Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T12:41:00.562Z] ---> b2aa39c304c2 [2023-03-21T12:41:00.562Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T12:41:00.562Z] ---> Running in 8cc32b9b33d6 [2023-03-21T12:41:00.562Z] Removing intermediate container 8cc32b9b33d6 [2023-03-21T12:41:00.562Z] ---> ad71e93e6515 [2023-03-21T12:41:00.562Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-21T12:41:00.562Z] ---> Running in 01468dff7312 [2023-03-21T12:41:00.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T12:41:00.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T12:41:01.088Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T12:41:01.088Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T12:41:01.088Z] OK: 7 MiB in 16 packages [2023-03-21T12:41:01.347Z] Removing intermediate container 01468dff7312 [2023-03-21T12:41:01.347Z] ---> b1719afd524e [2023-03-21T12:41:01.347Z] Step 17/26 : WORKDIR / [2023-03-21T12:41:01.347Z] ---> Running in 097574b616d0 [2023-03-21T12:41:01.606Z] Removing intermediate container 097574b616d0 [2023-03-21T12:41:01.606Z] ---> 8e77b3ffdbef [2023-03-21T12:41:01.606Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T12:41:02.173Z] ---> 76a633fb57b9 [2023-03-21T12:41:02.173Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T12:41:02.173Z] ---> d7c5343751eb [2023-03-21T12:41:02.173Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T12:41:02.431Z] ---> e516f088fad0 [2023-03-21T12:41:02.431Z] Step 21/26 : EXPOSE 59984 [2023-03-21T12:41:02.431Z] ---> Running in 4612b3809a7d [2023-03-21T12:41:02.431Z] Removing intermediate container 4612b3809a7d [2023-03-21T12:41:02.431Z] ---> 5c0f23c6879e [2023-03-21T12:41:02.431Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T12:41:02.431Z] ---> Running in 59da48f90237 [2023-03-21T12:41:02.690Z] Removing intermediate container 59da48f90237 [2023-03-21T12:41:02.690Z] ---> 0f9e20fee9dd [2023-03-21T12:41:02.690Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T12:41:02.690Z] ---> Running in 001285b07e9a [2023-03-21T12:41:02.690Z] Removing intermediate container 001285b07e9a [2023-03-21T12:41:02.690Z] ---> e631ecb4df3e [2023-03-21T12:41:02.690Z] Step 24/26 : LABEL arch=amd64 [2023-03-21T12:41:02.690Z] ---> Running in fe91cbe13766 [2023-03-21T12:41:02.949Z] Removing intermediate container fe91cbe13766 [2023-03-21T12:41:02.949Z] ---> f548b46a9e42 [2023-03-21T12:41:02.949Z] Step 25/26 : LABEL git_sha=1d4496e484e92718294efcbde8e31a4846590544 [2023-03-21T12:41:02.949Z] ---> Running in 75272dd54a49 [2023-03-21T12:41:02.949Z] Removing intermediate container 75272dd54a49 [2023-03-21T12:41:02.949Z] ---> 9df29ae106d8 [2023-03-21T12:41:02.949Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T12:41:02.949Z] ---> Running in c17a928beb61 [2023-03-21T12:41:03.208Z] Removing intermediate container c17a928beb61 [2023-03-21T12:41:03.208Z] ---> 1ec3abea7164 [2023-03-21T12:41:03.208Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T12:41:03.208Z] Successfully built 1ec3abea7164 [2023-03-21T12:41:03.208Z] 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 [2023-03-21T12:41:04.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:41:04.047Z] [2023-03-21T12:41:04.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:41:04.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:41:04.413Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T12:41:04.413Z] 5eb5b503b376: Pulling fs layer [2023-03-21T12:41:04.413Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T12:41:04.413Z] ec43610c2a17: Pulling fs layer [2023-03-21T12:41:04.413Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T12:41:04.413Z] 33b1e0a273af: Pulling fs layer [2023-03-21T12:41:04.413Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T12:41:04.413Z] 2f39f015ded8: Pulling fs layer [2023-03-21T12:41:04.413Z] 33b1e0a273af: Waiting [2023-03-21T12:41:04.413Z] 5d3b04190fa2: Waiting [2023-03-21T12:41:04.413Z] 2f39f015ded8: Waiting [2023-03-21T12:41:04.413Z] 3a2ae6a8a46f: Waiting [2023-03-21T12:41:04.413Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T12:41:04.413Z] 5c69ac0246d0: Download complete [2023-03-21T12:41:04.413Z] 3a2ae6a8a46f: Download complete [2023-03-21T12:41:04.673Z] 33b1e0a273af: Verifying Checksum [2023-03-21T12:41:04.673Z] 33b1e0a273af: Download complete [2023-03-21T12:41:04.673Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T12:41:04.673Z] 5d3b04190fa2: Download complete [2023-03-21T12:41:04.673Z] ec43610c2a17: Download complete [2023-03-21T12:41:04.673Z] 5eb5b503b376: Download complete [2023-03-21T12:41:05.235Z] 2f39f015ded8: Download complete [2023-03-21T12:41:05.801Z] 5eb5b503b376: Pull complete [2023-03-21T12:41:05.801Z] 5c69ac0246d0: Pull complete [2023-03-21T12:41:06.370Z] ec43610c2a17: Pull complete [2023-03-21T12:41:06.370Z] 3a2ae6a8a46f: Pull complete [2023-03-21T12:41:06.630Z] 33b1e0a273af: Pull complete [2023-03-21T12:41:06.630Z] 5d3b04190fa2: Pull complete [2023-03-21T12:41:10.812Z] 2f39f015ded8: Pull complete [2023-03-21T12:41:10.812Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T12:41:10.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:41:10.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:41:11.035Z] prd-ubuntu20.04-docker-8c-8g-4847 does not seem to be running inside a container [2023-03-21T12:41:11.078Z] $ 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-279 -v /w/workspace/undry_device-onvif-camera_PR-279:/w/workspace/undry_device-onvif-camera_PR-279:rw,z -v /w/workspace/undry_device-onvif-camera_PR-279@tmp:/w/workspace/undry_device-onvif-camera_PR-279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T12:41:12.808Z] $ docker top e00bd5e07cbd4d361d8a0aea0385a3016c898386d1e68044c0b69eff6acf17d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:41:13.246Z] ---> job-cost.sh [2023-03-21T12:41:13.246Z] lf-activate-venv: SKIPPING [2023-03-21T12:41:13.246Z] INFO: No Stack... [2023-03-21T12:41:13.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T12:41:14.075Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T12:41:14.395Z] + cat /w/workspace/undry_device-onvif-camera_PR-279/archives/cost.csv [2023-03-21T12:41:14.395Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T12:41:14.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] [2023-03-21T12:41:14.442Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] did not exist. Created. [2023-03-21T12:41:14.443Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T12:41:14.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T12:41:14.883Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T12:41:14.909Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T12:41:14.992Z] $ docker stop --time=1 e00bd5e07cbd4d361d8a0aea0385a3016c898386d1e68044c0b69eff6acf17d5 [2023-03-21T12:41:16.156Z] $ docker rm -f --volumes e00bd5e07cbd4d361d8a0aea0385a3016c898386d1e68044c0b69eff6acf17d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T12:42:58.691Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4848 in /w/workspace/undry_device-onvif-camera_PR-279 [Pipeline] { [Pipeline] ws [2023-03-21T12:42:58.747Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-21T12:42:58.834Z] The recommended git tool is: git [2023-03-21T12:43:04.969Z] using credential edgex-jenkins-ssh [2023-03-21T12:43:04.987Z] Cloning the remote Git repository [2023-03-21T12:43:05.042Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T12:43:05.151Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-21T12:43:05.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T12:43:05.319Z] > git --version # timeout=10 [2023-03-21T12:43:05.347Z] > git --version # 'git version 2.25.1' [2023-03-21T12:43:05.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T12:43:05.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T12:43:07.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T12:43:07.139Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T12:43:08.836Z] Merging remotes/origin/main commit 30f142b3199bb88c04d4c4f9cf7ab115e72bb90a into PR head commit 1d4496e484e92718294efcbde8e31a4846590544 [2023-03-21T12:43:08.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T12:43:08.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T12:43:08.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T12:43:08.215Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T12:43:08.860Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T12:43:08.940Z] > git checkout -f 1d4496e484e92718294efcbde8e31a4846590544 # timeout=10 [2023-03-21T12:43:09.369Z] Merge succeeded, producing 1d4496e484e92718294efcbde8e31a4846590544 [2023-03-21T12:43:09.370Z] Checking out Revision 1d4496e484e92718294efcbde8e31a4846590544 (PR-279) [2023-03-21T12:43:09.244Z] > git remote # timeout=10 [2023-03-21T12:43:09.267Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T12:43:09.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T12:43:09.318Z] > git merge 30f142b3199bb88c04d4c4f9cf7ab115e72bb90a # timeout=10 [2023-03-21T12:43:09.351Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T12:43:09.380Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T12:43:09.396Z] > git checkout -f 1d4496e484e92718294efcbde8e31a4846590544 # timeout=10 [2023-03-21T12:43:13.250Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [2023-03-21T12:43:13.304Z] > git --version # timeout=10 [2023-03-21T12:43:13.315Z] > git --version # 'git version 2.25.1' [2023-03-21T12:43:13.329Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T12:43:14.571Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T12:43:14.571Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T12:43:14.571Z] Dload Upload Total Spent Left Speed [2023-03-21T12:43:14.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-03-21T12:43:15.319Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T12:43:15.672Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T12:43:15.672Z] + sudo tee /etc/docker/daemon.new [2023-03-21T12:43:15.672Z] { [2023-03-21T12:43:15.672Z] "registry-mirrors": [ [2023-03-21T12:43:15.672Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T12:43:15.672Z] ], [2023-03-21T12:43:15.672Z] "bip": "10.250.0.254/24", [2023-03-21T12:43:15.672Z] "hosts": [ [2023-03-21T12:43:15.672Z] "tcp://0.0.0.0:5555", [2023-03-21T12:43:15.672Z] "unix:///var/run/docker.sock" [2023-03-21T12:43:15.672Z] ], [2023-03-21T12:43:15.672Z] "mtu": 1458, [2023-03-21T12:43:15.672Z] "selinux-enabled": true, [2023-03-21T12:43:15.672Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T12:43:15.672Z] } [Pipeline] sh [2023-03-21T12:43:16.032Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T12:43:16.396Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T12:43:34.756Z] provisioning config files... [2023-03-21T12:43:34.790Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6384830923520674931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:43:35.184Z] ---> docker-login.sh [2023-03-21T12:43:35.184Z] nexus3.edgexfoundry.org:10001 [2023-03-21T12:43:35.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:43:35.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:43:35.777Z] Configure a credential helper to remove this warning. See [2023-03-21T12:43:35.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:43:35.777Z] [2023-03-21T12:43:35.777Z] Login Succeeded [2023-03-21T12:43:35.777Z] nexus3.edgexfoundry.org:10002 [2023-03-21T12:43:36.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:43:36.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:43:36.318Z] Configure a credential helper to remove this warning. See [2023-03-21T12:43:36.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:43:36.318Z] [2023-03-21T12:43:36.318Z] Login Succeeded [2023-03-21T12:43:36.318Z] nexus3.edgexfoundry.org:10003 [2023-03-21T12:43:36.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:43:36.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:43:36.588Z] Configure a credential helper to remove this warning. See [2023-03-21T12:43:36.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:43:36.588Z] [2023-03-21T12:43:36.588Z] Login Succeeded [2023-03-21T12:43:36.588Z] nexus3.edgexfoundry.org:10004 [2023-03-21T12:43:36.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:43:36.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:43:36.863Z] Configure a credential helper to remove this warning. See [2023-03-21T12:43:36.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:43:36.863Z] [2023-03-21T12:43:36.863Z] Login Succeeded [2023-03-21T12:43:37.134Z] docker.io [2023-03-21T12:43:37.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:43:37.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:43:37.404Z] Configure a credential helper to remove this warning. See [2023-03-21T12:43:37.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:43:37.404Z] [2023-03-21T12:43:37.404Z] Login Succeeded [2023-03-21T12:43:37.404Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T12:43:37.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T12:43:37.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:43:37.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:43:37.885Z] ========================================================= [2023-03-21T12:43:37.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T12:43:37.885Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:43:38.366Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T12:43:38.960Z] Sending build context to Docker daemon 19.68MB [2023-03-21T12:43:38.960Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:43:38.960Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T12:43:39.236Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T12:43:39.236Z] af6eaf76a39c: Pulling fs layer [2023-03-21T12:43:39.236Z] 55522c791124: Pulling fs layer [2023-03-21T12:43:39.236Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T12:43:39.236Z] 169dfbe0d373: Pulling fs layer [2023-03-21T12:43:39.236Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T12:43:39.236Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T12:43:39.236Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T12:43:39.236Z] 169dfbe0d373: Waiting [2023-03-21T12:43:39.236Z] e1ff8fa3b103: Waiting [2023-03-21T12:43:39.236Z] 52ebb69f0ebf: Waiting [2023-03-21T12:43:39.236Z] 5abe8eddf0d5: Waiting [2023-03-21T12:43:39.236Z] 55522c791124: Verifying Checksum [2023-03-21T12:43:39.236Z] 55522c791124: Download complete [2023-03-21T12:43:39.236Z] 169dfbe0d373: Verifying Checksum [2023-03-21T12:43:39.236Z] 169dfbe0d373: Download complete [2023-03-21T12:43:39.236Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T12:43:39.236Z] e1ff8fa3b103: Download complete [2023-03-21T12:43:39.236Z] af6eaf76a39c: Verifying Checksum [2023-03-21T12:43:39.236Z] af6eaf76a39c: Download complete [2023-03-21T12:43:40.210Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T12:43:40.210Z] 5abe8eddf0d5: Download complete [2023-03-21T12:43:41.647Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T12:43:41.647Z] 52ebb69f0ebf: Download complete [2023-03-21T12:43:41.647Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T12:43:41.647Z] ce5c4a1c91eb: Download complete [2023-03-21T12:43:42.617Z] af6eaf76a39c: Pull complete [2023-03-21T12:43:43.208Z] 55522c791124: Pull complete [2023-03-21T12:43:55.548Z] ce5c4a1c91eb: Pull complete [2023-03-21T12:43:55.548Z] 169dfbe0d373: Pull complete [2023-03-21T12:43:55.818Z] e1ff8fa3b103: Pull complete [2023-03-21T12:44:04.070Z] 52ebb69f0ebf: Pull complete [2023-03-21T12:44:04.664Z] 5abe8eddf0d5: Pull complete [2023-03-21T12:44:04.665Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T12:44:04.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T12:44:04.665Z] ---> 6cb57ee374ae [2023-03-21T12:44:04.665Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:44:06.621Z] ---> Running in d1469781c9a6 [2023-03-21T12:44:06.891Z] Removing intermediate container d1469781c9a6 [2023-03-21T12:44:06.891Z] ---> f747039f80b5 [2023-03-21T12:44:06.891Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:44:06.891Z] ---> Running in a452458c0ce3 [2023-03-21T12:44:07.172Z] Removing intermediate container a452458c0ce3 [2023-03-21T12:44:07.172Z] ---> 5b5f260717a6 [2023-03-21T12:44:07.172Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-21T12:44:07.444Z] ---> Running in c1db397c61eb [2023-03-21T12:44:07.713Z] Removing intermediate container c1db397c61eb [2023-03-21T12:44:07.713Z] ---> 6a8e34fb70f4 [2023-03-21T12:44:07.713Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:44:07.713Z] ---> Running in e63ce32c1e2e [2023-03-21T12:44:07.983Z] Removing intermediate container e63ce32c1e2e [2023-03-21T12:44:07.983Z] ---> e6da1a8e82bd [2023-03-21T12:44:07.983Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T12:44:08.251Z] ---> Running in 652987fa8c0e [2023-03-21T12:44:08.524Z] Removing intermediate container 652987fa8c0e [2023-03-21T12:44:08.524Z] ---> ce1efcd1162c [2023-03-21T12:44:08.524Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:44:08.524Z] ---> Running in 9f9ed15fbdf2 [2023-03-21T12:44:09.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T12:44:10.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T12:44:11.498Z] OK: 263 MiB in 53 packages [2023-03-21T12:44:12.466Z] Removing intermediate container 9f9ed15fbdf2 [2023-03-21T12:44:12.466Z] ---> f7a8e4492b46 [2023-03-21T12:44:12.466Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T12:44:12.466Z] ---> Running in 05a1db2350df [2023-03-21T12:44:12.736Z] Removing intermediate container 05a1db2350df [2023-03-21T12:44:12.736Z] ---> 2c05c364f9f0 [2023-03-21T12:44:12.736Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T12:44:13.323Z] ---> b7109da5d3c1 [2023-03-21T12:44:13.323Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:44:13.323Z] ---> Running in bd55a828a55a [2023-03-21T12:45:34.983Z] Removing intermediate container bd55a828a55a [2023-03-21T12:45:34.983Z] ---> a90ed372fa37 [2023-03-21T12:45:34.983Z] Step 12/13 : COPY . . [2023-03-21T12:45:34.983Z] ---> 1326e33744c5 [2023-03-21T12:45:34.983Z] Step 13/13 : RUN ${MAKE} [2023-03-21T12:45:34.983Z] ---> Running in d622b633ee97 [2023-03-21T12:45:34.983Z] noop [2023-03-21T12:45:34.983Z] Removing intermediate container d622b633ee97 [2023-03-21T12:45:34.983Z] ---> 934bb6300abc [2023-03-21T12:45:34.983Z] Successfully built 934bb6300abc [2023-03-21T12:45:34.983Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:45:35.470Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T12:45:35.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:45:35.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-4848 does not seem to be running inside a container [2023-03-21T12:45:35.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2023-03-21T12:45:37.070Z] $ docker top 91dc8738130986e21c83f8e01cb52fc75c19693e3c2c465f55b067a3fa90f317 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:45:37.992Z] + go version [2023-03-21T12:45:37.992Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T12:45:38.032Z] $ docker stop --time=1 91dc8738130986e21c83f8e01cb52fc75c19693e3c2c465f55b067a3fa90f317 [2023-03-21T12:45:39.692Z] $ docker rm -f --volumes 91dc8738130986e21c83f8e01cb52fc75c19693e3c2c465f55b067a3fa90f317 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:45:40.525Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T12:45:40.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:45:40.814Z] prd-ubuntu20.04-docker-arm64-4c-16g-4848 does not seem to be running inside a container [2023-03-21T12:45:40.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2023-03-21T12:45:42.141Z] $ docker top 6447427b0bbe8b98146932993991982432bbb8d59ff8faf9e19a8a04cb3a40a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:45:43.041Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T12:45:43.750Z] + make test [2023-03-21T12:45:43.750Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T12:46:15.985Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T12:48:07.614Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T12:48:10.192Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T12:48:12.132Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.183s coverage: 31.7% of statements [2023-03-21T12:48:27.115Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.635s coverage: 86.5% of statements [2023-03-21T12:48:27.115Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T12:48:27.115Z] go vet ./... [2023-03-21T12:48:53.802Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T12:48:53.802Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T12:48:53.802Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T12:48:53.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T12:48:53.878Z] $ docker stop --time=1 6447427b0bbe8b98146932993991982432bbb8d59ff8faf9e19a8a04cb3a40a7 [2023-03-21T12:48:56.108Z] $ docker rm -f --volumes 6447427b0bbe8b98146932993991982432bbb8d59ff8faf9e19a8a04cb3a40a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T12:48:57.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T12:48:57.390Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T12:48:58.025Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T12:48:58.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T12:48:58.994Z] + ls -al . [2023-03-21T12:48:58.994Z] total 232 [2023-03-21T12:48:58.994Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:45 . [2023-03-21T12:48:58.994Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:43 .. [2023-03-21T12:48:58.994Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:43 .git [2023-03-21T12:48:58.994Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:43 .github [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 12:43 .gitignore [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 12:43 .golangci.yml [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 21 12:43 Attribution.txt [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 12:43 CHANGELOG.md [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 21 12:43 Dockerfile [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 12:43 GOVERNANCE.md [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 21 12:43 Jenkinsfile [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 12:43 LICENSE [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 21 12:43 Makefile [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 12:43 OWNERS.md [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 6250 Mar 21 12:43 README.md [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:39 VERSION [2023-03-21T12:48:58.994Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:43 bin [2023-03-21T12:48:58.994Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:43 cmd [2023-03-21T12:48:58.994Z] -rw-r--r-- 1 jenkins jenkins 78487 Mar 21 12:48 coverage.out [2023-03-21T12:48:58.994Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 12:43 doc [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 21 12:43 go.mod [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 21 12:43 go.sum [2023-03-21T12:48:58.994Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:43 internal [2023-03-21T12:48:58.994Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:43 snap [2023-03-21T12:48:58.994Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 12:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:48:59.428Z] + 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=1d4496e484e92718294efcbde8e31a4846590544 --label arch=arm64 --label version=0.0.0 . [2023-03-21T12:49:00.016Z] Sending build context to Docker daemon 19.76MB [2023-03-21T12:49:00.016Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:49:00.016Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T12:49:00.016Z] ---> 934bb6300abc [2023-03-21T12:49:00.016Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:49:00.283Z] ---> Running in 5c13146acb6a [2023-03-21T12:49:00.550Z] Removing intermediate container 5c13146acb6a [2023-03-21T12:49:00.550Z] ---> e22d7bbe28e0 [2023-03-21T12:49:00.550Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:49:00.550Z] ---> Running in 1a323eddfd98 [2023-03-21T12:49:00.815Z] Removing intermediate container 1a323eddfd98 [2023-03-21T12:49:00.815Z] ---> 8bb65952c3ab [2023-03-21T12:49:00.815Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-21T12:49:00.815Z] ---> Running in ca52185b9f13 [2023-03-21T12:49:01.081Z] Removing intermediate container ca52185b9f13 [2023-03-21T12:49:01.081Z] ---> 8eb5ed35a91a [2023-03-21T12:49:01.081Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:49:01.349Z] ---> Running in ee1083e3a750 [2023-03-21T12:49:01.616Z] Removing intermediate container ee1083e3a750 [2023-03-21T12:49:01.616Z] ---> 2422a042a594 [2023-03-21T12:49:01.616Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T12:49:01.616Z] ---> Running in dacb516b5784 [2023-03-21T12:49:01.888Z] Removing intermediate container dacb516b5784 [2023-03-21T12:49:01.888Z] ---> f9d4b6e055f7 [2023-03-21T12:49:01.888Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:49:01.888Z] ---> Running in 32e9fe311a98 [2023-03-21T12:49:02.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T12:49:03.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T12:49:04.387Z] OK: 263 MiB in 53 packages [2023-03-21T12:49:05.343Z] Removing intermediate container 32e9fe311a98 [2023-03-21T12:49:05.343Z] ---> 99565c0f458b [2023-03-21T12:49:05.343Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T12:49:05.343Z] ---> Running in 33a304880d31 [2023-03-21T12:49:05.343Z] Removing intermediate container 33a304880d31 [2023-03-21T12:49:05.343Z] ---> 6f9f5d9ce0e3 [2023-03-21T12:49:05.343Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T12:49:07.278Z] ---> 5581a4d998c4 [2023-03-21T12:49:07.278Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:49:07.278Z] ---> Running in aae80f56eeb6 [2023-03-21T12:49:09.849Z] Removing intermediate container aae80f56eeb6 [2023-03-21T12:49:09.849Z] ---> 999082e59714 [2023-03-21T12:49:09.849Z] Step 12/26 : COPY . . [2023-03-21T12:49:11.256Z] ---> 1cc8022f70f2 [2023-03-21T12:49:11.256Z] Step 13/26 : RUN ${MAKE} [2023-03-21T12:49:11.530Z] ---> Running in 07820cb7d785 [2023-03-21T12:49:12.487Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-21T12:51:34.147Z] Removing intermediate container 07820cb7d785 [2023-03-21T12:51:34.147Z] ---> b24ca2f4d5c4 [2023-03-21T12:51:34.147Z] Step 14/26 : FROM alpine:3.17 [2023-03-21T12:51:34.147Z] 3.17: Pulling from library/alpine [2023-03-21T12:51:34.147Z] af6eaf76a39c: Already exists [2023-03-21T12:51:34.147Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T12:51:34.147Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T12:51:34.147Z] ---> d74e625d9115 [2023-03-21T12:51:34.147Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T12:51:34.147Z] ---> Running in 4115e441dda0 [2023-03-21T12:51:34.147Z] Removing intermediate container 4115e441dda0 [2023-03-21T12:51:34.147Z] ---> 56853c9c31f8 [2023-03-21T12:51:34.147Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-21T12:51:34.147Z] ---> Running in caaffb2a695e [2023-03-21T12:51:34.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T12:51:34.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T12:51:35.105Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T12:51:35.106Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T12:51:35.377Z] OK: 8 MiB in 16 packages [2023-03-21T12:51:35.963Z] Removing intermediate container caaffb2a695e [2023-03-21T12:51:35.963Z] ---> 15b0a7634b3d [2023-03-21T12:51:35.963Z] Step 17/26 : WORKDIR / [2023-03-21T12:51:36.232Z] ---> Running in 834c7ca5329a [2023-03-21T12:51:36.499Z] Removing intermediate container 834c7ca5329a [2023-03-21T12:51:36.499Z] ---> 873d270099f7 [2023-03-21T12:51:36.499Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T12:51:37.907Z] ---> dada9b255603 [2023-03-21T12:51:37.907Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T12:51:38.487Z] ---> 2edb952d580c [2023-03-21T12:51:38.487Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T12:51:39.068Z] ---> 4c4ecf50dbd0 [2023-03-21T12:51:39.068Z] Step 21/26 : EXPOSE 59984 [2023-03-21T12:51:39.068Z] ---> Running in 2b7f427e3f83 [2023-03-21T12:51:39.333Z] Removing intermediate container 2b7f427e3f83 [2023-03-21T12:51:39.333Z] ---> 5d01ab9cc4f4 [2023-03-21T12:51:39.333Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T12:51:39.333Z] ---> Running in e4e8f7f1491c [2023-03-21T12:51:39.601Z] Removing intermediate container e4e8f7f1491c [2023-03-21T12:51:39.601Z] ---> be16caa2ff19 [2023-03-21T12:51:39.601Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T12:51:39.868Z] ---> Running in f73cd62f6f72 [2023-03-21T12:51:40.134Z] Removing intermediate container f73cd62f6f72 [2023-03-21T12:51:40.135Z] ---> bb3011f41330 [2023-03-21T12:51:40.135Z] Step 24/26 : LABEL arch=arm64 [2023-03-21T12:51:40.135Z] ---> Running in 1faaca6b9a1d [2023-03-21T12:51:40.412Z] Removing intermediate container 1faaca6b9a1d [2023-03-21T12:51:40.412Z] ---> 66ccbf171782 [2023-03-21T12:51:40.412Z] Step 25/26 : LABEL git_sha=1d4496e484e92718294efcbde8e31a4846590544 [2023-03-21T12:51:40.412Z] ---> Running in e5dd07ba4841 [2023-03-21T12:51:40.993Z] Removing intermediate container e5dd07ba4841 [2023-03-21T12:51:40.993Z] ---> a41c14a08214 [2023-03-21T12:51:40.993Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T12:51:40.993Z] ---> Running in c629cbd9ba0a [2023-03-21T12:51:41.259Z] Removing intermediate container c629cbd9ba0a [2023-03-21T12:51:41.259Z] ---> c83d05d33b1c [2023-03-21T12:51:41.259Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T12:51:41.259Z] Successfully built c83d05d33b1c [2023-03-21T12:51:41.259Z] 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 [2023-03-21T12:51:42.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T12:51:42.146Z] [2023-03-21T12:51:42.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:51:42.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T12:51:42.816Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T12:51:42.816Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T12:51:42.816Z] 04944245beec: Pulling fs layer [2023-03-21T12:51:42.816Z] 699f458cf7ca: Pulling fs layer [2023-03-21T12:51:42.816Z] 765212b225bb: Pulling fs layer [2023-03-21T12:51:42.816Z] f23df028b6ca: Pulling fs layer [2023-03-21T12:51:42.816Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T12:51:42.816Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T12:51:42.816Z] f23df028b6ca: Waiting [2023-03-21T12:51:42.816Z] d65c8cfc05b1: Waiting [2023-03-21T12:51:42.816Z] 2437ff75d9bd: Waiting [2023-03-21T12:51:42.816Z] 765212b225bb: Waiting [2023-03-21T12:51:43.084Z] 04944245beec: Verifying Checksum [2023-03-21T12:51:43.084Z] 04944245beec: Download complete [2023-03-21T12:51:43.084Z] 765212b225bb: Verifying Checksum [2023-03-21T12:51:43.084Z] 765212b225bb: Download complete [2023-03-21T12:51:43.084Z] f23df028b6ca: Verifying Checksum [2023-03-21T12:51:43.084Z] f23df028b6ca: Download complete [2023-03-21T12:51:43.084Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T12:51:43.084Z] d65c8cfc05b1: Download complete [2023-03-21T12:51:43.084Z] 699f458cf7ca: Verifying Checksum [2023-03-21T12:51:43.084Z] 699f458cf7ca: Download complete [2023-03-21T12:51:43.669Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T12:51:43.669Z] 8998bd30e6a1: Download complete [2023-03-21T12:51:46.248Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T12:51:46.248Z] 2437ff75d9bd: Download complete [2023-03-21T12:51:47.652Z] 8998bd30e6a1: Pull complete [2023-03-21T12:51:47.917Z] 04944245beec: Pull complete [2023-03-21T12:51:49.334Z] 699f458cf7ca: Pull complete [2023-03-21T12:51:49.334Z] 765212b225bb: Pull complete [2023-03-21T12:51:49.924Z] f23df028b6ca: Pull complete [2023-03-21T12:51:50.191Z] d65c8cfc05b1: Pull complete [2023-03-21T12:52:02.486Z] 2437ff75d9bd: Pull complete [2023-03-21T12:52:02.486Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T12:52:02.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T12:52:02.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:52:02.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-4848 does not seem to be running inside a container [2023-03-21T12:52:02.887Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T12:52:06.283Z] $ docker top 99eb67bce3fb04b5de4995f2f08ffce7aaef0c40590a8700df7a006ef43624f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:06.849Z] ---> job-cost.sh [2023-03-21T12:52:07.114Z] lf-activate-venv: SKIPPING [2023-03-21T12:52:07.114Z] INFO: No Stack... [2023-03-21T12:52:07.694Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T12:52:08.648Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T12:52:08.985Z] + cut -d, -f6 [2023-03-21T12:52:08.985Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-03-21T12:52:09.060Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] [2023-03-21T12:52:09.064Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] did not exist. Created. [2023-03-21T12:52:09.065Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T12:52:09.476Z] /w/workspace/device-onvif-camera/1@tmp/durable-22d45d85/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T12:52:09.819Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T12:52:09.854Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T12:52:09.912Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T12:52:09.927Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T12:52:10.021Z] $ docker stop --time=1 99eb67bce3fb04b5de4995f2f08ffce7aaef0c40590a8700df7a006ef43624f3 [2023-03-21T12:52:11.485Z] $ docker rm -f --volumes 99eb67bce3fb04b5de4995f2f08ffce7aaef0c40590a8700df7a006ef43624f3 [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 [2023-03-21T12:52:12.495Z] provisioning config files... [2023-03-21T12:52:12.502Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-279@tmp/config10883179687548638965tmp [Pipeline] { [Pipeline] sh [2023-03-21T12:52:12.836Z] + set +x [2023-03-21T12:52:12.836Z] + curl -s https://codecov.io/bash [2023-03-21T12:52:12.836Z] + bash -s -- [2023-03-21T12:52:12.836Z] [2023-03-21T12:52:12.836Z] _____ _ [2023-03-21T12:52:12.836Z] / ____| | | [2023-03-21T12:52:12.836Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T12:52:12.836Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T12:52:12.836Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T12:52:12.836Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T12:52:12.836Z] Bash-1.0.6 [2023-03-21T12:52:12.836Z] [2023-03-21T12:52:12.836Z] [2023-03-21T12:52:12.836Z] ==> git version 2.25.1 found [2023-03-21T12:52:12.836Z] ==> 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 [2023-03-21T12:52:12.836Z] Release-Date: 2020-01-08 [2023-03-21T12:52:12.836Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T12:52:12.836Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T12:52:12.836Z] ==> Jenkins CI detected. [2023-03-21T12:52:12.836Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-279 [2023-03-21T12:52:12.836Z] project root: . [2023-03-21T12:52:12.836Z] --> token set from env [2023-03-21T12:52:12.836Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T12:52:12.836Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T12:52:12.836Z] ==> Python coveragepy not found [2023-03-21T12:52:12.836Z] ==> Searching for coverage reports in: [2023-03-21T12:52:12.836Z] + . [2023-03-21T12:52:12.836Z] -> Found 1 reports [2023-03-21T12:52:12.836Z] ==> Detecting git/mercurial file structure [2023-03-21T12:52:12.836Z] ==> Reading reports [2023-03-21T12:52:13.094Z] + ./coverage.out bytes=78487 [2023-03-21T12:52:13.094Z] ==> Appending adjustments [2023-03-21T12:52:13.094Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T12:52:13.094Z] + Found adjustments [2023-03-21T12:52:13.094Z] ==> Gzipping contents [2023-03-21T12:52:13.094Z] 12K /tmp/codecov.BhUAaa.gz [2023-03-21T12:52:13.094Z] ==> Uploading reports [2023-03-21T12:52:13.094Z] url: https://codecov.io [2023-03-21T12:52:13.094Z] query: branch=PR-279&commit=1d4496e484e92718294efcbde8e31a4846590544&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=279&job=&cmd_args= [2023-03-21T12:52:13.094Z] -> Pinging Codecov [2023-03-21T12:52:13.094Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-279&commit=1d4496e484e92718294efcbde8e31a4846590544&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=279&job=&cmd_args= [2023-03-21T12:52:13.354Z] -> Uploading to [2023-03-21T12:52:13.354Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/1d4496e484e92718294efcbde8e31a4846590544/d6f632b8-e3aa-47ab-bc49-a6ee0bf0e955.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T125213Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2491cb670aa2acc5b1b32e2263586a32e2a30e0be88afdc594b1e5845fb6ba35 [2023-03-21T12:52:13.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T12:52:13.354Z] Dload Upload Total Spent Left Speed [2023-03-21T12:52:13.613Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10527 0 0 100 10527 0 38280 --:--:-- --:--:-- --:--:-- 38280 [2023-03-21T12:52:13.613Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1d4496e484e92718294efcbde8e31a4846590544 [Pipeline] } [2023-03-21T12:52:13.654Z] 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 [2023-03-21T12:52:15.447Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-279/archives ] [2023-03-21T12:52:15.447Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-279/archives [2023-03-21T12:52:15.447Z] total 16 [2023-03-21T12:52:15.447Z] drwxr-xr-x 3 root root 4096 Mar 21 12:41 . [2023-03-21T12:52:15.447Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 12:41 .. [2023-03-21T12:52:15.447Z] drwxr-xr-x 2 root root 4096 Mar 21 12:41 cost [2023-03-21T12:52:15.447Z] -rw-r--r-- 1 root root 91 Mar 21 12:41 cost.csv [2023-03-21T12:52:15.447Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-279/archives [2023-03-21T12:52:15.447Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-279/archives [2023-03-21T12:52:15.447Z] total 16 [2023-03-21T12:52:15.447Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:41 . [2023-03-21T12:52:15.447Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 12:41 .. [2023-03-21T12:52:15.447Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 12:41 cost [2023-03-21T12:52:15.447Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 21 12:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:15.776Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:16.669Z] ---> package-listing.sh [2023-03-21T12:52:16.669Z] ++ facter osfamily [2023-03-21T12:52:16.669Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T12:52:16.927Z] + OS_FAMILY=debian [2023-03-21T12:52:16.927Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-279 [2023-03-21T12:52:16.928Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T12:52:16.928Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T12:52:16.928Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T12:52:16.928Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T12:52:16.928Z] + '[' /w/workspace/undry_device-onvif-camera_PR-279 ']' [2023-03-21T12:52:16.928Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T12:52:16.928Z] + case "${OS_FAMILY}" in [2023-03-21T12:52:16.928Z] + dpkg -l [2023-03-21T12:52:16.928Z] + grep '^ii' [2023-03-21T12:52:16.928Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T12:52:16.928Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T12:52:16.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T12:52:16.928Z] + '[' /w/workspace/undry_device-onvif-camera_PR-279 ']' [2023-03-21T12:52:16.928Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-279/archives/ [2023-03-21T12:52:16.928Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-279/archives/ [Pipeline] echo [2023-03-21T12:52:16.963Z] 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-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T12:52:17.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:52:17.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:52:17.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:52:18.012Z] prd-ubuntu20.04-docker-8c-8g-4847 does not seem to be running inside a container [2023-03-21T12:52:18.060Z] $ 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-279/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-279 -v /w/workspace/undry_device-onvif-camera_PR-279:/w/workspace/undry_device-onvif-camera_PR-279:rw,z -v /w/workspace/undry_device-onvif-camera_PR-279@tmp:/w/workspace/undry_device-onvif-camera_PR-279@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-lftools-log-publisher:latest cat [2023-03-21T12:52:18.251Z] $ docker top f040c715c642961f9816f6b8564fa3d11f87b5947dec1e4cb61507861c4f0648 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:52:18.621Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T12:52:18.930Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T12:52:19.244Z] + ls /var/log/sa-host [2023-03-21T12:52:19.244Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T12:52:19.367Z] provisioning config files... [2023-03-21T12:52:19.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-279@tmp/config16060083672202027454tmp [Pipeline] { [Pipeline] echo [2023-03-21T12:52:19.429Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:19.746Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T12:52:19.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:20.168Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T12:52:20.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:20.508Z] ---> sudo-logs.sh [2023-03-21T12:52:20.508Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T12:52:20.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:20.901Z] ---> job-cost.sh [2023-03-21T12:52:20.901Z] lf-activate-venv: SKIPPING [2023-03-21T12:52:20.901Z] DEBUG: total: 0.2199999988079071 [2023-03-21T12:52:20.901Z] INFO: Retrieving Stack Cost... [2023-03-21T12:52:21.160Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T12:52:21.726Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T12:52:21.765Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:52:22.073Z] ---> logs-deploy.sh [2023-03-21T12:52:22.073Z] lf-activate-venv: SKIPPING [2023-03-21T12:52:22.073Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-279/1 [2023-03-21T12:52:22.073Z] INFO: archiving workspace using pattern(s): [2023-03-21T12:52:23.009Z] Archives upload complete. [2023-03-21T12:52:23.009Z] INFO: archiving logs to Nexus