Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a27e28d7063f91f5e1587cb421881b607ffe8dc2+9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 (765aa49c49c26bbd1e7224e37790a265c15db312) 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-ssh7644324694322670062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16396202826876883716.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-321/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-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1408766295332892414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh2984140912655582904.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-321/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-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh624564251250451859.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9571 in /w/workspace/undry_device-onvif-camera_PR-321 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-321 # 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/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit a27e28d7063f91f5e1587cb421881b607ffe8dc2 Merge succeeded, producing ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa Checking out Revision ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa (PR-321) > git config core.sparsecheckout # timeout=10 > git checkout -f a27e28d7063f91f5e1587cb421881b607ffe8dc2 # 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 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa # timeout=10 Commit message: "Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD" > git rev-list --no-walk a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T22:11:15.475Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T22:11:15.538Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T22:11:15.555Z] ========================================================= [2023-04-24T22:11:15.555Z] EdgeX Global Pipelines Version Info [2023-04-24T22:11:15.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:11:16.260Z] ------------------- [2023-04-24T22:11:16.260Z] stable info: [2023-04-24T22:11:16.260Z] ------------------- [2023-04-24T22:11:16.260Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T22:11:16.260Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T22:11:16.260Z] Message: update stable to v1.0.248 [2023-04-24T22:11:16.830Z] ------------------- [2023-04-24T22:11:16.830Z] experimental info: [2023-04-24T22:11:16.830Z] ------------------- [2023-04-24T22:11:16.830Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T22:11:16.830Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T22:11:16.830Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T22:11:17.015Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-24T22:11:17.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-24T22:11:17.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T22:11:17.060Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T22:11:17.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T22:11:17.084Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T22:11:17.095Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T22:11:17.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T22:11:17.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T22:11:17.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T22:11:17.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T22:11:17.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-24T22:11:17.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T22:11:17.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T22:11:17.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T22:11:17.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T22:11:17.209Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T22:11:17.222Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T22:11:17.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T22:11:17.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T22:11:17.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-24T22:11:17.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-24T22:11:17.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T22:11:17.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T22:11:17.337Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T22:11:17.348Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T22:11:17.358Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T22:11:17.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-321 [Pipeline] echo [2023-04-24T22:11:17.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-321 [Pipeline] echo [2023-04-24T22:11:17.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-321 [Pipeline] echo [2023-04-24T22:11:17.415Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo [2023-04-24T22:11:17.427Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea5e286 [Pipeline] echo [2023-04-24T22:11:17.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:11:17.495Z] provisioning config files... [2023-04-24T22:11:17.508Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config15464157839373545377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:11:17.806Z] ---> docker-login.sh [2023-04-24T22:11:17.807Z] nexus3.edgexfoundry.org:10001 [2023-04-24T22:11:18.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:18.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:18.067Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:18.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:18.067Z] [2023-04-24T22:11:18.067Z] Login Succeeded [2023-04-24T22:11:18.067Z] nexus3.edgexfoundry.org:10002 [2023-04-24T22:11:18.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:18.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:18.328Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:18.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:18.328Z] [2023-04-24T22:11:18.328Z] Login Succeeded [2023-04-24T22:11:18.328Z] nexus3.edgexfoundry.org:10003 [2023-04-24T22:11:18.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:18.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:18.328Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:18.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:18.328Z] [2023-04-24T22:11:18.328Z] Login Succeeded [2023-04-24T22:11:18.328Z] nexus3.edgexfoundry.org:10004 [2023-04-24T22:11:18.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:18.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:18.588Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:18.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:18.588Z] [2023-04-24T22:11:18.588Z] Login Succeeded [2023-04-24T22:11:18.588Z] docker.io [2023-04-24T22:11:18.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:18.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:18.851Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:18.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:18.851Z] [2023-04-24T22:11:18.851Z] Login Succeeded [2023-04-24T22:11:18.851Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T22:11:18.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T22:11:19.347Z] + git rev-list -1 --merges ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa~1..ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo [2023-04-24T22:11:19.413Z] -----------> git rev-list -1 --merges ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa~1..ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [2023-04-24T22:11:19.413Z] ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [false] [Pipeline] sh [2023-04-24T22:11:19.712Z] + git log --format=format:%s -1 ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo [2023-04-24T22:11:19.724Z] ========================================================= [2023-04-24T22:11:19.724Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T22:11:19.724Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T22:11:20.062Z] + git log --format=format:%s -1 ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [Pipeline] echo [2023-04-24T22:11:20.071Z] [semverPrep] GIT_COMMIT: ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa, Commit Message: Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD [Pipeline] echo [2023-04-24T22:11:20.081Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T22:11:20.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T22:11:20.431Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T22:11:20.431Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T22:11:20.431Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T22:11:20.431Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T22:11:20.431Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T22:11:20.431Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:11:20.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T22:11:20.801Z] [2023-04-24T22:11:20.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:11:21.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T22:11:21.114Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T22:11:21.114Z] b85a868b505f: Pulling fs layer [2023-04-24T22:11:21.114Z] e2be974225ed: Pulling fs layer [2023-04-24T22:11:21.114Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T22:11:21.114Z] 988bab9f4d93: Pulling fs layer [2023-04-24T22:11:21.114Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T22:11:21.114Z] eaf3925da568: Pulling fs layer [2023-04-24T22:11:21.114Z] bab4dde63d76: Pulling fs layer [2023-04-24T22:11:21.114Z] bde34c3a00c8: Pulling fs layer [2023-04-24T22:11:21.114Z] b352a97aabf1: Pulling fs layer [2023-04-24T22:11:21.114Z] 4872d77fe225: Pulling fs layer [2023-04-24T22:11:21.114Z] 5851b861e8e6: Pulling fs layer [2023-04-24T22:11:21.114Z] eaf3925da568: Waiting [2023-04-24T22:11:21.114Z] bab4dde63d76: Waiting [2023-04-24T22:11:21.114Z] bde34c3a00c8: Waiting [2023-04-24T22:11:21.114Z] b352a97aabf1: Waiting [2023-04-24T22:11:21.114Z] 4872d77fe225: Waiting [2023-04-24T22:11:21.114Z] 5851b861e8e6: Waiting [2023-04-24T22:11:21.114Z] 988bab9f4d93: Waiting [2023-04-24T22:11:21.114Z] 1469e6f7b9e6: Waiting [2023-04-24T22:11:21.114Z] e2be974225ed: Verifying Checksum [2023-04-24T22:11:21.114Z] e2be974225ed: Download complete [2023-04-24T22:11:21.114Z] 988bab9f4d93: Verifying Checksum [2023-04-24T22:11:21.114Z] 988bab9f4d93: Download complete [2023-04-24T22:11:21.114Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T22:11:21.114Z] 1469e6f7b9e6: Download complete [2023-04-24T22:11:21.114Z] eaf3925da568: Verifying Checksum [2023-04-24T22:11:21.114Z] eaf3925da568: Download complete [2023-04-24T22:11:21.375Z] 339a4e72a1f5: Download complete [2023-04-24T22:11:21.375Z] bde34c3a00c8: Verifying Checksum [2023-04-24T22:11:21.375Z] bde34c3a00c8: Download complete [2023-04-24T22:11:21.375Z] b352a97aabf1: Download complete [2023-04-24T22:11:21.375Z] 4872d77fe225: Download complete [2023-04-24T22:11:21.375Z] 5851b861e8e6: Download complete [2023-04-24T22:11:21.375Z] b85a868b505f: Verifying Checksum [2023-04-24T22:11:21.375Z] b85a868b505f: Download complete [2023-04-24T22:11:21.643Z] bab4dde63d76: Verifying Checksum [2023-04-24T22:11:21.643Z] bab4dde63d76: Download complete [2023-04-24T22:11:22.583Z] b85a868b505f: Pull complete [2023-04-24T22:11:22.843Z] e2be974225ed: Pull complete [2023-04-24T22:11:23.411Z] 339a4e72a1f5: Pull complete [2023-04-24T22:11:23.411Z] 988bab9f4d93: Pull complete [2023-04-24T22:11:23.670Z] 1469e6f7b9e6: Pull complete [2023-04-24T22:11:23.670Z] eaf3925da568: Pull complete [2023-04-24T22:11:25.584Z] bab4dde63d76: Pull complete [2023-04-24T22:11:25.584Z] bde34c3a00c8: Pull complete [2023-04-24T22:11:25.584Z] b352a97aabf1: Pull complete [2023-04-24T22:11:25.842Z] 4872d77fe225: Pull complete [2023-04-24T22:11:25.842Z] 5851b861e8e6: Pull complete [2023-04-24T22:11:25.842Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T22:11:25.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T22:11:25.842Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:11:25.942Z] prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container [2023-04-24T22:11:26.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T22:11:29.390Z] $ docker top 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 -eo pid,comm [2023-04-24T22:11:29.248Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T22:11:29.248Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T22:11:29.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T22:11:29.277Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T22:11:29.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T22:11:29.579Z] $ docker exec 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent [2023-04-24T22:11:29.489Z] SSH_AUTH_SOCK=/tmp/ssh-ew4eqHbxcLtF/agent.33 [2023-04-24T22:11:29.489Z] SSH_AGENT_PID=39 [2023-04-24T22:11:29.497Z] Running ssh-add (command line suppressed) [2023-04-24T22:11:29.782Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2049892993348193836.key (/w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2049892993348193836.key) [2023-04-24T22:11:29.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T22:11:29.899Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T22:11:30.093Z] $ docker exec --env ******** --env ******** 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent -k [2023-04-24T22:11:30.182Z] unset SSH_AUTH_SOCK; [2023-04-24T22:11:30.183Z] unset SSH_AGENT_PID; [2023-04-24T22:11:30.183Z] echo Agent pid 39 killed; [2023-04-24T22:11:30.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T22:11:30.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T22:11:30.039Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T22:11:30.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T22:11:30.326Z] $ docker exec 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent [2023-04-24T22:11:30.266Z] SSH_AUTH_SOCK=/tmp/ssh-WeGbmrBeXBT2/agent.71 [2023-04-24T22:11:30.266Z] SSH_AGENT_PID=77 [2023-04-24T22:11:30.270Z] Running ssh-add (command line suppressed) [2023-04-24T22:11:30.540Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2613383680725590568.key (/w/workspace/undry_device-onvif-camera_PR-321@tmp/private_key_2613383680725590568.key) [2023-04-24T22:11:30.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T22:11:30.671Z] + git semver init [2023-04-24T22:11:30.930Z] 2023-04-24 22:11:31,014 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T22:11:30.930Z] 2023-04-24 22:11:31,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-321/.semver [2023-04-24T22:11:30.930Z] 2023-04-24 22:11:31,015 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-321/.semver [2023-04-24T22:11:30.930Z] 2023-04-24 22:11:31,015 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-321/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-321, universal_newlines=False, shell=None, istream=None) [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,862 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-321/.git/info/exclude [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 with force:False [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,863 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,867 [execute] INFO git cat-file --batch-check [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,874 [execute] INFO git cat-file --batch [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T22:11:31.866Z] 2023-04-24 22:11:31,879 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-321/.semver/PR-321 [2023-04-24T22:11:31.866Z] 0.0.0 [Pipeline] } [2023-04-24T22:11:32.012Z] $ docker exec --env ******** --env ******** 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 ssh-agent -k [2023-04-24T22:11:32.109Z] unset SSH_AUTH_SOCK; [2023-04-24T22:11:32.110Z] unset SSH_AGENT_PID; [2023-04-24T22:11:32.110Z] echo Agent pid 77 killed; [2023-04-24T22:11:31.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T22:11:32.295Z] + git semver [Pipeline] } [2023-04-24T22:11:32.688Z] $ docker stop --time=1 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 [2023-04-24T22:11:46.699Z] $ docker rm -f --volumes 29c06d8988132c0ff958a6983991daafecca1cd62bfbdc69648667d2fbcfbf42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T22:11:47.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T22:11:47.215Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T22:11:47.218Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:11:47.326Z] provisioning config files... [2023-04-24T22:11:47.335Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config10784426942892731585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:11:47.646Z] ---> docker-login.sh [2023-04-24T22:11:47.646Z] nexus3.edgexfoundry.org:10001 [2023-04-24T22:11:47.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:47.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:47.646Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:47.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:47.646Z] [2023-04-24T22:11:47.646Z] Login Succeeded [2023-04-24T22:11:47.646Z] nexus3.edgexfoundry.org:10002 [2023-04-24T22:11:47.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:47.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:47.646Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:47.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:47.646Z] [2023-04-24T22:11:47.646Z] Login Succeeded [2023-04-24T22:11:47.646Z] nexus3.edgexfoundry.org:10003 [2023-04-24T22:11:47.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:47.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:47.906Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:47.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:47.906Z] [2023-04-24T22:11:47.906Z] Login Succeeded [2023-04-24T22:11:47.906Z] nexus3.edgexfoundry.org:10004 [2023-04-24T22:11:47.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:47.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:47.906Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:47.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:47.906Z] [2023-04-24T22:11:47.906Z] Login Succeeded [2023-04-24T22:11:47.906Z] docker.io [2023-04-24T22:11:47.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:48.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:48.167Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:48.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:48.167Z] [2023-04-24T22:11:48.167Z] Login Succeeded [2023-04-24T22:11:48.167Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T22:11:48.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T22:11:48.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:11:48.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:11:48.262Z] ========================================================= [2023-04-24T22:11:48.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T22:11:48.262Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:11:48.580Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T22:11:48.580Z] Sending build context to Docker daemon 26.96MB [2023-04-24T22:11:48.580Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T22:11:48.580Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T22:11:49.150Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T22:11:49.150Z] f56be85fc22e: Pulling fs layer [2023-04-24T22:11:49.150Z] 85791d961cd3: Pulling fs layer [2023-04-24T22:11:49.150Z] d694b5ae8c79: Pulling fs layer [2023-04-24T22:11:49.150Z] 9f32a84ed3da: Pulling fs layer [2023-04-24T22:11:49.150Z] 4d19c01a9841: Pulling fs layer [2023-04-24T22:11:49.150Z] 9325e15d5711: Pulling fs layer [2023-04-24T22:11:49.150Z] 556b6ee489ea: Pulling fs layer [2023-04-24T22:11:49.150Z] c5a4b2cf53e6: Pulling fs layer [2023-04-24T22:11:49.150Z] 4d19c01a9841: Waiting [2023-04-24T22:11:49.150Z] 9325e15d5711: Waiting [2023-04-24T22:11:49.150Z] c5a4b2cf53e6: Waiting [2023-04-24T22:11:49.150Z] 556b6ee489ea: Waiting [2023-04-24T22:11:49.150Z] 85791d961cd3: Verifying Checksum [2023-04-24T22:11:49.150Z] 85791d961cd3: Download complete [2023-04-24T22:11:49.150Z] 9f32a84ed3da: Download complete [2023-04-24T22:11:49.150Z] 4d19c01a9841: Download complete [2023-04-24T22:11:49.150Z] f56be85fc22e: Verifying Checksum [2023-04-24T22:11:49.150Z] f56be85fc22e: Download complete [2023-04-24T22:11:49.150Z] 9325e15d5711: Verifying Checksum [2023-04-24T22:11:49.150Z] 9325e15d5711: Download complete [2023-04-24T22:11:49.719Z] f56be85fc22e: Pull complete [2023-04-24T22:11:49.719Z] c5a4b2cf53e6: Verifying Checksum [2023-04-24T22:11:49.719Z] c5a4b2cf53e6: Download complete [2023-04-24T22:11:49.979Z] d694b5ae8c79: Verifying Checksum [2023-04-24T22:11:49.979Z] d694b5ae8c79: Download complete [2023-04-24T22:11:50.239Z] 556b6ee489ea: Verifying Checksum [2023-04-24T22:11:50.239Z] 556b6ee489ea: Download complete [2023-04-24T22:11:50.239Z] 85791d961cd3: Pull complete [2023-04-24T22:11:54.455Z] d694b5ae8c79: Pull complete [2023-04-24T22:11:54.715Z] 9f32a84ed3da: Pull complete [2023-04-24T22:11:54.977Z] 4d19c01a9841: Pull complete [2023-04-24T22:11:55.236Z] 9325e15d5711: Pull complete [2023-04-24T22:11:58.519Z] 556b6ee489ea: Pull complete [2023-04-24T22:11:59.452Z] c5a4b2cf53e6: Pull complete [2023-04-24T22:11:59.452Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-24T22:11:59.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T22:11:59.452Z] ---> c4be618373d6 [2023-04-24T22:11:59.452Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T22:12:02.295Z] Still waiting to schedule task [2023-04-24T22:12:02.296Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-24T22:12:02.741Z] ---> Running in e287d1583edf [2023-04-24T22:12:03.000Z] Removing intermediate container e287d1583edf [2023-04-24T22:12:03.000Z] ---> 46f0363e955d [2023-04-24T22:12:03.000Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T22:12:03.000Z] ---> Running in 3b0f2cb97a69 [2023-04-24T22:12:03.000Z] Removing intermediate container 3b0f2cb97a69 [2023-04-24T22:12:03.000Z] ---> 6e76621130de [2023-04-24T22:12:03.000Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T22:12:03.000Z] ---> Running in 4d1f87900986 [2023-04-24T22:12:03.259Z] Removing intermediate container 4d1f87900986 [2023-04-24T22:12:03.259Z] ---> f2e6df7b2633 [2023-04-24T22:12:03.259Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T22:12:03.259Z] ---> Running in 7465e9093782 [2023-04-24T22:12:03.260Z] Removing intermediate container 7465e9093782 [2023-04-24T22:12:03.260Z] ---> 863bfa3f41fb [2023-04-24T22:12:03.260Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T22:12:03.260Z] ---> Running in 6760973c2b1b [2023-04-24T22:12:03.260Z] Removing intermediate container 6760973c2b1b [2023-04-24T22:12:03.260Z] ---> 5bd59911c0cc [2023-04-24T22:12:03.260Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T22:12:03.518Z] ---> Running in 308a5abf4d8e [2023-04-24T22:12:03.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T22:12:03.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T22:12:04.038Z] OK: 265 MiB in 53 packages [2023-04-24T22:12:04.303Z] Removing intermediate container 308a5abf4d8e [2023-04-24T22:12:04.303Z] ---> ab016f4edbbd [2023-04-24T22:12:04.303Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T22:12:04.303Z] ---> Running in a9f6e32dcb1c [2023-04-24T22:12:04.303Z] Removing intermediate container a9f6e32dcb1c [2023-04-24T22:12:04.303Z] ---> 937803b11f4e [2023-04-24T22:12:04.303Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T22:12:04.562Z] ---> 82c0922f84f8 [2023-04-24T22:12:04.562Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T22:12:04.562Z] ---> Running in 1aaabda29b15 [2023-04-24T22:12:31.123Z] Removing intermediate container 1aaabda29b15 [2023-04-24T22:12:31.123Z] ---> 4318e9fe1167 [2023-04-24T22:12:31.123Z] Step 12/13 : COPY . . [2023-04-24T22:12:31.123Z] ---> 0281cc768493 [2023-04-24T22:12:31.123Z] Step 13/13 : RUN ${MAKE} [2023-04-24T22:12:31.123Z] ---> Running in 72e820996075 [2023-04-24T22:12:31.123Z] noop [2023-04-24T22:12:31.123Z] Removing intermediate container 72e820996075 [2023-04-24T22:12:31.123Z] ---> 845af4dc724d [2023-04-24T22:12:31.123Z] Successfully built 845af4dc724d [2023-04-24T22:12:31.123Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:12:31.431Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T22:12:31.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:12:31.500Z] prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container [2023-04-24T22:12:31.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T22:12:31.896Z] $ docker top 0d656d32bd6183d54761665093e70fcc36134017aca5009fbc4f6701ade98850 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:12:32.242Z] + go version [2023-04-24T22:12:32.243Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T22:12:32.252Z] $ docker stop --time=1 0d656d32bd6183d54761665093e70fcc36134017aca5009fbc4f6701ade98850 [2023-04-24T22:12:33.538Z] $ docker rm -f --volumes 0d656d32bd6183d54761665093e70fcc36134017aca5009fbc4f6701ade98850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:12:33.948Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T22:12:33.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:12:34.030Z] prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container [2023-04-24T22:12:34.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T22:12:34.412Z] $ docker top 1df704099ea21a7aa2ceed66e72591b9006fef535043510f3ba57b0c2e2fe8dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:12:34.760Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-321 [Pipeline] fileExists [Pipeline] sh [2023-04-24T22:12:35.057Z] + make test [2023-04-24T22:12:35.057Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T22:12:40.332Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T22:12:52.559Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T22:12:52.559Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T22:12:53.124Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.6% of statements [2023-04-24T22:12:59.682Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 8.286s coverage: 86.5% of statements [2023-04-24T22:13:07.790Z] go vet ./... [2023-04-24T22:13:11.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T22:13:11.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T22:13:11.976Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T22:13:11.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T22:13:12.006Z] $ docker stop --time=1 1df704099ea21a7aa2ceed66e72591b9006fef535043510f3ba57b0c2e2fe8dd [2023-04-24T22:13:14.887Z] $ docker rm -f --volumes 1df704099ea21a7aa2ceed66e72591b9006fef535043510f3ba57b0c2e2fe8dd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T22:13:15.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T22:13:15.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T22:13:15.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T22:13:16.190Z] + ls -al . [2023-04-24T22:13:16.190Z] total 236 [2023-04-24T22:13:16.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 22:12 . [2023-04-24T22:13:16.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 .. [2023-04-24T22:13:16.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 22:11 .git [2023-04-24T22:13:16.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 22:11 .github [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 22:11 .gitignore [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 22:11 .golangci.yml [2023-04-24T22:13:16.190Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 22:11 .semver [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 22:11 Attribution.txt [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 22:11 CHANGELOG.md [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 22:11 Dockerfile [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 22:11 GOVERNANCE.md [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 22:11 Jenkinsfile [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 22:11 LICENSE [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 22:11 Makefile [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 22:11 OWNERS.md [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 22:11 README.md [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 22:11 VERSION [2023-04-24T22:13:16.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 22:11 bin [2023-04-24T22:13:16.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 22:11 cmd [2023-04-24T22:13:16.190Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 22:12 coverage.out [2023-04-24T22:13:16.190Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 22:11 doc [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 22:11 go.mod [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 22:11 go.sum [2023-04-24T22:13:16.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 internal [2023-04-24T22:13:16.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 snap [2023-04-24T22:13:16.190Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:13:16.496Z] + 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=ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa --label arch=amd64 --label version=0.0.0 . [2023-04-24T22:13:16.496Z] Sending build context to Docker daemon 27.04MB [2023-04-24T22:13:16.496Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T22:13:16.496Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-24T22:13:16.496Z] ---> 845af4dc724d [2023-04-24T22:13:16.496Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-24T22:13:16.755Z] ---> Running in a7c675ce9863 [2023-04-24T22:13:17.015Z] Removing intermediate container a7c675ce9863 [2023-04-24T22:13:17.015Z] ---> a882ec3fcd53 [2023-04-24T22:13:17.015Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T22:13:17.015Z] ---> Running in f343e1cf27fd [2023-04-24T22:13:17.015Z] Removing intermediate container f343e1cf27fd [2023-04-24T22:13:17.015Z] ---> 6612017fe006 [2023-04-24T22:13:17.015Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T22:13:17.015Z] ---> Running in cf75e5d459ac [2023-04-24T22:13:17.274Z] Removing intermediate container cf75e5d459ac [2023-04-24T22:13:17.274Z] ---> 00d1363ccf88 [2023-04-24T22:13:17.274Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T22:13:17.274Z] ---> Running in 3eb4af962f1f [2023-04-24T22:13:17.274Z] Removing intermediate container 3eb4af962f1f [2023-04-24T22:13:17.274Z] ---> 14d06d11a762 [2023-04-24T22:13:17.274Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-24T22:13:17.274Z] ---> Running in d20c01a92137 [2023-04-24T22:13:17.274Z] Removing intermediate container d20c01a92137 [2023-04-24T22:13:17.274Z] ---> c536b4b07155 [2023-04-24T22:13:17.274Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T22:13:17.274Z] ---> Running in 14be1ea2643f [2023-04-24T22:13:17.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:17.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:18.050Z] OK: 265 MiB in 53 packages [2023-04-24T22:13:18.309Z] Removing intermediate container 14be1ea2643f [2023-04-24T22:13:18.309Z] ---> 5d14ddf8c522 [2023-04-24T22:13:18.309Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-24T22:13:18.309Z] ---> Running in 26e4b49ad6ee [2023-04-24T22:13:18.568Z] Removing intermediate container 26e4b49ad6ee [2023-04-24T22:13:18.568Z] ---> 0fa436a3f54b [2023-04-24T22:13:18.568Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-24T22:13:18.568Z] ---> 00b98c054e0f [2023-04-24T22:13:18.568Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T22:13:18.568Z] ---> Running in b4a0d8220df1 [2023-04-24T22:13:19.503Z] Removing intermediate container b4a0d8220df1 [2023-04-24T22:13:19.503Z] ---> cfb29acc1a4e [2023-04-24T22:13:19.504Z] Step 12/26 : COPY . . [2023-04-24T22:13:20.075Z] ---> 34b54bb214c4 [2023-04-24T22:13:20.076Z] Step 13/26 : RUN ${MAKE} [2023-04-24T22:13:20.076Z] ---> Running in 32241905f7f3 [2023-04-24T22:13:20.333Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-24T22:13:42.261Z] Removing intermediate container 32241905f7f3 [2023-04-24T22:13:42.261Z] ---> 303b1f26ad94 [2023-04-24T22:13:42.261Z] Step 14/26 : FROM alpine:3.17 [2023-04-24T22:13:42.261Z] 3.17: Pulling from library/alpine [2023-04-24T22:13:42.261Z] f56be85fc22e: Already exists [2023-04-24T22:13:42.261Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T22:13:42.261Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T22:13:42.261Z] ---> 9ed4aefc74f6 [2023-04-24T22:13:42.261Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T22:13:42.261Z] ---> Running in 28d4fd1331db [2023-04-24T22:13:42.261Z] Removing intermediate container 28d4fd1331db [2023-04-24T22:13:42.261Z] ---> c8ef0378c9c4 [2023-04-24T22:13:42.261Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-24T22:13:42.261Z] ---> Running in 194bf76749bb [2023-04-24T22:13:42.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:42.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:42.261Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T22:13:42.261Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T22:13:42.261Z] OK: 7 MiB in 16 packages [2023-04-24T22:13:42.261Z] Removing intermediate container 194bf76749bb [2023-04-24T22:13:42.261Z] ---> 84712d07ccd2 [2023-04-24T22:13:42.261Z] Step 17/26 : WORKDIR / [2023-04-24T22:13:42.261Z] ---> Running in 38102170975c [2023-04-24T22:13:42.518Z] Removing intermediate container 38102170975c [2023-04-24T22:13:42.518Z] ---> c0c01db8ba64 [2023-04-24T22:13:42.518Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-24T22:13:43.087Z] ---> 451fc9ef3618 [2023-04-24T22:13:43.087Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-24T22:13:43.347Z] ---> 5206da7e6370 [2023-04-24T22:13:43.347Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-24T22:13:43.347Z] ---> ed8a1d9a4530 [2023-04-24T22:13:43.347Z] Step 21/26 : EXPOSE 59984 [2023-04-24T22:13:43.347Z] ---> Running in 53e331e230cb [2023-04-24T22:13:43.606Z] Removing intermediate container 53e331e230cb [2023-04-24T22:13:43.606Z] ---> bbd85866344d [2023-04-24T22:13:43.606Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-24T22:13:43.606Z] ---> Running in 1ef90b665cd2 [2023-04-24T22:13:43.606Z] Removing intermediate container 1ef90b665cd2 [2023-04-24T22:13:43.606Z] ---> f71bb9330890 [2023-04-24T22:13:43.606Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T22:13:43.606Z] ---> Running in 7ec52ff4c60f [2023-04-24T22:13:43.606Z] Removing intermediate container 7ec52ff4c60f [2023-04-24T22:13:43.606Z] ---> 43da3c720fd5 [2023-04-24T22:13:43.606Z] Step 24/26 : LABEL arch=amd64 [2023-04-24T22:13:43.606Z] ---> Running in b507524e6742 [2023-04-24T22:13:43.865Z] Removing intermediate container b507524e6742 [2023-04-24T22:13:43.865Z] ---> 0b155099e231 [2023-04-24T22:13:43.865Z] Step 25/26 : LABEL git_sha=ea5e28672c14c8e8bdb038735d2b9ea5c6ee21fa [2023-04-24T22:13:43.865Z] ---> Running in cd943ebac020 [2023-04-24T22:13:43.865Z] Removing intermediate container cd943ebac020 [2023-04-24T22:13:43.865Z] ---> b18174e410a3 [2023-04-24T22:13:43.865Z] Step 26/26 : LABEL version=0.0.0 [2023-04-24T22:13:43.865Z] ---> Running in ceea8452fb85 [2023-04-24T22:13:43.865Z] Removing intermediate container ceea8452fb85 [2023-04-24T22:13:43.865Z] ---> b635f0a6fb8c [2023-04-24T22:13:43.865Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T22:13:43.865Z] Successfully built b635f0a6fb8c [2023-04-24T22:13:44.124Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:13:44.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:13:44.555Z] [2023-04-24T22:13:44.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:13:44.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:13:44.857Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T22:13:44.857Z] 5eb5b503b376: Pulling fs layer [2023-04-24T22:13:44.857Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T22:13:44.857Z] ec43610c2a17: Pulling fs layer [2023-04-24T22:13:44.857Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T22:13:44.857Z] 33b1e0a273af: Pulling fs layer [2023-04-24T22:13:44.857Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T22:13:44.857Z] 2f39f015ded8: Pulling fs layer [2023-04-24T22:13:44.857Z] 33b1e0a273af: Waiting [2023-04-24T22:13:44.857Z] 5d3b04190fa2: Waiting [2023-04-24T22:13:44.857Z] 2f39f015ded8: Waiting [2023-04-24T22:13:44.857Z] 5c69ac0246d0: Download complete [2023-04-24T22:13:44.857Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T22:13:44.857Z] 3a2ae6a8a46f: Download complete [2023-04-24T22:13:44.857Z] 33b1e0a273af: Verifying Checksum [2023-04-24T22:13:44.857Z] 33b1e0a273af: Download complete [2023-04-24T22:13:44.857Z] 5d3b04190fa2: Download complete [2023-04-24T22:13:44.857Z] ec43610c2a17: Verifying Checksum [2023-04-24T22:13:44.857Z] ec43610c2a17: Download complete [2023-04-24T22:13:45.119Z] 5eb5b503b376: Download complete [2023-04-24T22:13:45.686Z] 2f39f015ded8: Download complete [2023-04-24T22:13:46.251Z] 5eb5b503b376: Pull complete [2023-04-24T22:13:46.509Z] 5c69ac0246d0: Pull complete [2023-04-24T22:13:47.072Z] ec43610c2a17: Pull complete [2023-04-24T22:13:47.072Z] 3a2ae6a8a46f: Pull complete [2023-04-24T22:13:47.329Z] 33b1e0a273af: Pull complete [2023-04-24T22:13:47.329Z] 5d3b04190fa2: Pull complete [2023-04-24T22:13:52.587Z] 2f39f015ded8: Pull complete [2023-04-24T22:13:52.587Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T22:13:52.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:13:52.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:13:52.663Z] prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container [2023-04-24T22:13:52.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@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 [2023-04-24T22:13:55.256Z] $ docker top 4434f09e94fece7df09c54bf8c1e2d374ba9b60985c8d72233b51e1fc9802614 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:13:55.632Z] ---> job-cost.sh [2023-04-24T22:13:55.632Z] lf-activate-venv: SKIPPING [2023-04-24T22:13:55.632Z] INFO: No Stack... [2023-04-24T22:13:56.201Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T22:13:56.460Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T22:13:56.748Z] + cat /w/workspace/undry_device-onvif-camera_PR-321/archives/cost.csv [2023-04-24T22:13:56.748Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T22:13:56.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [2023-04-24T22:13:56.765Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] did not exist. Created. [2023-04-24T22:13:56.771Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T22:13:57.073Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T22:13:57.104Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T22:13:57.110Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T22:13:57.126Z] $ docker stop --time=1 4434f09e94fece7df09c54bf8c1e2d374ba9b60985c8d72233b51e1fc9802614 [2023-04-24T22:13:58.171Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9576 in /w/workspace/undry_device-onvif-camera_PR-321 [2023-04-24T22:13:58.396Z] $ docker rm -f --volumes 4434f09e94fece7df09c54bf8c1e2d374ba9b60985c8d72233b51e1fc9802614 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2023-04-24T22:13:58.462Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-04-24T22:13:58.497Z] The recommended git tool is: git [Pipeline] // stage [Pipeline] } [2023-04-24T22:14:04.348Z] using credential edgex-jenkins-ssh [2023-04-24T22:14:04.366Z] Cloning the remote Git repository [2023-04-24T22:14:04.429Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T22:14:04.553Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-04-24T22:14:04.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T22:14:04.740Z] > git --version # timeout=10 [2023-04-24T22:14:04.765Z] > git --version # 'git version 2.25.1' [2023-04-24T22:14:04.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T22:14:04.958Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T22:14:06.458Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T22:14:06.484Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T22:14:08.119Z] Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit a27e28d7063f91f5e1587cb421881b607ffe8dc2 [2023-04-24T22:14:07.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T22:14:07.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T22:14:07.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T22:14:07.552Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T22:14:08.145Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T22:14:08.228Z] > git checkout -f a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 [2023-04-24T22:14:08.525Z] > git remote # timeout=10 [2023-04-24T22:14:08.547Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T22:14:08.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T22:14:08.586Z] > git merge 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 [2023-04-24T22:14:09.226Z] Merge succeeded, producing 98c45d9b15746b6488b8e66efdb08c4db8b590b3 [2023-04-24T22:14:09.227Z] Checking out Revision 98c45d9b15746b6488b8e66efdb08c4db8b590b3 (PR-321) [2023-04-24T22:14:09.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T22:14:09.240Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T22:14:09.259Z] > git checkout -f 98c45d9b15746b6488b8e66efdb08c4db8b590b3 # timeout=10 [2023-04-24T22:14:12.808Z] Commit message: "Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD" [2023-04-24T22:14:12.822Z] > git rev-list --no-walk a27e28d7063f91f5e1587cb421881b607ffe8dc2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T22:14:14.202Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T22:14:14.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T22:14:14.202Z] Dload Upload Total Spent Left Speed [2023-04-24T22:14:14.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-04-24T22:14:14.977Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T22:14:15.310Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-04-24T22:14:15.310Z] /etc/docker/daemon.new [2023-04-24T22:14:15.310Z] { [2023-04-24T22:14:15.310Z] "registry-mirrors": [ [2023-04-24T22:14:15.310Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T22:14:15.310Z] ], [2023-04-24T22:14:15.310Z] "bip": "10.250.0.254/24", [2023-04-24T22:14:15.310Z] "hosts": [ [2023-04-24T22:14:15.310Z] "tcp://0.0.0.0:5555", [2023-04-24T22:14:15.310Z] "unix:///var/run/docker.sock" [2023-04-24T22:14:15.310Z] ], [2023-04-24T22:14:15.310Z] "mtu": 1458, [2023-04-24T22:14:15.310Z] "selinux-enabled": true, [2023-04-24T22:14:15.310Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T22:14:15.310Z] } [Pipeline] sh [2023-04-24T22:14:15.646Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T22:14:15.982Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:14:34.306Z] provisioning config files... [2023-04-24T22:14:34.342Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8947803392609005478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:14:34.727Z] ---> docker-login.sh [2023-04-24T22:14:34.727Z] nexus3.edgexfoundry.org:10001 [2023-04-24T22:14:35.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:14:35.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:14:35.334Z] Configure a credential helper to remove this warning. See [2023-04-24T22:14:35.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:14:35.334Z] [2023-04-24T22:14:35.334Z] Login Succeeded [2023-04-24T22:14:35.334Z] nexus3.edgexfoundry.org:10002 [2023-04-24T22:14:35.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:14:35.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:14:35.874Z] Configure a credential helper to remove this warning. See [2023-04-24T22:14:35.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:14:35.874Z] [2023-04-24T22:14:35.874Z] Login Succeeded [2023-04-24T22:14:35.874Z] nexus3.edgexfoundry.org:10003 [2023-04-24T22:14:36.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:14:36.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:14:36.146Z] Configure a credential helper to remove this warning. See [2023-04-24T22:14:36.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:14:36.146Z] [2023-04-24T22:14:36.146Z] Login Succeeded [2023-04-24T22:14:36.146Z] nexus3.edgexfoundry.org:10004 [2023-04-24T22:14:36.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:14:36.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:14:36.692Z] Configure a credential helper to remove this warning. See [2023-04-24T22:14:36.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:14:36.692Z] [2023-04-24T22:14:36.692Z] Login Succeeded [2023-04-24T22:14:36.692Z] docker.io [2023-04-24T22:14:36.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:14:37.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:14:37.234Z] Configure a credential helper to remove this warning. See [2023-04-24T22:14:37.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:14:37.234Z] [2023-04-24T22:14:37.234Z] Login Succeeded [2023-04-24T22:14:37.234Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T22:14:37.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T22:14:37.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:14:37.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:14:37.622Z] ========================================================= [2023-04-24T22:14:37.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T22:14:37.622Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:14:37.983Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T22:14:38.582Z] Sending build context to Docker daemon 19.67MB [2023-04-24T22:14:38.582Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T22:14:38.582Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T22:14:38.866Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T22:14:38.866Z] c41833b44d91: Pulling fs layer [2023-04-24T22:14:38.866Z] ed15518f5707: Pulling fs layer [2023-04-24T22:14:38.866Z] feae8fd75edb: Pulling fs layer [2023-04-24T22:14:38.866Z] 242c74f7c9fa: Pulling fs layer [2023-04-24T22:14:38.866Z] 3cdef696dda3: Pulling fs layer [2023-04-24T22:14:38.867Z] 2ced38df9373: Pulling fs layer [2023-04-24T22:14:38.867Z] 58f1dce35555: Pulling fs layer [2023-04-24T22:14:38.867Z] 242c74f7c9fa: Waiting [2023-04-24T22:14:38.867Z] 3cdef696dda3: Waiting [2023-04-24T22:14:38.867Z] 2ced38df9373: Waiting [2023-04-24T22:14:38.867Z] 58f1dce35555: Waiting [2023-04-24T22:14:38.867Z] ed15518f5707: Verifying Checksum [2023-04-24T22:14:38.867Z] ed15518f5707: Download complete [2023-04-24T22:14:38.867Z] 242c74f7c9fa: Verifying Checksum [2023-04-24T22:14:38.867Z] 242c74f7c9fa: Download complete [2023-04-24T22:14:38.867Z] 3cdef696dda3: Verifying Checksum [2023-04-24T22:14:38.867Z] 3cdef696dda3: Download complete [2023-04-24T22:14:38.867Z] c41833b44d91: Verifying Checksum [2023-04-24T22:14:38.867Z] c41833b44d91: Download complete [2023-04-24T22:14:40.309Z] c41833b44d91: Pull complete [2023-04-24T22:14:40.309Z] 58f1dce35555: Verifying Checksum [2023-04-24T22:14:40.309Z] 58f1dce35555: Download complete [2023-04-24T22:14:40.906Z] ed15518f5707: Pull complete [2023-04-24T22:14:41.498Z] feae8fd75edb: Verifying Checksum [2023-04-24T22:14:41.498Z] feae8fd75edb: Download complete [2023-04-24T22:14:41.770Z] 2ced38df9373: Verifying Checksum [2023-04-24T22:14:41.770Z] 2ced38df9373: Download complete [2023-04-24T22:14:54.130Z] feae8fd75edb: Pull complete [2023-04-24T22:14:54.130Z] 242c74f7c9fa: Pull complete [2023-04-24T22:14:54.130Z] 3cdef696dda3: Pull complete [2023-04-24T22:15:00.800Z] 2ced38df9373: Pull complete [2023-04-24T22:15:03.423Z] 58f1dce35555: Pull complete [2023-04-24T22:15:03.423Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-24T22:15:03.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T22:15:03.423Z] ---> fadd8f120f05 [2023-04-24T22:15:03.423Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T22:15:05.386Z] ---> Running in 67e8f28244ba [2023-04-24T22:15:05.655Z] Removing intermediate container 67e8f28244ba [2023-04-24T22:15:05.655Z] ---> 4c6e75840143 [2023-04-24T22:15:05.655Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T22:15:05.924Z] ---> Running in e67f11256547 [2023-04-24T22:15:06.195Z] Removing intermediate container e67f11256547 [2023-04-24T22:15:06.195Z] ---> 5bd16dda5a6d [2023-04-24T22:15:06.195Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T22:15:06.466Z] ---> Running in 388431ca963c [2023-04-24T22:15:07.055Z] Removing intermediate container 388431ca963c [2023-04-24T22:15:07.055Z] ---> adf1f2dd61f7 [2023-04-24T22:15:07.055Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T22:15:07.326Z] ---> Running in d358b4e027a2 [2023-04-24T22:15:07.597Z] Removing intermediate container d358b4e027a2 [2023-04-24T22:15:07.597Z] ---> 03b6b0d54cd5 [2023-04-24T22:15:07.597Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T22:15:07.865Z] ---> Running in d1c2b5597057 [2023-04-24T22:15:08.134Z] Removing intermediate container d1c2b5597057 [2023-04-24T22:15:08.134Z] ---> d5475e77e738 [2023-04-24T22:15:08.134Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T22:15:08.134Z] ---> Running in 0d89e31f9c08 [2023-04-24T22:15:09.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T22:15:10.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T22:15:11.582Z] OK: 263 MiB in 53 packages [2023-04-24T22:15:12.570Z] Removing intermediate container 0d89e31f9c08 [2023-04-24T22:15:12.570Z] ---> 456758b73f77 [2023-04-24T22:15:12.570Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T22:15:12.570Z] ---> Running in 678559c39ea3 [2023-04-24T22:15:12.840Z] Removing intermediate container 678559c39ea3 [2023-04-24T22:15:12.840Z] ---> 94363744caee [2023-04-24T22:15:12.840Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T22:15:13.441Z] ---> f3e89eb1f019 [2023-04-24T22:15:13.442Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T22:15:13.442Z] ---> Running in b2e1fef3d397 [2023-04-24T22:16:21.362Z] Removing intermediate container b2e1fef3d397 [2023-04-24T22:16:21.362Z] ---> d89c6680a90a [2023-04-24T22:16:21.362Z] Step 12/13 : COPY . . [2023-04-24T22:16:21.362Z] ---> 5dd8d5de22ff [2023-04-24T22:16:21.362Z] Step 13/13 : RUN ${MAKE} [2023-04-24T22:16:21.362Z] ---> Running in c67131116e19 [2023-04-24T22:16:21.962Z] noop [2023-04-24T22:16:22.931Z] Removing intermediate container c67131116e19 [2023-04-24T22:16:22.931Z] ---> 857fd2a4d562 [2023-04-24T22:16:22.931Z] Successfully built 857fd2a4d562 [2023-04-24T22:16:22.931Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:16:23.303Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T22:16:23.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:16:23.536Z] prd-ubuntu20.04-docker-arm64-4c-16g-9576 does not seem to be running inside a container [2023-04-24T22:16:23.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T22:16:24.908Z] $ docker top cfb100587d26f994aab14cf1d26fcc56564749432bec96b6446a8eee11003b30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:16:25.787Z] + go version [2023-04-24T22:16:25.787Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T22:16:25.809Z] $ docker stop --time=1 cfb100587d26f994aab14cf1d26fcc56564749432bec96b6446a8eee11003b30 [2023-04-24T22:16:27.526Z] $ docker rm -f --volumes cfb100587d26f994aab14cf1d26fcc56564749432bec96b6446a8eee11003b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:16:28.104Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T22:16:28.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:16:28.310Z] prd-ubuntu20.04-docker-arm64-4c-16g-9576 does not seem to be running inside a container [2023-04-24T22:16:28.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T22:16:29.715Z] $ docker top 0355a4c69e1255f1fc1daa6559f7a5e44d2f8226e45213de381a8430a9aa81a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:16:30.580Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-04-24T22:16:31.242Z] + make test [2023-04-24T22:16:31.242Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T22:17:10.168Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T22:20:01.950Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T22:20:01.950Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T22:20:01.950Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.6% of statements [2023-04-24T22:20:28.682Z] --- FAIL: TestIpGenerator (0.00s) [2023-04-24T22:20:28.682Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.59s) [2023-04-24T22:20:28.682Z] util_test.go:180: [2023-04-24T22:20:28.682Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 [2023-04-24T22:20:28.682Z] Error: Not equal: [2023-04-24T22:20:28.682Z] expected: 0xfffffe [2023-04-24T22:20:28.683Z] actual : 0xf8de33 [2023-04-24T22:20:28.683Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T22:20:28.683Z] util_test.go:183: [2023-04-24T22:20:28.683Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 [2023-04-24T22:20:28.683Z] Error: Not equal: [2023-04-24T22:20:28.683Z] expected: "10.255.255.254" [2023-04-24T22:20:28.683Z] actual : "10.248.222.51" [2023-04-24T22:20:28.683Z] [2023-04-24T22:20:28.683Z] Diff: [2023-04-24T22:20:28.683Z] --- Expected [2023-04-24T22:20:28.683Z] +++ Actual [2023-04-24T22:20:28.683Z] @@ -1 +1 @@ [2023-04-24T22:20:28.683Z] -10.255.255.254 [2023-04-24T22:20:28.683Z] +10.248.222.51 [2023-04-24T22:20:28.683Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T22:20:28.683Z] FAIL [2023-04-24T22:20:28.683Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-04-24T22:20:28.683Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.840s [2023-04-24T22:20:28.683Z] FAIL [2023-04-24T22:20:28.683Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-24T22:20:28.700Z] $ docker stop --time=1 0355a4c69e1255f1fc1daa6559f7a5e44d2f8226e45213de381a8430a9aa81a2 [2023-04-24T22:20:30.632Z] $ docker rm -f --volumes 0355a4c69e1255f1fc1daa6559f7a5e44d2f8226e45213de381a8430a9aa81a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:20:32.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T22:20:32.079Z] [2023-04-24T22:20:32.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:20:32.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T22:20:32.698Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T22:20:32.698Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T22:20:32.698Z] 04944245beec: Pulling fs layer [2023-04-24T22:20:32.698Z] 699f458cf7ca: Pulling fs layer [2023-04-24T22:20:32.698Z] 765212b225bb: Pulling fs layer [2023-04-24T22:20:32.698Z] f23df028b6ca: Pulling fs layer [2023-04-24T22:20:32.698Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T22:20:32.698Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T22:20:32.698Z] 765212b225bb: Waiting [2023-04-24T22:20:32.698Z] f23df028b6ca: Waiting [2023-04-24T22:20:32.698Z] d65c8cfc05b1: Waiting [2023-04-24T22:20:32.698Z] 2437ff75d9bd: Waiting [2023-04-24T22:20:32.698Z] 04944245beec: Verifying Checksum [2023-04-24T22:20:32.698Z] 04944245beec: Download complete [2023-04-24T22:20:32.698Z] 765212b225bb: Verifying Checksum [2023-04-24T22:20:32.698Z] 765212b225bb: Download complete [2023-04-24T22:20:32.974Z] f23df028b6ca: Download complete [2023-04-24T22:20:32.974Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T22:20:32.974Z] d65c8cfc05b1: Download complete [2023-04-24T22:20:32.974Z] 699f458cf7ca: Verifying Checksum [2023-04-24T22:20:32.974Z] 699f458cf7ca: Download complete [2023-04-24T22:20:33.569Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T22:20:33.569Z] 8998bd30e6a1: Download complete [2023-04-24T22:20:36.172Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T22:20:36.172Z] 2437ff75d9bd: Download complete [2023-04-24T22:20:37.592Z] 8998bd30e6a1: Pull complete [2023-04-24T22:20:38.189Z] 04944245beec: Pull complete [2023-04-24T22:20:39.607Z] 699f458cf7ca: Pull complete [2023-04-24T22:20:39.607Z] 765212b225bb: Pull complete [2023-04-24T22:20:40.573Z] f23df028b6ca: Pull complete [2023-04-24T22:20:40.573Z] d65c8cfc05b1: Pull complete [2023-04-24T22:20:55.753Z] 2437ff75d9bd: Pull complete [2023-04-24T22:20:55.753Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T22:20:55.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T22:20:55.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:20:55.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-9576 does not seem to be running inside a container [2023-04-24T22:20:56.061Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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:arm64 cat [2023-04-24T22:20:58.974Z] $ docker top 2a25f03dcfd35007959ffec83ff63e4862ad0f1c4f69957acec8f44f0a3b2287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:20:59.930Z] ---> job-cost.sh [2023-04-24T22:20:59.930Z] lf-activate-venv: SKIPPING [2023-04-24T22:20:59.930Z] INFO: No Stack... [2023-04-24T22:21:00.513Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T22:21:01.476Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T22:21:02.324Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-04-24T22:21:02.324Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T22:21:02.435Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [2023-04-24T22:21:02.444Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] did not exist. Created. [2023-04-24T22:21:02.444Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T22:21:03.134Z] /w/workspace/device-onvif-camera/2@tmp/durable-3f968565/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T22:21:03.811Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T22:21:03.841Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T22:21:04.430Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T22:21:04.437Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-321-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T22:21:04.452Z] $ docker stop --time=1 2a25f03dcfd35007959ffec83ff63e4862ad0f1c4f69957acec8f44f0a3b2287 [2023-04-24T22:21:05.973Z] $ docker rm -f --volumes 2a25f03dcfd35007959ffec83ff63e4862ad0f1c4f69957acec8f44f0a3b2287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T22:21:06.238Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-24T22:21:06.976Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-321/archives ] [2023-04-24T22:21:06.976Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-321/archives [2023-04-24T22:21:06.976Z] total 16 [2023-04-24T22:21:06.976Z] drwxr-xr-x 3 root root 4096 Apr 24 22:13 . [2023-04-24T22:21:06.976Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 22:13 .. [2023-04-24T22:21:06.976Z] drwxr-xr-x 2 root root 4096 Apr 24 22:13 cost [2023-04-24T22:21:06.976Z] -rw-r--r-- 1 root root 91 Apr 24 22:13 cost.csv [2023-04-24T22:21:06.976Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-321/archives [2023-04-24T22:21:06.976Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-321/archives [2023-04-24T22:21:06.976Z] total 16 [2023-04-24T22:21:06.976Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 22:13 . [2023-04-24T22:21:06.976Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 22:13 .. [2023-04-24T22:21:06.977Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 22:13 cost [2023-04-24T22:21:06.977Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 24 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:07.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:08.125Z] ---> package-listing.sh [2023-04-24T22:21:08.125Z] ++ facter osfamily [2023-04-24T22:21:08.125Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T22:21:08.385Z] + OS_FAMILY=debian [2023-04-24T22:21:08.385Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-321 [2023-04-24T22:21:08.385Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T22:21:08.385Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T22:21:08.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T22:21:08.385Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T22:21:08.385Z] + '[' /w/workspace/undry_device-onvif-camera_PR-321 ']' [2023-04-24T22:21:08.385Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T22:21:08.385Z] + case "${OS_FAMILY}" in [2023-04-24T22:21:08.385Z] + dpkg -l [2023-04-24T22:21:08.385Z] + grep '^ii' [2023-04-24T22:21:08.385Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T22:21:08.385Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T22:21:08.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T22:21:08.385Z] + '[' /w/workspace/undry_device-onvif-camera_PR-321 ']' [2023-04-24T22:21:08.385Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-321/archives/ [2023-04-24T22:21:08.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-321/archives/ [Pipeline] echo [2023-04-24T22:21:08.397Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T22:21:08.674Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:21:09.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:21:09.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:21:09.317Z] prd-ubuntu20.04-docker-8c-8g-9571 does not seem to be running inside a container [2023-04-24T22:21:09.348Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-321 -v /w/workspace/undry_device-onvif-camera_PR-321:/w/workspace/undry_device-onvif-camera_PR-321:rw,z -v /w/workspace/undry_device-onvif-camera_PR-321@tmp:/w/workspace/undry_device-onvif-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T22:21:09.565Z] $ docker top dd41f53e8752dd56e556ce8695c56e67e62d07dee83ac8c24dd57f27b157bebd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:21:09.904Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T22:21:10.190Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T22:21:10.485Z] + ls /var/log/sa-host [2023-04-24T22:21:10.485Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:21:10.635Z] provisioning config files... [2023-04-24T22:21:10.645Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-321@tmp/config15749420534998714926tmp [Pipeline] { [Pipeline] echo [2023-04-24T22:21:10.664Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:10.951Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T22:21:10.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:11.280Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T22:21:11.288Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:11.572Z] ---> sudo-logs.sh [2023-04-24T22:21:11.572Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T22:21:11.599Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:11.887Z] ---> job-cost.sh [2023-04-24T22:21:11.888Z] lf-activate-venv: SKIPPING [2023-04-24T22:21:11.888Z] DEBUG: total: 0.2199999988079071 [2023-04-24T22:21:11.888Z] INFO: Retrieving Stack Cost... [2023-04-24T22:21:12.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T22:21:12.714Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T22:21:12.725Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:13.008Z] ---> logs-deploy.sh [2023-04-24T22:21:13.008Z] lf-activate-venv: SKIPPING [2023-04-24T22:21:13.008Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-321/2 [2023-04-24T22:21:13.008Z] INFO: archiving workspace using pattern(s): [2023-04-24T22:21:13.946Z] Archives upload complete. [2023-04-24T22:21:13.946Z] INFO: archiving logs to Nexus