Pull request #64 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf2d7918a48e2e9daaeccb6451a2c4b556b1851e+19d22e422abd2bf1e17912171b3c0bb2febc4a3e (3feaab07dfe711c7965269a4026628346104c8b6) 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-ssh7568768714577477162.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh12543066371276351477.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1037842349826288574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7951177276905489492.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11745259111461835514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1640’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1642 in /w/workspace/oundry_device-onvif-camera_PR-64 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-64 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit bf2d7918a48e2e9daaeccb6451a2c4b556b1851e Merge succeeded, producing aa1453199d4e1de3f09dddab1309599882ab1965 Checking out Revision aa1453199d4e1de3f09dddab1309599882ab1965 (PR-64) > git config core.sparsecheckout # timeout=10 > git checkout -f bf2d7918a48e2e9daaeccb6451a2c4b556b1851e # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa1453199d4e1de3f09dddab1309599882ab1965 # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T10:51:18.875Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T10:51:18.932Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T10:51:18.947Z] ========================================================= [2022-06-07T10:51:18.947Z] EdgeX Global Pipelines Version Info [2022-06-07T10:51:18.947Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 340b024538eaa1963fd62e7953336e111676fa52 # timeout=10 [2022-06-07T10:51:19.719Z] ------------------- [2022-06-07T10:51:19.719Z] stable info: [2022-06-07T10:51:19.719Z] ------------------- [2022-06-07T10:51:19.719Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T10:51:19.719Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T10:51:19.719Z] Message: update stable to v1.0.232 [2022-06-07T10:51:20.291Z] ------------------- [2022-06-07T10:51:20.291Z] experimental info: [2022-06-07T10:51:20.291Z] ------------------- [2022-06-07T10:51:20.291Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T10:51:20.291Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T10:51:20.291Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T10:51:20.461Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T10:51:20.472Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T10:51:20.487Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T10:51:20.496Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T10:51:20.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T10:51:20.525Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T10:51:20.533Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T10:51:20.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T10:51:20.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T10:51:20.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T10:51:20.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T10:51:20.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T10:51:20.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T10:51:20.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T10:51:20.638Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T10:51:20.652Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T10:51:20.663Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T10:51:20.674Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T10:51:20.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T10:51:20.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T10:51:20.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T10:51:20.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T10:51:20.759Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T10:51:20.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T10:51:20.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T10:51:20.804Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T10:51:20.816Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T10:51:20.827Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2022-06-07T10:51:20.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2022-06-07T10:51:20.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2022-06-07T10:51:20.870Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa1453199d4e1de3f09dddab1309599882ab1965 [Pipeline] echo [2022-06-07T10:51:20.880Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa14531 [Pipeline] echo [2022-06-07T10:51:20.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:51:20.938Z] provisioning config files... [2022-06-07T10:51:20.953Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config1936335137550714252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:51:21.258Z] ---> docker-login.sh [2022-06-07T10:51:21.258Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:51:21.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:21.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:21.832Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:21.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:21.832Z] [2022-06-07T10:51:21.832Z] Login Succeeded [2022-06-07T10:51:21.832Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:51:21.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:21.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:21.832Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:21.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:21.832Z] [2022-06-07T10:51:21.832Z] Login Succeeded [2022-06-07T10:51:21.832Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:51:22.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:22.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:22.095Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:22.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:22.095Z] [2022-06-07T10:51:22.095Z] Login Succeeded [2022-06-07T10:51:22.095Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:51:22.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:22.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:22.356Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:22.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:22.356Z] [2022-06-07T10:51:22.356Z] Login Succeeded [2022-06-07T10:51:22.356Z] docker.io [2022-06-07T10:51:22.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:22.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:22.617Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:22.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:22.617Z] [2022-06-07T10:51:22.617Z] Login Succeeded [2022-06-07T10:51:22.617Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:51:22.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T10:51:23.012Z] + git rev-list -1 --merges aa1453199d4e1de3f09dddab1309599882ab1965~1..aa1453199d4e1de3f09dddab1309599882ab1965 [Pipeline] echo [2022-06-07T10:51:23.039Z] -----------> git rev-list -1 --merges aa1453199d4e1de3f09dddab1309599882ab1965~1..aa1453199d4e1de3f09dddab1309599882ab1965 aa1453199d4e1de3f09dddab1309599882ab1965 [2022-06-07T10:51:23.040Z] aa1453199d4e1de3f09dddab1309599882ab1965 [false] [Pipeline] sh [2022-06-07T10:51:23.328Z] + git log --format=format:%s -1 aa1453199d4e1de3f09dddab1309599882ab1965 [Pipeline] echo [2022-06-07T10:51:23.342Z] ========================================================= [2022-06-07T10:51:23.342Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T10:51:23.342Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:51:23.735Z] + git log --format=format:%s -1 aa1453199d4e1de3f09dddab1309599882ab1965 [Pipeline] echo [2022-06-07T10:51:23.746Z] [semverPrep] GIT_COMMIT: aa1453199d4e1de3f09dddab1309599882ab1965, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T10:51:23.761Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T10:51:24.146Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T10:51:24.147Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T10:51:24.147Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T10:51:24.147Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T10:51:24.147Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T10:51:24.147Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T10:51:24.147Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:51:24.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:51:24.562Z] [2022-06-07T10:51:24.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:51:24.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:51:24.874Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T10:51:24.874Z] 42c077c10790: Pulling fs layer [2022-06-07T10:51:24.874Z] f63e77b7563a: Pulling fs layer [2022-06-07T10:51:24.874Z] bd5fdadae976: Pulling fs layer [2022-06-07T10:51:24.874Z] 205491f53016: Pulling fs layer [2022-06-07T10:51:24.874Z] df18705c85c3: Pulling fs layer [2022-06-07T10:51:24.874Z] bdb3f477010e: Pulling fs layer [2022-06-07T10:51:24.874Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T10:51:24.874Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T10:51:24.874Z] bdb8f0575790: Pulling fs layer [2022-06-07T10:51:24.874Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T10:51:24.874Z] 2343380bae48: Pulling fs layer [2022-06-07T10:51:24.874Z] c8a8fc8e1c8f: Waiting [2022-06-07T10:51:24.874Z] bdb8f0575790: Waiting [2022-06-07T10:51:24.874Z] 386e3cb2ff24: Waiting [2022-06-07T10:51:24.874Z] 2c6e9b1d212d: Waiting [2022-06-07T10:51:24.874Z] 2343380bae48: Waiting [2022-06-07T10:51:24.874Z] 205491f53016: Waiting [2022-06-07T10:51:24.874Z] bdb3f477010e: Waiting [2022-06-07T10:51:24.874Z] df18705c85c3: Waiting [2022-06-07T10:51:24.874Z] f63e77b7563a: Verifying Checksum [2022-06-07T10:51:24.874Z] f63e77b7563a: Download complete [2022-06-07T10:51:24.874Z] 205491f53016: Verifying Checksum [2022-06-07T10:51:24.874Z] 205491f53016: Download complete [2022-06-07T10:51:25.134Z] df18705c85c3: Verifying Checksum [2022-06-07T10:51:25.134Z] df18705c85c3: Download complete [2022-06-07T10:51:25.134Z] bd5fdadae976: Verifying Checksum [2022-06-07T10:51:25.134Z] bd5fdadae976: Download complete [2022-06-07T10:51:25.134Z] bdb3f477010e: Verifying Checksum [2022-06-07T10:51:25.134Z] bdb3f477010e: Download complete [2022-06-07T10:51:25.134Z] 2c6e9b1d212d: Download complete [2022-06-07T10:51:25.134Z] bdb8f0575790: Download complete [2022-06-07T10:51:25.134Z] 386e3cb2ff24: Download complete [2022-06-07T10:51:25.134Z] 2343380bae48: Download complete [2022-06-07T10:51:25.134Z] 42c077c10790: Verifying Checksum [2022-06-07T10:51:25.134Z] 42c077c10790: Download complete [2022-06-07T10:51:25.393Z] c8a8fc8e1c8f: Download complete [2022-06-07T10:51:26.332Z] 42c077c10790: Pull complete [2022-06-07T10:51:26.332Z] f63e77b7563a: Pull complete [2022-06-07T10:51:26.902Z] bd5fdadae976: Pull complete [2022-06-07T10:51:26.902Z] 205491f53016: Pull complete [2022-06-07T10:51:27.169Z] df18705c85c3: Pull complete [2022-06-07T10:51:27.430Z] bdb3f477010e: Pull complete [2022-06-07T10:51:29.341Z] c8a8fc8e1c8f: Pull complete [2022-06-07T10:51:29.341Z] 2c6e9b1d212d: Pull complete [2022-06-07T10:51:29.341Z] bdb8f0575790: Pull complete [2022-06-07T10:51:29.341Z] 386e3cb2ff24: Pull complete [2022-06-07T10:51:29.341Z] 2343380bae48: Pull complete [2022-06-07T10:51:29.341Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T10:51:29.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:51:29.341Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:51:29.445Z] prd-ubuntu20.04-docker-8c-8g-1642 does not seem to be running inside a container [2022-06-07T10:51:29.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T10:51:31.055Z] $ docker top 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b -eo pid,comm [2022-06-07T10:51:31.119Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-07T10:51:31.119Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T10:51:31.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T10:51:31.164Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T10:51:31.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T10:51:31.293Z] $ docker exec 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b ssh-agent [2022-06-07T10:51:31.408Z] SSH_AUTH_SOCK=/tmp/ssh-XIHcwtNLA1EZ/agent.33 [2022-06-07T10:51:31.408Z] SSH_AGENT_PID=40 [2022-06-07T10:51:31.414Z] Running ssh-add (command line suppressed) [2022-06-07T10:51:31.538Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_3201041006243001335.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_3201041006243001335.key) [2022-06-07T10:51:31.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T10:51:31.838Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T10:51:31.861Z] $ docker exec --env ******** --env ******** 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b ssh-agent -k [2022-06-07T10:51:31.966Z] unset SSH_AUTH_SOCK; [2022-06-07T10:51:31.967Z] unset SSH_AGENT_PID; [2022-06-07T10:51:31.967Z] echo Agent pid 40 killed; [2022-06-07T10:51:31.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T10:51:31.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T10:51:31.993Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T10:51:32.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T10:51:32.127Z] $ docker exec 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b ssh-agent [2022-06-07T10:51:32.238Z] SSH_AUTH_SOCK=/tmp/ssh-PvUKeMiIZM73/agent.75 [2022-06-07T10:51:32.238Z] SSH_AGENT_PID=81 [2022-06-07T10:51:32.244Z] Running ssh-add (command line suppressed) [2022-06-07T10:51:32.346Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_3842627503447096304.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_3842627503447096304.key) [2022-06-07T10:51:32.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T10:51:32.638Z] + git semver init [2022-06-07T10:51:32.898Z] 2022-06-07 10:51:32,834 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T10:51:32.898Z] 2022-06-07 10:51:32,835 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-07T10:51:32.898Z] 2022-06-07 10:51:32,835 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-07T10:51:32.898Z] 2022-06-07 10:51:32,835 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-64/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64, universal_newlines=False, shell=None, istream=None) [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,503 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-64/.git/info/exclude [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,504 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 with force:False [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,504 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,508 [execute] INFO git cat-file --batch-check [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,513 [execute] INFO git cat-file --batch [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T10:51:33.839Z] 2022-06-07 10:51:33,518 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-07T10:51:33.839Z] 0.0.0 [Pipeline] } [2022-06-07T10:51:33.856Z] $ docker exec --env ******** --env ******** 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b ssh-agent -k [2022-06-07T10:51:33.960Z] unset SSH_AUTH_SOCK; [2022-06-07T10:51:33.961Z] unset SSH_AGENT_PID; [2022-06-07T10:51:33.961Z] echo Agent pid 81 killed; [2022-06-07T10:51:33.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T10:51:34.266Z] + git semver [Pipeline] } [2022-06-07T10:51:34.547Z] $ docker stop --time=1 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b [2022-06-07T10:51:35.870Z] $ docker rm -f 75df7479a1da88f87a9908cc9489444a229a5f4a0705de5c44067f73309b734b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:51:36.211Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T10:51:36.497Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T10:51:36.500Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:51:36.654Z] provisioning config files... [2022-06-07T10:51:36.664Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config3746140214743721143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:51:36.961Z] ---> docker-login.sh [2022-06-07T10:51:36.961Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:51:36.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:36.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:36.961Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:36.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:36.961Z] [2022-06-07T10:51:36.961Z] Login Succeeded [2022-06-07T10:51:36.961Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:51:36.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:37.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:37.224Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:37.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:37.224Z] [2022-06-07T10:51:37.224Z] Login Succeeded [2022-06-07T10:51:37.224Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:51:37.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:37.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:37.224Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:37.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:37.224Z] [2022-06-07T10:51:37.224Z] Login Succeeded [2022-06-07T10:51:37.224Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:51:37.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:37.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:37.485Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:37.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:37.485Z] [2022-06-07T10:51:37.485Z] Login Succeeded [2022-06-07T10:51:37.485Z] docker.io [2022-06-07T10:51:37.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:51:37.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:51:37.745Z] Configure a credential helper to remove this warning. See [2022-06-07T10:51:37.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:51:37.745Z] [2022-06-07T10:51:37.745Z] Login Succeeded [2022-06-07T10:51:37.745Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:51:37.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T10:51:37.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T10:51:37.830Z] ========================================================= [2022-06-07T10:51:37.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T10:51:37.830Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:51:38.160Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T10:51:38.160Z] Sending build context to Docker daemon 9.002MB [2022-06-07T10:51:38.160Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:51:38.160Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T10:51:38.160Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T10:51:38.160Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T10:51:38.160Z] 666ba61612fd: Pulling fs layer [2022-06-07T10:51:38.160Z] 8ed8ca486205: Pulling fs layer [2022-06-07T10:51:38.160Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T10:51:38.160Z] c516ae0d96e1: Pulling fs layer [2022-06-07T10:51:38.160Z] 684cea983483: Pulling fs layer [2022-06-07T10:51:38.160Z] dd3240ac7de5: Pulling fs layer [2022-06-07T10:51:38.160Z] b1e948a4e11c: Pulling fs layer [2022-06-07T10:51:38.160Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T10:51:38.160Z] 646ad004c059: Pulling fs layer [2022-06-07T10:51:38.160Z] b1e948a4e11c: Waiting [2022-06-07T10:51:38.160Z] c516ae0d96e1: Waiting [2022-06-07T10:51:38.160Z] a8fd76ee1af6: Waiting [2022-06-07T10:51:38.160Z] 684cea983483: Waiting [2022-06-07T10:51:38.160Z] 646ad004c059: Waiting [2022-06-07T10:51:38.160Z] dd3240ac7de5: Waiting [2022-06-07T10:51:38.160Z] cc1cd167ecdc: Waiting [2022-06-07T10:51:38.160Z] 8ed8ca486205: Download complete [2022-06-07T10:51:38.160Z] 666ba61612fd: Verifying Checksum [2022-06-07T10:51:38.160Z] 666ba61612fd: Download complete [2022-06-07T10:51:38.422Z] c516ae0d96e1: Verifying Checksum [2022-06-07T10:51:38.422Z] 684cea983483: Download complete [2022-06-07T10:51:38.422Z] dd3240ac7de5: Verifying Checksum [2022-06-07T10:51:38.422Z] dd3240ac7de5: Download complete [2022-06-07T10:51:38.422Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T10:51:38.422Z] 59bf1c3509f3: Download complete [2022-06-07T10:51:38.422Z] b1e948a4e11c: Verifying Checksum [2022-06-07T10:51:38.422Z] b1e948a4e11c: Download complete [2022-06-07T10:51:38.422Z] 59bf1c3509f3: Pull complete [2022-06-07T10:51:38.685Z] 666ba61612fd: Pull complete [2022-06-07T10:51:38.685Z] 8ed8ca486205: Pull complete [2022-06-07T10:51:38.946Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T10:51:38.946Z] a8fd76ee1af6: Download complete [2022-06-07T10:51:38.946Z] 646ad004c059: Verifying Checksum [2022-06-07T10:51:38.946Z] 646ad004c059: Download complete [2022-06-07T10:51:38.946Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T10:51:38.946Z] cc1cd167ecdc: Download complete [2022-06-07T10:51:43.143Z] cc1cd167ecdc: Pull complete [2022-06-07T10:51:43.143Z] c516ae0d96e1: Pull complete [2022-06-07T10:51:43.143Z] 684cea983483: Pull complete [2022-06-07T10:51:43.143Z] dd3240ac7de5: Pull complete [2022-06-07T10:51:43.143Z] b1e948a4e11c: Pull complete [2022-06-07T10:51:45.050Z] a8fd76ee1af6: Pull complete [2022-06-07T10:51:45.310Z] 646ad004c059: Pull complete [2022-06-07T10:51:45.310Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T10:51:45.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T10:51:45.310Z] ---> 8f69c11f6b0c [2022-06-07T10:51:45.310Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T10:51:47.223Z] ---> Running in ce9663bab67d [2022-06-07T10:51:47.483Z] Removing intermediate container ce9663bab67d [2022-06-07T10:51:47.483Z] ---> 91d92ab72e11 [2022-06-07T10:51:47.483Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:51:47.483Z] ---> Running in 6db7e774bbd8 [2022-06-07T10:51:47.483Z] Removing intermediate container 6db7e774bbd8 [2022-06-07T10:51:47.483Z] ---> 9735d9f23bcd [2022-06-07T10:51:47.483Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:51:47.483Z] ---> Running in 9683254c36e3 [2022-06-07T10:51:47.743Z] Removing intermediate container 9683254c36e3 [2022-06-07T10:51:47.743Z] ---> c907d29b2e21 [2022-06-07T10:51:47.743Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:51:47.743Z] ---> Running in 03f5e46be279 [2022-06-07T10:51:47.743Z] Removing intermediate container 03f5e46be279 [2022-06-07T10:51:47.743Z] ---> 7db6882d3e02 [2022-06-07T10:51:47.743Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:51:47.743Z] ---> Running in 2b63bb339403 [2022-06-07T10:51:48.313Z] Removing intermediate container 2b63bb339403 [2022-06-07T10:51:48.313Z] ---> f59649a27ec7 [2022-06-07T10:51:48.313Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:51:48.313Z] ---> Running in d86ecc24af7a [2022-06-07T10:51:48.883Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:51:49.452Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:51:50.025Z] OK: 221 MiB in 52 packages [2022-06-07T10:51:50.286Z] Removing intermediate container d86ecc24af7a [2022-06-07T10:51:50.286Z] ---> f0e661ddc9f9 [2022-06-07T10:51:50.286Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T10:51:50.286Z] ---> Running in 5d426ade446c [2022-06-07T10:51:50.286Z] Removing intermediate container 5d426ade446c [2022-06-07T10:51:50.286Z] ---> 7b024ad411ec [2022-06-07T10:51:50.286Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T10:51:50.544Z] ---> eb16b1e60691 [2022-06-07T10:51:50.544Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:51:50.544Z] ---> Running in 7b0680d6bdda [2022-06-07T10:51:51.609Z] Still waiting to schedule task [2022-06-07T10:51:51.610Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1641’ is offline [2022-06-07T10:52:05.453Z] Removing intermediate container 7b0680d6bdda [2022-06-07T10:52:05.454Z] ---> 46fb325cf6ff [2022-06-07T10:52:05.454Z] Step 12/13 : COPY . . [2022-06-07T10:52:05.454Z] ---> 64b3e8460891 [2022-06-07T10:52:05.454Z] Step 13/13 : RUN ${MAKE} [2022-06-07T10:52:05.454Z] ---> Running in 59b919105575 [2022-06-07T10:52:05.454Z] noop [2022-06-07T10:52:05.714Z] Removing intermediate container 59b919105575 [2022-06-07T10:52:05.714Z] ---> 720fd342ed22 [2022-06-07T10:52:05.714Z] Successfully built 720fd342ed22 [2022-06-07T10:52:05.714Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:52:06.032Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T10:52:06.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:52:06.111Z] prd-ubuntu20.04-docker-8c-8g-1642 does not seem to be running inside a container [2022-06-07T10:52:06.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T10:52:06.544Z] $ docker top 175cd06bb98ee74b9318b5b0e13b55efbe9e88baba22c6716d046119d3362408 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:52:06.904Z] + go version [2022-06-07T10:52:06.904Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T10:52:06.919Z] $ docker stop --time=1 175cd06bb98ee74b9318b5b0e13b55efbe9e88baba22c6716d046119d3362408 [2022-06-07T10:52:08.237Z] $ docker rm -f 175cd06bb98ee74b9318b5b0e13b55efbe9e88baba22c6716d046119d3362408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:52:08.739Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T10:52:08.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:52:08.826Z] prd-ubuntu20.04-docker-8c-8g-1642 does not seem to be running inside a container [2022-06-07T10:52:08.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T10:52:09.253Z] $ docker top 32ebc9a5d759e1f275452ee65cad3dce2332791a971285691b2f42f6b54801d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T10:52:09.612Z] + make test [2022-06-07T10:52:09.612Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T10:52:09.872Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T10:52:19.859Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T10:52:19.859Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.3% of statements [2022-06-07T10:52:23.153Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.821s coverage: 13.8% of statements [2022-06-07T10:52:29.732Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T10:52:33.928Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T10:52:33.928Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T10:52:33.928Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T10:52:34.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T10:52:34.525Z] $ docker stop --time=1 32ebc9a5d759e1f275452ee65cad3dce2332791a971285691b2f42f6b54801d6 [2022-06-07T10:52:36.287Z] $ docker rm -f 32ebc9a5d759e1f275452ee65cad3dce2332791a971285691b2f42f6b54801d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:52:36.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T10:52:36.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T10:52:37.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T10:52:37.589Z] + ls -al . [2022-06-07T10:52:37.589Z] total 232 [2022-06-07T10:52:37.589Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 10:52 . [2022-06-07T10:52:37.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:51 .. [2022-06-07T10:52:37.589Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:51 .git [2022-06-07T10:52:37.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:51 .github [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 10:51 .gitignore [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 10:51 .golangci.yml [2022-06-07T10:52:37.589Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:51 .semver [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 10:51 Attribution.txt [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 10:51 CHANGELOG.md [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 10:51 Dockerfile [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 10:51 GOVERNANCE.md [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 10:51 Jenkinsfile [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 10:51 LICENSE [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 10:51 Makefile [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 10:51 OWNERS.md [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 30708 Jun 7 10:51 README.md [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 10:51 VERSION [2022-06-07T10:52:37.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:51 bin [2022-06-07T10:52:37.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:51 cmd [2022-06-07T10:52:37.589Z] -rw-r--r-- 1 jenkins jenkins 53381 Jun 7 10:52 coverage.out [2022-06-07T10:52:37.589Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 10:51 doc [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 10:51 go.mod [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 10:51 go.sum [2022-06-07T10:52:37.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:51 internal [2022-06-07T10:52:37.589Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 10:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:52:37.906Z] + 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=aa1453199d4e1de3f09dddab1309599882ab1965 --label arch=amd64 --label version=0.0.0 . [2022-06-07T10:52:37.906Z] Sending build context to Docker daemon 9.056MB [2022-06-07T10:52:37.906Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:52:37.906Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T10:52:37.906Z] ---> 720fd342ed22 [2022-06-07T10:52:37.906Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T10:52:38.165Z] ---> Running in 09f439731b37 [2022-06-07T10:52:38.165Z] Removing intermediate container 09f439731b37 [2022-06-07T10:52:38.165Z] ---> e295e443c6c1 [2022-06-07T10:52:38.165Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:52:38.165Z] ---> Running in 4951f1268fbf [2022-06-07T10:52:38.165Z] Removing intermediate container 4951f1268fbf [2022-06-07T10:52:38.165Z] ---> 98ae281e8d5e [2022-06-07T10:52:38.165Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:52:38.165Z] ---> Running in 39d81c10e6dc [2022-06-07T10:52:38.425Z] Removing intermediate container 39d81c10e6dc [2022-06-07T10:52:38.425Z] ---> 13435c1d43f2 [2022-06-07T10:52:38.425Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:52:38.425Z] ---> Running in 8a15455724d4 [2022-06-07T10:52:38.425Z] Removing intermediate container 8a15455724d4 [2022-06-07T10:52:38.425Z] ---> 5277848feff9 [2022-06-07T10:52:38.425Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:52:38.425Z] ---> Running in 68a5ac04e7d7 [2022-06-07T10:52:38.996Z] Removing intermediate container 68a5ac04e7d7 [2022-06-07T10:52:38.996Z] ---> 6548ea536981 [2022-06-07T10:52:38.996Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:52:38.996Z] ---> Running in 715d0b43b947 [2022-06-07T10:52:39.256Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:52:40.199Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:52:40.460Z] OK: 221 MiB in 52 packages [2022-06-07T10:52:40.720Z] Removing intermediate container 715d0b43b947 [2022-06-07T10:52:40.720Z] ---> d9e11423a5e4 [2022-06-07T10:52:40.720Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T10:52:40.720Z] ---> Running in 8d3c18540842 [2022-06-07T10:52:40.980Z] Removing intermediate container 8d3c18540842 [2022-06-07T10:52:40.980Z] ---> 5c116cfa4077 [2022-06-07T10:52:40.980Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T10:52:40.980Z] ---> c1ac92fbb60f [2022-06-07T10:52:40.980Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:52:40.980Z] ---> Running in c62d6a2f6a81 [2022-06-07T10:52:41.550Z] Removing intermediate container c62d6a2f6a81 [2022-06-07T10:52:41.550Z] ---> c8762b426613 [2022-06-07T10:52:41.550Z] Step 12/26 : COPY . . [2022-06-07T10:52:42.121Z] ---> 9bd5986169c2 [2022-06-07T10:52:42.121Z] Step 13/26 : RUN ${MAKE} [2022-06-07T10:52:42.121Z] ---> Running in ddcb40c89d50 [2022-06-07T10:52:42.379Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-07T10:53:04.324Z] Removing intermediate container ddcb40c89d50 [2022-06-07T10:53:04.324Z] ---> f047f84f4fe3 [2022-06-07T10:53:04.324Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T10:53:04.324Z] 3.15: Pulling from library/alpine [2022-06-07T10:53:04.324Z] df9b9388f04a: Pulling fs layer [2022-06-07T10:53:04.324Z] df9b9388f04a: Verifying Checksum [2022-06-07T10:53:04.324Z] df9b9388f04a: Download complete [2022-06-07T10:53:04.324Z] df9b9388f04a: Pull complete [2022-06-07T10:53:04.324Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T10:53:04.324Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T10:53:04.324Z] ---> 0ac33e5f5afa [2022-06-07T10:53:04.324Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T10:53:04.324Z] ---> Running in 879b70b203ff [2022-06-07T10:53:04.324Z] Removing intermediate container 879b70b203ff [2022-06-07T10:53:04.324Z] ---> 9aaaf268650c [2022-06-07T10:53:04.324Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T10:53:04.324Z] ---> Running in 1f0b19c5b7c8 [2022-06-07T10:53:04.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:53:04.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:53:04.325Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T10:53:04.325Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T10:53:04.325Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T10:53:04.325Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T10:53:04.325Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T10:53:04.325Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T10:53:04.325Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T10:53:04.325Z] OK: 8 MiB in 20 packages [2022-06-07T10:53:04.325Z] Removing intermediate container 1f0b19c5b7c8 [2022-06-07T10:53:04.325Z] ---> e0544055ffde [2022-06-07T10:53:04.325Z] Step 17/26 : WORKDIR / [2022-06-07T10:53:04.325Z] ---> Running in d415bab31b77 [2022-06-07T10:53:04.325Z] Removing intermediate container d415bab31b77 [2022-06-07T10:53:04.325Z] ---> 091519dc894c [2022-06-07T10:53:04.325Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T10:53:04.325Z] ---> 9066e2f29b8c [2022-06-07T10:53:04.325Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T10:53:04.325Z] ---> 648e1c359a4f [2022-06-07T10:53:04.325Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T10:53:04.325Z] ---> 1f005f777c0e [2022-06-07T10:53:04.325Z] Step 21/26 : EXPOSE 59984 [2022-06-07T10:53:04.325Z] ---> Running in fea4969c872a [2022-06-07T10:53:04.325Z] Removing intermediate container fea4969c872a [2022-06-07T10:53:04.325Z] ---> 1adb37e04df3 [2022-06-07T10:53:04.325Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T10:53:04.325Z] ---> Running in bc568c036a3b [2022-06-07T10:53:04.325Z] Removing intermediate container bc568c036a3b [2022-06-07T10:53:04.325Z] ---> 3e8a3c280700 [2022-06-07T10:53:04.325Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T10:53:04.325Z] ---> Running in b9af374f6bee [2022-06-07T10:53:04.586Z] Removing intermediate container b9af374f6bee [2022-06-07T10:53:04.586Z] ---> d93a6a1db7f2 [2022-06-07T10:53:04.586Z] Step 24/26 : LABEL arch=amd64 [2022-06-07T10:53:04.586Z] ---> Running in 01d0a44d148d [2022-06-07T10:53:04.586Z] Removing intermediate container 01d0a44d148d [2022-06-07T10:53:04.586Z] ---> 309373f69e8b [2022-06-07T10:53:04.586Z] Step 25/26 : LABEL git_sha=aa1453199d4e1de3f09dddab1309599882ab1965 [2022-06-07T10:53:04.586Z] ---> Running in 3e53873e93df [2022-06-07T10:53:04.847Z] Removing intermediate container 3e53873e93df [2022-06-07T10:53:04.847Z] ---> 83f64533df1f [2022-06-07T10:53:04.847Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T10:53:04.847Z] ---> Running in 78aa0c27ae7a [2022-06-07T10:53:04.847Z] Removing intermediate container 78aa0c27ae7a [2022-06-07T10:53:04.847Z] ---> c09e026d6fe1 [2022-06-07T10:53:04.847Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T10:53:04.847Z] Successfully built c09e026d6fe1 [2022-06-07T10:53:04.847Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:53:05.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:53:05.301Z] [2022-06-07T10:53:05.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:53:05.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:53:05.613Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T10:53:05.613Z] 5eb5b503b376: Pulling fs layer [2022-06-07T10:53:05.613Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T10:53:05.613Z] ec43610c2a17: Pulling fs layer [2022-06-07T10:53:05.613Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T10:53:05.613Z] 33b1e0a273af: Pulling fs layer [2022-06-07T10:53:05.613Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T10:53:05.613Z] 2f39f015ded8: Pulling fs layer [2022-06-07T10:53:05.613Z] 33b1e0a273af: Waiting [2022-06-07T10:53:05.613Z] 5d3b04190fa2: Waiting [2022-06-07T10:53:05.613Z] 2f39f015ded8: Waiting [2022-06-07T10:53:05.613Z] 3a2ae6a8a46f: Waiting [2022-06-07T10:53:05.613Z] 5c69ac0246d0: Verifying Checksum [2022-06-07T10:53:05.613Z] 5c69ac0246d0: Download complete [2022-06-07T10:53:05.613Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T10:53:05.613Z] 3a2ae6a8a46f: Download complete [2022-06-07T10:53:05.613Z] 33b1e0a273af: Verifying Checksum [2022-06-07T10:53:05.613Z] 33b1e0a273af: Download complete [2022-06-07T10:53:05.613Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T10:53:05.613Z] 5d3b04190fa2: Download complete [2022-06-07T10:53:05.613Z] ec43610c2a17: Verifying Checksum [2022-06-07T10:53:05.613Z] ec43610c2a17: Download complete [2022-06-07T10:53:05.879Z] 5eb5b503b376: Verifying Checksum [2022-06-07T10:53:05.879Z] 5eb5b503b376: Download complete [2022-06-07T10:53:06.451Z] 2f39f015ded8: Download complete [2022-06-07T10:53:07.022Z] 5eb5b503b376: Pull complete [2022-06-07T10:53:07.022Z] 5c69ac0246d0: Pull complete [2022-06-07T10:53:07.593Z] ec43610c2a17: Pull complete [2022-06-07T10:53:07.593Z] 3a2ae6a8a46f: Pull complete [2022-06-07T10:53:07.852Z] 33b1e0a273af: Pull complete [2022-06-07T10:53:07.852Z] 5d3b04190fa2: Pull complete [2022-06-07T10:53:12.047Z] 2f39f015ded8: Pull complete [2022-06-07T10:53:12.047Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T10:53:12.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:53:12.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:53:12.142Z] prd-ubuntu20.04-docker-8c-8g-1642 does not seem to be running inside a container [2022-06-07T10:53:12.175Z] $ 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/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T10:53:13.902Z] $ docker top f7348be1e05f1c7480515627b227ff2a12e1c6d8906457daa7f285de56c83656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:53:14.291Z] ---> job-cost.sh [2022-06-07T10:53:14.291Z] lf-activate-venv: SKIPPING [2022-06-07T10:53:14.291Z] INFO: No Stack... [2022-06-07T10:53:14.551Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T10:53:15.121Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T10:53:15.413Z] + cat /w/workspace/oundry_device-onvif-camera_PR-64/archives/cost.csv [2022-06-07T10:53:15.413Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T10:53:15.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] [2022-06-07T10:53:15.433Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] did not exist. Created. [2022-06-07T10:53:15.433Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T10:53:15.738Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T10:53:15.761Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T10:53:15.770Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T10:53:15.794Z] $ docker stop --time=1 f7348be1e05f1c7480515627b227ff2a12e1c6d8906457daa7f285de56c83656 [2022-06-07T10:53:16.965Z] $ docker rm -f f7348be1e05f1c7480515627b227ff2a12e1c6d8906457daa7f285de56c83656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T10:53:32.669Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1643 in /w/workspace/oundry_device-onvif-camera_PR-64 [Pipeline] { [Pipeline] ws [2022-06-07T10:53:32.681Z] Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout [2022-06-07T10:53:32.730Z] Selected Git installation does not exist. Using Default [2022-06-07T10:53:32.730Z] The recommended git tool is: NONE [2022-06-07T10:53:38.890Z] using credential edgex-jenkins-ssh [2022-06-07T10:53:38.908Z] Cloning the remote Git repository [2022-06-07T10:53:38.981Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T10:53:39.060Z] > git init /w/workspace/device-onvif-camera/13 # timeout=10 [2022-06-07T10:53:39.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T10:53:39.159Z] > git --version # timeout=10 [2022-06-07T10:53:39.177Z] > git --version # 'git version 2.25.1' [2022-06-07T10:53:39.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:53:39.272Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T10:53:40.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T10:53:40.144Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T10:53:40.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T10:53:40.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T10:53:40.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:53:40.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T10:53:40.669Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit bf2d7918a48e2e9daaeccb6451a2c4b556b1851e [2022-06-07T10:53:41.058Z] Merge succeeded, producing 818baeb24568186d46fce827af37ff05c7fff715 [2022-06-07T10:53:41.059Z] Checking out Revision 818baeb24568186d46fce827af37ff05c7fff715 (PR-64) [2022-06-07T10:53:40.694Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T10:53:40.713Z] > git checkout -f bf2d7918a48e2e9daaeccb6451a2c4b556b1851e # timeout=10 [2022-06-07T10:53:40.848Z] > git remote # timeout=10 [2022-06-07T10:53:40.864Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T10:53:40.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:53:40.890Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T10:53:41.042Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T10:53:41.071Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T10:53:41.087Z] > git checkout -f 818baeb24568186d46fce827af37ff05c7fff715 # timeout=10 [2022-06-07T10:53:45.231Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T10:53:45.255Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:53:46.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T10:53:46.124Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T10:53:46.124Z] Dload Upload Total Spent Left Speed [2022-06-07T10:53:46.124Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10502 0 0 71442 0 --:--:-- --:--:-- --:--:-- 70959 100 12253 100 12253 0 0 82234 0 --:--:-- --:--:-- --:--:-- 82234 [2022-06-07T10:53:45.244Z] > git rev-list --no-walk 340b024538eaa1963fd62e7953336e111676fa52 # timeout=10 [Pipeline] sh [2022-06-07T10:53:46.759Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T10:53:47.147Z] + sudo tee /etc/docker/daemon.new [2022-06-07T10:53:47.147Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T10:53:47.147Z] { [2022-06-07T10:53:47.147Z] "registry-mirrors": [ [2022-06-07T10:53:47.147Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T10:53:47.147Z] ], [2022-06-07T10:53:47.147Z] "bip": "10.250.0.254/24", [2022-06-07T10:53:47.147Z] "hosts": [ [2022-06-07T10:53:47.147Z] "tcp://0.0.0.0:5555", [2022-06-07T10:53:47.147Z] "unix:///var/run/docker.sock" [2022-06-07T10:53:47.147Z] ], [2022-06-07T10:53:47.147Z] "mtu": 1458, [2022-06-07T10:53:47.147Z] "selinux-enabled": true, [2022-06-07T10:53:47.147Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T10:53:47.147Z] } [Pipeline] sh [2022-06-07T10:53:47.511Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T10:53:47.848Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:54:06.193Z] provisioning config files... [2022-06-07T10:54:06.216Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config1535178744721755245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:54:06.575Z] ---> docker-login.sh [2022-06-07T10:54:06.576Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:54:07.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:54:07.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:54:07.446Z] Configure a credential helper to remove this warning. See [2022-06-07T10:54:07.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:54:07.446Z] [2022-06-07T10:54:07.446Z] Login Succeeded [2022-06-07T10:54:07.446Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:54:07.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:54:07.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:54:07.995Z] Configure a credential helper to remove this warning. See [2022-06-07T10:54:07.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:54:07.995Z] [2022-06-07T10:54:07.995Z] Login Succeeded [2022-06-07T10:54:07.995Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:54:08.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:54:08.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:54:08.269Z] Configure a credential helper to remove this warning. See [2022-06-07T10:54:08.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:54:08.269Z] [2022-06-07T10:54:08.269Z] Login Succeeded [2022-06-07T10:54:08.269Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:54:08.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:54:08.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:54:08.870Z] Configure a credential helper to remove this warning. See [2022-06-07T10:54:08.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:54:08.870Z] [2022-06-07T10:54:08.870Z] Login Succeeded [2022-06-07T10:54:08.870Z] docker.io [2022-06-07T10:54:09.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:54:09.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:54:09.736Z] Configure a credential helper to remove this warning. See [2022-06-07T10:54:09.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:54:09.736Z] [2022-06-07T10:54:09.736Z] Login Succeeded [2022-06-07T10:54:09.736Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:54:09.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T10:54:10.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T10:54:10.278Z] ========================================================= [2022-06-07T10:54:10.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T10:54:10.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:54:10.640Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T10:54:10.912Z] Sending build context to Docker daemon 6.223MB [2022-06-07T10:54:11.190Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:54:11.190Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T10:54:11.190Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T10:54:11.190Z] 9b3977197b4f: Pulling fs layer [2022-06-07T10:54:11.190Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T10:54:11.190Z] 94645a83ff95: Pulling fs layer [2022-06-07T10:54:11.190Z] e6fb740bc735: Pulling fs layer [2022-06-07T10:54:11.190Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T10:54:11.190Z] 355e64cbe906: Pulling fs layer [2022-06-07T10:54:11.190Z] 63ab81a10011: Pulling fs layer [2022-06-07T10:54:11.190Z] e6fb740bc735: Waiting [2022-06-07T10:54:11.190Z] 3a77bd46dcc9: Waiting [2022-06-07T10:54:11.190Z] 355e64cbe906: Waiting [2022-06-07T10:54:11.190Z] 555d1d1c4555: Pulling fs layer [2022-06-07T10:54:11.190Z] 63ab81a10011: Waiting [2022-06-07T10:54:11.190Z] 7d9057610161: Pulling fs layer [2022-06-07T10:54:11.190Z] 555d1d1c4555: Waiting [2022-06-07T10:54:11.190Z] 7d9057610161: Waiting [2022-06-07T10:54:11.190Z] 94645a83ff95: Verifying Checksum [2022-06-07T10:54:11.190Z] 94645a83ff95: Download complete [2022-06-07T10:54:11.190Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T10:54:11.190Z] 1a89e8eeedd5: Download complete [2022-06-07T10:54:11.472Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T10:54:11.472Z] 3a77bd46dcc9: Download complete [2022-06-07T10:54:11.472Z] 355e64cbe906: Verifying Checksum [2022-06-07T10:54:11.472Z] 355e64cbe906: Download complete [2022-06-07T10:54:11.472Z] 9b3977197b4f: Verifying Checksum [2022-06-07T10:54:11.472Z] 9b3977197b4f: Download complete [2022-06-07T10:54:11.472Z] 63ab81a10011: Verifying Checksum [2022-06-07T10:54:11.472Z] 63ab81a10011: Download complete [2022-06-07T10:54:12.471Z] 9b3977197b4f: Pull complete [2022-06-07T10:54:12.471Z] 7d9057610161: Verifying Checksum [2022-06-07T10:54:12.471Z] 7d9057610161: Download complete [2022-06-07T10:54:13.075Z] 1a89e8eeedd5: Pull complete [2022-06-07T10:54:13.375Z] 94645a83ff95: Pull complete [2022-06-07T10:54:13.375Z] 555d1d1c4555: Verifying Checksum [2022-06-07T10:54:13.375Z] 555d1d1c4555: Download complete [2022-06-07T10:54:14.355Z] e6fb740bc735: Verifying Checksum [2022-06-07T10:54:14.355Z] e6fb740bc735: Download complete [2022-06-07T10:54:26.747Z] e6fb740bc735: Pull complete [2022-06-07T10:54:26.747Z] 3a77bd46dcc9: Pull complete [2022-06-07T10:54:26.747Z] 355e64cbe906: Pull complete [2022-06-07T10:54:26.747Z] 63ab81a10011: Pull complete [2022-06-07T10:54:33.476Z] 555d1d1c4555: Pull complete [2022-06-07T10:54:34.922Z] 7d9057610161: Pull complete [2022-06-07T10:54:34.922Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T10:54:34.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T10:54:34.922Z] ---> 819e984ddca1 [2022-06-07T10:54:34.922Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T10:54:36.914Z] ---> Running in 361b8a35a04c [2022-06-07T10:54:36.914Z] Removing intermediate container 361b8a35a04c [2022-06-07T10:54:36.914Z] ---> a1cc9b4a05cb [2022-06-07T10:54:36.914Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:54:36.914Z] ---> Running in 0a328ee3a78f [2022-06-07T10:54:37.198Z] Removing intermediate container 0a328ee3a78f [2022-06-07T10:54:37.198Z] ---> ad981d90031d [2022-06-07T10:54:37.198Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:54:37.474Z] ---> Running in dcdee0058327 [2022-06-07T10:54:38.920Z] Removing intermediate container dcdee0058327 [2022-06-07T10:54:38.920Z] ---> c56b82297025 [2022-06-07T10:54:38.921Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:54:38.921Z] ---> Running in 59b337ae8a3f [2022-06-07T10:54:38.921Z] Removing intermediate container 59b337ae8a3f [2022-06-07T10:54:38.921Z] ---> 4df4a6fd2fb0 [2022-06-07T10:54:38.921Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:54:39.198Z] ---> Running in ea560efdb29f [2022-06-07T10:54:41.181Z] Removing intermediate container ea560efdb29f [2022-06-07T10:54:41.181Z] ---> 79eed10b84c9 [2022-06-07T10:54:41.181Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:54:41.181Z] ---> Running in d2f502f1ad57 [2022-06-07T10:54:41.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:54:42.764Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:54:43.749Z] OK: 220 MiB in 52 packages [2022-06-07T10:54:44.350Z] Removing intermediate container d2f502f1ad57 [2022-06-07T10:54:44.350Z] ---> c7258deea875 [2022-06-07T10:54:44.350Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T10:54:44.350Z] ---> Running in 04a472157e82 [2022-06-07T10:54:44.627Z] Removing intermediate container 04a472157e82 [2022-06-07T10:54:44.627Z] ---> 6dd1d3e020e5 [2022-06-07T10:54:44.627Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T10:54:45.234Z] ---> fb9ea1feb31e [2022-06-07T10:54:45.234Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:54:45.234Z] ---> Running in 38984760bf89 [2022-06-07T10:55:32.244Z] Removing intermediate container 38984760bf89 [2022-06-07T10:55:32.244Z] ---> 9e860d5b9f66 [2022-06-07T10:55:32.244Z] Step 12/13 : COPY . . [2022-06-07T10:55:32.244Z] ---> 517f1639e4c2 [2022-06-07T10:55:32.244Z] Step 13/13 : RUN ${MAKE} [2022-06-07T10:55:32.244Z] ---> Running in 126a76a89f94 [2022-06-07T10:55:32.244Z] noop [2022-06-07T10:55:32.839Z] Removing intermediate container 126a76a89f94 [2022-06-07T10:55:32.839Z] ---> a1d33fdf978d [2022-06-07T10:55:32.839Z] Successfully built a1d33fdf978d [2022-06-07T10:55:32.839Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:55:33.205Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T10:55:33.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:55:33.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-1643 does not seem to be running inside a container [2022-06-07T10:55:33.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T10:55:34.842Z] $ docker top 135d866d10501eef17cc870617a855123c78bc4c1a89d31612abec706d90f4d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:55:35.757Z] + go version [2022-06-07T10:55:35.757Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T10:55:35.788Z] $ docker stop --time=1 135d866d10501eef17cc870617a855123c78bc4c1a89d31612abec706d90f4d9 [2022-06-07T10:55:37.412Z] $ docker rm -f 135d866d10501eef17cc870617a855123c78bc4c1a89d31612abec706d90f4d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:55:38.016Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T10:55:38.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:55:38.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-1643 does not seem to be running inside a container [2022-06-07T10:55:38.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T10:55:39.576Z] $ docker top 6c0beab24050df91651b196376f698a112691b84f1541dfe068730f19ab946fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T10:55:40.486Z] + make test [2022-06-07T10:55:40.486Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T10:55:42.488Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T10:57:04.332Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T10:57:04.332Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 1.3% of statements [2022-06-07T10:57:31.135Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.053s coverage: 13.8% of statements [2022-06-07T10:57:31.408Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T10:57:31.408Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T10:57:58.230Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T10:57:58.230Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T10:57:58.230Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T10:58:01.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T10:58:01.659Z] $ docker stop --time=1 6c0beab24050df91651b196376f698a112691b84f1541dfe068730f19ab946fe [2022-06-07T10:58:03.432Z] $ docker rm -f 6c0beab24050df91651b196376f698a112691b84f1541dfe068730f19ab946fe [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:58:04.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T10:58:04.424Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T10:58:04.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:58:05.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T10:58:05.642Z] + ls -al . [2022-06-07T10:58:05.642Z] total 228 [2022-06-07T10:58:05.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:58 . [2022-06-07T10:58:05.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:53 .. [2022-06-07T10:58:05.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:53 .git [2022-06-07T10:58:05.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:53 .github [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 10:53 .gitignore [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 10:53 .golangci.yml [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 10:53 Attribution.txt [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 10:53 CHANGELOG.md [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 10:53 Dockerfile [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 10:53 GOVERNANCE.md [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 10:53 Jenkinsfile [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 10:53 LICENSE [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 10:53 Makefile [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 10:53 OWNERS.md [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 30708 Jun 7 10:53 README.md [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 10:51 VERSION [2022-06-07T10:58:05.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:53 bin [2022-06-07T10:58:05.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:53 cmd [2022-06-07T10:58:05.642Z] -rw-r--r-- 1 jenkins jenkins 53381 Jun 7 10:57 coverage.out [2022-06-07T10:58:05.642Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 10:53 doc [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 10:53 go.mod [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 10:53 go.sum [2022-06-07T10:58:05.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:53 internal [2022-06-07T10:58:05.642Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 10:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:58:06.003Z] + 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=818baeb24568186d46fce827af37ff05c7fff715 --label arch=arm64 --label version=0.0.0 . [2022-06-07T10:58:06.283Z] Sending build context to Docker daemon 6.278MB [2022-06-07T10:58:06.283Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:58:06.283Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T10:58:06.283Z] ---> a1d33fdf978d [2022-06-07T10:58:06.283Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T10:58:06.559Z] ---> Running in e2e59c857a56 [2022-06-07T10:58:06.832Z] Removing intermediate container e2e59c857a56 [2022-06-07T10:58:06.832Z] ---> 54e009431e32 [2022-06-07T10:58:06.832Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:58:06.832Z] ---> Running in 8d5444a497c7 [2022-06-07T10:58:07.106Z] Removing intermediate container 8d5444a497c7 [2022-06-07T10:58:07.106Z] ---> b72b58e7db47 [2022-06-07T10:58:07.106Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:58:07.380Z] ---> Running in c317393ffa71 [2022-06-07T10:58:07.652Z] Removing intermediate container c317393ffa71 [2022-06-07T10:58:07.653Z] ---> 86346410e97c [2022-06-07T10:58:07.653Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:58:07.653Z] ---> Running in 163f98be1150 [2022-06-07T10:58:07.933Z] Removing intermediate container 163f98be1150 [2022-06-07T10:58:07.933Z] ---> 7e924531c80a [2022-06-07T10:58:07.933Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:58:07.933Z] ---> Running in 16170c0a8ec5 [2022-06-07T10:58:09.938Z] Removing intermediate container 16170c0a8ec5 [2022-06-07T10:58:09.938Z] ---> b2d0680a81fb [2022-06-07T10:58:09.938Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:58:09.938Z] ---> Running in add4d063a0e8 [2022-06-07T10:58:10.914Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:58:11.507Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:58:12.482Z] OK: 220 MiB in 52 packages [2022-06-07T10:58:13.464Z] Removing intermediate container add4d063a0e8 [2022-06-07T10:58:13.464Z] ---> 466718532697 [2022-06-07T10:58:13.464Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T10:58:13.464Z] ---> Running in 2733089fda75 [2022-06-07T10:58:14.059Z] Removing intermediate container 2733089fda75 [2022-06-07T10:58:14.059Z] ---> d36005f93143 [2022-06-07T10:58:14.059Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T10:58:14.334Z] ---> 68fedabdc406 [2022-06-07T10:58:14.334Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:58:14.607Z] ---> Running in 164775a13e2f [2022-06-07T10:58:16.603Z] Removing intermediate container 164775a13e2f [2022-06-07T10:58:16.603Z] ---> ad523838b7d8 [2022-06-07T10:58:16.603Z] Step 12/26 : COPY . . [2022-06-07T10:58:17.598Z] ---> 732af43902d8 [2022-06-07T10:58:17.598Z] Step 13/26 : RUN ${MAKE} [2022-06-07T10:58:17.598Z] ---> Running in 19de59a161ca [2022-06-07T10:58:18.589Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-07T11:00:25.487Z] Removing intermediate container 19de59a161ca [2022-06-07T11:00:25.487Z] ---> 06fa5583263c [2022-06-07T11:00:25.487Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T11:00:25.487Z] 3.15: Pulling from library/alpine [2022-06-07T11:00:25.487Z] 9981e73032c8: Pulling fs layer [2022-06-07T11:00:25.487Z] 9981e73032c8: Verifying Checksum [2022-06-07T11:00:25.487Z] 9981e73032c8: Download complete [2022-06-07T11:00:25.487Z] 9981e73032c8: Pull complete [2022-06-07T11:00:25.487Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T11:00:25.487Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T11:00:25.487Z] ---> 3fb3c9af89a9 [2022-06-07T11:00:25.487Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T11:00:25.487Z] ---> Running in 8080af1961db [2022-06-07T11:00:25.487Z] Removing intermediate container 8080af1961db [2022-06-07T11:00:25.487Z] ---> 64edcd28fd11 [2022-06-07T11:00:25.487Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T11:00:25.487Z] ---> Running in a7c348a61ead [2022-06-07T11:00:25.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T11:00:25.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T11:00:25.487Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T11:00:25.487Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T11:00:25.487Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T11:00:25.487Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T11:00:25.487Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T11:00:25.487Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T11:00:25.487Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T11:00:25.487Z] OK: 8 MiB in 20 packages [2022-06-07T11:00:25.487Z] Removing intermediate container a7c348a61ead [2022-06-07T11:00:25.487Z] ---> 853f8dfbfafd [2022-06-07T11:00:25.487Z] Step 17/26 : WORKDIR / [2022-06-07T11:00:25.487Z] ---> Running in cac23fc1a2de [2022-06-07T11:00:25.487Z] Removing intermediate container cac23fc1a2de [2022-06-07T11:00:25.487Z] ---> 14380ce8091d [2022-06-07T11:00:25.487Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T11:00:25.487Z] ---> 8fbd67062fac [2022-06-07T11:00:25.487Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T11:00:25.487Z] ---> 5b75dd6d834a [2022-06-07T11:00:25.487Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T11:00:25.487Z] ---> 7fda55a80e84 [2022-06-07T11:00:25.487Z] Step 21/26 : EXPOSE 59984 [2022-06-07T11:00:25.487Z] ---> Running in a9537d952459 [2022-06-07T11:00:25.487Z] Removing intermediate container a9537d952459 [2022-06-07T11:00:25.487Z] ---> 3e0e92948d26 [2022-06-07T11:00:25.487Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T11:00:25.487Z] ---> Running in d11eedff5149 [2022-06-07T11:00:25.487Z] Removing intermediate container d11eedff5149 [2022-06-07T11:00:25.487Z] ---> 88d2123b6565 [2022-06-07T11:00:25.487Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T11:00:25.487Z] ---> Running in 4daee984741f [2022-06-07T11:00:25.487Z] Removing intermediate container 4daee984741f [2022-06-07T11:00:25.487Z] ---> 057529f1c5b7 [2022-06-07T11:00:25.487Z] Step 24/26 : LABEL arch=arm64 [2022-06-07T11:00:25.487Z] ---> Running in 4c6da4203035 [2022-06-07T11:00:25.487Z] Removing intermediate container 4c6da4203035 [2022-06-07T11:00:25.487Z] ---> 710519bfdea7 [2022-06-07T11:00:25.487Z] Step 25/26 : LABEL git_sha=818baeb24568186d46fce827af37ff05c7fff715 [2022-06-07T11:00:25.761Z] ---> Running in 0e5f97385c09 [2022-06-07T11:00:26.032Z] Removing intermediate container 0e5f97385c09 [2022-06-07T11:00:26.032Z] ---> 4fe8ebc8cd4f [2022-06-07T11:00:26.032Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T11:00:26.032Z] ---> Running in 9edb0e03d056 [2022-06-07T11:00:26.303Z] Removing intermediate container 9edb0e03d056 [2022-06-07T11:00:26.303Z] ---> 3bbe5b961482 [2022-06-07T11:00:26.303Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T11:00:26.303Z] Successfully built 3bbe5b961482 [2022-06-07T11:00:26.303Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T11:00:26.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T11:00:26.752Z] [2022-06-07T11:00:26.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T11:00:27.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T11:00:27.099Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T11:00:27.099Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T11:00:27.099Z] 04944245beec: Pulling fs layer [2022-06-07T11:00:27.099Z] 699f458cf7ca: Pulling fs layer [2022-06-07T11:00:27.099Z] 765212b225bb: Pulling fs layer [2022-06-07T11:00:27.099Z] f23df028b6ca: Pulling fs layer [2022-06-07T11:00:27.099Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T11:00:27.099Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T11:00:27.099Z] 765212b225bb: Waiting [2022-06-07T11:00:27.099Z] f23df028b6ca: Waiting [2022-06-07T11:00:27.099Z] d65c8cfc05b1: Waiting [2022-06-07T11:00:27.099Z] 2437ff75d9bd: Waiting [2022-06-07T11:00:27.373Z] 04944245beec: Verifying Checksum [2022-06-07T11:00:27.373Z] 04944245beec: Download complete [2022-06-07T11:00:27.373Z] 765212b225bb: Verifying Checksum [2022-06-07T11:00:27.373Z] 765212b225bb: Download complete [2022-06-07T11:00:27.373Z] f23df028b6ca: Verifying Checksum [2022-06-07T11:00:27.373Z] f23df028b6ca: Download complete [2022-06-07T11:00:27.373Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T11:00:27.373Z] d65c8cfc05b1: Download complete [2022-06-07T11:00:27.646Z] 699f458cf7ca: Verifying Checksum [2022-06-07T11:00:27.646Z] 699f458cf7ca: Download complete [2022-06-07T11:00:27.921Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T11:00:27.921Z] 8998bd30e6a1: Download complete [2022-06-07T11:00:30.551Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T11:00:30.551Z] 2437ff75d9bd: Download complete [2022-06-07T11:00:31.996Z] 8998bd30e6a1: Pull complete [2022-06-07T11:00:32.596Z] 04944245beec: Pull complete [2022-06-07T11:00:34.037Z] 699f458cf7ca: Pull complete [2022-06-07T11:00:34.311Z] 765212b225bb: Pull complete [2022-06-07T11:00:35.305Z] f23df028b6ca: Pull complete [2022-06-07T11:00:35.305Z] d65c8cfc05b1: Pull complete [2022-06-07T11:00:50.409Z] 2437ff75d9bd: Pull complete [2022-06-07T11:00:50.409Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T11:00:50.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T11:00:50.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T11:00:50.668Z] prd-ubuntu20.04-docker-arm64-4c-16g-1643 does not seem to be running inside a container [2022-06-07T11:00:50.761Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T11:00:53.315Z] $ docker top 260bc43343c1db4c9de739def9b955eafbc0e0d0c22b52999a8e5bd27c68aa23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:00:54.241Z] ---> job-cost.sh [2022-06-07T11:00:54.241Z] lf-activate-venv: SKIPPING [2022-06-07T11:00:54.241Z] INFO: No Stack... [2022-06-07T11:00:54.515Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T11:00:55.492Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T11:00:56.161Z] + cat /w/workspace/device-onvif-camera/13/archives/cost.csv [2022-06-07T11:00:56.161Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T11:00:56.227Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] [2022-06-07T11:00:56.234Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] did not exist. Created. [2022-06-07T11:00:56.234Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T11:00:56.920Z] /w/workspace/device-onvif-camera/13@tmp/durable-14e8a87f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T11:00:57.607Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T11:00:57.630Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T11:00:57.679Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T11:00:57.689Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T11:00:57.714Z] $ docker stop --time=1 260bc43343c1db4c9de739def9b955eafbc0e0d0c22b52999a8e5bd27c68aa23 [2022-06-07T11:00:59.190Z] $ docker rm -f 260bc43343c1db4c9de739def9b955eafbc0e0d0c22b52999a8e5bd27c68aa23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-07T11:00:59.689Z] provisioning config files... [2022-06-07T11:00:59.698Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config2793850573580380574tmp [Pipeline] { [Pipeline] sh [2022-06-07T11:00:59.998Z] + set +x [2022-06-07T11:00:59.998Z] + curl -s https://codecov.io/bash [2022-06-07T11:00:59.998Z] + bash -s -- [2022-06-07T11:00:59.998Z] [2022-06-07T11:00:59.998Z] _____ _ [2022-06-07T11:00:59.998Z] / ____| | | [2022-06-07T11:00:59.998Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T11:00:59.998Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T11:00:59.998Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T11:00:59.998Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T11:00:59.998Z] Bash-1.0.6 [2022-06-07T11:00:59.998Z] [2022-06-07T11:00:59.998Z] [2022-06-07T11:00:59.998Z] ==> git version 2.25.1 found [2022-06-07T11:00:59.998Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-07T11:00:59.998Z] Release-Date: 2020-01-08 [2022-06-07T11:00:59.998Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-07T11:00:59.998Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T11:00:59.998Z] ==> Jenkins CI detected. [2022-06-07T11:00:59.998Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-07T11:00:59.998Z] project root: . [2022-06-07T11:00:59.998Z] --> token set from env [2022-06-07T11:00:59.998Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T11:00:59.998Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T11:00:59.998Z] ==> Python coveragepy not found [2022-06-07T11:00:59.998Z] ==> Searching for coverage reports in: [2022-06-07T11:00:59.998Z] + . [2022-06-07T11:00:59.998Z] -> Found 1 reports [2022-06-07T11:00:59.998Z] ==> Detecting git/mercurial file structure [2022-06-07T11:00:59.998Z] ==> Reading reports [2022-06-07T11:00:59.998Z] + ./coverage.out bytes=53381 [2022-06-07T11:00:59.998Z] ==> Appending adjustments [2022-06-07T11:00:59.998Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T11:01:00.261Z] + Found adjustments [2022-06-07T11:01:00.261Z] ==> Gzipping contents [2022-06-07T11:01:00.261Z] 8.0K /tmp/codecov.1KqD8i.gz [2022-06-07T11:01:00.261Z] ==> Uploading reports [2022-06-07T11:01:00.261Z] url: https://codecov.io [2022-06-07T11:01:00.261Z] query: branch=PR-64&commit=aa1453199d4e1de3f09dddab1309599882ab1965&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-07T11:01:00.261Z] -> Pinging Codecov [2022-06-07T11:01:00.261Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-64&commit=aa1453199d4e1de3f09dddab1309599882ab1965&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-07T11:01:00.522Z] -> Uploading to [2022-06-07T11:01:00.522Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/F29A59C45E3A92E06B3E522C9905F8EF/aa1453199d4e1de3f09dddab1309599882ab1965/f9bd5ac7-0446-4fa2-ba5b-dd2508d5bb51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T110100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01b42d25ba70b05318e143473e63498d188e4d9acdcd54bdb1bc9d9049f90172 [2022-06-07T11:01:00.522Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T11:01:00.522Z] Dload Upload Total Spent Left Speed [2022-06-07T11:01:00.783Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6896 0 0 100 6896 0 27149 --:--:-- --:--:-- --:--:-- 27256 [2022-06-07T11:01:00.783Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/aa1453199d4e1de3f09dddab1309599882ab1965 [Pipeline] } [2022-06-07T11:01:00.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-07T11:01:01.457Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-64/archives ] [2022-06-07T11:01:01.457Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-07T11:01:01.457Z] total 16 [2022-06-07T11:01:01.457Z] drwxr-xr-x 3 root root 4096 Jun 7 10:53 . [2022-06-07T11:01:01.457Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 10:53 .. [2022-06-07T11:01:01.457Z] drwxr-xr-x 2 root root 4096 Jun 7 10:53 cost [2022-06-07T11:01:01.457Z] -rw-r--r-- 1 root root 90 Jun 7 10:53 cost.csv [2022-06-07T11:01:01.457Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-07T11:01:01.457Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-07T11:01:01.457Z] total 16 [2022-06-07T11:01:01.457Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:53 . [2022-06-07T11:01:01.457Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 10:53 .. [2022-06-07T11:01:01.457Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 10:53 cost [2022-06-07T11:01:01.457Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 7 10:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:01.750Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:02.615Z] ---> package-listing.sh [2022-06-07T11:01:02.615Z] ++ facter osfamily [2022-06-07T11:01:02.615Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T11:01:02.876Z] + OS_FAMILY=debian [2022-06-07T11:01:02.876Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-07T11:01:02.876Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T11:01:02.876Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T11:01:02.876Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T11:01:02.876Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T11:01:02.876Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-07T11:01:02.876Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T11:01:02.876Z] + case "${OS_FAMILY}" in [2022-06-07T11:01:02.876Z] + dpkg -l [2022-06-07T11:01:02.876Z] + grep '^ii' [2022-06-07T11:01:02.876Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T11:01:02.876Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T11:01:02.876Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T11:01:02.876Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-07T11:01:02.876Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [2022-06-07T11:01:02.876Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [Pipeline] echo [2022-06-07T11:01:02.889Z] 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/oundry_device-onvif-camera_PR-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T11:01:03.168Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T11:01:03.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T11:01:03.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T11:01:03.810Z] prd-ubuntu20.04-docker-8c-8g-1642 does not seem to be running inside a container [2022-06-07T11:01:03.847Z] $ 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/oundry_device-onvif-camera_PR-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T11:01:04.071Z] $ docker top cc82d850712444987f6b9e16b303a4130765427ca203c5a5f23cd9256344a1ac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T11:01:04.421Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T11:01:04.707Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T11:01:04.997Z] + ls /var/log/sa-host [2022-06-07T11:01:04.997Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T11:01:05.127Z] provisioning config files... [2022-06-07T11:01:05.137Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config6486310595248564039tmp [Pipeline] { [Pipeline] echo [2022-06-07T11:01:05.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:05.437Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T11:01:05.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:05.791Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T11:01:05.801Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:06.086Z] ---> sudo-logs.sh [2022-06-07T11:01:06.086Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T11:01:06.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:06.400Z] ---> job-cost.sh [2022-06-07T11:01:06.400Z] lf-activate-venv: SKIPPING [2022-06-07T11:01:06.400Z] DEBUG: total: 0.2199999988079071 [2022-06-07T11:01:06.400Z] INFO: Retrieving Stack Cost... [2022-06-07T11:01:06.661Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T11:01:07.233Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T11:01:07.242Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T11:01:07.523Z] ---> logs-deploy.sh [2022-06-07T11:01:07.523Z] lf-activate-venv: SKIPPING [2022-06-07T11:01:07.523Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-64/13 [2022-06-07T11:01:07.523Z] INFO: archiving workspace using pattern(s): [2022-06-07T11:01:08.462Z] Archives upload complete. [2022-06-07T11:01:08.462Z] INFO: archiving logs to Nexus