Pull request #245 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3db9ec9e4acb35ac194ded49032763a22c354391+5eec883b2bb43bf890ad540a9146487d6a3ec42a (b0c697db7661fc1ad23bf83038321b7653d28b30) 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-ssh14042142161533635337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8551177186979707437.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-245/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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10365908106345562092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1404920771755693580.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-245/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-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4455883806845627402.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: 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 ‘prd-ubuntu20.04-docker-8c-8g-8573’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8582 in /w/workspace/undry_device-onvif-camera_PR-245 [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-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 3db9ec9e4acb35ac194ded49032763a22c354391 Merge succeeded, producing 3db9ec9e4acb35ac194ded49032763a22c354391 Checking out Revision 3db9ec9e4acb35ac194ded49032763a22c354391 (PR-245) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" First time build. Skipping changelog. > 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/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # 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 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 > git rev-list --no-walk c3c4e2fe4d4098176da55fece96e0a94ee4d6394 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T17:17:38.027Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T17:17:38.087Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T17:17:38.105Z] ========================================================= [2023-03-07T17:17:38.105Z] EdgeX Global Pipelines Version Info [2023-03-07T17:17:38.105Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:17:38.860Z] ------------------- [2023-03-07T17:17:38.860Z] stable info: [2023-03-07T17:17:38.860Z] ------------------- [2023-03-07T17:17:38.860Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T17:17:38.860Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T17:17:38.860Z] Message: update stable to v1.0.244 [2023-03-07T17:17:39.428Z] ------------------- [2023-03-07T17:17:39.428Z] experimental info: [2023-03-07T17:17:39.428Z] ------------------- [2023-03-07T17:17:39.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T17:17:39.428Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T17:17:39.428Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T17:17:39.606Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-07T17:17:39.620Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-07T17:17:39.639Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T17:17:39.654Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T17:17:39.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T17:17:39.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T17:17:39.690Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T17:17:39.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T17:17:39.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T17:17:39.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T17:17:39.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T17:17:39.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-07T17:17:39.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T17:17:39.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T17:17:39.799Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T17:17:39.811Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T17:17:39.821Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T17:17:39.834Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T17:17:39.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T17:17:39.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T17:17:39.873Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T17:17:39.887Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-07T17:17:39.898Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T17:17:39.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T17:17:39.931Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T17:17:39.946Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T17:17:39.958Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T17:17:39.972Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo [2023-03-07T17:17:39.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo [2023-03-07T17:17:39.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo [2023-03-07T17:17:40.004Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo [2023-03-07T17:17:40.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3db9ec9 [Pipeline] echo [2023-03-07T17:17:40.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:17:40.064Z] provisioning config files... [2023-03-07T17:17:40.076Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config4436459075399209894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:17:40.377Z] ---> docker-login.sh [2023-03-07T17:17:40.377Z] nexus3.edgexfoundry.org:10001 [2023-03-07T17:17:40.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:40.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:40.638Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:40.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:40.638Z] [2023-03-07T17:17:40.638Z] Login Succeeded [2023-03-07T17:17:40.638Z] nexus3.edgexfoundry.org:10002 [2023-03-07T17:17:40.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:40.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:40.903Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:40.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:40.903Z] [2023-03-07T17:17:40.903Z] Login Succeeded [2023-03-07T17:17:40.903Z] nexus3.edgexfoundry.org:10003 [2023-03-07T17:17:40.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:40.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:40.903Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:40.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:40.903Z] [2023-03-07T17:17:40.903Z] Login Succeeded [2023-03-07T17:17:40.903Z] nexus3.edgexfoundry.org:10004 [2023-03-07T17:17:40.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:41.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:41.163Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:41.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:41.163Z] [2023-03-07T17:17:41.163Z] Login Succeeded [2023-03-07T17:17:41.163Z] docker.io [2023-03-07T17:17:41.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:41.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:41.423Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:41.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:41.423Z] [2023-03-07T17:17:41.423Z] Login Succeeded [2023-03-07T17:17:41.423Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T17:17:41.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T17:17:41.801Z] + git rev-list -1 --merges 3db9ec9e4acb35ac194ded49032763a22c354391~1..3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo [2023-03-07T17:17:41.947Z] -----------> git rev-list -1 --merges 3db9ec9e4acb35ac194ded49032763a22c354391~1..3db9ec9e4acb35ac194ded49032763a22c354391 3db9ec9e4acb35ac194ded49032763a22c354391 [false] [Pipeline] sh [2023-03-07T17:17:42.233Z] + git log --format=format:%s -1 3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo [2023-03-07T17:17:42.250Z] ========================================================= [2023-03-07T17:17:42.250Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T17:17:42.250Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T17:17:42.584Z] + git log --format=format:%s -1 3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo [2023-03-07T17:17:42.596Z] [semverPrep] GIT_COMMIT: 3db9ec9e4acb35ac194ded49032763a22c354391, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6 [Pipeline] echo [2023-03-07T17:17:42.604Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T17:17:42.961Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T17:17:42.961Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T17:17:42.961Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T17:17:42.961Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T17:17:42.961Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T17:17:42.961Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T17:17:42.961Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:17:43.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T17:17:43.313Z] [2023-03-07T17:17:43.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:17:43.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T17:17:43.611Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T17:17:43.611Z] b85a868b505f: Pulling fs layer [2023-03-07T17:17:43.611Z] e2be974225ed: Pulling fs layer [2023-03-07T17:17:43.611Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T17:17:43.611Z] 988bab9f4d93: Pulling fs layer [2023-03-07T17:17:43.611Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T17:17:43.611Z] eaf3925da568: Pulling fs layer [2023-03-07T17:17:43.611Z] bab4dde63d76: Pulling fs layer [2023-03-07T17:17:43.611Z] bde34c3a00c8: Pulling fs layer [2023-03-07T17:17:43.611Z] b352a97aabf1: Pulling fs layer [2023-03-07T17:17:43.611Z] 4872d77fe225: Pulling fs layer [2023-03-07T17:17:43.611Z] 5851b861e8e6: Pulling fs layer [2023-03-07T17:17:43.611Z] bab4dde63d76: Waiting [2023-03-07T17:17:43.611Z] bde34c3a00c8: Waiting [2023-03-07T17:17:43.611Z] b352a97aabf1: Waiting [2023-03-07T17:17:43.611Z] 4872d77fe225: Waiting [2023-03-07T17:17:43.611Z] 988bab9f4d93: Waiting [2023-03-07T17:17:43.611Z] eaf3925da568: Waiting [2023-03-07T17:17:43.611Z] 1469e6f7b9e6: Waiting [2023-03-07T17:17:43.611Z] 5851b861e8e6: Waiting [2023-03-07T17:17:43.611Z] e2be974225ed: Verifying Checksum [2023-03-07T17:17:43.611Z] e2be974225ed: Download complete [2023-03-07T17:17:43.611Z] 988bab9f4d93: Verifying Checksum [2023-03-07T17:17:43.611Z] 988bab9f4d93: Download complete [2023-03-07T17:17:43.871Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T17:17:43.871Z] 1469e6f7b9e6: Download complete [2023-03-07T17:17:43.871Z] eaf3925da568: Download complete [2023-03-07T17:17:43.871Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T17:17:43.871Z] 339a4e72a1f5: Download complete [2023-03-07T17:17:43.871Z] bde34c3a00c8: Download complete [2023-03-07T17:17:43.871Z] b352a97aabf1: Verifying Checksum [2023-03-07T17:17:43.871Z] b352a97aabf1: Download complete [2023-03-07T17:17:43.871Z] 4872d77fe225: Verifying Checksum [2023-03-07T17:17:43.871Z] 4872d77fe225: Download complete [2023-03-07T17:17:43.871Z] 5851b861e8e6: Verifying Checksum [2023-03-07T17:17:43.871Z] 5851b861e8e6: Download complete [2023-03-07T17:17:43.871Z] b85a868b505f: Verifying Checksum [2023-03-07T17:17:43.871Z] b85a868b505f: Download complete [2023-03-07T17:17:44.438Z] bab4dde63d76: Verifying Checksum [2023-03-07T17:17:44.438Z] bab4dde63d76: Download complete [2023-03-07T17:17:45.374Z] b85a868b505f: Pull complete [2023-03-07T17:17:45.374Z] e2be974225ed: Pull complete [2023-03-07T17:17:45.941Z] 339a4e72a1f5: Pull complete [2023-03-07T17:17:45.941Z] 988bab9f4d93: Pull complete [2023-03-07T17:17:46.200Z] 1469e6f7b9e6: Pull complete [2023-03-07T17:17:46.200Z] eaf3925da568: Pull complete [2023-03-07T17:17:48.101Z] bab4dde63d76: Pull complete [2023-03-07T17:17:48.101Z] bde34c3a00c8: Pull complete [2023-03-07T17:17:48.101Z] b352a97aabf1: Pull complete [2023-03-07T17:17:48.101Z] 4872d77fe225: Pull complete [2023-03-07T17:17:48.101Z] 5851b861e8e6: Pull complete [2023-03-07T17:17:48.101Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T17:17:48.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T17:17:48.101Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:17:48.198Z] prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container [2023-03-07T17:17:48.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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-03-07T17:17:51.524Z] $ docker top 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 -eo pid,comm [2023-03-07T17:17:51.574Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T17:17:51.574Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T17:17:51.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T17:17:51.608Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T17:17:51.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T17:17:51.714Z] $ docker exec 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent [2023-03-07T17:17:51.814Z] SSH_AUTH_SOCK=/tmp/ssh-a4taIX9ZfBW6/agent.34 [2023-03-07T17:17:51.814Z] SSH_AGENT_PID=40 [2023-03-07T17:17:51.820Z] Running ssh-add (command line suppressed) [2023-03-07T17:17:51.912Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_12744044441929798050.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_12744044441929798050.key) [2023-03-07T17:17:51.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T17:17:52.211Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T17:17:52.223Z] $ docker exec --env ******** --env ******** 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent -k [2023-03-07T17:17:52.315Z] unset SSH_AUTH_SOCK; [2023-03-07T17:17:52.315Z] unset SSH_AGENT_PID; [2023-03-07T17:17:52.315Z] echo Agent pid 40 killed; [2023-03-07T17:17:52.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T17:17:52.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T17:17:52.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T17:17:52.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T17:17:52.459Z] $ docker exec 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent [2023-03-07T17:17:52.558Z] SSH_AUTH_SOCK=/tmp/ssh-Dd2p7BjNSJYK/agent.72 [2023-03-07T17:17:52.558Z] SSH_AGENT_PID=78 [2023-03-07T17:17:52.563Z] Running ssh-add (command line suppressed) [2023-03-07T17:17:52.656Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_15654595692233752147.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_15654595692233752147.key) [2023-03-07T17:17:52.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T17:17:52.957Z] + git semver init [2023-03-07T17:17:53.218Z] 2023-03-07 17:17:53,141 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T17:17:53.218Z] 2023-03-07 17:17:53,142 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-245/.semver [2023-03-07T17:17:53.218Z] 2023-03-07 17:17:53,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-245/.semver [2023-03-07T17:17:53.218Z] 2023-03-07 17:17:53,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-245/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-245, universal_newlines=False, shell=None, istream=None) [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,113 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-245/.git/info/exclude [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,113 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 with force:False [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,113 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,118 [execute] INFO git cat-file --batch-check [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,125 [execute] INFO git cat-file --batch [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T17:17:54.152Z] 2023-03-07 17:17:54,132 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 [2023-03-07T17:17:54.152Z] 0.0.0 [Pipeline] } [2023-03-07T17:17:54.161Z] $ docker exec --env ******** --env ******** 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent -k [2023-03-07T17:17:54.275Z] unset SSH_AUTH_SOCK; [2023-03-07T17:17:54.276Z] unset SSH_AGENT_PID; [2023-03-07T17:17:54.276Z] echo Agent pid 78 killed; [2023-03-07T17:17:54.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T17:17:54.589Z] + git semver [Pipeline] } [2023-03-07T17:17:55.168Z] $ docker stop --time=1 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 [2023-03-07T17:17:56.457Z] $ docker rm -f --volumes 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T17:17:56.787Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T17:17:56.994Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T17:17:56.997Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:17:57.134Z] provisioning config files... [2023-03-07T17:17:57.143Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config8725917064807883725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:17:57.434Z] ---> docker-login.sh [2023-03-07T17:17:57.434Z] nexus3.edgexfoundry.org:10001 [2023-03-07T17:17:57.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:57.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:57.434Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:57.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:57.434Z] [2023-03-07T17:17:57.434Z] Login Succeeded [2023-03-07T17:17:57.434Z] nexus3.edgexfoundry.org:10002 [2023-03-07T17:17:57.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:57.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:57.434Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:57.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:57.434Z] [2023-03-07T17:17:57.434Z] Login Succeeded [2023-03-07T17:17:57.434Z] nexus3.edgexfoundry.org:10003 [2023-03-07T17:17:57.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:57.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:57.693Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:57.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:57.693Z] [2023-03-07T17:17:57.693Z] Login Succeeded [2023-03-07T17:17:57.693Z] nexus3.edgexfoundry.org:10004 [2023-03-07T17:17:57.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:57.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:57.693Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:57.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:57.693Z] [2023-03-07T17:17:57.693Z] Login Succeeded [2023-03-07T17:17:57.693Z] docker.io [2023-03-07T17:17:57.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:17:57.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:17:57.951Z] Configure a credential helper to remove this warning. See [2023-03-07T17:17:57.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:17:57.951Z] [2023-03-07T17:17:57.951Z] Login Succeeded [2023-03-07T17:17:57.951Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T17:17:57.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T17:17:58.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:17:58.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:17:58.051Z] ========================================================= [2023-03-07T17:17:58.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T17:17:58.051Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:17:58.358Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T17:17:58.358Z] Sending build context to Docker daemon 27.84MB [2023-03-07T17:17:58.358Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:17:58.358Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T17:17:58.621Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T17:17:58.621Z] 213ec9aee27d: Pulling fs layer [2023-03-07T17:17:58.621Z] 4583459ba037: Pulling fs layer [2023-03-07T17:17:58.621Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T17:17:58.621Z] 53926ce57604: Pulling fs layer [2023-03-07T17:17:58.621Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T17:17:58.621Z] 22ff95d597cd: Pulling fs layer [2023-03-07T17:17:58.621Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T17:17:58.621Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T17:17:58.621Z] a7acece74701: Pulling fs layer [2023-03-07T17:17:58.621Z] 21b2b0c7a3f4: Waiting [2023-03-07T17:17:58.621Z] 22ff95d597cd: Waiting [2023-03-07T17:17:58.621Z] 12d6caf4c0d1: Waiting [2023-03-07T17:17:58.621Z] 96b7cbca73a9: Waiting [2023-03-07T17:17:58.621Z] a7acece74701: Waiting [2023-03-07T17:17:58.621Z] 53926ce57604: Waiting [2023-03-07T17:17:58.621Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T17:17:58.621Z] 93c1e223e6f2: Download complete [2023-03-07T17:17:58.621Z] 4583459ba037: Verifying Checksum [2023-03-07T17:17:58.621Z] 4583459ba037: Download complete [2023-03-07T17:17:58.621Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T17:17:58.621Z] 21b2b0c7a3f4: Download complete [2023-03-07T17:17:58.621Z] 22ff95d597cd: Verifying Checksum [2023-03-07T17:17:58.621Z] 22ff95d597cd: Download complete [2023-03-07T17:17:58.621Z] 213ec9aee27d: Verifying Checksum [2023-03-07T17:17:58.621Z] 213ec9aee27d: Download complete [2023-03-07T17:17:58.621Z] 12d6caf4c0d1: Download complete [2023-03-07T17:17:58.887Z] 213ec9aee27d: Pull complete [2023-03-07T17:17:58.887Z] 4583459ba037: Pull complete [2023-03-07T17:17:58.887Z] 93c1e223e6f2: Pull complete [2023-03-07T17:17:59.476Z] a7acece74701: Verifying Checksum [2023-03-07T17:17:59.476Z] a7acece74701: Download complete [2023-03-07T17:17:59.735Z] 53926ce57604: Download complete [2023-03-07T17:17:59.735Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T17:17:59.735Z] 96b7cbca73a9: Download complete [2023-03-07T17:18:03.920Z] 53926ce57604: Pull complete [2023-03-07T17:18:04.179Z] 21b2b0c7a3f4: Pull complete [2023-03-07T17:18:04.179Z] 22ff95d597cd: Pull complete [2023-03-07T17:18:04.437Z] 12d6caf4c0d1: Pull complete [2023-03-07T17:18:06.966Z] 96b7cbca73a9: Pull complete [2023-03-07T17:18:07.903Z] a7acece74701: Pull complete [2023-03-07T17:18:07.903Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T17:18:07.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T17:18:07.903Z] ---> db6d94c90886 [2023-03-07T17:18:07.903Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:18:12.093Z] Still waiting to schedule task [2023-03-07T17:18:12.093Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T17:18:16.089Z] ---> Running in 5ce40e937050 [2023-03-07T17:18:16.089Z] Removing intermediate container 5ce40e937050 [2023-03-07T17:18:16.089Z] ---> 7f445a0cf310 [2023-03-07T17:18:16.089Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:18:16.089Z] ---> Running in 3a8e3f168904 [2023-03-07T17:18:16.089Z] Removing intermediate container 3a8e3f168904 [2023-03-07T17:18:16.089Z] ---> 9b9c6599b2f7 [2023-03-07T17:18:16.089Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:18:16.089Z] ---> Running in 3cdc5132d1ab [2023-03-07T17:18:16.089Z] Removing intermediate container 3cdc5132d1ab [2023-03-07T17:18:16.089Z] ---> 5af0dd4010c7 [2023-03-07T17:18:16.089Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:18:16.089Z] ---> Running in baeea1125b87 [2023-03-07T17:18:16.089Z] Removing intermediate container baeea1125b87 [2023-03-07T17:18:16.089Z] ---> 12f212811a67 [2023-03-07T17:18:16.089Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:18:16.089Z] ---> Running in 409bfb90acb0 [2023-03-07T17:18:16.089Z] Removing intermediate container 409bfb90acb0 [2023-03-07T17:18:16.089Z] ---> 5808387d3c62 [2023-03-07T17:18:16.089Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:18:16.089Z] ---> Running in 8b630d619e75 [2023-03-07T17:18:16.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T17:18:16.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T17:18:16.608Z] OK: 211 MiB in 51 packages [2023-03-07T17:18:16.867Z] Removing intermediate container 8b630d619e75 [2023-03-07T17:18:16.867Z] ---> 3a8ab4881074 [2023-03-07T17:18:16.867Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T17:18:16.867Z] ---> Running in 002de23475a3 [2023-03-07T17:18:17.128Z] Removing intermediate container 002de23475a3 [2023-03-07T17:18:17.128Z] ---> 9066655c60cb [2023-03-07T17:18:17.128Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T17:18:17.128Z] ---> 6f2fcdf8644f [2023-03-07T17:18:17.128Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:18:17.128Z] ---> Running in 61da2db23332 [2023-03-07T17:18:55.844Z] Removing intermediate container 61da2db23332 [2023-03-07T17:18:55.844Z] ---> 6cd6f4a7da1e [2023-03-07T17:18:55.844Z] Step 12/13 : COPY . . [2023-03-07T17:18:55.844Z] ---> 0e26db9e0b0a [2023-03-07T17:18:55.844Z] Step 13/13 : RUN ${MAKE} [2023-03-07T17:18:55.844Z] ---> Running in a8bb1537cb83 [2023-03-07T17:18:56.103Z] noop [2023-03-07T17:18:56.669Z] Removing intermediate container a8bb1537cb83 [2023-03-07T17:18:56.669Z] ---> a95d24c88b6b [2023-03-07T17:18:56.669Z] Successfully built a95d24c88b6b [2023-03-07T17:18:56.669Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:18:56.990Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T17:18:56.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:18:57.059Z] prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container [2023-03-07T17:18:57.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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-03-07T17:18:57.423Z] $ docker top 86173032f1bb725883f683f724508299ebf57d452f864ea27e20402b155b362b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:18:57.771Z] + go version [2023-03-07T17:18:57.771Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T17:18:57.781Z] $ docker stop --time=1 86173032f1bb725883f683f724508299ebf57d452f864ea27e20402b155b362b [2023-03-07T17:18:59.029Z] $ docker rm -f --volumes 86173032f1bb725883f683f724508299ebf57d452f864ea27e20402b155b362b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:18:59.418Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T17:18:59.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:18:59.494Z] prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container [2023-03-07T17:18:59.526Z] $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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-03-07T17:18:59.866Z] $ docker top 42a389fa38c3dce7391ac815d99416533942405029e1e2b6020ff07e8b5e233d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:19:00.211Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] fileExists [Pipeline] sh [2023-03-07T17:19:00.507Z] + make test [2023-03-07T17:19:00.507Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T17:19:00.766Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T17:19:12.952Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T17:19:14.852Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements [2023-03-07T17:19:14.852Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T17:19:14.852Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.715s coverage: 86.5% of statements [2023-03-07T17:19:22.972Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T17:19:22.972Z] go vet ./... [2023-03-07T17:19:27.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T17:19:27.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T17:19:27.156Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T17:19:27.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T17:19:27.182Z] $ docker stop --time=1 42a389fa38c3dce7391ac815d99416533942405029e1e2b6020ff07e8b5e233d [2023-03-07T17:19:29.810Z] $ docker rm -f --volumes 42a389fa38c3dce7391ac815d99416533942405029e1e2b6020ff07e8b5e233d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T17:19:30.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T17:19:30.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T17:19:30.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T17:19:31.145Z] + ls -al . [2023-03-07T17:19:31.145Z] total 236 [2023-03-07T17:19:31.145Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 17:19 . [2023-03-07T17:19:31.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:17 .. [2023-03-07T17:19:31.145Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:19 .git [2023-03-07T17:19:31.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:17 .github [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:17 .gitignore [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:17 .golangci.yml [2023-03-07T17:19:31.145Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:17 .semver [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:17 Attribution.txt [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:17 CHANGELOG.md [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:17 Dockerfile [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:17 GOVERNANCE.md [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:17 Jenkinsfile [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:17 LICENSE [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:17 Makefile [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:17 OWNERS.md [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:17 README.md [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 17:17 VERSION [2023-03-07T17:19:31.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:17 bin [2023-03-07T17:19:31.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:17 cmd [2023-03-07T17:19:31.145Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:19 coverage.out [2023-03-07T17:19:31.145Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:17 doc [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:17 go.mod [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:17 go.sum [2023-03-07T17:19:31.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:17 internal [2023-03-07T17:19:31.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:17 snap [2023-03-07T17:19:31.145Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:19:31.446Z] + 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=3db9ec9e4acb35ac194ded49032763a22c354391 --label arch=amd64 --label version=0.0.0 . [2023-03-07T17:19:31.446Z] Sending build context to Docker daemon 27.92MB [2023-03-07T17:19:31.446Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:19:31.446Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T17:19:31.446Z] ---> a95d24c88b6b [2023-03-07T17:19:31.446Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:19:31.705Z] ---> Running in 9ac5bf6a5f63 [2023-03-07T17:19:31.965Z] Removing intermediate container 9ac5bf6a5f63 [2023-03-07T17:19:31.965Z] ---> 127490cdba14 [2023-03-07T17:19:31.965Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:19:31.965Z] ---> Running in 52d2b47f969b [2023-03-07T17:19:31.965Z] Removing intermediate container 52d2b47f969b [2023-03-07T17:19:31.965Z] ---> 513d29b88edf [2023-03-07T17:19:31.965Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:19:31.965Z] ---> Running in af2dffd69814 [2023-03-07T17:19:31.965Z] Removing intermediate container af2dffd69814 [2023-03-07T17:19:31.965Z] ---> 1747be4b1266 [2023-03-07T17:19:31.965Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:19:31.965Z] ---> Running in 8847ea6e1d3d [2023-03-07T17:19:32.222Z] Removing intermediate container 8847ea6e1d3d [2023-03-07T17:19:32.222Z] ---> cfbf7fa833b1 [2023-03-07T17:19:32.222Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:19:32.222Z] ---> Running in 9dbeec204c4c [2023-03-07T17:19:32.222Z] Removing intermediate container 9dbeec204c4c [2023-03-07T17:19:32.222Z] ---> b0752fa84da7 [2023-03-07T17:19:32.222Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:19:32.222Z] ---> Running in fe64c72ab949 [2023-03-07T17:19:32.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T17:19:32.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T17:19:32.740Z] OK: 211 MiB in 51 packages [2023-03-07T17:19:32.999Z] Removing intermediate container fe64c72ab949 [2023-03-07T17:19:32.999Z] ---> 40c1e2cc358b [2023-03-07T17:19:32.999Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T17:19:33.257Z] ---> Running in aad7fdfdcf93 [2023-03-07T17:19:33.257Z] Removing intermediate container aad7fdfdcf93 [2023-03-07T17:19:33.257Z] ---> 49287df4add2 [2023-03-07T17:19:33.257Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T17:19:33.257Z] ---> da55310956ca [2023-03-07T17:19:33.257Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:19:33.257Z] ---> Running in 6f3a76872fc5 [2023-03-07T17:19:34.190Z] Removing intermediate container 6f3a76872fc5 [2023-03-07T17:19:34.191Z] ---> 90764de00c01 [2023-03-07T17:19:34.191Z] Step 12/26 : COPY . . [2023-03-07T17:19:35.125Z] ---> bb93758b2ee4 [2023-03-07T17:19:35.125Z] Step 13/26 : RUN ${MAKE} [2023-03-07T17:19:35.125Z] ---> Running in f90f332cc8a1 [2023-03-07T17:19:35.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-07T17:20:02.051Z] Removing intermediate container f90f332cc8a1 [2023-03-07T17:20:02.051Z] ---> d2495abca81a [2023-03-07T17:20:02.051Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T17:20:02.051Z] 3.16: Pulling from library/alpine [2023-03-07T17:20:02.051Z] ef5531b6e74e: Pulling fs layer [2023-03-07T17:20:02.051Z] ef5531b6e74e: Download complete [2023-03-07T17:20:02.051Z] ef5531b6e74e: Pull complete [2023-03-07T17:20:02.051Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T17:20:02.051Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T17:20:02.051Z] ---> dfd21b5a31f5 [2023-03-07T17:20:02.051Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T17:20:02.051Z] ---> Running in 9670561bd34a [2023-03-07T17:20:02.051Z] Removing intermediate container 9670561bd34a [2023-03-07T17:20:02.051Z] ---> 600dee64ad54 [2023-03-07T17:20:02.051Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T17:20:02.051Z] ---> Running in 1558dd2b0eee [2023-03-07T17:20:02.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T17:20:02.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T17:20:02.051Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T17:20:02.051Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T17:20:02.051Z] OK: 6 MiB in 15 packages [2023-03-07T17:20:02.051Z] Removing intermediate container 1558dd2b0eee [2023-03-07T17:20:02.051Z] ---> aaed8a72c485 [2023-03-07T17:20:02.051Z] Step 17/26 : WORKDIR / [2023-03-07T17:20:02.051Z] ---> Running in 15944d49d1ad [2023-03-07T17:20:02.051Z] Removing intermediate container 15944d49d1ad [2023-03-07T17:20:02.051Z] ---> d31e3a01bbfe [2023-03-07T17:20:02.051Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T17:20:02.051Z] ---> ae1af7e9cb18 [2023-03-07T17:20:02.051Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T17:20:02.051Z] ---> 5264206f2fd6 [2023-03-07T17:20:02.051Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T17:20:02.310Z] ---> b4fac3aa3b6f [2023-03-07T17:20:02.310Z] Step 21/26 : EXPOSE 59984 [2023-03-07T17:20:02.310Z] ---> Running in 2d9dd9db51ed [2023-03-07T17:20:02.310Z] Removing intermediate container 2d9dd9db51ed [2023-03-07T17:20:02.310Z] ---> d9b8159793e4 [2023-03-07T17:20:02.310Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T17:20:02.310Z] ---> Running in 220afe598058 [2023-03-07T17:20:02.310Z] Removing intermediate container 220afe598058 [2023-03-07T17:20:02.310Z] ---> 815eda63c6bd [2023-03-07T17:20:02.310Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T17:20:02.568Z] ---> Running in e132bca39c59 [2023-03-07T17:20:02.568Z] Removing intermediate container e132bca39c59 [2023-03-07T17:20:02.568Z] ---> 493171772f35 [2023-03-07T17:20:02.568Z] Step 24/26 : LABEL arch=amd64 [2023-03-07T17:20:02.568Z] ---> Running in 7c5001c3cf61 [2023-03-07T17:20:02.568Z] Removing intermediate container 7c5001c3cf61 [2023-03-07T17:20:02.568Z] ---> 6a59f30d49f3 [2023-03-07T17:20:02.568Z] Step 25/26 : LABEL git_sha=3db9ec9e4acb35ac194ded49032763a22c354391 [2023-03-07T17:20:02.568Z] ---> Running in 23d0e4f023f9 [2023-03-07T17:20:02.826Z] Removing intermediate container 23d0e4f023f9 [2023-03-07T17:20:02.826Z] ---> bda6da33e8c4 [2023-03-07T17:20:02.826Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T17:20:02.826Z] ---> Running in 8d3f028689fb [2023-03-07T17:20:02.826Z] Removing intermediate container 8d3f028689fb [2023-03-07T17:20:02.826Z] ---> 71d180c31d93 [2023-03-07T17:20:02.826Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T17:20:02.826Z] Successfully built 71d180c31d93 [2023-03-07T17:20:02.826Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:20:03.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:20:03.265Z] [2023-03-07T17:20:03.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:20:03.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:20:03.576Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T17:20:03.576Z] 5eb5b503b376: Pulling fs layer [2023-03-07T17:20:03.576Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T17:20:03.576Z] ec43610c2a17: Pulling fs layer [2023-03-07T17:20:03.576Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T17:20:03.576Z] 33b1e0a273af: Pulling fs layer [2023-03-07T17:20:03.576Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T17:20:03.576Z] 2f39f015ded8: Pulling fs layer [2023-03-07T17:20:03.576Z] 33b1e0a273af: Waiting [2023-03-07T17:20:03.576Z] 3a2ae6a8a46f: Waiting [2023-03-07T17:20:03.576Z] 2f39f015ded8: Waiting [2023-03-07T17:20:03.576Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T17:20:03.576Z] 5c69ac0246d0: Download complete [2023-03-07T17:20:03.576Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T17:20:03.576Z] 3a2ae6a8a46f: Download complete [2023-03-07T17:20:03.835Z] 33b1e0a273af: Verifying Checksum [2023-03-07T17:20:03.835Z] 33b1e0a273af: Download complete [2023-03-07T17:20:03.835Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T17:20:03.835Z] 5d3b04190fa2: Download complete [2023-03-07T17:20:03.835Z] ec43610c2a17: Verifying Checksum [2023-03-07T17:20:03.835Z] ec43610c2a17: Download complete [2023-03-07T17:20:03.835Z] 5eb5b503b376: Verifying Checksum [2023-03-07T17:20:03.835Z] 5eb5b503b376: Download complete [2023-03-07T17:20:04.768Z] 2f39f015ded8: Download complete [2023-03-07T17:20:05.025Z] 5eb5b503b376: Pull complete [2023-03-07T17:20:05.282Z] 5c69ac0246d0: Pull complete [2023-03-07T17:20:05.541Z] ec43610c2a17: Pull complete [2023-03-07T17:20:05.799Z] 3a2ae6a8a46f: Pull complete [2023-03-07T17:20:06.057Z] 33b1e0a273af: Pull complete [2023-03-07T17:20:06.057Z] 5d3b04190fa2: Pull complete [2023-03-07T17:20:11.317Z] 2f39f015ded8: Pull complete [2023-03-07T17:20:11.317Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T17:20:11.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:20:11.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:20:11.401Z] prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container [2023-03-07T17:20:11.431Z] $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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-03-07T17:20:16.902Z] $ docker top 8a5b52fe2e872826c759c2bf3607377f14e242037a76311f79c6351a8e8e8e76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:20:17.294Z] ---> job-cost.sh [2023-03-07T17:20:17.294Z] lf-activate-venv: SKIPPING [2023-03-07T17:20:17.294Z] INFO: No Stack... [2023-03-07T17:20:17.862Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T17:20:18.125Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T17:20:18.417Z] + cat /w/workspace/undry_device-onvif-camera_PR-245/archives/cost.csv [2023-03-07T17:20:18.417Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T17:20:18.431Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [2023-03-07T17:20:18.436Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] did not exist. Created. [2023-03-07T17:20:18.436Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T17:20:18.739Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T17:20:18.773Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T17:20:18.779Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T17:20:18.796Z] $ docker stop --time=1 8a5b52fe2e872826c759c2bf3607377f14e242037a76311f79c6351a8e8e8e76 [2023-03-07T17:20:19.953Z] $ docker rm -f --volumes 8a5b52fe2e872826c759c2bf3607377f14e242037a76311f79c6351a8e8e8e76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T17:20:50.295Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8587 in /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] { [Pipeline] ws [2023-03-07T17:20:50.309Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2023-03-07T17:20:50.357Z] The recommended git tool is: git [2023-03-07T17:20:58.063Z] using credential edgex-jenkins-ssh [2023-03-07T17:20:58.082Z] Cloning the remote Git repository [2023-03-07T17:20:58.150Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T17:20:58.245Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2023-03-07T17:20:58.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T17:20:58.450Z] > git --version # timeout=10 [2023-03-07T17:20:58.480Z] > git --version # 'git version 2.25.1' [2023-03-07T17:20:58.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T17:20:58.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T17:21:00.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T17:21:00.181Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T17:21:01.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T17:21:01.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T17:21:01.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T17:21:01.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T17:21:02.183Z] Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 3db9ec9e4acb35ac194ded49032763a22c354391 [2023-03-07T17:21:02.709Z] Merge succeeded, producing 3db9ec9e4acb35ac194ded49032763a22c354391 [2023-03-07T17:21:02.709Z] Checking out Revision 3db9ec9e4acb35ac194ded49032763a22c354391 (PR-245) [2023-03-07T17:21:02.206Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T17:21:02.227Z] > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 [2023-03-07T17:21:02.586Z] > git remote # timeout=10 [2023-03-07T17:21:02.606Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T17:21:02.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T17:21:02.656Z] > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 [2023-03-07T17:21:02.689Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T17:21:02.719Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T17:21:02.745Z] > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 [2023-03-07T17:21:03.833Z] Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T17:21:04.747Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T17:21:04.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T17:21:04.747Z] Dload Upload Total Spent Left Speed [2023-03-07T17:21:04.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh [2023-03-07T17:21:05.424Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T17:21:05.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T17:21:05.784Z] + sudo tee /etc/docker/daemon.new [2023-03-07T17:21:05.784Z] { [2023-03-07T17:21:05.784Z] "registry-mirrors": [ [2023-03-07T17:21:05.784Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T17:21:05.784Z] ], [2023-03-07T17:21:05.784Z] "bip": "10.250.0.254/24", [2023-03-07T17:21:05.784Z] "hosts": [ [2023-03-07T17:21:05.784Z] "tcp://0.0.0.0:5555", [2023-03-07T17:21:05.784Z] "unix:///var/run/docker.sock" [2023-03-07T17:21:05.784Z] ], [2023-03-07T17:21:05.784Z] "mtu": 1458, [2023-03-07T17:21:05.784Z] "selinux-enabled": true, [2023-03-07T17:21:05.784Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T17:21:05.784Z] } [Pipeline] sh [2023-03-07T17:21:06.127Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T17:21:06.482Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:21:24.857Z] provisioning config files... [2023-03-07T17:21:24.893Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config1188332642812624190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:21:25.281Z] ---> docker-login.sh [2023-03-07T17:21:25.281Z] nexus3.edgexfoundry.org:10001 [2023-03-07T17:21:25.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:21:25.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:21:25.879Z] Configure a credential helper to remove this warning. See [2023-03-07T17:21:25.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:21:25.879Z] [2023-03-07T17:21:25.879Z] Login Succeeded [2023-03-07T17:21:25.879Z] nexus3.edgexfoundry.org:10002 [2023-03-07T17:21:26.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:21:26.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:21:26.429Z] Configure a credential helper to remove this warning. See [2023-03-07T17:21:26.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:21:26.429Z] [2023-03-07T17:21:26.429Z] Login Succeeded [2023-03-07T17:21:26.429Z] nexus3.edgexfoundry.org:10003 [2023-03-07T17:21:26.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:21:26.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:21:26.702Z] Configure a credential helper to remove this warning. See [2023-03-07T17:21:26.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:21:26.702Z] [2023-03-07T17:21:26.702Z] Login Succeeded [2023-03-07T17:21:26.702Z] nexus3.edgexfoundry.org:10004 [2023-03-07T17:21:26.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:21:27.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:21:27.263Z] Configure a credential helper to remove this warning. See [2023-03-07T17:21:27.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:21:27.263Z] [2023-03-07T17:21:27.263Z] Login Succeeded [2023-03-07T17:21:27.263Z] docker.io [2023-03-07T17:21:27.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T17:21:27.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T17:21:27.809Z] Configure a credential helper to remove this warning. See [2023-03-07T17:21:27.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T17:21:27.809Z] [2023-03-07T17:21:27.809Z] Login Succeeded [2023-03-07T17:21:27.809Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T17:21:27.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T17:21:28.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:21:28.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T17:21:28.198Z] ========================================================= [2023-03-07T17:21:28.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T17:21:28.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:21:28.556Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T17:21:29.167Z] Sending build context to Docker daemon 20.61MB [2023-03-07T17:21:29.167Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:21:29.167Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T17:21:29.440Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T17:21:29.440Z] 9b18e9b68314: Pulling fs layer [2023-03-07T17:21:29.440Z] 35d82f9e3411: Pulling fs layer [2023-03-07T17:21:29.440Z] e16973657156: Pulling fs layer [2023-03-07T17:21:29.440Z] fc693d55d65f: Pulling fs layer [2023-03-07T17:21:29.440Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T17:21:29.440Z] dda99020689f: Pulling fs layer [2023-03-07T17:21:29.440Z] db1c61fa0a46: Pulling fs layer [2023-03-07T17:21:29.440Z] 891c053d2c06: Pulling fs layer [2023-03-07T17:21:29.440Z] dda99020689f: Waiting [2023-03-07T17:21:29.440Z] db1c61fa0a46: Waiting [2023-03-07T17:21:29.440Z] fc693d55d65f: Waiting [2023-03-07T17:21:29.440Z] 7e9fc2657dce: Waiting [2023-03-07T17:21:29.440Z] e16973657156: Verifying Checksum [2023-03-07T17:21:29.440Z] e16973657156: Download complete [2023-03-07T17:21:29.440Z] 35d82f9e3411: Verifying Checksum [2023-03-07T17:21:29.440Z] 35d82f9e3411: Download complete [2023-03-07T17:21:29.440Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T17:21:29.440Z] 7e9fc2657dce: Download complete [2023-03-07T17:21:29.440Z] dda99020689f: Verifying Checksum [2023-03-07T17:21:29.440Z] dda99020689f: Download complete [2023-03-07T17:21:29.736Z] 9b18e9b68314: Verifying Checksum [2023-03-07T17:21:29.736Z] 9b18e9b68314: Download complete [2023-03-07T17:21:30.720Z] 9b18e9b68314: Pull complete [2023-03-07T17:21:30.997Z] 891c053d2c06: Verifying Checksum [2023-03-07T17:21:30.997Z] 891c053d2c06: Download complete [2023-03-07T17:21:31.270Z] 35d82f9e3411: Pull complete [2023-03-07T17:21:31.863Z] e16973657156: Pull complete [2023-03-07T17:21:32.462Z] db1c61fa0a46: Verifying Checksum [2023-03-07T17:21:32.462Z] db1c61fa0a46: Download complete [2023-03-07T17:21:33.056Z] fc693d55d65f: Verifying Checksum [2023-03-07T17:21:33.056Z] fc693d55d65f: Download complete [2023-03-07T17:21:48.271Z] fc693d55d65f: Pull complete [2023-03-07T17:21:48.271Z] 7e9fc2657dce: Pull complete [2023-03-07T17:21:48.272Z] dda99020689f: Pull complete [2023-03-07T17:21:53.662Z] db1c61fa0a46: Pull complete [2023-03-07T17:21:55.084Z] 891c053d2c06: Pull complete [2023-03-07T17:21:55.084Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T17:21:55.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T17:21:55.084Z] ---> f96f9c87975a [2023-03-07T17:21:55.084Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:21:57.704Z] ---> Running in 65ae9879c8cb [2023-03-07T17:21:57.704Z] Removing intermediate container 65ae9879c8cb [2023-03-07T17:21:57.704Z] ---> ce786832bbd3 [2023-03-07T17:21:57.704Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:21:57.704Z] ---> Running in 37ea5328f602 [2023-03-07T17:21:58.190Z] Removing intermediate container 37ea5328f602 [2023-03-07T17:21:58.190Z] ---> 16863556d17f [2023-03-07T17:21:58.190Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:21:58.190Z] ---> Running in 12e24a4ba7ab [2023-03-07T17:21:58.482Z] Removing intermediate container 12e24a4ba7ab [2023-03-07T17:21:58.482Z] ---> b3634cc74e7c [2023-03-07T17:21:58.482Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:21:58.755Z] ---> Running in 92472228fd90 [2023-03-07T17:21:59.025Z] Removing intermediate container 92472228fd90 [2023-03-07T17:21:59.025Z] ---> 30d58da6cccc [2023-03-07T17:21:59.025Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:21:59.026Z] ---> Running in be03b383210e [2023-03-07T17:21:59.615Z] Removing intermediate container be03b383210e [2023-03-07T17:21:59.615Z] ---> 90217261b319 [2023-03-07T17:21:59.615Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:21:59.615Z] ---> Running in c73f939615c9 [2023-03-07T17:22:01.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T17:22:01.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T17:22:02.454Z] OK: 221 MiB in 51 packages [2023-03-07T17:22:03.425Z] Removing intermediate container c73f939615c9 [2023-03-07T17:22:03.425Z] ---> e6844585f989 [2023-03-07T17:22:03.425Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T17:22:03.425Z] ---> Running in 2ba3e7486053 [2023-03-07T17:22:03.695Z] Removing intermediate container 2ba3e7486053 [2023-03-07T17:22:03.695Z] ---> 080e7c9d6233 [2023-03-07T17:22:03.695Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T17:22:04.289Z] ---> f70e32051fff [2023-03-07T17:22:04.289Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:22:04.289Z] ---> Running in 1d9e8e73cf7e [2023-03-07T17:23:25.972Z] Removing intermediate container 1d9e8e73cf7e [2023-03-07T17:23:25.972Z] ---> bc27620aa373 [2023-03-07T17:23:25.972Z] Step 12/13 : COPY . . [2023-03-07T17:23:25.973Z] ---> 853009b1878d [2023-03-07T17:23:25.973Z] Step 13/13 : RUN ${MAKE} [2023-03-07T17:23:25.973Z] ---> Running in b731b91d0071 [2023-03-07T17:23:25.973Z] noop [2023-03-07T17:23:25.973Z] Removing intermediate container b731b91d0071 [2023-03-07T17:23:25.973Z] ---> 85cb2d33e8c1 [2023-03-07T17:23:25.973Z] Successfully built 85cb2d33e8c1 [2023-03-07T17:23:25.973Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:23:26.336Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T17:23:26.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:23:26.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-8587 does not seem to be running inside a container [2023-03-07T17:23:26.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-03-07T17:23:28.054Z] $ docker top ea0f690b24ff266291957c702b62aa60b397ee681cce037e1618c25926597a62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:23:28.940Z] + go version [2023-03-07T17:23:28.940Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T17:23:28.965Z] $ docker stop --time=1 ea0f690b24ff266291957c702b62aa60b397ee681cce037e1618c25926597a62 [2023-03-07T17:23:30.717Z] $ docker rm -f --volumes ea0f690b24ff266291957c702b62aa60b397ee681cce037e1618c25926597a62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:23:31.337Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T17:23:31.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:23:31.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-8587 does not seem to be running inside a container [2023-03-07T17:23:31.631Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-03-07T17:23:32.978Z] $ docker top 8672e28cc228dc7cbee824be4cdab71b14e9f4621a32f6b6d64d7fb4f5c7e3e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:23:33.867Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-03-07T17:23:34.542Z] + make test [2023-03-07T17:23:34.542Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T17:23:36.503Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T17:25:43.263Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T17:25:49.938Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.264s coverage: 29.3% of statements [2023-03-07T17:25:49.938Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T17:26:08.232Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.897s coverage: 86.5% of statements [2023-03-07T17:26:09.210Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T17:26:09.210Z] go vet ./... [2023-03-07T17:26:48.170Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T17:26:48.170Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T17:26:48.170Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T17:26:48.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T17:26:48.204Z] $ docker stop --time=1 8672e28cc228dc7cbee824be4cdab71b14e9f4621a32f6b6d64d7fb4f5c7e3e3 [2023-03-07T17:26:50.108Z] $ docker rm -f --volumes 8672e28cc228dc7cbee824be4cdab71b14e9f4621a32f6b6d64d7fb4f5c7e3e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T17:26:51.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T17:26:51.216Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T17:26:51.924Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T17:26:52.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T17:26:52.668Z] + ls -al . [2023-03-07T17:26:52.668Z] total 232 [2023-03-07T17:26:52.668Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 17:23 . [2023-03-07T17:26:52.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:20 .. [2023-03-07T17:26:52.668Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:21 .git [2023-03-07T17:26:52.668Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:21 .github [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:21 .gitignore [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:21 .golangci.yml [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:21 Attribution.txt [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:21 CHANGELOG.md [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:21 Dockerfile [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:21 GOVERNANCE.md [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:21 Jenkinsfile [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:21 LICENSE [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:21 Makefile [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:21 OWNERS.md [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:21 README.md [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 17:17 VERSION [2023-03-07T17:26:52.668Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:21 bin [2023-03-07T17:26:52.668Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:21 cmd [2023-03-07T17:26:52.668Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:26 coverage.out [2023-03-07T17:26:52.668Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:21 doc [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:21 go.mod [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:21 go.sum [2023-03-07T17:26:52.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:21 internal [2023-03-07T17:26:52.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:21 snap [2023-03-07T17:26:52.668Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:26:53.016Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3db9ec9e4acb35ac194ded49032763a22c354391 --label arch=arm64 --label version=0.0.0 . [2023-03-07T17:26:53.603Z] Sending build context to Docker daemon 20.69MB [2023-03-07T17:26:53.603Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T17:26:53.603Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T17:26:53.603Z] ---> 85cb2d33e8c1 [2023-03-07T17:26:53.603Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T17:26:53.871Z] ---> Running in dcf332c601e1 [2023-03-07T17:26:54.139Z] Removing intermediate container dcf332c601e1 [2023-03-07T17:26:54.139Z] ---> 384ada8c5faa [2023-03-07T17:26:54.139Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T17:26:54.139Z] ---> Running in 8d085adab590 [2023-03-07T17:26:54.412Z] Removing intermediate container 8d085adab590 [2023-03-07T17:26:54.412Z] ---> aad590f444a0 [2023-03-07T17:26:54.412Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T17:26:54.682Z] ---> Running in 95366db2ade5 [2023-03-07T17:26:54.949Z] Removing intermediate container 95366db2ade5 [2023-03-07T17:26:54.949Z] ---> 2dee74bc3832 [2023-03-07T17:26:54.949Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T17:26:54.949Z] ---> Running in b6851d586bad [2023-03-07T17:26:55.221Z] Removing intermediate container b6851d586bad [2023-03-07T17:26:55.221Z] ---> 70d48b7f9fc5 [2023-03-07T17:26:55.221Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T17:26:55.493Z] ---> Running in 58f31f4d681b [2023-03-07T17:26:55.776Z] Removing intermediate container 58f31f4d681b [2023-03-07T17:26:55.776Z] ---> bd5cb90ffbf4 [2023-03-07T17:26:55.776Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T17:26:55.776Z] ---> Running in 32a0623b195f [2023-03-07T17:26:56.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T17:26:57.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T17:26:58.758Z] OK: 221 MiB in 51 packages [2023-03-07T17:27:00.726Z] Removing intermediate container 32a0623b195f [2023-03-07T17:27:00.726Z] ---> dd858445f804 [2023-03-07T17:27:00.726Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T17:27:00.726Z] ---> Running in 48ac46185822 [2023-03-07T17:27:00.995Z] Removing intermediate container 48ac46185822 [2023-03-07T17:27:00.995Z] ---> 02ff38915a79 [2023-03-07T17:27:00.995Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T17:27:01.584Z] ---> e379f2121da4 [2023-03-07T17:27:01.584Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T17:27:01.584Z] ---> Running in 0816b60ce311 [2023-03-07T17:27:04.935Z] Removing intermediate container 0816b60ce311 [2023-03-07T17:27:04.935Z] ---> cafc873434eb [2023-03-07T17:27:04.935Z] Step 12/26 : COPY . . [2023-03-07T17:27:06.354Z] ---> e97debeed69f [2023-03-07T17:27:06.354Z] Step 13/26 : RUN ${MAKE} [2023-03-07T17:27:06.354Z] ---> Running in 05c1d1e4edc1 [2023-03-07T17:27:07.322Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-07T17:29:44.109Z] Removing intermediate container 05c1d1e4edc1 [2023-03-07T17:29:44.110Z] ---> 1675cb4c2f4d [2023-03-07T17:29:44.110Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T17:29:44.110Z] 3.16: Pulling from library/alpine [2023-03-07T17:29:44.110Z] 3760b48202b3: Pulling fs layer [2023-03-07T17:29:44.110Z] 3760b48202b3: Download complete [2023-03-07T17:29:44.110Z] 3760b48202b3: Pull complete [2023-03-07T17:29:44.110Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T17:29:44.110Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T17:29:44.110Z] ---> 4c81e5bf8899 [2023-03-07T17:29:44.110Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T17:29:44.110Z] ---> Running in 80609f572afd [2023-03-07T17:29:44.110Z] Removing intermediate container 80609f572afd [2023-03-07T17:29:44.110Z] ---> b11afcb3bef1 [2023-03-07T17:29:44.110Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T17:29:44.110Z] ---> Running in a207b8bc79fe [2023-03-07T17:29:44.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T17:29:44.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T17:29:44.110Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T17:29:44.110Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T17:29:44.110Z] OK: 5 MiB in 15 packages [2023-03-07T17:29:44.110Z] Removing intermediate container a207b8bc79fe [2023-03-07T17:29:44.110Z] ---> 47f4be49b5b8 [2023-03-07T17:29:44.110Z] Step 17/26 : WORKDIR / [2023-03-07T17:29:44.110Z] ---> Running in 5b945c54dc40 [2023-03-07T17:29:44.110Z] Removing intermediate container 5b945c54dc40 [2023-03-07T17:29:44.110Z] ---> 67f2b400d532 [2023-03-07T17:29:44.110Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T17:29:44.110Z] ---> 6f50678c13c1 [2023-03-07T17:29:44.110Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T17:29:44.110Z] ---> fcc8e839be16 [2023-03-07T17:29:44.110Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T17:29:44.110Z] ---> 88536df361d1 [2023-03-07T17:29:44.110Z] Step 21/26 : EXPOSE 59984 [2023-03-07T17:29:44.110Z] ---> Running in 1bb9a4645af1 [2023-03-07T17:29:44.110Z] Removing intermediate container 1bb9a4645af1 [2023-03-07T17:29:44.110Z] ---> 80fcd79e515e [2023-03-07T17:29:44.110Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T17:29:44.110Z] ---> Running in f123e4ff3814 [2023-03-07T17:29:44.110Z] Removing intermediate container f123e4ff3814 [2023-03-07T17:29:44.110Z] ---> db258803f4f8 [2023-03-07T17:29:44.110Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T17:29:44.110Z] ---> Running in 9ff46be55c0e [2023-03-07T17:29:44.110Z] Removing intermediate container 9ff46be55c0e [2023-03-07T17:29:44.110Z] ---> 2a4131364432 [2023-03-07T17:29:44.110Z] Step 24/26 : LABEL arch=arm64 [2023-03-07T17:29:44.110Z] ---> Running in ddd063d3c81f [2023-03-07T17:29:44.377Z] Removing intermediate container ddd063d3c81f [2023-03-07T17:29:44.377Z] ---> 9c37aa4c7db0 [2023-03-07T17:29:44.377Z] Step 25/26 : LABEL git_sha=3db9ec9e4acb35ac194ded49032763a22c354391 [2023-03-07T17:29:44.647Z] ---> Running in 318cde7f92e7 [2023-03-07T17:29:44.915Z] Removing intermediate container 318cde7f92e7 [2023-03-07T17:29:44.915Z] ---> 47290e188d9f [2023-03-07T17:29:44.915Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T17:29:44.915Z] ---> Running in 2ca5bef3de77 [2023-03-07T17:29:45.182Z] Removing intermediate container 2ca5bef3de77 [2023-03-07T17:29:45.182Z] ---> abd412d17094 [2023-03-07T17:29:45.182Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T17:29:45.182Z] Successfully built abd412d17094 [2023-03-07T17:29:45.182Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:29:45.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T17:29:45.622Z] [2023-03-07T17:29:45.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:29:45.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T17:29:46.224Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T17:29:46.224Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T17:29:46.224Z] 04944245beec: Pulling fs layer [2023-03-07T17:29:46.224Z] 699f458cf7ca: Pulling fs layer [2023-03-07T17:29:46.224Z] 765212b225bb: Pulling fs layer [2023-03-07T17:29:46.224Z] f23df028b6ca: Pulling fs layer [2023-03-07T17:29:46.224Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T17:29:46.224Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T17:29:46.224Z] 765212b225bb: Waiting [2023-03-07T17:29:46.224Z] f23df028b6ca: Waiting [2023-03-07T17:29:46.224Z] d65c8cfc05b1: Waiting [2023-03-07T17:29:46.224Z] 2437ff75d9bd: Waiting [2023-03-07T17:29:46.224Z] 04944245beec: Verifying Checksum [2023-03-07T17:29:46.224Z] 04944245beec: Download complete [2023-03-07T17:29:46.224Z] 765212b225bb: Verifying Checksum [2023-03-07T17:29:46.224Z] 765212b225bb: Download complete [2023-03-07T17:29:46.224Z] f23df028b6ca: Verifying Checksum [2023-03-07T17:29:46.224Z] f23df028b6ca: Download complete [2023-03-07T17:29:46.224Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T17:29:46.224Z] d65c8cfc05b1: Download complete [2023-03-07T17:29:46.508Z] 699f458cf7ca: Verifying Checksum [2023-03-07T17:29:46.508Z] 699f458cf7ca: Download complete [2023-03-07T17:29:46.778Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T17:29:46.778Z] 8998bd30e6a1: Download complete [2023-03-07T17:29:49.363Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T17:29:49.363Z] 2437ff75d9bd: Download complete [2023-03-07T17:29:51.427Z] 8998bd30e6a1: Pull complete [2023-03-07T17:29:51.707Z] 04944245beec: Pull complete [2023-03-07T17:29:53.175Z] 699f458cf7ca: Pull complete [2023-03-07T17:29:53.175Z] 765212b225bb: Pull complete [2023-03-07T17:29:54.152Z] f23df028b6ca: Pull complete [2023-03-07T17:29:54.152Z] d65c8cfc05b1: Pull complete [2023-03-07T17:30:09.157Z] 2437ff75d9bd: Pull complete [2023-03-07T17:30:09.157Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T17:30:09.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T17:30:09.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:30:09.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-8587 does not seem to be running inside a container [2023-03-07T17:30:09.431Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-03-07T17:30:12.271Z] $ docker top 8d27467cb0871da783bca4f17208e31dade098474f20205572f090bf7ce87cef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:13.116Z] ---> job-cost.sh [2023-03-07T17:30:13.116Z] lf-activate-venv: SKIPPING [2023-03-07T17:30:13.116Z] INFO: No Stack... [2023-03-07T17:30:13.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T17:30:14.345Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T17:30:14.991Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2023-03-07T17:30:14.991Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T17:30:15.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [2023-03-07T17:30:15.072Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] did not exist. Created. [2023-03-07T17:30:15.072Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T17:30:15.738Z] /w/workspace/device-onvif-camera/4@tmp/durable-4938c3a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T17:30:16.389Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T17:30:16.411Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T17:30:16.482Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T17:30:16.488Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T17:30:16.510Z] $ docker stop --time=1 8d27467cb0871da783bca4f17208e31dade098474f20205572f090bf7ce87cef [2023-03-07T17:30:18.016Z] $ docker rm -f --volumes 8d27467cb0871da783bca4f17208e31dade098474f20205572f090bf7ce87cef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T17:30:18.360Z] provisioning config files... [2023-03-07T17:30:18.367Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config11110313526655430154tmp [Pipeline] { [Pipeline] sh [2023-03-07T17:30:18.662Z] + set +x [2023-03-07T17:30:18.662Z] + curl -s https://codecov.io/bash [2023-03-07T17:30:18.662Z] + bash -s -- [2023-03-07T17:30:18.662Z] [2023-03-07T17:30:18.662Z] _____ _ [2023-03-07T17:30:18.662Z] / ____| | | [2023-03-07T17:30:18.662Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T17:30:18.662Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T17:30:18.662Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T17:30:18.662Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T17:30:18.662Z] Bash-1.0.6 [2023-03-07T17:30:18.662Z] [2023-03-07T17:30:18.662Z] [2023-03-07T17:30:18.662Z] ==> git version 2.25.1 found [2023-03-07T17:30:18.662Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T17:30:18.662Z] Release-Date: 2020-01-08 [2023-03-07T17:30:18.662Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T17:30:18.662Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T17:30:18.662Z] ==> Jenkins CI detected. [2023-03-07T17:30:18.662Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-245 [2023-03-07T17:30:18.662Z] project root: . [2023-03-07T17:30:18.662Z] --> token set from env [2023-03-07T17:30:18.662Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T17:30:18.662Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T17:30:18.662Z] ==> Python coveragepy not found [2023-03-07T17:30:18.662Z] ==> Searching for coverage reports in: [2023-03-07T17:30:18.662Z] + . [2023-03-07T17:30:18.662Z] -> Found 1 reports [2023-03-07T17:30:18.662Z] ==> Detecting git/mercurial file structure [2023-03-07T17:30:18.662Z] ==> Reading reports [2023-03-07T17:30:18.662Z] + ./coverage.out bytes=79184 [2023-03-07T17:30:18.662Z] ==> Appending adjustments [2023-03-07T17:30:18.662Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T17:30:18.920Z] + Found adjustments [2023-03-07T17:30:18.920Z] ==> Gzipping contents [2023-03-07T17:30:18.920Z] 12K /tmp/codecov.SKfgD7.gz [2023-03-07T17:30:18.920Z] ==> Uploading reports [2023-03-07T17:30:18.920Z] url: https://codecov.io [2023-03-07T17:30:18.920Z] query: branch=PR-245&commit=3db9ec9e4acb35ac194ded49032763a22c354391&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= [2023-03-07T17:30:18.920Z] -> Pinging Codecov [2023-03-07T17:30:18.920Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-245&commit=3db9ec9e4acb35ac194ded49032763a22c354391&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= [2023-03-07T17:30:19.179Z] -> Uploading to [2023-03-07T17:30:19.179Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/3db9ec9e4acb35ac194ded49032763a22c354391/bd8241b7-a23c-4604-9699-5fbc40034769.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T173018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f343c8bc7c6b278d37ed56a748cc69165ad871a4a57597a0bd03aed635c7a5c4 [2023-03-07T17:30:19.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T17:30:19.179Z] Dload Upload Total Spent Left Speed [2023-03-07T17:30:19.437Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10848 0 0 100 10848 0 39882 --:--:-- --:--:-- --:--:-- 39882 [2023-03-07T17:30:19.438Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] } [2023-03-07T17:30:19.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T17:30:20.142Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-245/archives ] [2023-03-07T17:30:20.142Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives [2023-03-07T17:30:20.142Z] total 16 [2023-03-07T17:30:20.142Z] drwxr-xr-x 3 root root 4096 Mar 7 17:20 . [2023-03-07T17:30:20.142Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:20 .. [2023-03-07T17:30:20.142Z] drwxr-xr-x 2 root root 4096 Mar 7 17:20 cost [2023-03-07T17:30:20.142Z] -rw-r--r-- 1 root root 91 Mar 7 17:20 cost.csv [2023-03-07T17:30:20.142Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-245/archives [2023-03-07T17:30:20.142Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives [2023-03-07T17:30:20.142Z] total 16 [2023-03-07T17:30:20.142Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:20 . [2023-03-07T17:30:20.142Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:20 .. [2023-03-07T17:30:20.142Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 17:20 cost [2023-03-07T17:30:20.142Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 7 17:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:20.435Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:21.293Z] ---> package-listing.sh [2023-03-07T17:30:21.293Z] ++ facter osfamily [2023-03-07T17:30:21.293Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T17:30:21.551Z] + OS_FAMILY=debian [2023-03-07T17:30:21.551Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-245 [2023-03-07T17:30:21.551Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T17:30:21.551Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T17:30:21.551Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T17:30:21.551Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T17:30:21.551Z] + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' [2023-03-07T17:30:21.551Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T17:30:21.551Z] + case "${OS_FAMILY}" in [2023-03-07T17:30:21.551Z] + dpkg -l [2023-03-07T17:30:21.551Z] + grep '^ii' [2023-03-07T17:30:21.551Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T17:30:21.551Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T17:30:21.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T17:30:21.551Z] + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' [2023-03-07T17:30:21.551Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-245/archives/ [2023-03-07T17:30:21.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-245/archives/ [Pipeline] echo [2023-03-07T17:30:21.563Z] 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-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T17:30:21.839Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T17:30:22.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T17:30:22.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T17:30:22.458Z] prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container [2023-03-07T17:30:22.488Z] $ 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-245/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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T17:30:22.667Z] $ docker top b05adacd429fcf6e6cdd489b917c9baf4945df2748b6eecbdc12f8bad7d14325 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T17:30:22.996Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T17:30:23.281Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T17:30:23.567Z] + ls /var/log/sa-host [2023-03-07T17:30:23.567Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T17:30:23.634Z] provisioning config files... [2023-03-07T17:30:23.641Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config14686571146163498134tmp [Pipeline] { [Pipeline] echo [2023-03-07T17:30:23.653Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:23.935Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T17:30:23.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:24.257Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T17:30:24.267Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:24.553Z] ---> sudo-logs.sh [2023-03-07T17:30:24.553Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T17:30:24.585Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:24.868Z] ---> job-cost.sh [2023-03-07T17:30:24.868Z] lf-activate-venv: SKIPPING [2023-03-07T17:30:24.868Z] DEBUG: total: 0.2199999988079071 [2023-03-07T17:30:24.868Z] INFO: Retrieving Stack Cost... [2023-03-07T17:30:25.435Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T17:30:25.693Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T17:30:25.707Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T17:30:25.987Z] ---> logs-deploy.sh [2023-03-07T17:30:25.987Z] lf-activate-venv: SKIPPING [2023-03-07T17:30:25.987Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-245/4 [2023-03-07T17:30:25.987Z] INFO: archiving workspace using pattern(s): [2023-03-07T17:30:26.920Z] Archives upload complete. [2023-03-07T17:30:26.920Z] INFO: archiving logs to Nexus