Pull request #305 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b3088f74b80dce78a876441a0c72d3538a65c555 rather than 57af7d14efb7306e5f9e58ca019040386ae0255b Obtained Jenkinsfile from b3088f74b80dce78a876441a0c72d3538a65c555 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-ssh15384967598158807895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9754558832547469458.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18191437115110578650.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5861814319990325905.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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh104885758102250194.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8936’ Running on prd-ubuntu20.04-docker-8c-8g-8939 in /w/workspace/undry_device-onvif-camera_PR-305 [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-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 57af7d14efb7306e5f9e58ca019040386ae0255b Merge succeeded, producing 78c28b113e0678ca503a245724536a9c002a0eb3 Checking out Revision 78c28b113e0678ca503a245724536a9c002a0eb3 (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f 57af7d14efb7306e5f9e58ca019040386ae0255b # 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 b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78c28b113e0678ca503a245724536a9c002a0eb3 # timeout=10 Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 46cabe13d72068d298b339c71508736a9b5aec0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T15:45:20.505Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T15:45:20.546Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T15:45:20.559Z] ========================================================= [2023-04-18T15:45:20.560Z] EdgeX Global Pipelines Version Info [2023-04-18T15:45:20.560Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:45:21.267Z] ------------------- [2023-04-18T15:45:21.267Z] stable info: [2023-04-18T15:45:21.267Z] ------------------- [2023-04-18T15:45:21.267Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T15:45:21.267Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T15:45:21.267Z] Message: update stable to v1.0.248 [2023-04-18T15:45:21.839Z] ------------------- [2023-04-18T15:45:21.839Z] experimental info: [2023-04-18T15:45:21.839Z] ------------------- [2023-04-18T15:45:21.839Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T15:45:21.839Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T15:45:21.839Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T15:45:22.030Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-18T15:45:22.039Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-18T15:45:22.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T15:45:22.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T15:45:22.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T15:45:22.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T15:45:22.081Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T15:45:22.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T15:45:22.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T15:45:22.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T15:45:22.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T15:45:22.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-18T15:45:22.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T15:45:22.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T15:45:22.171Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T15:45:22.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T15:45:22.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T15:45:22.206Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T15:45:22.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T15:45:22.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T15:45:22.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T15:45:22.257Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-18T15:45:22.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T15:45:22.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T15:45:22.302Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T15:45:22.318Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T15:45:22.336Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T15:45:22.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo [2023-04-18T15:45:22.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo [2023-04-18T15:45:22.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo [2023-04-18T15:45:22.394Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo [2023-04-18T15:45:22.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78c28b1 [Pipeline] echo [2023-04-18T15:45:22.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:45:22.450Z] provisioning config files... [2023-04-18T15:45:22.464Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config5068107986020274372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:45:22.764Z] ---> docker-login.sh [2023-04-18T15:45:22.764Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:45:23.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:23.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:23.024Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:23.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:23.024Z] [2023-04-18T15:45:23.024Z] Login Succeeded [2023-04-18T15:45:23.024Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:45:23.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:23.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:23.284Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:23.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:23.284Z] [2023-04-18T15:45:23.284Z] Login Succeeded [2023-04-18T15:45:23.284Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:45:23.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:23.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:23.284Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:23.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:23.284Z] [2023-04-18T15:45:23.284Z] Login Succeeded [2023-04-18T15:45:23.284Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:45:23.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:23.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:23.284Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:23.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:23.284Z] [2023-04-18T15:45:23.284Z] Login Succeeded [2023-04-18T15:45:23.284Z] docker.io [2023-04-18T15:45:23.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:23.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:23.804Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:23.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:23.804Z] [2023-04-18T15:45:23.804Z] Login Succeeded [2023-04-18T15:45:23.804Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:45:23.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T15:45:24.178Z] + git rev-list -1 --merges 78c28b113e0678ca503a245724536a9c002a0eb3~1..78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo [2023-04-18T15:45:24.215Z] -----------> git rev-list -1 --merges 78c28b113e0678ca503a245724536a9c002a0eb3~1..78c28b113e0678ca503a245724536a9c002a0eb3 78c28b113e0678ca503a245724536a9c002a0eb3 [2023-04-18T15:45:24.215Z] 78c28b113e0678ca503a245724536a9c002a0eb3 [false] [Pipeline] sh [2023-04-18T15:45:24.502Z] + git log --format=format:%s -1 78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo [2023-04-18T15:45:24.516Z] ========================================================= [2023-04-18T15:45:24.516Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T15:45:24.516Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:45:24.849Z] + git log --format=format:%s -1 78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo [2023-04-18T15:45:24.859Z] [semverPrep] GIT_COMMIT: 78c28b113e0678ca503a245724536a9c002a0eb3, Commit Message: Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD [Pipeline] echo [2023-04-18T15:45:24.869Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T15:45:25.196Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T15:45:25.196Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T15:45:25.196Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T15:45:25.196Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T15:45:25.196Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T15:45:25.196Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T15:45:25.196Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:45:25.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:45:25.544Z] [2023-04-18T15:45:25.544Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:45:25.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:45:25.861Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T15:45:25.861Z] b85a868b505f: Pulling fs layer [2023-04-18T15:45:25.861Z] e2be974225ed: Pulling fs layer [2023-04-18T15:45:25.861Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T15:45:25.861Z] 988bab9f4d93: Pulling fs layer [2023-04-18T15:45:25.861Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T15:45:25.861Z] eaf3925da568: Pulling fs layer [2023-04-18T15:45:25.862Z] bab4dde63d76: Pulling fs layer [2023-04-18T15:45:25.862Z] bde34c3a00c8: Pulling fs layer [2023-04-18T15:45:25.862Z] b352a97aabf1: Pulling fs layer [2023-04-18T15:45:25.862Z] 4872d77fe225: Pulling fs layer [2023-04-18T15:45:25.862Z] 5851b861e8e6: Pulling fs layer [2023-04-18T15:45:25.862Z] bab4dde63d76: Waiting [2023-04-18T15:45:25.862Z] b352a97aabf1: Waiting [2023-04-18T15:45:25.862Z] bde34c3a00c8: Waiting [2023-04-18T15:45:25.862Z] 5851b861e8e6: Waiting [2023-04-18T15:45:25.862Z] 4872d77fe225: Waiting [2023-04-18T15:45:25.862Z] 1469e6f7b9e6: Waiting [2023-04-18T15:45:25.862Z] eaf3925da568: Waiting [2023-04-18T15:45:25.862Z] 988bab9f4d93: Waiting [2023-04-18T15:45:25.862Z] e2be974225ed: Download complete [2023-04-18T15:45:25.862Z] 988bab9f4d93: Verifying Checksum [2023-04-18T15:45:25.862Z] 988bab9f4d93: Download complete [2023-04-18T15:45:26.123Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T15:45:26.123Z] 339a4e72a1f5: Download complete [2023-04-18T15:45:26.123Z] 1469e6f7b9e6: Download complete [2023-04-18T15:45:26.123Z] eaf3925da568: Verifying Checksum [2023-04-18T15:45:26.123Z] eaf3925da568: Download complete [2023-04-18T15:45:26.123Z] bde34c3a00c8: Download complete [2023-04-18T15:45:26.123Z] b352a97aabf1: Download complete [2023-04-18T15:45:26.123Z] 4872d77fe225: Verifying Checksum [2023-04-18T15:45:26.123Z] 4872d77fe225: Download complete [2023-04-18T15:45:26.123Z] 5851b861e8e6: Verifying Checksum [2023-04-18T15:45:26.123Z] 5851b861e8e6: Download complete [2023-04-18T15:45:26.123Z] b85a868b505f: Verifying Checksum [2023-04-18T15:45:26.123Z] b85a868b505f: Download complete [2023-04-18T15:45:26.383Z] bab4dde63d76: Verifying Checksum [2023-04-18T15:45:26.383Z] bab4dde63d76: Download complete [2023-04-18T15:45:27.324Z] b85a868b505f: Pull complete [2023-04-18T15:45:27.324Z] e2be974225ed: Pull complete [2023-04-18T15:45:27.891Z] 339a4e72a1f5: Pull complete [2023-04-18T15:45:27.892Z] 988bab9f4d93: Pull complete [2023-04-18T15:45:28.152Z] 1469e6f7b9e6: Pull complete [2023-04-18T15:45:28.415Z] eaf3925da568: Pull complete [2023-04-18T15:45:30.366Z] bab4dde63d76: Pull complete [2023-04-18T15:45:30.366Z] bde34c3a00c8: Pull complete [2023-04-18T15:45:30.366Z] b352a97aabf1: Pull complete [2023-04-18T15:45:30.366Z] 4872d77fe225: Pull complete [2023-04-18T15:45:30.366Z] 5851b861e8e6: Pull complete [2023-04-18T15:45:30.366Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T15:45:30.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:45:30.366Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:45:30.471Z] prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container [2023-04-18T15:45:30.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T15:45:31.714Z] $ docker top ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f -eo pid,comm [2023-04-18T15:45:31.769Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-18T15:45:31.769Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T15:45:31.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T15:45:31.809Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T15:45:31.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T15:45:31.937Z] $ docker exec ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent [2023-04-18T15:45:32.046Z] SSH_AUTH_SOCK=/tmp/ssh-Gdl6Aya7Sy6g/agent.33 [2023-04-18T15:45:32.046Z] SSH_AGENT_PID=39 [2023-04-18T15:45:32.051Z] Running ssh-add (command line suppressed) [2023-04-18T15:45:32.147Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_15401383060801198581.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_15401383060801198581.key) [2023-04-18T15:45:32.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T15:45:32.446Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T15:45:32.470Z] $ docker exec --env ******** --env ******** ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent -k [2023-04-18T15:45:32.568Z] unset SSH_AUTH_SOCK; [2023-04-18T15:45:32.568Z] unset SSH_AGENT_PID; [2023-04-18T15:45:32.568Z] echo Agent pid 39 killed; [2023-04-18T15:45:32.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T15:45:32.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T15:45:32.603Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T15:45:32.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T15:45:32.730Z] $ docker exec ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent [2023-04-18T15:45:32.840Z] SSH_AUTH_SOCK=/tmp/ssh-6K4ywrPyM17V/agent.72 [2023-04-18T15:45:32.840Z] SSH_AGENT_PID=78 [2023-04-18T15:45:32.844Z] Running ssh-add (command line suppressed) [2023-04-18T15:45:32.958Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_14658628244969084927.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_14658628244969084927.key) [2023-04-18T15:45:32.968Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T15:45:33.258Z] + git semver init [2023-04-18T15:45:33.518Z] 2023-04-18 15:45:33,436 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T15:45:33.518Z] 2023-04-18 15:45:33,437 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver [2023-04-18T15:45:33.518Z] 2023-04-18 15:45:33,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver [2023-04-18T15:45:33.518Z] 2023-04-18 15:45:33,437 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-305/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-305, universal_newlines=False, shell=None, istream=None) [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,290 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 with force:False [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,290 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,295 [execute] INFO git cat-file --batch-check [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,302 [execute] INFO git cat-file --batch [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T15:45:34.457Z] 2023-04-18 15:45:34,306 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 [2023-04-18T15:45:34.457Z] 0.0.0 [Pipeline] } [2023-04-18T15:45:34.472Z] $ docker exec --env ******** --env ******** ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent -k [2023-04-18T15:45:34.572Z] unset SSH_AUTH_SOCK; [2023-04-18T15:45:34.572Z] unset SSH_AGENT_PID; [2023-04-18T15:45:34.572Z] echo Agent pid 78 killed; [2023-04-18T15:45:34.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T15:45:34.884Z] + git semver [Pipeline] } [2023-04-18T15:45:35.161Z] $ docker stop --time=1 ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f [2023-04-18T15:45:36.456Z] $ docker rm -f --volumes ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:45:36.787Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T15:45:36.989Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T15:45:36.992Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:45:37.105Z] provisioning config files... [2023-04-18T15:45:37.114Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config304054592422490105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:45:37.410Z] ---> docker-login.sh [2023-04-18T15:45:37.410Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:45:37.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:37.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:37.410Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:37.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:37.410Z] [2023-04-18T15:45:37.410Z] Login Succeeded [2023-04-18T15:45:37.410Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:45:37.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:37.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:37.410Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:37.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:37.410Z] [2023-04-18T15:45:37.410Z] Login Succeeded [2023-04-18T15:45:37.410Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:45:37.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:37.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:37.670Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:37.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:37.670Z] [2023-04-18T15:45:37.670Z] Login Succeeded [2023-04-18T15:45:37.670Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:45:37.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:37.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:37.670Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:37.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:37.670Z] [2023-04-18T15:45:37.670Z] Login Succeeded [2023-04-18T15:45:37.670Z] docker.io [2023-04-18T15:45:37.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:45:37.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:45:37.929Z] Configure a credential helper to remove this warning. See [2023-04-18T15:45:37.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:45:37.929Z] [2023-04-18T15:45:37.929Z] Login Succeeded [2023-04-18T15:45:37.929Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:45:37.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T15:45:38.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:45:38.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:45:38.024Z] ========================================================= [2023-04-18T15:45:38.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T15:45:38.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:45:38.335Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T15:45:38.336Z] Sending build context to Docker daemon 21.4MB [2023-04-18T15:45:38.336Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:45:38.336Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T15:45:38.595Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T15:45:38.595Z] 63b65145d645: Pulling fs layer [2023-04-18T15:45:38.595Z] a2d21d5440eb: Pulling fs layer [2023-04-18T15:45:38.595Z] 935e6c44a52c: Pulling fs layer [2023-04-18T15:45:38.595Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T15:45:38.595Z] 30dea6a524f1: Pulling fs layer [2023-04-18T15:45:38.595Z] a2aff8979fd8: Pulling fs layer [2023-04-18T15:45:38.595Z] 6808be2612f2: Pulling fs layer [2023-04-18T15:45:38.595Z] f25807f1079a: Pulling fs layer [2023-04-18T15:45:38.595Z] 94cc34f8dd06: Waiting [2023-04-18T15:45:38.595Z] a2aff8979fd8: Waiting [2023-04-18T15:45:38.595Z] 30dea6a524f1: Waiting [2023-04-18T15:45:38.595Z] 6808be2612f2: Waiting [2023-04-18T15:45:38.595Z] f25807f1079a: Waiting [2023-04-18T15:45:38.595Z] a2d21d5440eb: Verifying Checksum [2023-04-18T15:45:38.595Z] a2d21d5440eb: Download complete [2023-04-18T15:45:38.595Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T15:45:38.595Z] 94cc34f8dd06: Download complete [2023-04-18T15:45:38.595Z] 30dea6a524f1: Verifying Checksum [2023-04-18T15:45:38.595Z] 30dea6a524f1: Download complete [2023-04-18T15:45:38.595Z] 63b65145d645: Verifying Checksum [2023-04-18T15:45:38.595Z] 63b65145d645: Download complete [2023-04-18T15:45:38.595Z] a2aff8979fd8: Verifying Checksum [2023-04-18T15:45:38.595Z] a2aff8979fd8: Download complete [2023-04-18T15:45:38.855Z] 63b65145d645: Pull complete [2023-04-18T15:45:38.855Z] a2d21d5440eb: Pull complete [2023-04-18T15:45:39.113Z] f25807f1079a: Verifying Checksum [2023-04-18T15:45:39.113Z] f25807f1079a: Download complete [2023-04-18T15:45:39.371Z] 935e6c44a52c: Verifying Checksum [2023-04-18T15:45:39.371Z] 935e6c44a52c: Download complete [2023-04-18T15:45:39.371Z] 6808be2612f2: Verifying Checksum [2023-04-18T15:45:39.371Z] 6808be2612f2: Download complete [2023-04-18T15:45:42.671Z] 935e6c44a52c: Pull complete [2023-04-18T15:45:42.671Z] 94cc34f8dd06: Pull complete [2023-04-18T15:45:42.931Z] 30dea6a524f1: Pull complete [2023-04-18T15:45:42.931Z] a2aff8979fd8: Pull complete [2023-04-18T15:45:45.550Z] 6808be2612f2: Pull complete [2023-04-18T15:45:46.116Z] f25807f1079a: Pull complete [2023-04-18T15:45:46.116Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T15:45:46.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T15:45:46.116Z] ---> 3b553350e43f [2023-04-18T15:45:46.116Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:45:47.492Z] ---> Running in c089921e5de1 [2023-04-18T15:45:47.750Z] Removing intermediate container c089921e5de1 [2023-04-18T15:45:47.750Z] ---> 63fa3062d8f3 [2023-04-18T15:45:47.750Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:45:47.750Z] ---> Running in 4c18bf1c7e1d [2023-04-18T15:45:47.750Z] Removing intermediate container 4c18bf1c7e1d [2023-04-18T15:45:47.750Z] ---> 8bf896fc95a8 [2023-04-18T15:45:47.750Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:45:47.750Z] ---> Running in 824a1017fee6 [2023-04-18T15:45:48.008Z] Removing intermediate container 824a1017fee6 [2023-04-18T15:45:48.008Z] ---> 66df2a9f2b5c [2023-04-18T15:45:48.008Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:45:48.008Z] ---> Running in 566ec0b849d0 [2023-04-18T15:45:48.008Z] Removing intermediate container 566ec0b849d0 [2023-04-18T15:45:48.008Z] ---> 864f0e01cf16 [2023-04-18T15:45:48.008Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:45:48.008Z] ---> Running in 2f5580a04d57 [2023-04-18T15:45:48.267Z] Removing intermediate container 2f5580a04d57 [2023-04-18T15:45:48.267Z] ---> c47f6aa12c9d [2023-04-18T15:45:48.267Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:45:48.267Z] ---> Running in fd194eedc2fd [2023-04-18T15:45:48.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:45:48.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:45:49.041Z] OK: 265 MiB in 53 packages [2023-04-18T15:45:49.299Z] Removing intermediate container fd194eedc2fd [2023-04-18T15:45:49.300Z] ---> 15b0b3ac23b2 [2023-04-18T15:45:49.300Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-18T15:45:49.300Z] ---> Running in 7257ed5e8927 [2023-04-18T15:45:49.559Z] Removing intermediate container 7257ed5e8927 [2023-04-18T15:45:49.559Z] ---> 667bf91f6154 [2023-04-18T15:45:49.559Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-18T15:45:49.559Z] ---> 392c8058d0d4 [2023-04-18T15:45:49.559Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:45:49.559Z] ---> Running in 6034bdcdeaa0 [2023-04-18T15:45:52.069Z] Still waiting to schedule task [2023-04-18T15:45:52.069Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8937’ [2023-04-18T15:46:11.496Z] Removing intermediate container 6034bdcdeaa0 [2023-04-18T15:46:11.496Z] ---> 0869be26c73e [2023-04-18T15:46:11.496Z] Step 12/13 : COPY . . [2023-04-18T15:46:11.496Z] ---> fdc7a49c3975 [2023-04-18T15:46:11.496Z] Step 13/13 : RUN ${MAKE} [2023-04-18T15:46:11.496Z] ---> Running in ef8548feea89 [2023-04-18T15:46:11.756Z] noop [2023-04-18T15:46:12.016Z] Removing intermediate container ef8548feea89 [2023-04-18T15:46:12.016Z] ---> 331c467ef55a [2023-04-18T15:46:12.016Z] Successfully built 331c467ef55a [2023-04-18T15:46:12.016Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:46:12.323Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T15:46:12.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:46:12.396Z] prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container [2023-04-18T15:46:12.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T15:46:12.803Z] $ docker top fbbcbe5c55a06ff7dfa511c391e97bff027eaf51001ecdd578cace0b364cd2d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:46:13.144Z] + go version [2023-04-18T15:46:13.144Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T15:46:13.159Z] $ docker stop --time=1 fbbcbe5c55a06ff7dfa511c391e97bff027eaf51001ecdd578cace0b364cd2d3 [2023-04-18T15:46:14.438Z] $ docker rm -f --volumes fbbcbe5c55a06ff7dfa511c391e97bff027eaf51001ecdd578cace0b364cd2d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:46:14.857Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T15:46:14.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:46:14.931Z] prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container [2023-04-18T15:46:14.962Z] $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T15:46:15.313Z] $ docker top a309077c90813a492075c6ee8c97d5838fdf907179a0ffcd8fc80f13cd060cb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:46:15.654Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh [2023-04-18T15:46:15.949Z] + make test [2023-04-18T15:46:15.950Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T15:46:21.219Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-18T15:46:33.425Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-18T15:46:33.425Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-18T15:46:33.684Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.6% of statements [2023-04-18T15:46:33.943Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.221s coverage: 86.5% of statements [2023-04-18T15:46:42.051Z] go vet ./... [2023-04-18T15:46:45.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T15:46:45.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T15:46:45.337Z] ./bin/test-attribution-txt.sh [2023-04-18T15:46:45.337Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-18T15:46:45.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T15:46:45.367Z] $ docker stop --time=1 a309077c90813a492075c6ee8c97d5838fdf907179a0ffcd8fc80f13cd060cb2 [2023-04-18T15:46:47.989Z] $ docker rm -f --volumes a309077c90813a492075c6ee8c97d5838fdf907179a0ffcd8fc80f13cd060cb2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:46:48.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T15:46:48.568Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T15:46:49.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T15:46:49.304Z] + ls -al . [2023-04-18T15:46:49.304Z] total 232 [2023-04-18T15:46:49.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 15:46 . [2023-04-18T15:46:49.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 .. [2023-04-18T15:46:49.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:45 .git [2023-04-18T15:46:49.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:45 .github [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:45 .gitignore [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:45 .golangci.yml [2023-04-18T15:46:49.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:45 .semver [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 18 15:45 Attribution.txt [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 18 15:45 CHANGELOG.md [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 18 15:45 Dockerfile [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:45 GOVERNANCE.md [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 18 15:45 Jenkinsfile [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:45 LICENSE [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 18 15:45 Makefile [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:45 OWNERS.md [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 2568 Apr 18 15:45 README.md [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:45 VERSION [2023-04-18T15:46:49.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:45 bin [2023-04-18T15:46:49.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:45 cmd [2023-04-18T15:46:49.304Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 18 15:46 coverage.out [2023-04-18T15:46:49.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 doc [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 18 15:45 go.mod [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 18 15:45 go.sum [2023-04-18T15:46:49.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 internal [2023-04-18T15:46:49.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 snap [2023-04-18T15:46:49.304Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:46:49.610Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=78c28b113e0678ca503a245724536a9c002a0eb3 --label arch=amd64 --label version=0.0.0 . [2023-04-18T15:46:49.610Z] Sending build context to Docker daemon 21.48MB [2023-04-18T15:46:49.610Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:46:49.610Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-18T15:46:49.610Z] ---> 331c467ef55a [2023-04-18T15:46:49.610Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:46:49.869Z] ---> Running in 76b07b63eda1 [2023-04-18T15:46:49.869Z] Removing intermediate container 76b07b63eda1 [2023-04-18T15:46:49.869Z] ---> fe713adea39d [2023-04-18T15:46:49.869Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:46:49.869Z] ---> Running in 564b97b336eb [2023-04-18T15:46:50.131Z] Removing intermediate container 564b97b336eb [2023-04-18T15:46:50.131Z] ---> e3ae2f8d4d97 [2023-04-18T15:46:50.131Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:46:50.131Z] ---> Running in b1ce28b08813 [2023-04-18T15:46:50.131Z] Removing intermediate container b1ce28b08813 [2023-04-18T15:46:50.131Z] ---> c3927509a0da [2023-04-18T15:46:50.131Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:46:50.131Z] ---> Running in 33704ed60311 [2023-04-18T15:46:50.131Z] Removing intermediate container 33704ed60311 [2023-04-18T15:46:50.131Z] ---> b63ff976ae4f [2023-04-18T15:46:50.131Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:46:50.389Z] ---> Running in 598c4cf16876 [2023-04-18T15:46:50.389Z] Removing intermediate container 598c4cf16876 [2023-04-18T15:46:50.389Z] ---> 520c9860531e [2023-04-18T15:46:50.389Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:46:50.389Z] ---> Running in 73c911fa9728 [2023-04-18T15:46:50.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:46:50.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:46:50.905Z] OK: 265 MiB in 53 packages [2023-04-18T15:46:51.164Z] Removing intermediate container 73c911fa9728 [2023-04-18T15:46:51.164Z] ---> a107b36f6e6e [2023-04-18T15:46:51.164Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-18T15:46:51.164Z] ---> Running in b9003abec55c [2023-04-18T15:46:51.425Z] Removing intermediate container b9003abec55c [2023-04-18T15:46:51.425Z] ---> 2231b490ab23 [2023-04-18T15:46:51.425Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-18T15:46:51.425Z] ---> 89fa0c0a9523 [2023-04-18T15:46:51.425Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:46:51.425Z] ---> Running in a8abc48682f3 [2023-04-18T15:46:52.360Z] Removing intermediate container a8abc48682f3 [2023-04-18T15:46:52.360Z] ---> 181e70a7fbb2 [2023-04-18T15:46:52.360Z] Step 12/26 : COPY . . [2023-04-18T15:46:52.927Z] ---> a69cc866aec8 [2023-04-18T15:46:52.927Z] Step 13/26 : RUN ${MAKE} [2023-04-18T15:46:52.927Z] ---> Running in c462a7f9bff8 [2023-04-18T15:46:53.185Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-18T15:47:15.127Z] Removing intermediate container c462a7f9bff8 [2023-04-18T15:47:15.127Z] ---> dafadd2d0102 [2023-04-18T15:47:15.127Z] Step 14/26 : FROM alpine:3.17 [2023-04-18T15:47:15.127Z] 3.17: Pulling from library/alpine [2023-04-18T15:47:15.127Z] f56be85fc22e: Pulling fs layer [2023-04-18T15:47:15.127Z] f56be85fc22e: Verifying Checksum [2023-04-18T15:47:15.127Z] f56be85fc22e: Download complete [2023-04-18T15:47:15.127Z] f56be85fc22e: Pull complete [2023-04-18T15:47:15.127Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T15:47:15.127Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T15:47:15.127Z] ---> 9ed4aefc74f6 [2023-04-18T15:47:15.127Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-18T15:47:15.127Z] ---> Running in acf99cdfedd9 [2023-04-18T15:47:15.127Z] Removing intermediate container acf99cdfedd9 [2023-04-18T15:47:15.127Z] ---> da9b41d241a4 [2023-04-18T15:47:15.127Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-18T15:47:15.127Z] ---> Running in 21f3f326f70f [2023-04-18T15:47:15.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:47:15.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:47:15.127Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T15:47:15.127Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T15:47:15.127Z] OK: 7 MiB in 16 packages [2023-04-18T15:47:15.127Z] Removing intermediate container 21f3f326f70f [2023-04-18T15:47:15.127Z] ---> 9c2db05b5aa3 [2023-04-18T15:47:15.127Z] Step 17/26 : WORKDIR / [2023-04-18T15:47:15.127Z] ---> Running in 67d748838375 [2023-04-18T15:47:15.127Z] Removing intermediate container 67d748838375 [2023-04-18T15:47:15.127Z] ---> e45acb231358 [2023-04-18T15:47:15.127Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-18T15:47:15.127Z] ---> bfec4dbe3434 [2023-04-18T15:47:15.127Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-18T15:47:15.127Z] ---> 9b89a4222008 [2023-04-18T15:47:15.127Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-18T15:47:15.127Z] ---> be87998721d5 [2023-04-18T15:47:15.127Z] Step 21/26 : EXPOSE 59984 [2023-04-18T15:47:15.127Z] ---> Running in 85790f3a370a [2023-04-18T15:47:15.386Z] Removing intermediate container 85790f3a370a [2023-04-18T15:47:15.386Z] ---> 570753c24f18 [2023-04-18T15:47:15.386Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-18T15:47:15.386Z] ---> Running in 97b7b0cb8623 [2023-04-18T15:47:15.386Z] Removing intermediate container 97b7b0cb8623 [2023-04-18T15:47:15.386Z] ---> bab614687f0d [2023-04-18T15:47:15.386Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T15:47:15.386Z] ---> Running in aee19448694d [2023-04-18T15:47:15.386Z] Removing intermediate container aee19448694d [2023-04-18T15:47:15.386Z] ---> 46659875c9c1 [2023-04-18T15:47:15.386Z] Step 24/26 : LABEL arch=amd64 [2023-04-18T15:47:15.386Z] ---> Running in 725e1fd1e085 [2023-04-18T15:47:15.646Z] Removing intermediate container 725e1fd1e085 [2023-04-18T15:47:15.646Z] ---> 9b463fde2536 [2023-04-18T15:47:15.646Z] Step 25/26 : LABEL git_sha=78c28b113e0678ca503a245724536a9c002a0eb3 [2023-04-18T15:47:15.646Z] ---> Running in f823e30eaf4d [2023-04-18T15:47:15.646Z] Removing intermediate container f823e30eaf4d [2023-04-18T15:47:15.646Z] ---> e95bf5839310 [2023-04-18T15:47:15.646Z] Step 26/26 : LABEL version=0.0.0 [2023-04-18T15:47:15.646Z] ---> Running in b28d56fd4b9f [2023-04-18T15:47:15.646Z] Removing intermediate container b28d56fd4b9f [2023-04-18T15:47:15.646Z] ---> 820ec22938d5 [2023-04-18T15:47:15.646Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T15:47:15.646Z] Successfully built 820ec22938d5 [2023-04-18T15:47:15.646Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:47:16.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:47:16.077Z] [2023-04-18T15:47:16.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:47:16.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:47:16.379Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T15:47:16.379Z] 5eb5b503b376: Pulling fs layer [2023-04-18T15:47:16.379Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T15:47:16.379Z] ec43610c2a17: Pulling fs layer [2023-04-18T15:47:16.379Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T15:47:16.379Z] 33b1e0a273af: Pulling fs layer [2023-04-18T15:47:16.379Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T15:47:16.379Z] 2f39f015ded8: Pulling fs layer [2023-04-18T15:47:16.379Z] 3a2ae6a8a46f: Waiting [2023-04-18T15:47:16.379Z] 33b1e0a273af: Waiting [2023-04-18T15:47:16.379Z] 5d3b04190fa2: Waiting [2023-04-18T15:47:16.379Z] 2f39f015ded8: Waiting [2023-04-18T15:47:16.379Z] 5c69ac0246d0: Download complete [2023-04-18T15:47:16.379Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T15:47:16.379Z] 3a2ae6a8a46f: Download complete [2023-04-18T15:47:16.379Z] 33b1e0a273af: Verifying Checksum [2023-04-18T15:47:16.379Z] 33b1e0a273af: Download complete [2023-04-18T15:47:16.379Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T15:47:16.379Z] 5d3b04190fa2: Download complete [2023-04-18T15:47:16.379Z] ec43610c2a17: Verifying Checksum [2023-04-18T15:47:16.379Z] ec43610c2a17: Download complete [2023-04-18T15:47:16.638Z] 5eb5b503b376: Verifying Checksum [2023-04-18T15:47:16.638Z] 5eb5b503b376: Download complete [2023-04-18T15:47:17.205Z] 2f39f015ded8: Download complete [2023-04-18T15:47:17.772Z] 5eb5b503b376: Pull complete [2023-04-18T15:47:18.032Z] 5c69ac0246d0: Pull complete [2023-04-18T15:47:18.291Z] ec43610c2a17: Pull complete [2023-04-18T15:47:18.549Z] 3a2ae6a8a46f: Pull complete [2023-04-18T15:47:18.806Z] 33b1e0a273af: Pull complete [2023-04-18T15:47:18.806Z] 5d3b04190fa2: Pull complete [2023-04-18T15:47:22.989Z] 2f39f015ded8: Pull complete [2023-04-18T15:47:22.989Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T15:47:22.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:47:22.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:47:23.061Z] prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container [2023-04-18T15:47:23.091Z] $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T15:47:25.301Z] $ docker top ab2ff01483c6df711ad4779356daca5465e4c128d9e0836b7b1f6d875734e9e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:47:25.665Z] ---> job-cost.sh [2023-04-18T15:47:25.665Z] lf-activate-venv: SKIPPING [2023-04-18T15:47:25.665Z] INFO: No Stack... [2023-04-18T15:47:25.924Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T15:47:26.184Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T15:47:26.474Z] + cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv [2023-04-18T15:47:26.474Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T15:47:26.487Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [2023-04-18T15:47:26.496Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] did not exist. Created. [2023-04-18T15:47:26.496Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T15:47:26.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T15:47:26.834Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T15:47:26.842Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T15:47:26.868Z] $ docker stop --time=1 ab2ff01483c6df711ad4779356daca5465e4c128d9e0836b7b1f6d875734e9e7 [2023-04-18T15:47:28.027Z] $ docker rm -f --volumes ab2ff01483c6df711ad4779356daca5465e4c128d9e0836b7b1f6d875734e9e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T15:49:14.259Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8941 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] ws [2023-04-18T15:49:14.272Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2023-04-18T15:49:14.307Z] The recommended git tool is: git [2023-04-18T15:49:20.921Z] using credential edgex-jenkins-ssh [2023-04-18T15:49:20.938Z] Cloning the remote Git repository [2023-04-18T15:49:20.989Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:49:21.082Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2023-04-18T15:49:21.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:49:21.231Z] > git --version # timeout=10 [2023-04-18T15:49:21.255Z] > git --version # 'git version 2.25.1' [2023-04-18T15:49:21.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:49:21.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T15:49:22.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-18T15:49:22.825Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T15:49:23.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-18T15:49:23.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:49:23.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:49:23.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T15:49:24.489Z] Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 57af7d14efb7306e5f9e58ca019040386ae0255b [2023-04-18T15:49:25.118Z] Merge succeeded, producing 2edb1de9e885bcc8d333f334ebf5889b04a45011 [2023-04-18T15:49:25.118Z] Checking out Revision 2edb1de9e885bcc8d333f334ebf5889b04a45011 (PR-305) [2023-04-18T15:49:24.512Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T15:49:24.594Z] > git checkout -f 57af7d14efb7306e5f9e58ca019040386ae0255b # timeout=10 [2023-04-18T15:49:24.787Z] > git remote # timeout=10 [2023-04-18T15:49:24.808Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T15:49:24.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:49:24.849Z] > git merge b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 [2023-04-18T15:49:25.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T15:49:25.128Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T15:49:25.147Z] > git checkout -f 2edb1de9e885bcc8d333f334ebf5889b04a45011 # timeout=10 [2023-04-18T15:49:28.654Z] Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" [2023-04-18T15:49:28.681Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2023-04-18T15:49:28.667Z] > git rev-list --no-walk 46cabe13d72068d298b339c71508736a9b5aec0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:49:29.635Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T15:49:29.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T15:49:29.636Z] Dload Upload Total Spent Left Speed [2023-04-18T15:49:29.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh [2023-04-18T15:49:30.430Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T15:49:30.761Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T15:49:30.761Z] + sudo tee /etc/docker/daemon.new [2023-04-18T15:49:30.761Z] { [2023-04-18T15:49:30.761Z] "registry-mirrors": [ [2023-04-18T15:49:30.761Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T15:49:30.761Z] ], [2023-04-18T15:49:30.761Z] "bip": "10.250.0.254/24", [2023-04-18T15:49:30.761Z] "hosts": [ [2023-04-18T15:49:30.761Z] "tcp://0.0.0.0:5555", [2023-04-18T15:49:30.761Z] "unix:///var/run/docker.sock" [2023-04-18T15:49:30.761Z] ], [2023-04-18T15:49:30.761Z] "mtu": 1458, [2023-04-18T15:49:30.761Z] "selinux-enabled": true, [2023-04-18T15:49:30.761Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T15:49:30.761Z] } [Pipeline] sh [2023-04-18T15:49:31.096Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T15:49:31.434Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:49:49.724Z] provisioning config files... [2023-04-18T15:49:49.747Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config2473976253042492360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:49:50.090Z] ---> docker-login.sh [2023-04-18T15:49:50.090Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:49:50.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:49:50.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:49:50.627Z] Configure a credential helper to remove this warning. See [2023-04-18T15:49:50.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:49:50.627Z] [2023-04-18T15:49:50.627Z] Login Succeeded [2023-04-18T15:49:50.627Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:49:50.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:49:50.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:49:50.894Z] Configure a credential helper to remove this warning. See [2023-04-18T15:49:50.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:49:50.894Z] [2023-04-18T15:49:50.894Z] Login Succeeded [2023-04-18T15:49:50.894Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:49:51.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:49:51.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:49:51.429Z] Configure a credential helper to remove this warning. See [2023-04-18T15:49:51.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:49:51.429Z] [2023-04-18T15:49:51.429Z] Login Succeeded [2023-04-18T15:49:51.429Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:49:51.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:49:51.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:49:51.696Z] Configure a credential helper to remove this warning. See [2023-04-18T15:49:51.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:49:51.696Z] [2023-04-18T15:49:51.696Z] Login Succeeded [2023-04-18T15:49:51.696Z] docker.io [2023-04-18T15:49:51.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:49:52.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:49:52.235Z] Configure a credential helper to remove this warning. See [2023-04-18T15:49:52.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:49:52.235Z] [2023-04-18T15:49:52.235Z] Login Succeeded [2023-04-18T15:49:52.235Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:49:52.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T15:49:52.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:49:52.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:49:52.524Z] ========================================================= [2023-04-18T15:49:52.524Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T15:49:52.524Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:49:52.865Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T15:49:53.131Z] Sending build context to Docker daemon 14.12MB [2023-04-18T15:49:53.407Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:49:53.407Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T15:49:53.407Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T15:49:53.407Z] af6eaf76a39c: Pulling fs layer [2023-04-18T15:49:53.407Z] 55522c791124: Pulling fs layer [2023-04-18T15:49:53.407Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T15:49:53.407Z] 169dfbe0d373: Pulling fs layer [2023-04-18T15:49:53.407Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T15:49:53.407Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T15:49:53.407Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T15:49:53.407Z] 169dfbe0d373: Waiting [2023-04-18T15:49:53.407Z] e1ff8fa3b103: Waiting [2023-04-18T15:49:53.407Z] 52ebb69f0ebf: Waiting [2023-04-18T15:49:53.407Z] 5abe8eddf0d5: Waiting [2023-04-18T15:49:53.407Z] 55522c791124: Verifying Checksum [2023-04-18T15:49:53.407Z] 55522c791124: Download complete [2023-04-18T15:49:53.407Z] 169dfbe0d373: Verifying Checksum [2023-04-18T15:49:53.407Z] 169dfbe0d373: Download complete [2023-04-18T15:49:53.407Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T15:49:53.407Z] e1ff8fa3b103: Download complete [2023-04-18T15:49:53.683Z] af6eaf76a39c: Verifying Checksum [2023-04-18T15:49:53.684Z] af6eaf76a39c: Download complete [2023-04-18T15:49:54.674Z] af6eaf76a39c: Pull complete [2023-04-18T15:49:54.674Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T15:49:54.674Z] 5abe8eddf0d5: Download complete [2023-04-18T15:49:55.266Z] 55522c791124: Pull complete [2023-04-18T15:49:56.229Z] ce5c4a1c91eb: Download complete [2023-04-18T15:49:56.229Z] 52ebb69f0ebf: Download complete [2023-04-18T15:50:06.323Z] ce5c4a1c91eb: Pull complete [2023-04-18T15:50:06.591Z] 169dfbe0d373: Pull complete [2023-04-18T15:50:06.591Z] e1ff8fa3b103: Pull complete [2023-04-18T15:50:13.267Z] 52ebb69f0ebf: Pull complete [2023-04-18T15:50:15.227Z] 5abe8eddf0d5: Pull complete [2023-04-18T15:50:15.227Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T15:50:15.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T15:50:15.227Z] ---> 6cb57ee374ae [2023-04-18T15:50:15.227Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:50:17.174Z] ---> Running in 3bb6d8d99b33 [2023-04-18T15:50:17.175Z] Removing intermediate container 3bb6d8d99b33 [2023-04-18T15:50:17.175Z] ---> 834e4306cd76 [2023-04-18T15:50:17.175Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:50:17.175Z] ---> Running in aa86d2606b78 [2023-04-18T15:50:17.441Z] Removing intermediate container aa86d2606b78 [2023-04-18T15:50:17.441Z] ---> b35b0cae903b [2023-04-18T15:50:17.441Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:50:17.706Z] ---> Running in 359a2ed92f48 [2023-04-18T15:50:17.974Z] Removing intermediate container 359a2ed92f48 [2023-04-18T15:50:17.974Z] ---> 643049ec45a8 [2023-04-18T15:50:17.975Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:50:17.975Z] ---> Running in 4dd2bbccaef2 [2023-04-18T15:50:18.241Z] Removing intermediate container 4dd2bbccaef2 [2023-04-18T15:50:18.241Z] ---> 34ca16db815b [2023-04-18T15:50:18.241Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:50:18.512Z] ---> Running in 84ef39924023 [2023-04-18T15:50:18.784Z] Removing intermediate container 84ef39924023 [2023-04-18T15:50:18.784Z] ---> b678005db1bb [2023-04-18T15:50:18.784Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:50:18.784Z] ---> Running in c2c63fe4f4fc [2023-04-18T15:50:19.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:50:20.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:50:21.283Z] OK: 263 MiB in 53 packages [2023-04-18T15:50:22.243Z] Removing intermediate container c2c63fe4f4fc [2023-04-18T15:50:22.243Z] ---> 61e5dab6a0c7 [2023-04-18T15:50:22.243Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-18T15:50:22.243Z] ---> Running in e72a5571dd9b [2023-04-18T15:50:22.510Z] Removing intermediate container e72a5571dd9b [2023-04-18T15:50:22.510Z] ---> fad110c29912 [2023-04-18T15:50:22.510Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-18T15:50:22.776Z] ---> 27f35b3f11ee [2023-04-18T15:50:22.776Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:50:23.047Z] ---> Running in 8ee3721d335f [2023-04-18T15:51:30.936Z] Removing intermediate container 8ee3721d335f [2023-04-18T15:51:30.936Z] ---> 47d43aeadedd [2023-04-18T15:51:30.936Z] Step 12/13 : COPY . . [2023-04-18T15:51:30.936Z] ---> cd2f99d16f56 [2023-04-18T15:51:30.936Z] Step 13/13 : RUN ${MAKE} [2023-04-18T15:51:30.936Z] ---> Running in 3c55e04253f8 [2023-04-18T15:51:30.936Z] noop [2023-04-18T15:51:30.936Z] Removing intermediate container 3c55e04253f8 [2023-04-18T15:51:30.936Z] ---> ef47dac5ab9d [2023-04-18T15:51:30.936Z] Successfully built ef47dac5ab9d [2023-04-18T15:51:30.936Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:51:31.290Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T15:51:31.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:51:31.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-8941 does not seem to be running inside a container [2023-04-18T15:51:31.574Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-04-18T15:51:32.766Z] $ docker top bbc1bc62b416047c2e032437e1677220b36fefd4b29a632eb11eb9bad2106f16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:51:33.604Z] + go version [2023-04-18T15:51:33.604Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T15:51:33.624Z] $ docker stop --time=1 bbc1bc62b416047c2e032437e1677220b36fefd4b29a632eb11eb9bad2106f16 [2023-04-18T15:51:35.306Z] $ docker rm -f --volumes bbc1bc62b416047c2e032437e1677220b36fefd4b29a632eb11eb9bad2106f16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:51:35.824Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T15:51:35.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:51:36.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-8941 does not seem to be running inside a container [2023-04-18T15:51:36.076Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-04-18T15:51:37.298Z] $ docker top 1f0499da69364d90b011e121aed993816f567e3c8d686c6b860ba8d2d2b3ba80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:51:37.817Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-04-18T15:51:38.739Z] + make test [2023-04-18T15:51:38.739Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T15:52:11.029Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-18T15:54:17.757Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-18T15:54:18.717Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-18T15:54:20.668Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 31.6% of statements [2023-04-18T15:54:47.368Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.831s coverage: 86.5% of statements [2023-04-18T15:54:47.368Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T15:54:47.368Z] go vet ./... [2023-04-18T15:55:14.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T15:55:14.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T15:55:14.055Z] ./bin/test-attribution-txt.sh [2023-04-18T15:55:14.055Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-18T15:55:14.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T15:55:14.090Z] $ docker stop --time=1 1f0499da69364d90b011e121aed993816f567e3c8d686c6b860ba8d2d2b3ba80 [2023-04-18T15:55:16.346Z] $ docker rm -f --volumes 1f0499da69364d90b011e121aed993816f567e3c8d686c6b860ba8d2d2b3ba80 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:55:17.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T15:55:17.536Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T15:55:18.170Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:55:18.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T15:55:18.883Z] + ls -al . [2023-04-18T15:55:18.884Z] total 228 [2023-04-18T15:55:18.884Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 15:51 . [2023-04-18T15:55:18.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 .. [2023-04-18T15:55:18.884Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:49 .git [2023-04-18T15:55:18.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:49 .github [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:49 .gitignore [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:49 .golangci.yml [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 18 15:49 Attribution.txt [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 18 15:49 CHANGELOG.md [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 18 15:49 Dockerfile [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:49 GOVERNANCE.md [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 18 15:49 Jenkinsfile [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:49 LICENSE [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 18 15:49 Makefile [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:49 OWNERS.md [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 2568 Apr 18 15:49 README.md [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:45 VERSION [2023-04-18T15:55:18.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:49 bin [2023-04-18T15:55:18.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:49 cmd [2023-04-18T15:55:18.884Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 18 15:54 coverage.out [2023-04-18T15:55:18.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 doc [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 18 15:49 go.mod [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 18 15:49 go.sum [2023-04-18T15:55:18.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 internal [2023-04-18T15:55:18.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 snap [2023-04-18T15:55:18.884Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:55:19.236Z] + 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=2edb1de9e885bcc8d333f334ebf5889b04a45011 --label arch=arm64 --label version=0.0.0 . [2023-04-18T15:55:19.838Z] Sending build context to Docker daemon 14.2MB [2023-04-18T15:55:19.838Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:55:19.838Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-18T15:55:19.838Z] ---> ef47dac5ab9d [2023-04-18T15:55:19.838Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:55:19.838Z] ---> Running in 3af1750d3415 [2023-04-18T15:55:20.424Z] Removing intermediate container 3af1750d3415 [2023-04-18T15:55:20.424Z] ---> ccf98868b367 [2023-04-18T15:55:20.424Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:55:20.424Z] ---> Running in 7a2beff06f1d [2023-04-18T15:55:20.692Z] Removing intermediate container 7a2beff06f1d [2023-04-18T15:55:20.692Z] ---> 9c7296bd29ff [2023-04-18T15:55:20.692Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:55:20.692Z] ---> Running in 0515855bc217 [2023-04-18T15:55:20.966Z] Removing intermediate container 0515855bc217 [2023-04-18T15:55:20.966Z] ---> 02a32dba43a5 [2023-04-18T15:55:20.966Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:55:20.966Z] ---> Running in f47ebbabca17 [2023-04-18T15:55:21.235Z] Removing intermediate container f47ebbabca17 [2023-04-18T15:55:21.235Z] ---> 030c9d268679 [2023-04-18T15:55:21.235Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:55:21.506Z] ---> Running in abc59f9412be [2023-04-18T15:55:21.775Z] Removing intermediate container abc59f9412be [2023-04-18T15:55:21.775Z] ---> 180592a0b618 [2023-04-18T15:55:21.775Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:55:21.775Z] ---> Running in c838bd12a3a2 [2023-04-18T15:55:22.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:55:23.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:55:24.279Z] OK: 263 MiB in 53 packages [2023-04-18T15:55:25.247Z] Removing intermediate container c838bd12a3a2 [2023-04-18T15:55:25.247Z] ---> 3fac36774b40 [2023-04-18T15:55:25.247Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-18T15:55:25.247Z] ---> Running in d5b6d678501b [2023-04-18T15:55:25.514Z] Removing intermediate container d5b6d678501b [2023-04-18T15:55:25.514Z] ---> 918f41f05393 [2023-04-18T15:55:25.514Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-18T15:55:26.098Z] ---> c37a6e2dc5b8 [2023-04-18T15:55:26.098Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:55:26.098Z] ---> Running in 8f20ce09c135 [2023-04-18T15:55:30.366Z] Removing intermediate container 8f20ce09c135 [2023-04-18T15:55:30.366Z] ---> b205b404b257 [2023-04-18T15:55:30.366Z] Step 12/26 : COPY . . [2023-04-18T15:55:31.329Z] ---> ba4be1c9b56c [2023-04-18T15:55:31.329Z] Step 13/26 : RUN ${MAKE} [2023-04-18T15:55:31.329Z] ---> Running in 1ee11faaa2aa [2023-04-18T15:55:32.294Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-18T15:57:38.952Z] Removing intermediate container 1ee11faaa2aa [2023-04-18T15:57:38.952Z] ---> 7ac6ed70e399 [2023-04-18T15:57:38.952Z] Step 14/26 : FROM alpine:3.17 [2023-04-18T15:57:38.952Z] 3.17: Pulling from library/alpine [2023-04-18T15:57:39.218Z] c41833b44d91: Pulling fs layer [2023-04-18T15:57:39.485Z] c41833b44d91: Verifying Checksum [2023-04-18T15:57:39.485Z] c41833b44d91: Download complete [2023-04-18T15:57:40.069Z] c41833b44d91: Pull complete [2023-04-18T15:57:40.069Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T15:57:40.069Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T15:57:40.069Z] ---> 51e60588ff2c [2023-04-18T15:57:40.069Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-18T15:57:40.069Z] ---> Running in bf5db74d24ff [2023-04-18T15:57:40.343Z] Removing intermediate container bf5db74d24ff [2023-04-18T15:57:40.343Z] ---> 53e571dfcdce [2023-04-18T15:57:40.343Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-18T15:57:40.343Z] ---> Running in d44aad7f0006 [2023-04-18T15:57:41.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:57:41.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:57:43.319Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T15:57:43.319Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T15:57:43.319Z] OK: 8 MiB in 16 packages [2023-04-18T15:57:44.279Z] Removing intermediate container d44aad7f0006 [2023-04-18T15:57:44.279Z] ---> cc9d0e49d93c [2023-04-18T15:57:44.279Z] Step 17/26 : WORKDIR / [2023-04-18T15:57:44.279Z] ---> Running in 63e17117012b [2023-04-18T15:57:44.551Z] Removing intermediate container 63e17117012b [2023-04-18T15:57:44.551Z] ---> ba932e021829 [2023-04-18T15:57:44.551Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-18T15:57:45.960Z] ---> d914f19868c4 [2023-04-18T15:57:45.960Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-18T15:57:46.543Z] ---> 19362fa54b8c [2023-04-18T15:57:46.543Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-18T15:57:47.127Z] ---> 5e5b4cd62176 [2023-04-18T15:57:47.127Z] Step 21/26 : EXPOSE 59984 [2023-04-18T15:57:47.127Z] ---> Running in 53f3d89f5fa4 [2023-04-18T15:57:47.393Z] Removing intermediate container 53f3d89f5fa4 [2023-04-18T15:57:47.393Z] ---> 3f0278da82d4 [2023-04-18T15:57:47.393Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-18T15:57:47.393Z] ---> Running in 057657a8941a [2023-04-18T15:57:47.663Z] Removing intermediate container 057657a8941a [2023-04-18T15:57:47.663Z] ---> 03630b6a525c [2023-04-18T15:57:47.663Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T15:57:47.663Z] ---> Running in 3cc0c334eb9d [2023-04-18T15:57:47.932Z] Removing intermediate container 3cc0c334eb9d [2023-04-18T15:57:47.932Z] ---> 9d03027e1366 [2023-04-18T15:57:47.932Z] Step 24/26 : LABEL arch=arm64 [2023-04-18T15:57:48.200Z] ---> Running in d712617e2902 [2023-04-18T15:57:48.469Z] Removing intermediate container d712617e2902 [2023-04-18T15:57:48.469Z] ---> 3b9d4f046a09 [2023-04-18T15:57:48.469Z] Step 25/26 : LABEL git_sha=2edb1de9e885bcc8d333f334ebf5889b04a45011 [2023-04-18T15:57:48.469Z] ---> Running in 798a08ff466f [2023-04-18T15:57:48.744Z] Removing intermediate container 798a08ff466f [2023-04-18T15:57:48.744Z] ---> 72b4da8db4b7 [2023-04-18T15:57:48.744Z] Step 26/26 : LABEL version=0.0.0 [2023-04-18T15:57:49.013Z] ---> Running in 0cd63651c3fd [2023-04-18T15:57:49.281Z] Removing intermediate container 0cd63651c3fd [2023-04-18T15:57:49.281Z] ---> 4fdddc3abc4b [2023-04-18T15:57:49.281Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T15:57:49.281Z] Successfully built 4fdddc3abc4b [2023-04-18T15:57:49.281Z] 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-04-18T15:57:49.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:57:49.690Z] [2023-04-18T15:57:49.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:57:50.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:57:50.023Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T15:57:50.023Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T15:57:50.023Z] 04944245beec: Pulling fs layer [2023-04-18T15:57:50.023Z] 699f458cf7ca: Pulling fs layer [2023-04-18T15:57:50.023Z] 765212b225bb: Pulling fs layer [2023-04-18T15:57:50.023Z] f23df028b6ca: Pulling fs layer [2023-04-18T15:57:50.023Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T15:57:50.023Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T15:57:50.023Z] 765212b225bb: Waiting [2023-04-18T15:57:50.023Z] f23df028b6ca: Waiting [2023-04-18T15:57:50.023Z] d65c8cfc05b1: Waiting [2023-04-18T15:57:50.023Z] 2437ff75d9bd: Waiting [2023-04-18T15:57:50.294Z] 04944245beec: Verifying Checksum [2023-04-18T15:57:50.294Z] 04944245beec: Download complete [2023-04-18T15:57:50.294Z] 765212b225bb: Verifying Checksum [2023-04-18T15:57:50.294Z] 765212b225bb: Download complete [2023-04-18T15:57:50.294Z] f23df028b6ca: Download complete [2023-04-18T15:57:50.294Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T15:57:50.294Z] d65c8cfc05b1: Download complete [2023-04-18T15:57:50.294Z] 699f458cf7ca: Verifying Checksum [2023-04-18T15:57:50.294Z] 699f458cf7ca: Download complete [2023-04-18T15:57:50.880Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T15:57:50.880Z] 8998bd30e6a1: Download complete [2023-04-18T15:57:52.825Z] 2437ff75d9bd: Download complete [2023-04-18T15:57:54.766Z] 8998bd30e6a1: Pull complete [2023-04-18T15:57:55.351Z] 04944245beec: Pull complete [2023-04-18T15:57:57.935Z] 699f458cf7ca: Pull complete [2023-04-18T15:57:57.935Z] 765212b225bb: Pull complete [2023-04-18T15:57:58.897Z] f23df028b6ca: Pull complete [2023-04-18T15:57:58.897Z] d65c8cfc05b1: Pull complete [2023-04-18T15:58:13.886Z] 2437ff75d9bd: Pull complete [2023-04-18T15:58:13.886Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T15:58:13.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:58:13.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:58:14.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-8941 does not seem to be running inside a container [2023-04-18T15:58:14.122Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T15:58:16.622Z] $ docker top ce62aff300d724cc4cd07576e34522b5f15092238261ae2384ba51f7d33d483e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:17.455Z] ---> job-cost.sh [2023-04-18T15:58:17.455Z] lf-activate-venv: SKIPPING [2023-04-18T15:58:17.455Z] INFO: No Stack... [2023-04-18T15:58:18.036Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T15:58:18.995Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T15:58:19.309Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2023-04-18T15:58:19.309Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T15:58:19.643Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [2023-04-18T15:58:19.649Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] did not exist. Created. [2023-04-18T15:58:19.649Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T15:58:19.981Z] /w/workspace/device-onvif-camera/4@tmp/durable-acb6b6ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T15:58:20.313Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T15:58:20.337Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T15:58:20.386Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T15:58:20.395Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T15:58:20.412Z] $ docker stop --time=1 ce62aff300d724cc4cd07576e34522b5f15092238261ae2384ba51f7d33d483e [2023-04-18T15:58:21.942Z] $ docker rm -f --volumes ce62aff300d724cc4cd07576e34522b5f15092238261ae2384ba51f7d33d483e [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-04-18T15:58:22.365Z] provisioning config files... [2023-04-18T15:58:22.372Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config9044472263907796833tmp [Pipeline] { [Pipeline] sh [2023-04-18T15:58:22.664Z] + set +x [2023-04-18T15:58:22.664Z] + curl -s https://codecov.io/bash [2023-04-18T15:58:22.664Z] + bash -s -- [2023-04-18T15:58:22.664Z] [2023-04-18T15:58:22.664Z] _____ _ [2023-04-18T15:58:22.664Z] / ____| | | [2023-04-18T15:58:22.664Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T15:58:22.664Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T15:58:22.664Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T15:58:22.664Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T15:58:22.664Z] Bash-1.0.6 [2023-04-18T15:58:22.664Z] [2023-04-18T15:58:22.664Z] [2023-04-18T15:58:22.664Z] ==> git version 2.25.1 found [2023-04-18T15:58:22.664Z] ==> 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-04-18T15:58:22.664Z] Release-Date: 2020-01-08 [2023-04-18T15:58:22.664Z] 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-04-18T15:58:22.664Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T15:58:22.664Z] ==> Jenkins CI detected. [2023-04-18T15:58:22.664Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-305 [2023-04-18T15:58:22.664Z] project root: . [2023-04-18T15:58:22.664Z] --> token set from env [2023-04-18T15:58:22.664Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T15:58:22.664Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T15:58:22.924Z] ==> Python coveragepy not found [2023-04-18T15:58:22.924Z] ==> Searching for coverage reports in: [2023-04-18T15:58:22.924Z] + . [2023-04-18T15:58:22.924Z] -> Found 1 reports [2023-04-18T15:58:22.924Z] ==> Detecting git/mercurial file structure [2023-04-18T15:58:22.924Z] ==> Reading reports [2023-04-18T15:58:22.924Z] + ./coverage.out bytes=78835 [2023-04-18T15:58:22.924Z] ==> Appending adjustments [2023-04-18T15:58:22.924Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T15:58:22.924Z] + Found adjustments [2023-04-18T15:58:22.924Z] ==> Gzipping contents [2023-04-18T15:58:22.924Z] 12K /tmp/codecov.4NY2rT.gz [2023-04-18T15:58:22.924Z] ==> Uploading reports [2023-04-18T15:58:22.924Z] url: https://codecov.io [2023-04-18T15:58:22.924Z] query: branch=PR-305&commit=78c28b113e0678ca503a245724536a9c002a0eb3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= [2023-04-18T15:58:22.924Z] -> Pinging Codecov [2023-04-18T15:58:22.924Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-305&commit=78c28b113e0678ca503a245724536a9c002a0eb3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= [2023-04-18T15:58:23.183Z] -> Uploading to [2023-04-18T15:58:23.183Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/F29A59C45E3A92E06B3E522C9905F8EF/78c28b113e0678ca503a245724536a9c002a0eb3/3aed6c44-598a-4266-a785-7b8fb5b9ae81.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T155822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8be19f66d542c0a9cc3f08279ebd7c81fc06cbf65e52b821e42f8caa3ffd946 [2023-04-18T15:58:23.183Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T15:58:23.183Z] Dload Upload Total Spent Left Speed [2023-04-18T15:58:23.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 41303 --:--:-- --:--:-- --:--:-- 41141 100 10491 0 0 100 10491 0 41303 --:--:-- --:--:-- --:--:-- 41141 [2023-04-18T15:58:23.443Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] } [2023-04-18T15:58:23.451Z] 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-04-18T15:58:24.149Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] [2023-04-18T15:58:24.149Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-18T15:58:24.149Z] total 16 [2023-04-18T15:58:24.149Z] drwxr-xr-x 3 root root 4096 Apr 18 15:47 . [2023-04-18T15:58:24.149Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:47 .. [2023-04-18T15:58:24.149Z] drwxr-xr-x 2 root root 4096 Apr 18 15:47 cost [2023-04-18T15:58:24.149Z] -rw-r--r-- 1 root root 91 Apr 18 15:47 cost.csv [2023-04-18T15:58:24.149Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-18T15:58:24.149Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-18T15:58:24.149Z] total 16 [2023-04-18T15:58:24.149Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:47 . [2023-04-18T15:58:24.149Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:47 .. [2023-04-18T15:58:24.149Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 15:47 cost [2023-04-18T15:58:24.149Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 18 15:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:24.442Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:25.302Z] ---> package-listing.sh [2023-04-18T15:58:25.302Z] ++ facter osfamily [2023-04-18T15:58:25.302Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T15:58:25.562Z] + OS_FAMILY=debian [2023-04-18T15:58:25.562Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-305 [2023-04-18T15:58:25.562Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T15:58:25.562Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T15:58:25.562Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T15:58:25.562Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T15:58:25.562Z] + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' [2023-04-18T15:58:25.562Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T15:58:25.562Z] + case "${OS_FAMILY}" in [2023-04-18T15:58:25.562Z] + dpkg -l [2023-04-18T15:58:25.562Z] + grep '^ii' [2023-04-18T15:58:25.562Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T15:58:25.562Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T15:58:25.562Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T15:58:25.562Z] + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' [2023-04-18T15:58:25.562Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ [2023-04-18T15:58:25.562Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-305/archives/ [Pipeline] echo [2023-04-18T15:58:25.572Z] 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T15:58:25.850Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:58:26.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:58:26.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:58:26.480Z] prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container [2023-04-18T15:58:26.512Z] $ 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-305/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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T15:58:26.701Z] $ docker top 5f40cb19bb7577e16fc47ae28236621f77119f07152c8e968c770e1b5e22d78c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:58:27.039Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T15:58:27.324Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T15:58:27.607Z] + ls /var/log/sa-host [2023-04-18T15:58:27.607Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:58:27.671Z] provisioning config files... [2023-04-18T15:58:27.680Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config4983871476274888559tmp [Pipeline] { [Pipeline] echo [2023-04-18T15:58:27.697Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:27.977Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T15:58:27.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:28.304Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T15:58:28.312Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:28.593Z] ---> sudo-logs.sh [2023-04-18T15:58:28.593Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T15:58:28.624Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:28.906Z] ---> job-cost.sh [2023-04-18T15:58:28.906Z] lf-activate-venv: SKIPPING [2023-04-18T15:58:28.906Z] DEBUG: total: 0.2199999988079071 [2023-04-18T15:58:28.906Z] INFO: Retrieving Stack Cost... [2023-04-18T15:58:29.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T15:58:29.732Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T15:58:29.744Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:58:30.025Z] ---> logs-deploy.sh [2023-04-18T15:58:30.025Z] lf-activate-venv: SKIPPING [2023-04-18T15:58:30.025Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/4 [2023-04-18T15:58:30.025Z] INFO: archiving workspace using pattern(s): [2023-04-18T15:58:30.961Z] Archives upload complete. [2023-04-18T15:58:30.961Z] INFO: archiving logs to Nexus